-
Notifications
You must be signed in to change notification settings - Fork 3
/
workspace.jsonc
153 lines (153 loc) · 5.33 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
/**
* 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": "bitdev.angular",
"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": {
"@clack/prompts": "^0.7.0",
"@teambit/community.ui.bit-cli.command-example": "0.0.8",
"@teambit/community.ui.bit-cli.terminal": "0.0.30",
"@teambit/community.ui.file-explorer": "1.1.9",
"@teambit/components.blocks.component-card-display": "0.0.36",
"@teambit/defender.eslint-linter": "1.0.39",
"@teambit/defender.jest-tester": "2.0.14",
"@teambit/defender.prettier-formatter": "1.0.19",
"@teambit/docs.entities.docs-routes": "1.95.17",
"@teambit/envs.docs.create-env": "1.0.10",
"@teambit/envs.docs.env-overview-template": "0.0.3",
"@teambit/envs.docs.envs-build-pipeline": "1.0.8",
"@teambit/envs.docs.envs-component-generators": "1.0.8",
"@teambit/envs.docs.envs-dependency-policy": "1.0.8",
"@teambit/envs.docs.envs-workspace-starters": "0.1.8",
"@teambit/graph.cleargraph": "0.0.9",
"@teambit/harmony.content.cli-reference": "2.0.285",
"@teambit/react.ui.docs-app": "1.0.21",
"@teambit/typescript.typescript-compiler": "2.0.44",
"@teambit/webpack.modules.generate-style-loaders": "^1.0.11",
"@teambit/webpack.modules.style-regexps": "^1.0.6",
"@teambit/workspace.root-components": "^1.0.0",
"@types/fs-extra": "~9.0.7",
"@types/lodash-es": "^4.17.12",
"@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-es": "^4.17.21",
"object-hash": "~2.1.1",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-preset-env": "^10.1.0",
"prettier": "2.3.2",
"react-dev-utils": "10.2.1",
"react-dev-utils-esm": "^11.0.3",
"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-v19-env"
// "bitdev.angular/envs/angular-v18-env"
// "bitdev.angular/envs/angular-v17-env"
// "bitdev.angular/envs/angular-v16-env",
]
},
// "bitdev.angular/angular-env": {},
"bitdev.angular/envs/angular-v19-env": {},
// "bitdev.angular/envs/angular-v18-env": {},
// "bitdev.angular/envs/angular-v17-env": {},
// "bitdev.angular/envs/angular-v16-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": {
// Special rules for all aspect envs
"angular/envs, angular/examples": {
// Set the env env for all core envs
"bitdev.general/envs/bit-env": {},
"teambit.envs/envs": {
"env": "bitdev.general/envs/bit-env"
}
},
"angular/readme": {
"teambit.community/envs/[email protected]": {},
"teambit.envs/envs": {
"env": "teambit.community/envs/community-mdx"
}
},
"angular/integration/custom-env": {
"teambit.envs/env": {}
},
"angular/integration/demo-app": {
// "bitdev.angular/angular-env": {}
"bitdev.angular/envs/angular-v19-env": {}
},
"angular/integration/demo-lib": {
"bitdev.angular/angular-env": {}
},
"angular/integration/demo-lib-v19": {
"bitdev.angular/envs/angular-v19-env": {}
},
"angular/integration/demo-lib-v18": {
"bitdev.angular/envs/angular-v18-env": {}
},
"angular/integration/demo-lib-v17": {
"bitdev.angular/envs/angular-v17-env": {}
},
"angular/integration/demo-lib-v16": {
"bitdev.angular/envs/angular-v16-env": {}
}
// "integration.examples/demo-app": {}
}
}