@teambit/generator 1.0.7 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.bit-capsule-ready +0 -0
- package/component-generator.ts +271 -0
- package/component-template.ts +122 -0
- package/create.cmd.ts +88 -0
- package/dist/generator.composition.d.ts +2 -2
- package/dist/generator.graphql.js +2 -2
- package/dist/generator.graphql.js.map +1 -1
- package/dist/generator.main.runtime.js +5 -4
- package/dist/generator.main.runtime.js.map +1 -1
- package/dist/templates/basic/basic.starter.js +8 -4
- package/dist/templates/basic/basic.starter.js.map +1 -1
- package/dist/templates/basic/template/files/workspace-config.js +4 -4
- package/dist/templates/basic/template/files/workspace-config.js.map +1 -1
- package/dist/templates/starter/files/starter.js +4 -0
- package/dist/templates/starter/files/starter.js.map +1 -1
- package/dist/templates/starter/files/workspace-config-tpl.js +19 -9
- package/dist/templates/starter/files/workspace-config-tpl.js.map +1 -1
- package/dist/templates/starter-standalone/files/starter.js +9 -0
- package/dist/templates/starter-standalone/files/starter.js.map +1 -1
- package/dist/templates/starter-standalone/files/workspace-config-tpl.js +19 -8
- package/dist/templates/starter-standalone/files/workspace-config-tpl.js.map +1 -1
- package/generator-env-type.ts +14 -0
- package/generator.aspect.ts +5 -0
- package/generator.graphql.ts +62 -0
- package/generator.main.runtime.ts +577 -0
- package/index.ts +14 -0
- package/new.cmd.ts +114 -0
- package/package-tar/teambit-generator-1.0.9.tgz +0 -0
- package/package.json +23 -24
- package/schema.json +10304 -0
- package/starter-list.ts +21 -0
- package/starter.plugin.ts +16 -0
- package/teambit_generator_generator-preview.js +11 -0
- package/template-list.ts +21 -0
- package/templates/basic/basic.starter.ts +10 -5
- package/templates/basic/template/files/workspace-config.ts +2 -2
- package/templates/starter/files/starter.ts +5 -1
- package/templates/starter/files/workspace-config-tpl.ts +20 -10
- package/templates/starter-standalone/files/starter.ts +10 -1
- package/templates/starter-standalone/files/workspace-config-tpl.ts +20 -9
- package/templates.cmd.ts +55 -0
- package/types.ts +3 -0
- package/workspace-generator.ts +205 -0
- package/workspace-template.ts +145 -0
- package/dist/preview-1695513012057.js +0 -7
- package/tsconfig.json +0 -40
- package/types/asset.d.ts +0 -29
- package/types/style.d.ts +0 -42
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/generator",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.9",
|
4
4
|
"homepage": "https://bit.cloud/teambit/generator/generator",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.generator",
|
8
8
|
"name": "generator",
|
9
|
-
"version": "1.0.
|
9
|
+
"version": "1.0.9"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"camelcase": "6.2.0",
|
@@ -19,34 +19,33 @@
|
|
19
19
|
"execa": "2.1.0",
|
20
20
|
"core-js": "^3.0.0",
|
21
21
|
"@babel/runtime": "7.20.0",
|
22
|
+
"@teambit/bit-error": "0.0.404",
|
22
23
|
"@teambit/component-id": "0.0.427",
|
24
|
+
"@teambit/envs": "1.0.3",
|
25
|
+
"@teambit/logger": "0.0.878",
|
26
|
+
"@teambit/new-component-helper": "1.0.3",
|
27
|
+
"@teambit/tracker": "1.0.3",
|
28
|
+
"@teambit/workspace-config-files": "1.0.3",
|
29
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.127",
|
30
|
+
"@teambit/workspace": "1.0.3",
|
31
|
+
"@teambit/component": "1.0.3",
|
32
|
+
"@teambit/cli": "0.0.785",
|
23
33
|
"@teambit/harmony": "0.4.6",
|
24
|
-
"@teambit/
|
25
|
-
"@teambit/
|
26
|
-
"@teambit/
|
27
|
-
"@teambit/
|
28
|
-
"@teambit/
|
29
|
-
"@teambit/
|
30
|
-
"@teambit/
|
31
|
-
"@teambit/
|
32
|
-
"@teambit/
|
33
|
-
"@teambit/
|
34
|
-
"@teambit/graphql": "1.0.7",
|
35
|
-
"@teambit/aspect-loader": "1.0.7",
|
36
|
-
"@teambit/bit": "1.0.7",
|
37
|
-
"@teambit/git": "1.0.7",
|
38
|
-
"@teambit/compiler": "1.0.7",
|
39
|
-
"@teambit/forking": "1.0.7",
|
40
|
-
"@teambit/importer": "1.0.7",
|
41
|
-
"@teambit/install": "1.0.7",
|
42
|
-
"@teambit/ui": "1.0.7",
|
43
|
-
"@teambit/config": "0.0.804"
|
34
|
+
"@teambit/graphql": "1.0.3",
|
35
|
+
"@teambit/aspect-loader": "1.0.3",
|
36
|
+
"@teambit/bit": "1.0.3",
|
37
|
+
"@teambit/git": "1.0.3",
|
38
|
+
"@teambit/compiler": "1.0.3",
|
39
|
+
"@teambit/forking": "1.0.3",
|
40
|
+
"@teambit/importer": "1.0.3",
|
41
|
+
"@teambit/install": "1.0.3",
|
42
|
+
"@teambit/ui": "1.0.3",
|
43
|
+
"@teambit/config": "0.0.800"
|
44
44
|
},
|
45
45
|
"devDependencies": {
|
46
46
|
"@types/fs-extra": "9.0.7",
|
47
47
|
"@types/react": "^17.0.8",
|
48
48
|
"@types/lodash": "4.14.165",
|
49
|
-
"@types/mocha": "9.1.0",
|
50
49
|
"@types/node": "12.20.4",
|
51
50
|
"@types/react-dom": "^17.0.5",
|
52
51
|
"@types/jest": "^26.0.0",
|
@@ -54,7 +53,7 @@
|
|
54
53
|
"@teambit/generator.aspect-docs.generator": "0.0.165"
|
55
54
|
},
|
56
55
|
"peerDependencies": {
|
57
|
-
"@teambit/legacy": "1.0.
|
56
|
+
"@teambit/legacy": "1.0.570",
|
58
57
|
"react": "^16.8.0 || ^17.0.0",
|
59
58
|
"react-dom": "^16.8.0 || ^17.0.0"
|
60
59
|
},
|