@teambit/component-issues 0.0.51 → 0.0.54
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/circular-dependencies.ts +1 -1
- package/dist/circular-dependencies.js +1 -1
- package/dist/circular-dependencies.js.map +1 -1
- package/dist/multiple-envs.js +1 -2
- package/dist/multiple-envs.js.map +1 -1
- package/dist/tsconfig.json +32 -0
- package/multiple-envs.ts +1 -2
- package/package-tar/teambit-component-issues-0.0.54.tgz +0 -0
- package/package.json +3 -3
- package/{preview-1651029886240.js → preview-1654831618244.js} +0 -0
- package/tsconfig.json +7 -1
- package/package-tar/teambit-component-issues-0.0.51.tgz +0 -0
package/circular-dependencies.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ComponentIssue, formatTitle } from './component-issue';
|
|
|
2
2
|
|
|
3
3
|
export class CircularDependencies extends ComponentIssue {
|
|
4
4
|
description = 'circular dependencies';
|
|
5
|
-
solution = 'run `bit insights "
|
|
5
|
+
solution = 'run `bit insights "circular dependencies"` to get the component-ids participating in the circular';
|
|
6
6
|
data: boolean;
|
|
7
7
|
isTagBlocker = true;
|
|
8
8
|
outputForCLI() {
|
|
@@ -6,7 +6,7 @@ class CircularDependencies extends component_issue_1.ComponentIssue {
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super(...arguments);
|
|
8
8
|
this.description = 'circular dependencies';
|
|
9
|
-
this.solution = 'run `bit insights "
|
|
9
|
+
this.solution = 'run `bit insights "circular dependencies"` to get the component-ids participating in the circular';
|
|
10
10
|
this.isTagBlocker = true;
|
|
11
11
|
}
|
|
12
12
|
outputForCLI() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"circular-dependencies.js","sourceRoot":"","sources":["../circular-dependencies.ts"],"names":[],"mappings":";;;AAAA,uDAAgE;AAEhE,MAAa,oBAAqB,SAAQ,gCAAc;IAAxD;;QACE,gBAAW,GAAG,uBAAuB,CAAC;QACtC,aAAQ,GAAG,
|
|
1
|
+
{"version":3,"file":"circular-dependencies.js","sourceRoot":"","sources":["../circular-dependencies.ts"],"names":[],"mappings":";;;AAAA,uDAAgE;AAEhE,MAAa,oBAAqB,SAAQ,gCAAc;IAAxD;;QACE,gBAAW,GAAG,uBAAuB,CAAC;QACtC,aAAQ,GAAG,mGAAmG,CAAC;QAE/G,iBAAY,GAAG,IAAI,CAAC;IAItB,CAAC;IAHC,YAAY;QACV,OAAO,IAAA,6BAAW,EAAC,IAAI,CAAC,uBAAuB,EAAE,KAAK,CAAC,CAAC;IAC1D,CAAC;CACF;AARD,oDAQC"}
|
package/dist/multiple-envs.js
CHANGED
|
@@ -6,8 +6,7 @@ class MultipleEnvs extends component_issue_1.ComponentIssue {
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super(...arguments);
|
|
8
8
|
this.description = 'multiple envs';
|
|
9
|
-
|
|
10
|
-
this.solution = `remove the old envs by setting them with "-" sign in the variants. see https://bit.dev/docs/envs/using-envs#component-must-have-a-single-env`;
|
|
9
|
+
this.solution = 'set the desired env by running "bit env set <component> <env>"';
|
|
11
10
|
this.isTagBlocker = true;
|
|
12
11
|
}
|
|
13
12
|
dataToString() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multiple-envs.js","sourceRoot":"","sources":["../multiple-envs.ts"],"names":[],"mappings":";;;AAAA,uDAAuE;AAEvE,MAAa,YAAa,SAAQ,gCAAc;IAAhD;;QACE,gBAAW,GAAG,eAAe,CAAC;QAC9B,
|
|
1
|
+
{"version":3,"file":"multiple-envs.js","sourceRoot":"","sources":["../multiple-envs.ts"],"names":[],"mappings":";;;AAAA,uDAAuE;AAEvE,MAAa,YAAa,SAAQ,gCAAc;IAAhD;;QACE,gBAAW,GAAG,eAAe,CAAC;QAC9B,aAAQ,GAAG,gEAAgE,CAAC;QAE5E,iBAAY,GAAG,IAAI,CAAC;IAItB,CAAC;IAHC,YAAY;QACV,OAAO,oCAAkB,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;CACF;AARD,oCAQC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"lib": [
|
|
4
|
+
"es2019",
|
|
5
|
+
"DOM",
|
|
6
|
+
"ES6",
|
|
7
|
+
"DOM.Iterable"
|
|
8
|
+
],
|
|
9
|
+
"target": "es2015",
|
|
10
|
+
"module": "CommonJS",
|
|
11
|
+
"jsx": "react",
|
|
12
|
+
"allowJs": true,
|
|
13
|
+
"composite": true,
|
|
14
|
+
"declaration": true,
|
|
15
|
+
"sourceMap": true,
|
|
16
|
+
"skipLibCheck": true,
|
|
17
|
+
"experimentalDecorators": true,
|
|
18
|
+
"outDir": "dist",
|
|
19
|
+
"moduleResolution": "node",
|
|
20
|
+
"esModuleInterop": true,
|
|
21
|
+
"rootDir": ".",
|
|
22
|
+
"resolveJsonModule": true
|
|
23
|
+
},
|
|
24
|
+
"exclude": [
|
|
25
|
+
"dist",
|
|
26
|
+
"package.json"
|
|
27
|
+
],
|
|
28
|
+
"include": [
|
|
29
|
+
"**/*",
|
|
30
|
+
"**/*.json"
|
|
31
|
+
]
|
|
32
|
+
}
|
package/multiple-envs.ts
CHANGED
|
@@ -2,8 +2,7 @@ import { ComponentIssue, ISSUE_FORMAT_SPACE } from './component-issue';
|
|
|
2
2
|
|
|
3
3
|
export class MultipleEnvs extends ComponentIssue {
|
|
4
4
|
description = 'multiple envs';
|
|
5
|
-
|
|
6
|
-
solution = `remove the old envs by setting them with "-" sign in the variants. see https://bit.dev/docs/envs/using-envs#component-must-have-a-single-env`;
|
|
5
|
+
solution = 'set the desired env by running "bit env set <component> <env>"';
|
|
7
6
|
data: string[]; // env ids
|
|
8
7
|
isTagBlocker = true;
|
|
9
8
|
dataToString() {
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/component-issues",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.54",
|
|
4
4
|
"homepage": "https://bit.dev/teambit/component/component-issues",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "component-issues",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.54"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"chalk": "4.
|
|
12
|
+
"chalk": "2.4.2",
|
|
13
13
|
"@teambit/legacy-bit-id": "0.0.399"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
File without changes
|
package/tsconfig.json
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"declaration": true,
|
|
15
15
|
"sourceMap": true,
|
|
16
16
|
"skipLibCheck": true,
|
|
17
|
+
"experimentalDecorators": true,
|
|
17
18
|
"outDir": "dist",
|
|
18
19
|
"moduleResolution": "node",
|
|
19
20
|
"esModuleInterop": true,
|
|
@@ -21,6 +22,11 @@
|
|
|
21
22
|
"resolveJsonModule": true
|
|
22
23
|
},
|
|
23
24
|
"exclude": [
|
|
24
|
-
"dist"
|
|
25
|
+
"dist",
|
|
26
|
+
"package.json"
|
|
27
|
+
],
|
|
28
|
+
"include": [
|
|
29
|
+
"**/*",
|
|
30
|
+
"**/*.json"
|
|
25
31
|
]
|
|
26
32
|
}
|
|
Binary file
|