@teambit/generator 0.0.0-e49989f55dec29142366ad6ee3adf98e56a56226 → 0.0.0-e66dd3410f1453de80b3859fa42fc37d9c02d7e9
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 +5 -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 +24 -17
- package/dist/generator.main.runtime.js +49 -1
- 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-1752776346318.js → preview-1765986710043.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 +31 -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-e66dd3410f1453de80b3859fa42fc37d9c02d7e9",
|
|
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": "e66dd3410f1453de80b3859fa42fc37d9c02d7e9"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"camelcase": "6.2.0",
|
|
@@ -19,41 +19,42 @@
|
|
|
19
19
|
"execa": "2.1.0",
|
|
20
20
|
"@teambit/bit-error": "0.0.404",
|
|
21
21
|
"@teambit/component-id": "1.2.4",
|
|
22
|
-
"@teambit/pkg.modules.component-package-name": "0.0.0-9cc59d5e62f20f6b2c8b3553e87d8c271a1fa782",
|
|
23
|
-
"@teambit/workspace.modules.node-modules-linker": "0.0.0-598ddc1cd9f365bfa60c2cb341589576d3477c6a",
|
|
24
22
|
"@teambit/harmony": "0.4.7",
|
|
25
|
-
"@teambit/legacy
|
|
26
|
-
"@teambit/legacy.consumer-config": "0.0.0-477d1ba0a5d6db2568cc2ccf9925fd3040bdc1ca",
|
|
27
|
-
"@teambit/legacy.scope": "0.0.0-4f5e0d114b7c778a87a9f20d5a869d716e6c995a",
|
|
28
|
-
"@teambit/git.modules.git-executable": "0.0.13",
|
|
23
|
+
"@teambit/legacy-bit-id": "1.1.3",
|
|
29
24
|
"@teambit/git.modules.git-ignore": "1.0.2",
|
|
30
|
-
"@teambit/envs": "0.0.0-
|
|
31
|
-
"@teambit/logger": "0.0.0-
|
|
32
|
-
"@teambit/new-component-helper": "0.0.0-
|
|
33
|
-
"@teambit/
|
|
34
|
-
"@teambit/
|
|
35
|
-
"@teambit/workspace": "0.0.0-
|
|
36
|
-
"@teambit/
|
|
37
|
-
"@teambit/
|
|
38
|
-
"@teambit/
|
|
39
|
-
"@teambit/
|
|
40
|
-
"@teambit/
|
|
41
|
-
"@teambit/
|
|
42
|
-
"@teambit/
|
|
43
|
-
"@teambit/
|
|
44
|
-
"@teambit/
|
|
45
|
-
"@teambit/
|
|
46
|
-
"@teambit/
|
|
47
|
-
"@teambit/
|
|
48
|
-
"@teambit/
|
|
49
|
-
"@teambit/
|
|
25
|
+
"@teambit/envs": "0.0.0-52102914cf043b04dce682129231aeca2b9dab86",
|
|
26
|
+
"@teambit/logger": "0.0.0-1fd0af72d04efdd0003c39a2745781a1d37ef455",
|
|
27
|
+
"@teambit/new-component-helper": "0.0.0-fd600d0d1d2c53d90bad673b244d741b4fbe2a2c",
|
|
28
|
+
"@teambit/pkg.modules.component-package-name": "0.0.0-7a4e1241ba61679da7af8cb45e4637bc1cba2424",
|
|
29
|
+
"@teambit/tracker": "0.0.0-21898e81b70cd49e7dfb8ea7e04005b5d4b23405",
|
|
30
|
+
"@teambit/workspace-config-files": "0.0.0-ba78c58093074b6c1cc132599a7a5ee0c318e55e",
|
|
31
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.0-36a44da776d5ba4290605a422be34a4d9ca9f6f5",
|
|
32
|
+
"@teambit/workspace": "0.0.0-49136e9d008a4c649113d1460227d29116369747",
|
|
33
|
+
"@teambit/component": "0.0.0-d77c43c103b37b55cbc0a89395a0501cdafb915c",
|
|
34
|
+
"@teambit/cli": "0.0.0-6d65215e9c4d2255386aaa10d1609630b82c3a50",
|
|
35
|
+
"@teambit/graphql": "0.0.0-f8059418463fbddb7d76fef763f031c453d308ab",
|
|
36
|
+
"@teambit/aspect-loader": "0.0.0-a1f1f74f4bc2577d59a05b4d3b30b6543e3f8a50",
|
|
37
|
+
"@teambit/deprecation": "0.0.0-d9001b86e879838392dadf0088aa49fb17573815",
|
|
38
|
+
"@teambit/git": "0.0.0-d13d5922c3b12f98a18d83d60a5174f531c0e7c5",
|
|
39
|
+
"@teambit/legacy.constants": "0.0.0-e472b01ef2565b12e5310a3f207802c81e227b91",
|
|
40
|
+
"@teambit/legacy.consumer-config": "0.0.0-f46118c9640007b084847affed52780a02d52868",
|
|
41
|
+
"@teambit/legacy.scope": "0.0.0-a3dd37e5b80bbf63e530c75138fc6d3c771653f7",
|
|
42
|
+
"@teambit/scope": "0.0.0-c616f012ff38abdc2acb268a034aa9e30b500854",
|
|
43
|
+
"@teambit/compiler": "0.0.0-b1f8ac0b86eb6992108e548e51e7ac7ae0336b65",
|
|
44
|
+
"@teambit/forking": "0.0.0-63dc01489c84d488607f4f6d04c93910576098f5",
|
|
45
|
+
"@teambit/git.modules.git-executable": "0.0.0-20c6f7ef5c67df0e37ebcc0e31d0429e20cc06a2",
|
|
46
|
+
"@teambit/host-initializer": "0.0.0-ad91cabc94392aabf5504f33d01b82efdfca668d",
|
|
47
|
+
"@teambit/importer": "0.0.0-57d829bcf3bafaff57dabf6349d29ef01aa23ce6",
|
|
48
|
+
"@teambit/install": "0.0.0-8705729d0b079e1c45440170dd6e57e04e3d74bb",
|
|
49
|
+
"@teambit/ui": "0.0.0-90cd8feddc8ef006720e42b19788e25cd958d8b4",
|
|
50
|
+
"@teambit/config": "0.0.0-0efc62310ca4e110f708121924425b202fb1a88d"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
52
53
|
"@types/fs-extra": "9.0.7",
|
|
53
54
|
"@types/lodash": "4.14.165",
|
|
54
55
|
"@types/mocha": "9.1.0",
|
|
55
|
-
"@teambit/generator.aspect-docs.generator": "0.0.
|
|
56
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0
|
|
56
|
+
"@teambit/generator.aspect-docs.generator": "0.0.177",
|
|
57
|
+
"@teambit/harmony.envs.core-aspect-env": "0.1.0"
|
|
57
58
|
},
|
|
58
59
|
"peerDependencies": {
|
|
59
60
|
"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';
|