@teambit/generator 0.0.0-f7856ccd9787ff4eb017d61869984ff8f668445e → 0.0.0-f7fa8097eb2c965723fffce7dad4792ab30a9a85
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-1752596394586.js → preview-1765999874325.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-f7fa8097eb2c965723fffce7dad4792ab30a9a85",
|
|
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": "f7fa8097eb2c965723fffce7dad4792ab30a9a85"
|
|
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/logger": "0.0.1384",
|
|
23
|
+
"@teambit/pkg.modules.component-package-name": "0.0.98",
|
|
24
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.320",
|
|
25
|
+
"@teambit/cli": "0.0.1291",
|
|
22
26
|
"@teambit/harmony": "0.4.7",
|
|
27
|
+
"@teambit/legacy-bit-id": "1.1.3",
|
|
28
|
+
"@teambit/legacy.constants": "0.0.21",
|
|
29
|
+
"@teambit/legacy.consumer-config": "0.0.91",
|
|
30
|
+
"@teambit/legacy.scope": "0.0.91",
|
|
31
|
+
"@teambit/git.modules.git-executable": "0.0.22",
|
|
23
32
|
"@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-d06898b4d6dfca38d48bf5a66286269eaa3cca63",
|
|
43
|
-
"@teambit/forking": "0.0.0-f3015af3c1e939bb61c0eb6724838b654e193af2",
|
|
44
|
-
"@teambit/git.modules.git-executable": "0.0.13",
|
|
45
|
-
"@teambit/host-initializer": "0.0.0-2d6b0006c2d174e02d22ef4f6574681d2a0d97f0",
|
|
46
|
-
"@teambit/importer": "0.0.0-324e7071f2a3e25a37665f5630a6ec6468185c96",
|
|
47
|
-
"@teambit/install": "0.0.0-772b53cd7882799790c7692da971953f36c551df",
|
|
48
|
-
"@teambit/ui": "0.0.0-9518e74d41169a95591b53d9e3d834d4ca45d872",
|
|
49
|
-
"@teambit/config": "0.0.0-3bbb6edb13dcc02e481e999dea88985a9b3616aa"
|
|
33
|
+
"@teambit/config": "0.0.1466",
|
|
34
|
+
"@teambit/envs": "0.0.0-cb0317db6559edc816660c5ad28b791a6f89ec2d",
|
|
35
|
+
"@teambit/new-component-helper": "0.0.0-81dc250cdd79c24e85aa4db2b00670d65f5eb3a1",
|
|
36
|
+
"@teambit/tracker": "0.0.0-f743ababa7aac93c3202e2ae4f4a84d655a0fed5",
|
|
37
|
+
"@teambit/workspace-config-files": "0.0.0-1d780935b30c62ac1d8ef9cf900d046a85451daa",
|
|
38
|
+
"@teambit/workspace": "0.0.0-f3c6d385fb18df051819a9aad18139546606a8da",
|
|
39
|
+
"@teambit/component": "0.0.0-3e412bd3a2ae6ba09f2747e395d80258fefb2fbd",
|
|
40
|
+
"@teambit/graphql": "0.0.0-ceaee488af5d710d414124e3c760dbbb39f229f1",
|
|
41
|
+
"@teambit/aspect-loader": "0.0.0-ab801e1f732ed5030bf52fbfd8f1dfd2c9175c80",
|
|
42
|
+
"@teambit/deprecation": "0.0.0-9d7f2325d13d3083c55e4eeee30c1f6049db9ec5",
|
|
43
|
+
"@teambit/git": "0.0.0-70ad34e3d2e7d58ff05b3b57ce2e1e49e25d10bd",
|
|
44
|
+
"@teambit/scope": "0.0.0-9ec8a793bcb2cf9e6f779707df2f591fbd574a03",
|
|
45
|
+
"@teambit/compiler": "0.0.0-7aa4d28aa59dbd45b06c3c70b923d632b1a748fc",
|
|
46
|
+
"@teambit/forking": "0.0.0-22bd3404a1726fb3ea4acfa91e02356fd1c3f614",
|
|
47
|
+
"@teambit/host-initializer": "0.0.0-6be930f8a2c6fb94f5ae5823be69bb4af00cd10c",
|
|
48
|
+
"@teambit/importer": "0.0.0-0803ac2532f0818971d44d824c7a9e2d609d9880",
|
|
49
|
+
"@teambit/install": "0.0.0-29602d7b884b1bb18075707c59003de8cb4d3dfe",
|
|
50
|
+
"@teambit/ui": "0.0.0-eee48c031091e7d6cae2b21b9b67d87473ce2d5a"
|
|
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.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';
|