/
workspace.jsonc
128 lines (128 loc) · 3.93 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
/**
* 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 Angular",
/**
* 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": "integration.examples",
"resolveEnvsFromRoots": true
},
/**
* 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": {
"@bitdev/general.envs.bit-env": "1.0.1",
"@bitdev/node.node-env": "2.0.2",
"@clack/prompts": "^0.7.0",
"@types/fs-extra": "~9.0.7",
"@types/lodash": "4.14.165",
"@types/node": "20.12.7",
"@types/object-hash": "~2.1.0",
"events": "^3.3.0",
"fs-extra": "^11.2.0",
"json5": "^2.2.3",
"lodash": "4.17.21",
"object-hash": "~2.1.1",
"prettier": "2.3.2",
"react-dev-utils": "10.2.1",
"remark-frontmatter": "~3.0.0",
"remark-html": "13.0.1",
"remark-prism": "~1.3.6",
"replace-in-file": "^6.3.5",
"std-env": "^3.4.3"
},
"peerDependencies": {}
},
"linkCoreAspects": true,
"rootComponents": true,
"packageImportMethod": "copy",
"packageManagerArgs": [],
"devFilePatterns": [
"**/*.spec.ts"
],
"strictPeerDependencies": true,
"installFromBitDevRegistry": true,
"savePrefix": ""
},
"teambit.generator/generator": {
"envs": [
"bitdev.angular/angular-env",
"bitdev.angular/envs/angular-v17-env",
"bitdev.angular/envs/angular-v16-env",
"bitdev.angular/envs/angular-v15-env",
"bitdev.angular/envs/angular-v14-env",
"bitdev.angular/envs/angular-v13-env"
]
},
"bitdev.angular/angular-env": {},
"bitdev.angular/envs/angular-v17-env": {},
"bitdev.angular/envs/angular-v16-env": {},
"bitdev.angular/envs/angular-v15-env": {},
"bitdev.angular/envs/angular-v14-env": {},
"bitdev.angular/envs/angular-v13-env": {},
// Add angular apps (until this is no longer necessary)
// "integration.examples/demo-app": {},
/**
* workspace variants allow you 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": {
"angular/readme": {
"teambit.community/envs/[email protected]": {},
"teambit.envs/envs": {
"env": "teambit.community/envs/community-mdx"
}
},
"integration/custom-env": {
"teambit.envs/env": {}
},
"integration/demo-app": {
"bitdev.angular/angular-env": {}
// "bitdev.angular/envs/angular-v17-env": {}
},
"integration/demo-lib": {
"bitdev.angular/angular-env": {}
},
"integration/demo-lib-v17": {
"bitdev.angular/envs/angular-v17-env": {}
},
"integration/demo-lib-v16": {
"bitdev.angular/envs/angular-v16-env": {}
},
"integration/demo-lib-v15": {
"bitdev.angular/envs/angular-v15-env": {}
},
"integration/demo-lib-v14": {
"bitdev.angular/envs/angular-v14-env": {}
},
"integration/demo-lib-v13": {
"bitdev.angular/envs/angular-v13-env": {}
}
}
// "integration.examples/demo-app": {}
}