@teambit/generator 0.0.0-b8218b33e4e2acdead19c6d757a927017c11f890 → 0.0.0-b95bcb41c88290dc1e7d7f6bea9dc098068a93fb
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-1752254355761.js → preview-1761857347056.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-b95bcb41c88290dc1e7d7f6bea9dc098068a93fb",
|
|
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": "b95bcb41c88290dc1e7d7f6bea9dc098068a93fb"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"camelcase": "6.2.0",
|
|
@@ -19,41 +19,41 @@
|
|
|
19
19
|
"execa": "2.1.0",
|
|
20
20
|
"@teambit/bit-error": "0.0.404",
|
|
21
21
|
"@teambit/component-id": "1.2.4",
|
|
22
|
+
"@teambit/logger": "0.0.1375",
|
|
23
|
+
"@teambit/pkg.modules.component-package-name": "0.0.90",
|
|
24
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.312",
|
|
25
|
+
"@teambit/cli": "0.0.1282",
|
|
22
26
|
"@teambit/harmony": "0.4.7",
|
|
27
|
+
"@teambit/legacy.constants": "0.0.19",
|
|
28
|
+
"@teambit/legacy.consumer-config": "0.0.83",
|
|
29
|
+
"@teambit/legacy.scope": "0.0.83",
|
|
30
|
+
"@teambit/git.modules.git-executable": "0.0.20",
|
|
23
31
|
"@teambit/git.modules.git-ignore": "1.0.2",
|
|
24
|
-
"@teambit/
|
|
25
|
-
"@teambit/
|
|
26
|
-
"@teambit/new-component-helper": "0.0.0-
|
|
27
|
-
"@teambit/
|
|
28
|
-
"@teambit/
|
|
29
|
-
"@teambit/workspace
|
|
30
|
-
"@teambit/
|
|
31
|
-
"@teambit/
|
|
32
|
-
"@teambit/
|
|
33
|
-
"@teambit/
|
|
34
|
-
"@teambit/
|
|
35
|
-
"@teambit/
|
|
36
|
-
"@teambit/
|
|
37
|
-
"@teambit/
|
|
38
|
-
"@teambit/
|
|
39
|
-
"@teambit/
|
|
40
|
-
"@teambit/
|
|
41
|
-
"@teambit/
|
|
42
|
-
"@teambit/compiler": "0.0.0-eda8f485d7d4c0c7f81596735f67c3e664b12be0",
|
|
43
|
-
"@teambit/forking": "0.0.0-2b7dcfaf75e3c277fc1bb34202b1b9a4080d1491",
|
|
44
|
-
"@teambit/git.modules.git-executable": "0.0.13",
|
|
45
|
-
"@teambit/host-initializer": "0.0.0-ea7ab631aff9aad1e6699140c8586a786a5f0769",
|
|
46
|
-
"@teambit/importer": "0.0.0-4fd7cee2284648051d86a9351e18fea1fa875064",
|
|
47
|
-
"@teambit/install": "0.0.0-03d35d0373e449330e4779446dbb6d8af792324f",
|
|
48
|
-
"@teambit/ui": "0.0.0-b34f39cb15bf74a42f9b90d7ca4341aac0989d64",
|
|
49
|
-
"@teambit/config": "0.0.0-70619db90c5e858e667bd1142fca5bf4494e908d"
|
|
32
|
+
"@teambit/config": "0.0.1456",
|
|
33
|
+
"@teambit/envs": "0.0.0-36021f8b5c985b5bfd21ea107796fb96b82dd83d",
|
|
34
|
+
"@teambit/new-component-helper": "0.0.0-dcea9c03a335198831ca13c6d58a08fb526355f2",
|
|
35
|
+
"@teambit/tracker": "0.0.0-8bede7911b4a222f43244b05e39ef0a7657c4be4",
|
|
36
|
+
"@teambit/workspace-config-files": "0.0.0-1539fe2cf22282ac95c3a147b4377ef9f0ceefc1",
|
|
37
|
+
"@teambit/workspace": "0.0.0-2923145d7dc7553b5c157c0aab99ba7293fdcbc5",
|
|
38
|
+
"@teambit/component": "0.0.0-5886f3667bd65558de1280832475db7997a0593e",
|
|
39
|
+
"@teambit/graphql": "0.0.0-76f47da2c99dcff6f8f692aabe39b2c56306ec97",
|
|
40
|
+
"@teambit/aspect-loader": "0.0.0-fd3e030cc1ea96544e7c017ae173a79980e4bac4",
|
|
41
|
+
"@teambit/deprecation": "0.0.0-263dce64e7098c06f4f0a802f96638f81ad7a5e1",
|
|
42
|
+
"@teambit/git": "0.0.0-63402faf8c2609befbe4d390b603ffd1f544ea01",
|
|
43
|
+
"@teambit/scope": "0.0.0-0c6a4d083e1f803e951e505b29bf544746773159",
|
|
44
|
+
"@teambit/compiler": "0.0.0-6328267165b53acae5a93d038160c0199e0f630d",
|
|
45
|
+
"@teambit/forking": "0.0.0-b8ce1365939853ffb63c84a1f37bbf2f157d051a",
|
|
46
|
+
"@teambit/host-initializer": "0.0.0-f6447db2fa34010ea9178fbdc1fe449777754ef8",
|
|
47
|
+
"@teambit/importer": "0.0.0-928e61e740a1ad3871a025e2fd3a513172509579",
|
|
48
|
+
"@teambit/install": "0.0.0-d5bcd04ee95430b1d855645143ec60d950bea133",
|
|
49
|
+
"@teambit/ui": "0.0.0-e7dd335053cb98ad9f153c29b890017dac4d87fb"
|
|
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';
|