@teambit/generator 1.0.8 → 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.
Files changed (48) hide show
  1. package/.bit-capsule-ready +0 -0
  2. package/component-generator.ts +271 -0
  3. package/component-template.ts +122 -0
  4. package/create.cmd.ts +88 -0
  5. package/dist/generator.composition.d.ts +2 -2
  6. package/dist/generator.graphql.js +2 -2
  7. package/dist/generator.graphql.js.map +1 -1
  8. package/dist/generator.main.runtime.js +5 -4
  9. package/dist/generator.main.runtime.js.map +1 -1
  10. package/dist/templates/basic/basic.starter.js +8 -4
  11. package/dist/templates/basic/basic.starter.js.map +1 -1
  12. package/dist/templates/basic/template/files/workspace-config.js +4 -4
  13. package/dist/templates/basic/template/files/workspace-config.js.map +1 -1
  14. package/dist/templates/starter/files/starter.js +4 -0
  15. package/dist/templates/starter/files/starter.js.map +1 -1
  16. package/dist/templates/starter/files/workspace-config-tpl.js +19 -9
  17. package/dist/templates/starter/files/workspace-config-tpl.js.map +1 -1
  18. package/dist/templates/starter-standalone/files/starter.js +9 -0
  19. package/dist/templates/starter-standalone/files/starter.js.map +1 -1
  20. package/dist/templates/starter-standalone/files/workspace-config-tpl.js +19 -8
  21. package/dist/templates/starter-standalone/files/workspace-config-tpl.js.map +1 -1
  22. package/generator-env-type.ts +14 -0
  23. package/generator.aspect.ts +5 -0
  24. package/generator.graphql.ts +62 -0
  25. package/generator.main.runtime.ts +577 -0
  26. package/index.ts +14 -0
  27. package/new.cmd.ts +114 -0
  28. package/package-tar/teambit-generator-1.0.9.tgz +0 -0
  29. package/package.json +22 -23
  30. package/schema.json +10304 -0
  31. package/starter-list.ts +21 -0
  32. package/starter.plugin.ts +16 -0
  33. package/teambit_generator_generator-preview.js +11 -0
  34. package/template-list.ts +21 -0
  35. package/templates/basic/basic.starter.ts +10 -5
  36. package/templates/basic/template/files/workspace-config.ts +2 -2
  37. package/templates/starter/files/starter.ts +5 -1
  38. package/templates/starter/files/workspace-config-tpl.ts +20 -10
  39. package/templates/starter-standalone/files/starter.ts +10 -1
  40. package/templates/starter-standalone/files/workspace-config-tpl.ts +20 -9
  41. package/templates.cmd.ts +55 -0
  42. package/types.ts +3 -0
  43. package/workspace-generator.ts +205 -0
  44. package/workspace-template.ts +145 -0
  45. package/dist/preview-1695698249502.js +0 -7
  46. package/tsconfig.json +0 -40
  47. package/types/asset.d.ts +0 -29
  48. 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.8",
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.8"
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/bit-error": "0.0.404",
25
- "@teambit/envs": "1.0.8",
26
- "@teambit/logger": "0.0.883",
27
- "@teambit/new-component-helper": "1.0.8",
28
- "@teambit/tracker": "1.0.8",
29
- "@teambit/workspace-config-files": "1.0.8",
30
- "@teambit/workspace.modules.node-modules-linker": "0.0.132",
31
- "@teambit/workspace": "1.0.8",
32
- "@teambit/component": "1.0.8",
33
- "@teambit/cli": "0.0.790",
34
- "@teambit/graphql": "1.0.8",
35
- "@teambit/aspect-loader": "1.0.8",
36
- "@teambit/bit": "1.0.8",
37
- "@teambit/git": "1.0.8",
38
- "@teambit/compiler": "1.0.8",
39
- "@teambit/forking": "1.0.8",
40
- "@teambit/importer": "1.0.8",
41
- "@teambit/install": "1.0.8",
42
- "@teambit/ui": "1.0.8",
43
- "@teambit/config": "0.0.805"
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",