-
Notifications
You must be signed in to change notification settings - Fork 14
/
workspace.jsonc
217 lines (217 loc) · 7.9 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
216
217
/**
* this is the main configuration file of your bit workspace.
* for full documentation, please see: https://harmony-docs.bit.dev/workspace/configurations
**/{
"$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": "bit.dev",
/**
* 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": "{scope}/{name}",
/**
* default scope for all components in workspace.
**/
"defaultScope": "teambit.community"
},
"teambit.community/apps/bit-dev": {},
// "teambit.generator/generator": {
// "aspects": ["teambit.community/envs/community-react"]
// },
// "teambit.community/envs/community-react": {},
/**
* 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": {
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/runtime": "7.15.3",
"@learn-bit-react/ecommerce.entity.product": "1.0.2",
"@learn-bit-react/ecommerce.ui.header": "1.0.9",
"@learn-bit-react/ecommerce.ui.product.price": "1.0.6",
"@learn-bit-react/ecommerce.ui.product.product-card": "1.0.9",
"@learn-bit-react/ecommerce.ui.product.product-card-grid": "1.0.9",
"@learn-bit-react/ecommerce.ui.store-hero": "0.0.9",
"@loadable/component": "5.15.0",
"@react-aria/button": "3.3.3",
"@react-types/button": "3.4.1",
"@teambit/application.netlify": "1.0.0",
"@teambit/base-ui.constants.storage": "1.0.0",
"@teambit/base-ui.elements.image": "1.0.0",
"@teambit/base-ui.elements.separator": "1.1.0",
"@teambit/base-ui.graph.tree.indent": "1.0.0",
"@teambit/base-ui.graph.tree.inflate-paths": "1.0.0",
"@teambit/base-ui.graph.tree.recursive-tree": "1.0.0",
"@teambit/base-ui.graph.tree.root-node": "1.0.0",
"@teambit/base-ui.graph.tree.tree-context": "1.0.0",
"@teambit/base-ui.layout.breakpoints": "1.0.0",
"@teambit/base-ui.layout.grid-component": "1.0.1",
"@teambit/base-ui.layout.page-frame": "1.0.0",
"@teambit/base-ui.routing.native-nav-link": "1.0.0",
"@teambit/base-ui.routing.routing-provider": "1.0.0",
"@teambit/base-ui.surfaces.card": "1.0.1",
"@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
"@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
"@teambit/base-ui.text.paragraph": "1.0.3",
"@teambit/component-id": "0.0.369",
"@teambit/component.modules.component-url": "0.0.71",
"@teambit/design.elements.icon": "1.0.4",
"@teambit/design.embeds.figma": "0.0.3",
"@teambit/design.ui.cli-snippet": "0.0.347",
"@teambit/design.ui.dropdown": "1.0.8",
"@teambit/design.ui.error-page": "0.0.350",
"@teambit/design.ui.external-link": "0.0.344",
"@teambit/design.ui.heading": "1.0.5",
"@teambit/design.ui.input.icon-text": "0.0.7",
"@teambit/design.ui.message-card": "1.0.4",
"@teambit/design.ui.styles.ellipsis": "0.0.345",
"@teambit/design.ui.surfaces.menu.link-item": "0.0.374",
"@teambit/documenter.theme.theme-compositions": "4.1.1",
"@teambit/documenter.theme.theme-context": "4.0.3",
"@teambit/documenter.ui.copy-box": "4.1.1",
"@teambit/documenter.ui.label": "4.0.4",
"@teambit/documenter.ui.sub-title": "4.1.1",
"@teambit/evangelist.surfaces.tooltip": "1.0.1",
"@teambit/explorer.ui.gallery.component-card": "0.0.438",
"@teambit/explorer.ui.gallery.component-grid": "0.0.435",
"@teambit/harmony": "0.2.11",
"@teambit/mdx.ui.mdx-layout": "0.0.451",
"@teambit/react.templates.themes.theme": "0.0.3",
"@teambit/react.ui.component-highlighter": "0.0.452",
"@teambit/ui-foundation.ui.buttons.collapser": "0.0.144",
"@teambit/ui-foundation.ui.react-router.link": "0.0.441",
"@teambit/ui-foundation.ui.react-router.nav-link": "0.0.441",
"@teambit/ui-foundation.ui.tree.folder-tree-node": "0.0.446",
"@teambit/ui-foundation.ui.tree.tree-node": "0.0.448",
"@testing-library/react-hooks": "7.0.1",
"@types/react-helmet": "6.1.2",
"@types/react-router-dom": "5.1.7",
"classnames": "2.3.1",
"millify": "4.0.0",
"react-helmet": "6.1.0",
"react-json-view": "1.21.3",
"react-medium-image-zoom": "4.3.5",
"react-router-dom": "5.2.0",
"react-terminal": "1.2.1",
"react-xarrows": "2.0.2",
"url-parse": "1.5.3"
},
"peerDependencies": {
"@testing-library/react": "12.0.0",
"react": "16.13.1",
"react-dom": "16.13.1"
}
},
"packageManagerArgs": [],
"devFilePatterns": [
"**/*.spec.ts"
],
"strictPeerDependencies": true,
"installFromBitDevRegistry": true,
"savePrefix": ""
},
// "teambit.community/envs/community-react": {},
/**
* 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://harmony-docs.bit.dev/aspects/variants for more info.
**/
"teambit.workspace/variants": {
"{ui/**}": {
"teambit.community/envs/community-react": {}
},
"base-react": {
"defaultScope": "teambit.base-react",
"teambit.community/envs/community-react": {}
},
"base-react/content": {
"teambit.mdx/mdx": "-",
"teambit.community/envs/community-react": {}
},
"{content/**}": {
"teambit.mdx/mdx": {}
},
"{envs/**}, {extensions/*}, {apps/*}, {aspects/*}, {generator/*}": {
"teambit.react/react": "-",
"teambit.harmony/aspect": {}
},
"design": {
"defaultScope": "teambit.design"
},
"community": {
"defaultScope": "teambit.community"
},
"docs": {
"defaultScope": "teambit.docs"
},
"component": {
"defaultScope": "teambit.component"
},
"ui-foundation": {
"defaultScope": "teambit.ui-foundation"
},
"react": {
"defaultScope": "teambit.react"
},
"workspace": {
"defaultScope": "teambit.workspace"
},
"scope": {
"defaultScope": "teambit.scope"
},
"preview": {
"defaultScope": "teambit.preview"
},
"webpack": {
"defaultScope": "teambit.webpack"
},
"defender": {
"defaultScope": "teambit.defender"
},
"compilation": {
"defaultScope": "teambit.compilation"
},
"harmony": {
"defaultScope": "teambit.harmony"
},
"envs": {
"defaultScope": "teambit.envs"
},
"pipelines": {
"defaultScope": "teambit.pipelines"
},
"compositions": {
"defaultScope": "teambit.compositions"
},
"dependencies": {
"defaultScope": "teambit.dependencies"
},
"explorer/ui": {
"teambit.community/envs/community-react": "-",
"teambit.react/react": {},
"defaultScope": "teambit.explorer"
}
}
}