@teambit/generator 0.0.0-e3178287df8e32bdda79061371f177e643b2508e → 0.0.0-e366e67c1fbc13a90ba11f1214fb76efb8fdca09
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-1752582455144.js → preview-1764019157602.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-e366e67c1fbc13a90ba11f1214fb76efb8fdca09",
|
|
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": "e366e67c1fbc13a90ba11f1214fb76efb8fdca09"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"camelcase": "6.2.0",
|
|
@@ -20,40 +20,41 @@
|
|
|
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-bit-id": "1.1.3",
|
|
24
|
+
"@teambit/legacy.constants": "0.0.20",
|
|
25
|
+
"@teambit/git.modules.git-executable": "0.0.21",
|
|
23
26
|
"@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-bd7ec601cf4177e20e1c2207b2568cdc41b4b5dc",
|
|
49
|
-
"@teambit/config": "0.0.0-3645257d9d863167e7ffe3be701486daf32d5f9f"
|
|
27
|
+
"@teambit/envs": "0.0.0-a5d7d55bd1c7ef9b15c4471e7baf1387ea0015e3",
|
|
28
|
+
"@teambit/logger": "0.0.0-3d06f63133a4706d27db9f12fa235a3fe3618070",
|
|
29
|
+
"@teambit/new-component-helper": "0.0.0-b11c8f3a7eb5b643e09fc69cae2145ae7fe970d9",
|
|
30
|
+
"@teambit/pkg.modules.component-package-name": "0.0.0-d7b56056598563a10780b1ffa8f50952a1c9ec9f",
|
|
31
|
+
"@teambit/tracker": "0.0.0-833182ab15100688497f119aeb4715448053fb0a",
|
|
32
|
+
"@teambit/workspace-config-files": "0.0.0-e1406b703b1e824362dd07df083ae0f06294b117",
|
|
33
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.0-0d36fe24478bd1419addd5debb47b84949a2f444",
|
|
34
|
+
"@teambit/workspace": "0.0.0-eaf4a09ef72c336b4f62d1317e452000223c1740",
|
|
35
|
+
"@teambit/component": "0.0.0-06a448d8105570378a52037b9b4f38591f02e230",
|
|
36
|
+
"@teambit/cli": "0.0.0-36bb847ee17d62bcf9200fc40b94463beb6b3f22",
|
|
37
|
+
"@teambit/graphql": "0.0.0-c5a46c028c452c1b719edebfa0368b48a7a49846",
|
|
38
|
+
"@teambit/aspect-loader": "0.0.0-f8a558c4fbba5a103f4eb8a2a677d93dd27a7184",
|
|
39
|
+
"@teambit/deprecation": "0.0.0-efc2d5a3eb35f7028b4e2435ca4ac070ae11414e",
|
|
40
|
+
"@teambit/git": "0.0.0-efdaa5ea1a45984026b93465243ce8d74caf122d",
|
|
41
|
+
"@teambit/legacy.consumer-config": "0.0.0-3b5d32991bdfdc2aa515c1c304de022e380a2839",
|
|
42
|
+
"@teambit/legacy.scope": "0.0.0-5ae1f14fe86e6314733683a034856a8d992af7e3",
|
|
43
|
+
"@teambit/scope": "0.0.0-539a29b418be2d80d7083336f466b5768cd5288a",
|
|
44
|
+
"@teambit/compiler": "0.0.0-51f4e99a7dcf27ec17defa138601b9dd72973a54",
|
|
45
|
+
"@teambit/forking": "0.0.0-4878fad4c8fa093b005b7a35b76fa96015f3176d",
|
|
46
|
+
"@teambit/host-initializer": "0.0.0-76d543d0de40e182fe54516092ee83d59ca16e2c",
|
|
47
|
+
"@teambit/importer": "0.0.0-cecfb486fe6bf7e6cd1adfc2d602d4a532f43999",
|
|
48
|
+
"@teambit/install": "0.0.0-53037dc1b0facbdcc991e3c2f2193d237dddb89f",
|
|
49
|
+
"@teambit/ui": "0.0.0-8d2317a1362f917eea7a47c90913fcd5bb66542c",
|
|
50
|
+
"@teambit/config": "0.0.0-f2392fba46b22afb2d2eabd87a47fe7535c9075e"
|
|
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/
|
|
56
|
-
"@teambit/
|
|
56
|
+
"@teambit/generator.aspect-docs.generator": "0.0.177",
|
|
57
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.80"
|
|
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';
|