-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathworkspace.jsonc
75 lines (75 loc) · 2.15 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
/**
* 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": "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": "robrichardson13.bit-harmony-tailwindcss"
},
/**
* 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": {
"@types/classnames": "2.2.11",
"classnames": "2.2.6"
},
"peerDependencies": {
"autoprefixer": "10.2.5",
"core-js": "3.10.1",
"css-loader": "5.2.1",
"postcss": "8.2.9",
"postcss-loader": "5.2.0",
"react": "16.13.1",
"react-dom": "16.13.1",
"style-loader": "2.0.0",
"tailwindcss": "2.1.1",
"webpack": "5.30.0"
}
},
"packageManagerArgs": [],
"devFilePatterns": [
"**/*.spec.ts"
],
"strictPeerDependencies": 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.
**/
"teambit.workspace/variants": {
"{extensions/*}": {
"teambit.harmony/aspect": {}
},
"{styles/*}": {
"teambit.harmony/node": {}
},
"{elements/*}": {
"robrichardson13.bit-harmony-tailwindcss/extensions/custom-react": {}
}
}
}