@teambit/generator 0.0.0-8ffadda1176a36cff4f8858fe4954fafdba03c85 → 0.0.0-9011c7ba569e483c48cebc068435d69f2610d6be
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-1752762490382.js → preview-1757518516181.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-9011c7ba569e483c48cebc068435d69f2610d6be",
|
|
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": "9011c7ba569e483c48cebc068435d69f2610d6be"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"camelcase": "6.2.0",
|
|
@@ -21,39 +21,39 @@
|
|
|
21
21
|
"@teambit/component-id": "1.2.4",
|
|
22
22
|
"@teambit/harmony": "0.4.7",
|
|
23
23
|
"@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.constants": "0.0.
|
|
39
|
-
"@teambit/legacy.consumer-config": "0.0.
|
|
40
|
-
"@teambit/legacy.scope": "0.0.
|
|
41
|
-
"@teambit/scope": "0.0.0-
|
|
42
|
-
"@teambit/compiler": "0.0.0-
|
|
43
|
-
"@teambit/forking": "0.0.0-
|
|
44
|
-
"@teambit/git.modules.git-executable": "0.0.
|
|
45
|
-
"@teambit/host-initializer": "0.0.0-
|
|
46
|
-
"@teambit/importer": "0.0.0-
|
|
47
|
-
"@teambit/install": "0.0.0-
|
|
48
|
-
"@teambit/ui": "0.0.0-
|
|
49
|
-
"@teambit/config": "0.0.0-
|
|
24
|
+
"@teambit/envs": "0.0.0-cc7cea8a949a1f5177f405c6e4732535dc3866a8",
|
|
25
|
+
"@teambit/logger": "0.0.0-2b810a0b5725df245434967f057779c9b922e812",
|
|
26
|
+
"@teambit/new-component-helper": "0.0.0-b48a4bfcfd18b97bd66fab6f23d691fef57a6ecb",
|
|
27
|
+
"@teambit/pkg.modules.component-package-name": "0.0.0-a786000a8a8221398c3f731d2a83aaa6b2321e25",
|
|
28
|
+
"@teambit/tracker": "0.0.0-ef8b3b35930dd674f08daa9644a092dacaa8f651",
|
|
29
|
+
"@teambit/workspace-config-files": "0.0.0-08f87e8d62494bf2c9185f338edb40cf58a55c54",
|
|
30
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.0-95161619674bb564603aa90831aa3a04953e0918",
|
|
31
|
+
"@teambit/workspace": "0.0.0-1bb0a44a7434eb4eed670a74e5f61fe3c0c0ecbf",
|
|
32
|
+
"@teambit/component": "0.0.0-e9c36e5255732deb82351511f200a76dc5a28732",
|
|
33
|
+
"@teambit/cli": "0.0.0-82d1be08257ab13f0111a174cd725faf22ebb6b5",
|
|
34
|
+
"@teambit/graphql": "0.0.0-7e219830a2c6abdfa40af0347286c2a9684e5cf5",
|
|
35
|
+
"@teambit/aspect-loader": "0.0.0-ae99c7fcc19cba3de62c5122c64351527f3d2833",
|
|
36
|
+
"@teambit/deprecation": "0.0.0-b68e8cce1f11217b1e821abb4e559e0663edb5a9",
|
|
37
|
+
"@teambit/git": "0.0.0-e1d7d880cf9f48dfe06127b60a2609ddcfdff3eb",
|
|
38
|
+
"@teambit/legacy.constants": "0.0.0-81b3462f897c832cd0e9460bbe7085ddfe8c55cb",
|
|
39
|
+
"@teambit/legacy.consumer-config": "0.0.0-9a5d32157618d8a909642f6bddaa4d2dd26ede8f",
|
|
40
|
+
"@teambit/legacy.scope": "0.0.0-665598b585e8f8a40bdd2aa7d604f49f674f3f59",
|
|
41
|
+
"@teambit/scope": "0.0.0-7888c158578363dc93fc139716ac964c7ba41202",
|
|
42
|
+
"@teambit/compiler": "0.0.0-d62f3916f1839b0a935fe33b967b5ff1952f3a73",
|
|
43
|
+
"@teambit/forking": "0.0.0-f4f3116b67ede8aa7e2ff168b3eda0c4879bece0",
|
|
44
|
+
"@teambit/git.modules.git-executable": "0.0.0-97766694af2142c9c2cae5b870519b298c18c240",
|
|
45
|
+
"@teambit/host-initializer": "0.0.0-a5570bf918ad131ad560e132487007aac5553f09",
|
|
46
|
+
"@teambit/importer": "0.0.0-238cac9015dc5dab9e56b5812bc346cb84d3fa79",
|
|
47
|
+
"@teambit/install": "0.0.0-4b89985e8570b96cc5e12c5020af3680adc31d38",
|
|
48
|
+
"@teambit/ui": "0.0.0-057f979989f78405b3b1f715ae1a00c2cdc1d3c6",
|
|
49
|
+
"@teambit/config": "0.0.0-95980df7513b5be0377d21a8a139abae5a3b45ab"
|
|
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.78"
|
|
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';
|