@teambit/legacy-bit-id 1.0.3 → 1.0.4
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/exceptions/invalid-scope-name-from-remote.d.ts +1 -0
- package/dist/exceptions/invalid-scope-name-from-remote.js +1 -0
- package/dist/exceptions/invalid-scope-name-from-remote.js.map +1 -1
- package/exceptions/invalid-scope-name-from-remote.ts +1 -1
- package/package.json +3 -3
- /package/dist/{preview-1697512701410.js → preview-1698204020177.js} +0 -0
|
@@ -16,6 +16,7 @@ class InvalidScopeNameFromRemote extends _bitError().BitError {
|
|
|
16
16
|
super(`cannot find scope '${scopeName}'.
|
|
17
17
|
if you are targeting a self-hosted scope, please ensure the scope is configured in your remotes (via "bit remote" command) and that the scope name is correct.
|
|
18
18
|
if this is a scope on bit.cloud please add the organization name before the scope (yourOrg.some-scope-name)`);
|
|
19
|
+
this.scopeName = scopeName;
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
22
|
exports.default = InvalidScopeNameFromRemote;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_bitError","data","require","InvalidScopeNameFromRemote","BitError","constructor","scopeName","exports","default"],"sources":["invalid-scope-name-from-remote.ts"],"sourcesContent":["import { BitError } from '@teambit/bit-error';\n\nexport default class InvalidScopeNameFromRemote extends BitError {\n constructor(scopeName: string) {\n super(`cannot find scope '${scopeName}'.\nif you are targeting a self-hosted scope, please ensure the scope is configured in your remotes (via \"bit remote\" command) and that the scope name is correct.\nif this is a scope on bit.cloud please add the organization name before the scope (yourOrg.some-scope-name)`);\n }\n}\n"],"mappings":";;;;;;AAAA,SAAAA,UAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,SAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEe,MAAME,0BAA0B,SAASC,oBAAQ,CAAC;EAC/DC,WAAWA,
|
|
1
|
+
{"version":3,"names":["_bitError","data","require","InvalidScopeNameFromRemote","BitError","constructor","scopeName","exports","default"],"sources":["invalid-scope-name-from-remote.ts"],"sourcesContent":["import { BitError } from '@teambit/bit-error';\n\nexport default class InvalidScopeNameFromRemote extends BitError {\n constructor(readonly scopeName: string) {\n super(`cannot find scope '${scopeName}'.\nif you are targeting a self-hosted scope, please ensure the scope is configured in your remotes (via \"bit remote\" command) and that the scope name is correct.\nif this is a scope on bit.cloud please add the organization name before the scope (yourOrg.some-scope-name)`);\n }\n}\n"],"mappings":";;;;;;AAAA,SAAAA,UAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,SAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEe,MAAME,0BAA0B,SAASC,oBAAQ,CAAC;EAC/DC,WAAWA,CAAUC,SAAiB,EAAE;IACtC,KAAK,CAAE,sBAAqBA,SAAU;AAC1C;AACA,4GAA4G,CAAC;IAAC,KAHvFA,SAAiB,GAAjBA,SAAiB;EAItC;AACF;AAACC,OAAA,CAAAC,OAAA,GAAAL,0BAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BitError } from '@teambit/bit-error';
|
|
2
2
|
|
|
3
3
|
export default class InvalidScopeNameFromRemote extends BitError {
|
|
4
|
-
constructor(scopeName: string) {
|
|
4
|
+
constructor(readonly scopeName: string) {
|
|
5
5
|
super(`cannot find scope '${scopeName}'.
|
|
6
6
|
if you are targeting a self-hosted scope, please ensure the scope is configured in your remotes (via "bit remote" command) and that the scope name is correct.
|
|
7
7
|
if this is a scope on bit.cloud please add the organization name before the scope (yourOrg.some-scope-name)`);
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/legacy-bit-id",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/legacy-bit-id",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "legacy-bit-id",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.4"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"decamelize": "1.2.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@types/testing-library__jest-dom": "5.9.5"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@teambit/legacy": "1.0.
|
|
33
|
+
"@teambit/legacy": "1.0.584",
|
|
34
34
|
"react": "^16.8.0 || ^17.0.0",
|
|
35
35
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
36
36
|
},
|
|
File without changes
|