@teambit/generator 1.0.84 → 1.0.86

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.
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.generator_generator@1.0.84/dist/generator.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.generator_generator@1.0.84/dist/generator.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.generator_generator@1.0.86/dist/generator.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.generator_generator@1.0.86/dist/generator.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -4,16 +4,16 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = exports.BasicWorkspaceStarter = void 0;
7
- function _workspaceConfig() {
8
- const data = require("./template/files/workspace-config");
9
- _workspaceConfig = function () {
7
+ function _gitModules() {
8
+ const data = require("@teambit/git.modules.git-ignore");
9
+ _gitModules = function () {
10
10
  return data;
11
11
  };
12
12
  return data;
13
13
  }
14
- function _gitIgnore() {
15
- const data = require("./template/files/git-ignore");
16
- _gitIgnore = function () {
14
+ function _workspaceConfig() {
15
+ const data = require("./template/files/workspace-config");
16
+ _workspaceConfig = function () {
17
17
  return data;
18
18
  };
19
19
  return data;
@@ -27,7 +27,7 @@ const BasicWorkspaceStarter = exports.BasicWorkspaceStarter = {
27
27
  content: await (0, _workspaceConfig().workspaceConfig)(context)
28
28
  }, {
29
29
  relativePath: '.gitignore',
30
- content: (0, _gitIgnore().gitIgnore)()
30
+ content: (0, _gitModules().gitIgnoreTemplate)()
31
31
  }];
32
32
  }
33
33
  };
@@ -1 +1 @@
1
- {"version":3,"names":["_workspaceConfig","data","require","_gitIgnore","BasicWorkspaceStarter","exports","name","description","generateFiles","context","relativePath","content","workspaceConfig","gitIgnore","_default","default"],"sources":["basic.starter.ts"],"sourcesContent":["import { WorkspaceContext, Starter } from '../..';\nimport { workspaceConfig } from './template/files/workspace-config';\nimport { gitIgnore } from './template/files/git-ignore';\n\nexport const BasicWorkspaceStarter: Starter = {\n name: 'basic',\n description: 'a basic workspace',\n generateFiles: async (context: WorkspaceContext) => {\n return [\n {\n relativePath: 'workspace.jsonc',\n content: await workspaceConfig(context),\n },\n {\n relativePath: '.gitignore',\n content: gitIgnore(),\n },\n ];\n },\n};\n\nexport default BasicWorkspaceStarter;\n"],"mappings":";;;;;;AACA,SAAAA,iBAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,gBAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,WAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,UAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAMG,qBAA8B,GAAAC,OAAA,CAAAD,qBAAA,GAAG;EAC5CE,IAAI,EAAE,OAAO;EACbC,WAAW,EAAE,mBAAmB;EAChCC,aAAa,EAAE,MAAOC,OAAyB,IAAK;IAClD,OAAO,CACL;MACEC,YAAY,EAAE,iBAAiB;MAC/BC,OAAO,EAAE,MAAM,IAAAC,kCAAe,EAACH,OAAO;IACxC,CAAC,EACD;MACEC,YAAY,EAAE,YAAY;MAC1BC,OAAO,EAAE,IAAAE,sBAAS,EAAC;IACrB,CAAC,CACF;EACH;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAT,OAAA,CAAAU,OAAA,GAEaX,qBAAqB"}
1
+ {"version":3,"names":["_gitModules","data","require","_workspaceConfig","BasicWorkspaceStarter","exports","name","description","generateFiles","context","relativePath","content","workspaceConfig","gitIgnoreTemplate","_default","default"],"sources":["basic.starter.ts"],"sourcesContent":["import { gitIgnoreTemplate } from '@teambit/git.modules.git-ignore';\nimport { WorkspaceContext, Starter } from '../..';\nimport { workspaceConfig } from './template/files/workspace-config';\n\nexport const BasicWorkspaceStarter: Starter = {\n name: 'basic',\n description: 'a basic workspace',\n generateFiles: async (context: WorkspaceContext) => {\n return [\n {\n relativePath: 'workspace.jsonc',\n content: await workspaceConfig(context),\n },\n {\n relativePath: '.gitignore',\n content: gitIgnoreTemplate(),\n },\n ];\n },\n};\n\nexport default BasicWorkspaceStarter;\n"],"mappings":";;;;;;AAAA,SAAAA,YAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,WAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAE,iBAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,gBAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAMG,qBAA8B,GAAAC,OAAA,CAAAD,qBAAA,GAAG;EAC5CE,IAAI,EAAE,OAAO;EACbC,WAAW,EAAE,mBAAmB;EAChCC,aAAa,EAAE,MAAOC,OAAyB,IAAK;IAClD,OAAO,CACL;MACEC,YAAY,EAAE,iBAAiB;MAC/BC,OAAO,EAAE,MAAM,IAAAC,kCAAe,EAACH,OAAO;IACxC,CAAC,EACD;MACEC,YAAY,EAAE,YAAY;MAC1BC,OAAO,EAAE,IAAAE,+BAAiB,EAAC;IAC7B,CAAC,CACF;EACH;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAT,OAAA,CAAAU,OAAA,GAEaX,qBAAqB"}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/generator",
3
- "version": "1.0.84",
3
+ "version": "1.0.86",
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": "1.0.84"
9
+ "version": "1.0.86"
10
10
  },
11
11
  "dependencies": {
12
12
  "camelcase": "6.2.0",
@@ -22,24 +22,25 @@
22
22
  "@teambit/bit-error": "0.0.404",
23
23
  "@teambit/component-id": "1.2.0",
24
24
  "@teambit/harmony": "0.4.6",
25
- "@teambit/envs": "1.0.83",
25
+ "@teambit/git.modules.git-ignore": "1.0.2",
26
+ "@teambit/envs": "1.0.85",
26
27
  "@teambit/logger": "0.0.922",
27
- "@teambit/new-component-helper": "1.0.83",
28
- "@teambit/tracker": "1.0.83",
29
- "@teambit/workspace-config-files": "1.0.83",
28
+ "@teambit/new-component-helper": "1.0.85",
29
+ "@teambit/tracker": "1.0.85",
30
+ "@teambit/workspace-config-files": "1.0.85",
30
31
  "@teambit/workspace.modules.node-modules-linker": "0.0.155",
31
- "@teambit/workspace": "1.0.83",
32
- "@teambit/component": "1.0.83",
32
+ "@teambit/workspace": "1.0.85",
33
+ "@teambit/component": "1.0.85",
33
34
  "@teambit/cli": "0.0.829",
34
- "@teambit/graphql": "1.0.83",
35
- "@teambit/aspect-loader": "1.0.83",
36
- "@teambit/bit": "1.5.14",
37
- "@teambit/git": "1.0.83",
38
- "@teambit/compiler": "1.0.83",
39
- "@teambit/forking": "1.0.83",
40
- "@teambit/importer": "1.0.83",
41
- "@teambit/install": "1.0.83",
42
- "@teambit/ui": "1.0.83",
35
+ "@teambit/graphql": "1.0.85",
36
+ "@teambit/aspect-loader": "1.0.85",
37
+ "@teambit/bit": "1.5.16",
38
+ "@teambit/git": "1.0.85",
39
+ "@teambit/compiler": "1.0.85",
40
+ "@teambit/forking": "1.0.85",
41
+ "@teambit/importer": "1.0.85",
42
+ "@teambit/install": "1.0.85",
43
+ "@teambit/ui": "1.0.85",
43
44
  "@teambit/config": "0.0.845"
44
45
  },
45
46
  "devDependencies": {
@@ -1,6 +1,6 @@
1
+ import { gitIgnoreTemplate } from '@teambit/git.modules.git-ignore';
1
2
  import { WorkspaceContext, Starter } from '../..';
2
3
  import { workspaceConfig } from './template/files/workspace-config';
3
- import { gitIgnore } from './template/files/git-ignore';
4
4
 
5
5
  export const BasicWorkspaceStarter: Starter = {
6
6
  name: 'basic',
@@ -13,7 +13,7 @@ export const BasicWorkspaceStarter: Starter = {
13
13
  },
14
14
  {
15
15
  relativePath: '.gitignore',
16
- content: gitIgnore(),
16
+ content: gitIgnoreTemplate(),
17
17
  },
18
18
  ];
19
19
  },
@@ -1 +0,0 @@
1
- export declare function gitIgnore(): string;
@@ -1,118 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.gitIgnore = gitIgnore;
7
- function gitIgnore() {
8
- return `# Bit
9
- .bit
10
- public
11
-
12
- # Logs
13
- logs
14
- *.log
15
- npm-debug.log*
16
- yarn-debug.log*
17
- yarn-error.log*
18
- lerna-debug.log*
19
-
20
- # Diagnostic reports (https://nodejs.org/api/report.html)
21
- report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
22
-
23
- # Runtime data
24
- pids
25
- *.pid
26
- *.seed
27
- *.pid.lock
28
-
29
- # Directory for instrumented libs generated by jscoverage/JSCover
30
- lib-cov
31
-
32
- # Coverage directory used by tools like istanbul
33
- coverage
34
- *.lcov
35
-
36
- # nyc test coverage
37
- .nyc_output
38
-
39
- # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
40
- .grunt
41
-
42
- # Bower dependency directory (https://bower.io/)
43
- bower_components
44
-
45
- # node-waf configuration
46
- .lock-wscript
47
-
48
- # Compiled binary addons (https://nodejs.org/api/addons.html)
49
- build/Release
50
-
51
- # Dependency directories
52
- node_modules/
53
- jspm_packages/
54
-
55
- # TypeScript v1 declaration files
56
- typings/
57
-
58
- # TypeScript cache
59
- *.tsbuildinfo
60
-
61
- # Optional npm cache directory
62
- .npm
63
-
64
- # Optional eslint cache
65
- .eslintcache
66
-
67
- # Microbundle cache
68
- .rpt2_cache/
69
- .rts2_cache_cjs/
70
- .rts2_cache_es/
71
- .rts2_cache_umd/
72
-
73
- # Optional REPL history
74
- .node_repl_history
75
-
76
- # Output of 'npm pack'
77
- *.tgz
78
-
79
- # Yarn Integrity file
80
- .yarn-integrity
81
-
82
- # dotenv environment variables file
83
- .env
84
- .env.test
85
-
86
- # parcel-bundler cache (https://parceljs.org/)
87
- .cache
88
-
89
- # Next.js build output
90
- .next
91
-
92
- # Nuxt.js build / generate output
93
- .nuxt
94
- dist
95
-
96
- # Gatsby files
97
- .cache/
98
-
99
- # vuepress build output
100
- .vuepress/dist
101
-
102
- # Serverless directories
103
- .serverless/
104
-
105
- # FuseBox cache
106
- .fusebox/
107
-
108
- # DynamoDB Local files
109
- .dynamodb/
110
-
111
- # TernJS port file
112
- .tern-port
113
-
114
- .history
115
- `;
116
- }
117
-
118
- //# sourceMappingURL=git-ignore.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["gitIgnore"],"sources":["git-ignore.ts"],"sourcesContent":["export function gitIgnore() {\n return `# Bit\n.bit\npublic\n\n# Logs\nlogs\n*.log\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\nlerna-debug.log*\n\n# Diagnostic reports (https://nodejs.org/api/report.html)\nreport.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json\n\n# Runtime data\npids\n*.pid\n*.seed\n*.pid.lock\n\n# Directory for instrumented libs generated by jscoverage/JSCover\nlib-cov\n\n# Coverage directory used by tools like istanbul\ncoverage\n*.lcov\n\n# nyc test coverage\n.nyc_output\n\n# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)\n.grunt\n\n# Bower dependency directory (https://bower.io/)\nbower_components\n\n# node-waf configuration\n.lock-wscript\n\n# Compiled binary addons (https://nodejs.org/api/addons.html)\nbuild/Release\n\n# Dependency directories\nnode_modules/\njspm_packages/\n\n# TypeScript v1 declaration files\ntypings/\n\n# TypeScript cache\n*.tsbuildinfo\n\n# Optional npm cache directory\n.npm\n\n# Optional eslint cache\n.eslintcache\n\n# Microbundle cache\n.rpt2_cache/\n.rts2_cache_cjs/\n.rts2_cache_es/\n.rts2_cache_umd/\n\n# Optional REPL history\n.node_repl_history\n\n# Output of 'npm pack'\n*.tgz\n\n# Yarn Integrity file\n.yarn-integrity\n\n# dotenv environment variables file\n.env\n.env.test\n\n# parcel-bundler cache (https://parceljs.org/)\n.cache\n\n# Next.js build output\n.next\n\n# Nuxt.js build / generate output\n.nuxt\ndist\n\n# Gatsby files\n.cache/\n\n# vuepress build output\n.vuepress/dist\n\n# Serverless directories\n.serverless/\n\n# FuseBox cache\n.fusebox/\n\n# DynamoDB Local files\n.dynamodb/\n\n# TernJS port file\n.tern-port\n\n.history\n`;\n}\n"],"mappings":";;;;;;AAAO,SAASA,SAASA,CAAA,EAAG;EAC1B,OAAQ;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD"}
@@ -1,110 +0,0 @@
1
- export function gitIgnore() {
2
- return `# Bit
3
- .bit
4
- public
5
-
6
- # Logs
7
- logs
8
- *.log
9
- npm-debug.log*
10
- yarn-debug.log*
11
- yarn-error.log*
12
- lerna-debug.log*
13
-
14
- # Diagnostic reports (https://nodejs.org/api/report.html)
15
- report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
16
-
17
- # Runtime data
18
- pids
19
- *.pid
20
- *.seed
21
- *.pid.lock
22
-
23
- # Directory for instrumented libs generated by jscoverage/JSCover
24
- lib-cov
25
-
26
- # Coverage directory used by tools like istanbul
27
- coverage
28
- *.lcov
29
-
30
- # nyc test coverage
31
- .nyc_output
32
-
33
- # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
34
- .grunt
35
-
36
- # Bower dependency directory (https://bower.io/)
37
- bower_components
38
-
39
- # node-waf configuration
40
- .lock-wscript
41
-
42
- # Compiled binary addons (https://nodejs.org/api/addons.html)
43
- build/Release
44
-
45
- # Dependency directories
46
- node_modules/
47
- jspm_packages/
48
-
49
- # TypeScript v1 declaration files
50
- typings/
51
-
52
- # TypeScript cache
53
- *.tsbuildinfo
54
-
55
- # Optional npm cache directory
56
- .npm
57
-
58
- # Optional eslint cache
59
- .eslintcache
60
-
61
- # Microbundle cache
62
- .rpt2_cache/
63
- .rts2_cache_cjs/
64
- .rts2_cache_es/
65
- .rts2_cache_umd/
66
-
67
- # Optional REPL history
68
- .node_repl_history
69
-
70
- # Output of 'npm pack'
71
- *.tgz
72
-
73
- # Yarn Integrity file
74
- .yarn-integrity
75
-
76
- # dotenv environment variables file
77
- .env
78
- .env.test
79
-
80
- # parcel-bundler cache (https://parceljs.org/)
81
- .cache
82
-
83
- # Next.js build output
84
- .next
85
-
86
- # Nuxt.js build / generate output
87
- .nuxt
88
- dist
89
-
90
- # Gatsby files
91
- .cache/
92
-
93
- # vuepress build output
94
- .vuepress/dist
95
-
96
- # Serverless directories
97
- .serverless/
98
-
99
- # FuseBox cache
100
- .fusebox/
101
-
102
- # DynamoDB Local files
103
- .dynamodb/
104
-
105
- # TernJS port file
106
- .tern-port
107
-
108
- .history
109
- `;
110
- }