@teambit/generator 0.0.0-f7856ccd9787ff4eb017d61869984ff8f668445e → 0.0.0-f8c6be3de1118d36fe91733697309857c55a297e
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/dist/component-generator.d.ts +9 -9
- package/dist/component-generator.js.map +1 -1
- package/dist/component-template.d.ts +1 -1
- package/dist/component-template.js.map +1 -1
- package/dist/create.cmd.d.ts +4 -3
- package/dist/create.cmd.js +2 -1
- package/dist/create.cmd.js.map +1 -1
- package/dist/generator-env-type.d.ts +3 -3
- package/dist/generator-env-type.js.map +1 -1
- package/dist/generator.graphql.d.ts +3 -3
- package/dist/generator.graphql.js.map +1 -1
- package/dist/generator.main.runtime.d.ts +17 -17
- package/dist/generator.main.runtime.js.map +1 -1
- package/dist/generator.service.d.ts +3 -3
- package/dist/generator.service.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/new.cmd.d.ts +4 -3
- package/dist/new.cmd.js +4 -1
- package/dist/new.cmd.js.map +1 -1
- package/dist/{preview-1752596394586.js → preview-1759524830002.js} +2 -2
- package/dist/starter-list.d.ts +2 -2
- package/dist/starter-list.js.map +1 -1
- package/dist/starter.plugin.d.ts +2 -2
- package/dist/starter.plugin.js.map +1 -1
- package/dist/template-list.d.ts +2 -2
- package/dist/template-list.js.map +1 -1
- package/dist/templates/basic/basic.starter.d.ts +1 -1
- package/dist/templates/basic/basic.starter.js.map +1 -1
- package/dist/templates/basic/template/files/workspace-config.d.ts +1 -1
- package/dist/templates/basic/template/files/workspace-config.js.map +1 -1
- package/dist/templates/component-generator/files/component-template.d.ts +1 -1
- package/dist/templates/component-generator/files/component-template.js.map +1 -1
- package/dist/templates/component-generator/files/index.d.ts +1 -1
- package/dist/templates/component-generator/files/index.js.map +1 -1
- package/dist/templates/component-generator/index.d.ts +1 -1
- package/dist/templates/component-generator/index.js.map +1 -1
- package/dist/templates/component-generator-standalone/files/aspect-file.d.ts +1 -1
- package/dist/templates/component-generator-standalone/files/aspect-file.js.map +1 -1
- package/dist/templates/component-generator-standalone/files/index.d.ts +1 -1
- package/dist/templates/component-generator-standalone/files/index.js.map +1 -1
- package/dist/templates/component-generator-standalone/files/main-runtime.d.ts +1 -1
- package/dist/templates/component-generator-standalone/files/main-runtime.js.map +1 -1
- package/dist/templates/component-generator-standalone/index.d.ts +1 -1
- package/dist/templates/component-generator-standalone/index.js.map +1 -1
- package/dist/templates/starter/files/doc-file.d.ts +1 -1
- package/dist/templates/starter/files/doc-file.js.map +1 -1
- package/dist/templates/starter/files/index.d.ts +1 -1
- package/dist/templates/starter/files/index.js.map +1 -1
- package/dist/templates/starter/files/starter.d.ts +1 -1
- package/dist/templates/starter/files/starter.js.map +1 -1
- package/dist/templates/starter/index.d.ts +1 -1
- package/dist/templates/starter/index.js.map +1 -1
- package/dist/templates/starter-standalone/files/doc-file.d.ts +1 -1
- package/dist/templates/starter-standalone/files/doc-file.js.map +1 -1
- package/dist/templates/starter-standalone/files/index.d.ts +1 -1
- package/dist/templates/starter-standalone/files/index.js.map +1 -1
- package/dist/templates/starter-standalone/files/starter.d.ts +1 -1
- package/dist/templates/starter-standalone/files/starter.js.map +1 -1
- package/dist/templates/starter-standalone/index.d.ts +1 -1
- package/dist/templates/starter-standalone/index.js.map +1 -1
- package/dist/templates.cmd.d.ts +2 -2
- package/dist/templates.cmd.js +2 -2
- package/dist/templates.cmd.js.map +1 -1
- package/dist/workspace-generator.d.ts +5 -5
- package/dist/workspace-generator.js.map +1 -1
- package/dist/workspace-template.d.ts +1 -1
- package/dist/workspace-template.js.map +1 -1
- package/generator.service.tsx +3 -3
- package/package.json +30 -30
- package/templates/basic/basic.starter.ts +1 -1
- package/templates/basic/template/files/workspace-config.ts +1 -1
- package/templates/component-generator/files/component-template.ts +1 -1
- package/templates/component-generator/files/index.ts +1 -1
- package/templates/component-generator/index.ts +1 -1
- package/templates/component-generator-standalone/files/aspect-file.ts +1 -1
- package/templates/component-generator-standalone/files/index.ts +1 -1
- package/templates/component-generator-standalone/files/main-runtime.ts +1 -1
- package/templates/component-generator-standalone/index.ts +1 -1
- package/templates/starter/files/doc-file.ts +1 -1
- package/templates/starter/files/index.ts +1 -1
- package/templates/starter/files/starter.ts +1 -1
- package/templates/starter/index.ts +1 -1
- package/templates/starter-standalone/files/doc-file.ts +1 -1
- package/templates/starter-standalone/files/index.ts +1 -1
- package/templates/starter-standalone/files/starter.ts +1 -1
- package/templates/starter-standalone/index.ts +1 -1
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/generator",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-f8c6be3de1118d36fe91733697309857c55a297e",
|
|
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": "
|
|
9
|
+
"version": "f8c6be3de1118d36fe91733697309857c55a297e"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"camelcase": "6.2.0",
|
|
@@ -20,40 +20,40 @@
|
|
|
20
20
|
"@teambit/bit-error": "0.0.404",
|
|
21
21
|
"@teambit/component-id": "1.2.4",
|
|
22
22
|
"@teambit/harmony": "0.4.7",
|
|
23
|
+
"@teambit/legacy.constants": "0.0.19",
|
|
24
|
+
"@teambit/git.modules.git-executable": "0.0.20",
|
|
23
25
|
"@teambit/git.modules.git-ignore": "1.0.2",
|
|
24
|
-
"@teambit/envs": "0.0.0-
|
|
25
|
-
"@teambit/logger": "0.0.0-
|
|
26
|
-
"@teambit/new-component-helper": "0.0.0-
|
|
27
|
-
"@teambit/pkg.modules.component-package-name": "0.0.
|
|
28
|
-
"@teambit/tracker": "0.0.0-
|
|
29
|
-
"@teambit/workspace-config-files": "0.0.0-
|
|
30
|
-
"@teambit/workspace.modules.node-modules-linker": "0.0.
|
|
31
|
-
"@teambit/workspace": "0.0.0-
|
|
32
|
-
"@teambit/component": "0.0.0-
|
|
33
|
-
"@teambit/cli": "0.0.0-
|
|
34
|
-
"@teambit/graphql": "0.0.0-
|
|
35
|
-
"@teambit/aspect-loader": "0.0.0-
|
|
36
|
-
"@teambit/deprecation": "0.0.0-
|
|
37
|
-
"@teambit/git": "0.0.0-
|
|
38
|
-
"@teambit/legacy.
|
|
39
|
-
"@teambit/legacy.
|
|
40
|
-
"@teambit/
|
|
41
|
-
"@teambit/
|
|
42
|
-
"@teambit/
|
|
43
|
-
"@teambit/
|
|
44
|
-
"@teambit/
|
|
45
|
-
"@teambit/
|
|
46
|
-
"@teambit/
|
|
47
|
-
"@teambit/
|
|
48
|
-
"@teambit/ui": "0.0.0-9518e74d41169a95591b53d9e3d834d4ca45d872",
|
|
49
|
-
"@teambit/config": "0.0.0-3bbb6edb13dcc02e481e999dea88985a9b3616aa"
|
|
26
|
+
"@teambit/envs": "0.0.0-1743f0cd22f9496a01908b24d4f22de2ec3368dd",
|
|
27
|
+
"@teambit/logger": "0.0.0-085b7fc577dd472786d276cf208ddaf46fde1043",
|
|
28
|
+
"@teambit/new-component-helper": "0.0.0-1355d2981081355e70a11b6dcc451a8dd352a8e9",
|
|
29
|
+
"@teambit/pkg.modules.component-package-name": "0.0.0-762c74c2c8d9402936bc776b4383aae75fc3bb52",
|
|
30
|
+
"@teambit/tracker": "0.0.0-825a31efb1eeb115cfe6d011a272f0631b9d8271",
|
|
31
|
+
"@teambit/workspace-config-files": "0.0.0-2bf3a4a83f8d4c49a7a755d688f066e211bee677",
|
|
32
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.0-594c6c979d524c29f0a77c561cd86fa920cc6f15",
|
|
33
|
+
"@teambit/workspace": "0.0.0-d28e322c5e41037224cff8659923c878b4dbca70",
|
|
34
|
+
"@teambit/component": "0.0.0-80955af9c0d1fb6ac8677dcce76585612181e48d",
|
|
35
|
+
"@teambit/cli": "0.0.0-0833028b0bfd1464238892e43ca90689dff8a956",
|
|
36
|
+
"@teambit/graphql": "0.0.0-c81ceda07bf56ae635178a6a0931daaa013a3953",
|
|
37
|
+
"@teambit/aspect-loader": "0.0.0-bb3d1bd90f6128a67de8040c76d732cab1c763a2",
|
|
38
|
+
"@teambit/deprecation": "0.0.0-d839be65a704d15bdf98aabab45ba083870c537c",
|
|
39
|
+
"@teambit/git": "0.0.0-36544fe3264eefb8f317e5abc4403000a288e7bc",
|
|
40
|
+
"@teambit/legacy.consumer-config": "0.0.0-16c76b74974180ed37e552b60367af896cc55699",
|
|
41
|
+
"@teambit/legacy.scope": "0.0.0-b2a07ac7b77fe08f2dc4f5882d972aa30f4c8be6",
|
|
42
|
+
"@teambit/scope": "0.0.0-40f6f0d379c5e36ac5e95cce2576b35b33040786",
|
|
43
|
+
"@teambit/compiler": "0.0.0-095f6437f05f3f22338e78fb2f531d44cdc5c881",
|
|
44
|
+
"@teambit/forking": "0.0.0-88bd7781a9380f70b65c5d4330ead16c6eb6354a",
|
|
45
|
+
"@teambit/host-initializer": "0.0.0-c07cadd826b1e42814e4931a8d40612f97987d7f",
|
|
46
|
+
"@teambit/importer": "0.0.0-16df6fc6e6903b962caecf0246f6d7aa11a8f24c",
|
|
47
|
+
"@teambit/install": "0.0.0-74a4436ec8dc277eaad54884a1f2129699633b49",
|
|
48
|
+
"@teambit/ui": "0.0.0-220e9a4d2207d1157a5e300f9f61c54340558657",
|
|
49
|
+
"@teambit/config": "0.0.0-e5dbb564e6bb9ed8c1d3efd6d9f86849840fcf1d"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/fs-extra": "9.0.7",
|
|
53
53
|
"@types/lodash": "4.14.165",
|
|
54
54
|
"@types/mocha": "9.1.0",
|
|
55
|
-
"@teambit/
|
|
56
|
-
"@teambit/
|
|
55
|
+
"@teambit/generator.aspect-docs.generator": "0.0.176",
|
|
56
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.79"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"react": "^17.0.0 || ^18.0.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { gitIgnoreTemplate } from '@teambit/git.modules.git-ignore';
|
|
2
|
-
import { WorkspaceContext, WorkspaceTemplate as Starter } from '../../workspace-template';
|
|
2
|
+
import type { WorkspaceContext, WorkspaceTemplate as Starter } from '../../workspace-template';
|
|
3
3
|
import { workspaceConfig } from './template/files/workspace-config';
|
|
4
4
|
import { packageJson } from './template/files/package-json';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getWorkspaceConfigTemplateParsed, stringifyWorkspaceConfig } from '@teambit/config';
|
|
2
|
-
import { WorkspaceContext } from '../../../../workspace-template';
|
|
2
|
+
import type { WorkspaceContext } from '../../../../workspace-template';
|
|
3
3
|
|
|
4
4
|
export async function workspaceConfig({ name, defaultScope }: WorkspaceContext) {
|
|
5
5
|
const configParsed = await getWorkspaceConfigTemplateParsed();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentContext } from '../../../component-template';
|
|
1
|
+
import type { ComponentContext } from '../../../component-template';
|
|
2
2
|
|
|
3
3
|
export function indexFile({ namePascalCase, name }: ComponentContext) {
|
|
4
4
|
return `export { ${namePascalCase}ComponentTemplate } from './${name}';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentContext, ComponentTemplate } from '../../component-template';
|
|
1
|
+
import type { ComponentContext, ComponentTemplate } from '../../component-template';
|
|
2
2
|
import { indexFile } from './files/index';
|
|
3
3
|
import { generateTestFileContent } from './files/component-template-files/test';
|
|
4
4
|
import { generateComponentFileContent } from './files/component-template-files/component';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentContext } from '../../../component-template';
|
|
1
|
+
import type { ComponentContext } from '../../../component-template';
|
|
2
2
|
|
|
3
3
|
export function indexFile({ namePascalCase, name }: ComponentContext) {
|
|
4
4
|
return `import { ${namePascalCase}Aspect } from './${name}.aspect';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentContext, ComponentTemplate } from '../../component-template';
|
|
1
|
+
import type { ComponentContext, ComponentTemplate } from '../../component-template';
|
|
2
2
|
import { indexFile } from './files/index';
|
|
3
3
|
import { aspectFile } from './files/aspect-file';
|
|
4
4
|
import { docsFile } from './files/docs-file';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentContext } from '../../../component-template';
|
|
1
|
+
import type { ComponentContext } from '../../../component-template';
|
|
2
2
|
|
|
3
3
|
export function indexFile({ namePascalCase, name }: ComponentContext) {
|
|
4
4
|
return `export { ${namePascalCase}WorkspaceStarter } from './${name}.starter';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentContext } from '../../../component-template';
|
|
1
|
+
import type { ComponentContext } from '../../../component-template';
|
|
2
2
|
|
|
3
3
|
export function starterFile({ namePascalCase, name }: ComponentContext) {
|
|
4
4
|
return `import { WorkspaceContext, WorkspaceTemplate } from '@teambit/generator';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentContext } from '../../../component-template';
|
|
1
|
+
import type { ComponentContext } from '../../../component-template';
|
|
2
2
|
|
|
3
3
|
export function indexFile({ namePascalCase, name }: ComponentContext) {
|
|
4
4
|
return `export { ${namePascalCase}WorkspaceStarter } from './${name}.starter';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentContext } from '../../../component-template';
|
|
1
|
+
import type { ComponentContext } from '../../../component-template';
|
|
2
2
|
|
|
3
3
|
export function starterFile({ namePascalCase, name }: ComponentContext) {
|
|
4
4
|
return `import { WorkspaceContext, Starter } from '@teambit/generator';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentContext, ComponentTemplate } from '../../component-template';
|
|
1
|
+
import type { ComponentContext, ComponentTemplate } from '../../component-template';
|
|
2
2
|
import { indexFile } from './files/index';
|
|
3
3
|
import { starterFile } from './files/starter';
|
|
4
4
|
import { docFile } from './files/doc-file';
|