@teambit/generator 0.0.0-c07b738bda1be35f4c6384d2315386a9254cf099 → 0.0.0-c353a3879d3764a11788d587b586e861eb384cfe
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/create.cmd.d.ts
CHANGED
package/dist/create.cmd.js
CHANGED
|
@@ -23,8 +23,7 @@ class CreateCmd {
|
|
|
23
23
|
constructor(generator) {
|
|
24
24
|
this.generator = generator;
|
|
25
25
|
_defineProperty(this, "name", 'create <template-name> <component-names...>');
|
|
26
|
-
_defineProperty(this, "description", '
|
|
27
|
-
_defineProperty(this, "extendedDescription", "Generates one or more components from a chosen template with ready-to-use source files, configuration, and environment. Use it to quickly scaffold consistent components across your workspace. Run 'bit templates' to discover available templates.");
|
|
26
|
+
_defineProperty(this, "description", 'create a new component (source files and config) using a template.');
|
|
28
27
|
_defineProperty(this, "alias", '');
|
|
29
28
|
_defineProperty(this, "loader", true);
|
|
30
29
|
_defineProperty(this, "helpUrl", 'reference/starters/create-starter');
|
package/dist/create.cmd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_chalk","data","_interopRequireDefault","require","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","CreateCmd","constructor","generator","name","description","cmd","report","templateName","componentNames","options","aspectId","template","results","generateComponentTemplate","title","length","componentsData","map","result","chalk","bold","id","toString","dir","envId","envSetBy","packageName","join","footer","green","exports"],"sources":["create.cmd.ts"],"sourcesContent":["import type { Command, CommandOptions } from '@teambit/cli';\nimport type { ComponentID } from '@teambit/component';\nimport chalk from 'chalk';\nimport type { GeneratorMain } from './generator.main.runtime';\nimport type { BaseComponentTemplateOptions } from './component-template';\n\n/**\n * CreateOptions combines foundational properties with additional options for creating a component.\n */\nexport type CreateOptions = BaseComponentTemplateOptions & {\n env?: string;\n aspect?: string;\n force?: boolean;\n};\n\nexport class CreateCmd implements Command {\n name = 'create <template-name> <component-names...>';\n description = '
|
|
1
|
+
{"version":3,"names":["_chalk","data","_interopRequireDefault","require","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","CreateCmd","constructor","generator","name","description","cmd","report","templateName","componentNames","options","aspectId","template","results","generateComponentTemplate","title","length","componentsData","map","result","chalk","bold","id","toString","dir","envId","envSetBy","packageName","join","footer","green","exports"],"sources":["create.cmd.ts"],"sourcesContent":["import type { Command, CommandOptions } from '@teambit/cli';\nimport type { ComponentID } from '@teambit/component';\nimport chalk from 'chalk';\nimport type { GeneratorMain } from './generator.main.runtime';\nimport type { BaseComponentTemplateOptions } from './component-template';\n\n/**\n * CreateOptions combines foundational properties with additional options for creating a component.\n */\nexport type CreateOptions = BaseComponentTemplateOptions & {\n env?: string;\n aspect?: string;\n force?: boolean;\n};\n\nexport class CreateCmd implements Command {\n name = 'create <template-name> <component-names...>';\n description = 'create a new component (source files and config) using a template.';\n alias = '';\n loader = true;\n helpUrl = 'reference/starters/create-starter';\n arguments = [\n {\n name: 'template-name',\n description:\n \"the template for generating the component \\n(run 'bit templates' for a list of available templates)\",\n },\n {\n name: 'component-names...',\n description: 'a list of component names to generate',\n },\n ];\n examples = [\n {\n cmd: 'bit create react ui/button --aspect teambit.react/react-env',\n description: \"creates a component named 'ui/button' using the 'react' template\",\n },\n {\n cmd: 'bit create module utils/is-string utils/is-number --aspect teambit.node/node',\n description:\n \"creates two components, 'utils/is-string' and 'utils/is-number' using the 'node' template from the 'node' aspect(env)\",\n },\n {\n cmd: 'bit create mdx docs/create-components --aspect teambit.mdx/mdx-env --scope my-org.my-scope',\n description:\n \"creates an mdx component named 'docs/create-components' and sets it scope to 'my-org.my-scope'. \\nby default, the scope is the `defaultScope` value, configured in your `workspace.jsonc`.\",\n },\n {\n cmd: 'bit create react ui/button --aspect teambit.react/react-env --env teambit.community/envs/community-react@3.0.3',\n description:\n \"creates a component named 'ui/button' from the teambit.react/react-env env and sets it to use the 'community-react' env. \\n(the template's default env is 'teambit.react/react-env').\",\n },\n ];\n group = 'component-development';\n options = [\n ['n', 'namespace <string>', `sets the component's namespace and nested dirs inside the scope`],\n ['s', 'scope <string>', `sets the component's scope-name. if not entered, the default-scope will be used`],\n ['a', 'aspect <string>', 'aspect-id of the template. helpful when multiple aspects use the same template name'],\n ['t', 'template <string>', 'env-id of the template. alias for --aspect.'],\n ['p', 'path <string>', 'relative path in the workspace. by default the path is `<scope>/<namespace>/<name>`'],\n ['e', 'env <string>', \"set the component's environment. (overrides the env from variants and the template)\"],\n ['f', 'force', 'replace existing files at the target location'],\n ] as CommandOptions;\n\n constructor(private generator: GeneratorMain) {}\n\n async report(\n [templateName, componentNames]: [string, string[]],\n options: Partial<CreateOptions> & {\n template?: string | ComponentID;\n force?: boolean;\n }\n ) {\n options.aspectId = options.aspectId ?? options.template;\n const results = await this.generator.generateComponentTemplate(componentNames, templateName, options);\n const title = `${results.length} component(s) were created`;\n\n const componentsData = results\n .map((result) => {\n return `${chalk.bold(result.id.toString())}\n location: ${result.dir}\n env: ${result.envId} (set by ${result.envSetBy})\n package: ${result.packageName}\n`;\n })\n .join('\\n');\n const footer = `env configuration is according to workspace variants, template config or --env flag.`;\n\n return `${chalk.green(title)}\\n\\n${componentsData}\\n\\n${footer}`;\n }\n}\n"],"mappings":";;;;;;AAEA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA0B,SAAAC,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,gBAAAH,CAAA,EAAAI,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,c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AK,CAACU,KAAK,CAACf,KAAK,CAAC,OAAOE,cAAc,OAAOY,MAAM,EAAE;EAClE;AACF;AAACE,OAAA,CAAA9B,SAAA,GAAAA,SAAA","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.generator_generator@
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.generator_generator@
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.generator_generator@c353a3879d3764a11788d587b586e861eb384cfe/dist/generator.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.generator_generator@c353a3879d3764a11788d587b586e861eb384cfe/dist/generator.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
package/dist/templates.cmd.js
CHANGED
|
@@ -26,8 +26,8 @@ class TemplatesCmd {
|
|
|
26
26
|
constructor(generator) {
|
|
27
27
|
this.generator = generator;
|
|
28
28
|
_defineProperty(this, "name", 'templates');
|
|
29
|
-
_defineProperty(this, "description", 'list available templates for
|
|
30
|
-
_defineProperty(this, "extendedDescription",
|
|
29
|
+
_defineProperty(this, "description", 'list available templates for "bit create" and "bit new"');
|
|
30
|
+
_defineProperty(this, "extendedDescription", 'list components templates when inside bit-workspace (for bit-create), otherwise, list workspace templates (for bit-new)');
|
|
31
31
|
_defineProperty(this, "alias", '');
|
|
32
32
|
_defineProperty(this, "loader", true);
|
|
33
33
|
_defineProperty(this, "group", 'component-development');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_chalk","data","_interopRequireDefault","require","_lodash","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","TemplatesCmd","constructor","generator","report","args","templatesOptions","results","listTemplates","showAll","filter","template","hidden","grouped","groupBy","titleStr","isRunningInsideWorkspace","title","chalk","green","templateOutput","desc","description","name","dim","output","keys","map","aspectId","names","join","groupTitle","titlePrefix","blue","bold","learnMore","json","exports"],"sources":["templates.cmd.ts"],"sourcesContent":["import type { Command, CommandOptions } from '@teambit/cli';\nimport chalk from 'chalk';\nimport { groupBy } from 'lodash';\nimport type { GeneratorMain, TemplateDescriptor } from './generator.main.runtime';\n\nexport type TemplatesOptions = {\n showAll?: boolean;\n aspect?: string;\n json?: boolean;\n};\n\nexport class TemplatesCmd implements Command {\n name = 'templates';\n description = 'list available templates for
|
|
1
|
+
{"version":3,"names":["_chalk","data","_interopRequireDefault","require","_lodash","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","TemplatesCmd","constructor","generator","report","args","templatesOptions","results","listTemplates","showAll","filter","template","hidden","grouped","groupBy","titleStr","isRunningInsideWorkspace","title","chalk","green","templateOutput","desc","description","name","dim","output","keys","map","aspectId","names","join","groupTitle","titlePrefix","blue","bold","learnMore","json","exports"],"sources":["templates.cmd.ts"],"sourcesContent":["import type { Command, CommandOptions } from '@teambit/cli';\nimport chalk from 'chalk';\nimport { groupBy } from 'lodash';\nimport type { GeneratorMain, TemplateDescriptor } from './generator.main.runtime';\n\nexport type TemplatesOptions = {\n showAll?: boolean;\n aspect?: string;\n json?: boolean;\n};\n\nexport class TemplatesCmd implements Command {\n name = 'templates';\n description = 'list available templates for \"bit create\" and \"bit new\"';\n extendedDescription =\n 'list components templates when inside bit-workspace (for bit-create), otherwise, list workspace templates (for bit-new)';\n alias = '';\n loader = true;\n group = 'component-development';\n options = [\n ['s', 'show-all', 'show hidden templates'],\n ['a', 'aspect <aspect-id>', 'show templates provided by the aspect-id'],\n ['j', 'json', 'return templates in json format'],\n ] as CommandOptions;\n\n constructor(private generator: GeneratorMain) {}\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n async report(args: [], templatesOptions: TemplatesOptions) {\n let results = await this.generator.listTemplates(templatesOptions);\n\n // Make sure that we don't list hidden templates\n if (!templatesOptions.showAll) {\n results = results.filter((template) => !template.hidden);\n }\n\n const grouped = groupBy(results, 'aspectId');\n const titleStr = this.generator.isRunningInsideWorkspace()\n ? `The following template(s) are available with the command bit create: \\nExample - bit create <template-name> <component-name>`\n : `The following template(s) are available with the command bit new: \\nExample - bit new <template-name> <workspace-name>`;\n const title = chalk.green(`\\n${titleStr}\\n`);\n const templateOutput = (template: TemplateDescriptor) => {\n const desc = template.description ? ` (${template.description})` : '';\n return ` ${template.name}${chalk.dim(desc)}`;\n };\n const output = Object.keys(grouped)\n .map((aspectId) => {\n const names = grouped[aspectId].map(templateOutput).join('\\n');\n const groupTitle = grouped[aspectId][0].titlePrefix\n ? `${grouped[aspectId][0].titlePrefix} (${aspectId})`\n : aspectId;\n return `${chalk.blue.bold(groupTitle)}\\n${names}\\n`;\n })\n .join('\\n');\n\n const learnMore = `\\nfind and add templates in https://bit.dev/reference/generator/use-component-generator`;\n return title + output + learnMore;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n async json(args: [], templatesOptions: TemplatesOptions) {\n let results = await this.generator.listTemplates(templatesOptions);\n\n // Make sure that we don't list hidden templates\n if (!templatesOptions.showAll) {\n results = results.filter((template) => !template.hidden);\n }\n\n return results;\n }\n}\n"],"mappings":";;;;;;AACA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,QAAA;EAAA,MAAAH,IAAA,GAAAE,OAAA;EAAAC,OAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAiC,SAAAC,uBAAAG,CAAA,WAAAA,CAAA,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,CAACH,UAAU,CAAC,KAAKF,KAAK,IAAI;IACrD,CAAC,CAAC,CACDC,IAAI,CAAC,IAAI,CAAC;IAEb,MAAMK,SAAS,GAAG,yFAAyF;IAC3G,OAAOlB,KAAK,GAAGQ,MAAM,GAAGU,SAAS;EACnC;;EAEA;EACA,MAAMC,IAAIA,CAAC/B,IAAQ,EAAEC,gBAAkC,EAAE;IACvD,IAAIC,OAAO,GAAG,MAAM,IAAI,CAACJ,SAAS,CAACK,aAAa,CAACF,gBAAgB,CAAC;;IAElE;IACA,IAAI,CAACA,gBAAgB,CAACG,OAAO,EAAE;MAC7BF,OAAO,GAAGA,OAAO,CAACG,MAAM,CAAEC,QAAQ,IAAK,CAACA,QAAQ,CAACC,MAAM,CAAC;IAC1D;IAEA,OAAOL,OAAO;EAChB;AACF;AAAC8B,OAAA,CAAApC,YAAA,GAAAA,YAAA","ignoreList":[]}
|
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-c353a3879d3764a11788d587b586e861eb384cfe",
|
|
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": "c353a3879d3764a11788d587b586e861eb384cfe"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"camelcase": "6.2.0",
|
|
@@ -19,34 +19,34 @@
|
|
|
19
19
|
"execa": "2.1.0",
|
|
20
20
|
"@teambit/bit-error": "0.0.404",
|
|
21
21
|
"@teambit/component-id": "1.2.4",
|
|
22
|
-
"@teambit/pkg.modules.component-package-name": "0.0.79",
|
|
23
|
-
"@teambit/workspace.modules.node-modules-linker": "0.0.300",
|
|
24
22
|
"@teambit/harmony": "0.4.7",
|
|
25
23
|
"@teambit/legacy.constants": "0.0.17",
|
|
26
|
-
"@teambit/legacy.consumer-config": "0.0.72",
|
|
27
|
-
"@teambit/legacy.scope": "0.0.72",
|
|
28
24
|
"@teambit/git.modules.git-executable": "0.0.18",
|
|
29
25
|
"@teambit/git.modules.git-ignore": "1.0.2",
|
|
30
|
-
"@teambit/envs": "0.0.0-
|
|
31
|
-
"@teambit/logger": "0.0.0-
|
|
32
|
-
"@teambit/new-component-helper": "0.0.0-
|
|
33
|
-
"@teambit/
|
|
34
|
-
"@teambit/
|
|
35
|
-
"@teambit/workspace": "0.0.0-
|
|
36
|
-
"@teambit/
|
|
37
|
-
"@teambit/
|
|
38
|
-
"@teambit/
|
|
39
|
-
"@teambit/
|
|
40
|
-
"@teambit/
|
|
41
|
-
"@teambit/
|
|
42
|
-
"@teambit/
|
|
43
|
-
"@teambit/
|
|
44
|
-
"@teambit/
|
|
45
|
-
"@teambit/
|
|
46
|
-
"@teambit/
|
|
47
|
-
"@teambit/
|
|
48
|
-
"@teambit/
|
|
49
|
-
"@teambit/
|
|
26
|
+
"@teambit/envs": "0.0.0-89f03d10dbece62f998f3096f5cc2d49e6cb6bd9",
|
|
27
|
+
"@teambit/logger": "0.0.0-e6ba19d959d26a5842490b264a7b1e6c074699f2",
|
|
28
|
+
"@teambit/new-component-helper": "0.0.0-de95afe60bb5da190c66442a53f9367a827ff402",
|
|
29
|
+
"@teambit/pkg.modules.component-package-name": "0.0.0-17f911e3c52cb649d864e48de040726b6a2ad686",
|
|
30
|
+
"@teambit/tracker": "0.0.0-4703f04742cfbbfd30f3405feaeaf0194fbd7df0",
|
|
31
|
+
"@teambit/workspace-config-files": "0.0.0-ef2df6d617d90a7cc669cc79935b70c96ab6a6ae",
|
|
32
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.0-982caa8678c2a34196b84147dbba8acb93c3687f",
|
|
33
|
+
"@teambit/workspace": "0.0.0-cbe17f7f560121cf311b8273557c4a4b768fc707",
|
|
34
|
+
"@teambit/component": "0.0.0-596fb3dba05b41f7afebeebc0f6c87f7057a2642",
|
|
35
|
+
"@teambit/cli": "0.0.0-39f9b09565741799533634c28bad92d941a4d81c",
|
|
36
|
+
"@teambit/graphql": "0.0.0-9eaca282d51df405f21db03bb0a4985f12e18316",
|
|
37
|
+
"@teambit/aspect-loader": "0.0.0-b5e60b86b29a61bafd8956736315b7e166bc7e6d",
|
|
38
|
+
"@teambit/deprecation": "0.0.0-b869aa4f88524faf712be884db452dce25effee3",
|
|
39
|
+
"@teambit/git": "0.0.0-679746fd154d1b890d6d5a7599ef1f6100cba608",
|
|
40
|
+
"@teambit/legacy.consumer-config": "0.0.0-173d8a21183f14c6d86f04ad12da2769e54be68e",
|
|
41
|
+
"@teambit/legacy.scope": "0.0.0-5a9f9f55ce1c6c67222e6e4c891de924b383ebb6",
|
|
42
|
+
"@teambit/scope": "0.0.0-f1ce0b2205afa433a91825537b076c7edc0b9b50",
|
|
43
|
+
"@teambit/compiler": "0.0.0-18fa34a813c7721c67bc5c875f9818da67f485bb",
|
|
44
|
+
"@teambit/forking": "0.0.0-27dee7a3d5844d02e4b0751247ff12f6d74ada9a",
|
|
45
|
+
"@teambit/host-initializer": "0.0.0-7e0f396e8869e50c8e8f111d6ebcb172d8235e62",
|
|
46
|
+
"@teambit/importer": "0.0.0-3addc6976805d3746906f6d3635151c3d27ae325",
|
|
47
|
+
"@teambit/install": "0.0.0-b65548bedc8398ca9249f4815152f3a19c61acab",
|
|
48
|
+
"@teambit/ui": "0.0.0-b2f4f5f7ad1c5c0e917ea2ae2920d05a49855b60",
|
|
49
|
+
"@teambit/config": "0.0.0-314e6199c4d488b71ce2ec3c2951d167c0ff2715"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/fs-extra": "9.0.7",
|