-
Notifications
You must be signed in to change notification settings - Fork 9
/
workspace.jsonc
99 lines (99 loc) · 3.13 KB
/
workspace.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/**
* this is the main configuration file of your bit workspace.
* for full documentation, please see: https://bit.dev/docs/workspace/workspace-configuration
**/{
"$schema": "https://static.bit.dev/teambit/schemas/schema.json",
/**
* main configuration of the Bit workspace.
**/
"teambit.workspace/workspace": {
/**
* the name of the component workspace. used for development purposes.
**/
"name": "geamaker-workspace",
/**
* set the icon to be shown on the Bit server.
**/
"icon": "https://static.bit.dev/bit-logo.svg",
/**
* default directory to place a component during `bit import` and `bit create`.
* the following placeholders are available:
* name - component name includes namespace, e.g. 'ui/button'.
* scopeId - full scope-id includes the owner, e.g. 'teambit.compilation'.
* scope - scope name only, e.g. 'compilation'.
* owner - owner name in bit.dev, e.g. 'teambit'.
**/
"defaultDirectory": "src/{name}",
/**
* default scope for all components in workspace.
**/
"defaultScope": "geamaker"
},
/**
* main configuration for component dependency resolution.
**/
"teambit.dependencies/dependency-resolver": {
/**
* choose the package manager for Bit to use. you can choose between 'yarn', 'pnpm'
*/
"packageManager": "teambit.dependencies/pnpm",
"policy": {
"dependencies": {},
"peerDependencies": {
"@alipay/bigfish": "^4.0.110",
"@alipay/e2-language-json": "*",
"@alipay/tech-ui": "*",
"@ant-design/charts": "*",
"@ant-design/icons": "*",
"@antv/g6": "*",
"@antv/g6-pc": "*",
"@antv/graphin": "*",
"antd": "4.21.3",
"moment": "*",
"use-immer": "*"
}
},
"linkCoreAspects": true
},
/**
* workspace variants allow to set different subsets of configuration for components in your
* workspace. this is extremely useful for upgrading, aligning and building components with a new
* set of dependencies. a rule can be a directory or a component-id/namespace, in which case,
* wrap the rule with curly brackets (e.g. `"{ui/*}": {}`)
* see https://bit.dev/docs/workspace/variants for more info.
**/
"teambit.workspace/variants": {
/**
* "*" is a special rule which applied on all components in the workspace.
**/
"*": {
/**
* uncomment to apply the chosen environment on all components.
**/
// "teambit.react/react": { }
// "teambit.pkg/pkg": {
// "packageManagerPublishArgs": [
// "--access public"
// ],
// "packageJson": {
// "name": "@alipay/geamaker-{name}",
// // "private": false,
// "publishConfig": {
// "scope": "@alipay",
// "registry": "https://registry.npm.alibaba-inc.com"
// }
// }
// }
}
},
"teambit.component/issues": {
"ignoreIssues": [
"MissingPackagesDependenciesOnFs",
"UntrackedDependencies",
"MissingDependenciesOnFs",
"RelativeComponentsAuthored",
"DuplicateComponentAndPackage",
"CircularDependencies"
]
}
}