@teambit/generator 0.0.0-e3178287df8e32bdda79061371f177e643b2508e → 0.0.0-e7976db705dc20bb78b621d5ce0e80d3489d5cde
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 +3 -3
- 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 +3 -3
- package/dist/new.cmd.js.map +1 -1
- package/dist/{preview-1752582455144.js → preview-1756930057506.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.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
|
@@ -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';
|