@salesforce/packaging 1.1.5 → 1.1.7
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/LICENSE.txt +1 -1
- package/lib/package/package.d.ts +0 -1
- package/lib/package/package.js +0 -6
- package/package.json +2 -2
package/LICENSE.txt
CHANGED
package/lib/package/package.d.ts
CHANGED
package/lib/package/package.js
CHANGED
|
@@ -71,7 +71,6 @@ class Package {
|
|
|
71
71
|
}
|
|
72
72
|
if (packageId.startsWith(packagePrefixes.PackageId)) {
|
|
73
73
|
this.packageId = packageId;
|
|
74
|
-
this.verifyAliasForId();
|
|
75
74
|
}
|
|
76
75
|
else {
|
|
77
76
|
throw messages.createError('invalidPackageId', [this.options.packageAliasOrId, packagePrefixes.PackageId]);
|
|
@@ -229,11 +228,6 @@ class Package {
|
|
|
229
228
|
}
|
|
230
229
|
return this.packageData;
|
|
231
230
|
}
|
|
232
|
-
verifyAliasForId() {
|
|
233
|
-
if (this.options.project.getAliasesFromPackageId(this.packageId).length === 0) {
|
|
234
|
-
throw new core_1.SfError(messages.getMessage('couldNotFindAliasForId', [this.packageId]));
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
231
|
}
|
|
238
232
|
exports.Package = Package;
|
|
239
233
|
//# sourceMappingURL=package.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/packaging",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "Packaging library for the Salesforce packaging platform",
|
|
5
5
|
"main": "lib/exported",
|
|
6
6
|
"types": "lib/exported.d.ts",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"xml2js": "^0.4.23"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@salesforce/cli-plugins-testkit": "^3.2.
|
|
61
|
+
"@salesforce/cli-plugins-testkit": "^3.2.15",
|
|
62
62
|
"@salesforce/dev-config": "^3.1.0",
|
|
63
63
|
"@salesforce/dev-scripts": "^3.1.0",
|
|
64
64
|
"@salesforce/prettier-config": "^0.0.2",
|