-
Notifications
You must be signed in to change notification settings - Fork 13
/
workspace.jsonc
215 lines (215 loc) · 5.83 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
/**
* this is the main configuration file of your bit workspace.
* for full documentation, please see: https://docs.bit.dev/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": "my-workspace-name",
/**
* set the icon to be shown on the Bit server.
**/
"icon": "https://static.bit.dev/bit-logo.svg",
/**
* default directory for all components in workspace.
**/
"defaultDirectory": "{scope}/{name}",
/**
* default scope for all components in workspace.
**/
"defaultScope": "teambit.bvm"
},
/**
* 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": {
"@pnpm/fetch": "7.0.2",
"@pnpm/logger": "5.0.0",
"@pnpm/node.fetcher": "3.0.3",
"@pnpm/os.env.path-extender": "0.2.12",
"@teambit/toolbox.network.agent": "0.0.551",
"@teambit/toolbox.time.time-format": "0.0.483",
"@types/chalk": "0.4.31",
"@types/date-fns": "2.5.3",
"@types/fs-extra": "9.0.7",
"@types/lodash.difference": "4.5.6",
"@types/lodash.intersection": "4.4.6",
"@types/lodash.pickby": "4.6.6",
"@types/minio": "^7.1.0",
"@types/nconf": "0.10.0",
"@types/node": "14.14.31",
"@types/node-fetch": "2.5.8",
"@types/ora": "3.1.0",
"@types/pretty-bytes": "5.1.0",
"@types/semver": "7.5.8",
"@types/semver-sort": "0.0.1",
"@types/tar-fs": "2.0.0",
"@types/yargs": "17.0.0",
"@zkochan/cmd-shim": "6.0.0",
"bin-links": "2.2.1",
"chalk": "4.1.0",
"cli-progress": "3.10.0",
"date-fns": "2.19.0",
"execa": "5.1.1",
"fs-extra": "9.1.0",
"lodash": "^4.17.21",
"lodash.difference": "4.5.0",
"lodash.intersection": "4.4.0",
"lodash.pickby": "4.6.0",
"minio": "7.1.3",
"mkdirp-infer-owner": "2.0.0",
"nconf": "0.11.4",
"node-fetch": "2.6.7",
"node-fetch-progress": "1.0.2",
"ora": "5.3.0",
"pretty-bytes": "5.6.0",
"semver": "7.6.3",
"semver-sort": "1.0.0",
"symlink-dir": "^5.1.1",
"tar": "7.4.3",
"tar-fs": "2.1.1",
"tty-table": "4.1.3",
"user-home": "2.0.0",
"yargs": "17.0.1"
},
"peerDependencies": {}
},
"linkCoreAspects": true,
"packageManagerArgs": [],
"devFilePatterns": [
"**/*.spec.ts"
],
"strictPeerDependencies": true,
"engineStrict": true,
"nodeVersion": "16.14.0",
"peerDependencyRules": {
"allowAny": [],
"ignoreMissing": []
}
},
/**
* 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.
**/
"teambit.workspace/variants": {
/**
* "*" is a special rule which applied on all components in the workspace.
**/
"*": {
/**
* uncomment to apply the react environment on all components.
**/
"teambit.harmony/node": {},
"teambit.pkg/pkg": {
"packageManagerPublishArgs": [
"--access public"
],
"packageJson": {
"name": "@teambit/bvm.{name}",
"private": false,
"license": "Apache-2.0",
"engines": {
"node": ">=16.14"
},
"repository": {
"type": "git",
"url": "https://github.com/teambit/bvm"
},
"keywords": [
"bit"
]
}
}
},
"teambit.toolbox": {
"defaultScope": "teambit.toolbox",
"teambit.pkg/pkg": {
"packageManagerPublishArgs": [
"--access public"
],
"packageJson": {
"name": "@teambit/toolbox.{name}",
"private": false,
"license": "Apache-2.0",
"engines": {
"node": ">=16.14"
},
"repository": {
"type": "git",
"url": "https://github.com/teambit/bvm"
},
"keywords": [
"bit"
]
}
}
},
"teambit.gcp": {
"defaultScope": "teambit.gcp",
"teambit.pkg/pkg": {
"packageManagerPublishArgs": [
"--access public"
],
"packageJson": {
"name": "@teambit/gcp.{name}",
"private": false,
"license": "Apache-2.0",
"engines": {
"node": ">=16.14"
},
"repository": {
"type": "git",
"url": "https://github.com/teambit/bvm"
},
"keywords": [
"bit"
]
}
}
},
"teambit.bvm/cli/app": {
"teambit.dependencies/dependency-resolver": {
"policy": {
"dependencies": {
"@pnpm/logger": "^5.0.0"
}
}
},
"teambit.pkg/pkg": {
"packageManagerPublishArgs": [
"--access public"
],
"packageJson": {
"name": "@teambit/bvm",
"private": false,
"license": "Apache-2.0",
"engines": {
"node": ">=16.14"
},
"bin": {
"bvm": "./dist/app.js"
},
"repository": {
"type": "git",
"url": "https://github.com/teambit/bvm"
},
"keywords": [
"bit"
]
}
}
}
}
}