@salesforce/packaging 4.12.0 → 4.13.1
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/lib/exported.d.ts +3 -0
- package/lib/exported.js +16 -4
- package/lib/interfaces/bundleInterfacesAndType.d.ts +33 -0
- package/lib/interfaces/bundleInterfacesAndType.js +18 -0
- package/lib/interfaces/bundleSObjects.d.ts +146 -0
- package/lib/interfaces/bundleSObjects.js +19 -0
- package/lib/interfaces/index.d.ts +2 -0
- package/lib/interfaces/index.js +15 -4
- package/lib/interfaces/packagingInterfacesAndType.js +13 -4
- package/lib/package/index.d.ts +3 -0
- package/lib/package/index.js +16 -4
- package/lib/package/packageAncestry.js +13 -4
- package/lib/package/packageBundle.d.ts +37 -0
- package/lib/package/packageBundle.js +85 -0
- package/lib/package/packageBundleCreate.d.ts +7 -0
- package/lib/package/packageBundleCreate.js +53 -0
- package/lib/package/packageBundleInstall.d.ts +9 -0
- package/lib/package/packageBundleInstall.js +132 -0
- package/lib/package/packageBundleVersion.d.ts +21 -0
- package/lib/package/packageBundleVersion.js +225 -0
- package/lib/package/packageBundleVersionCreate.d.ts +11 -0
- package/lib/package/packageBundleVersionCreate.js +248 -0
- package/lib/package/packageConvert.js +13 -4
- package/lib/package/packageCreate.js +13 -4
- package/lib/package/packageDelete.js +13 -4
- package/lib/package/packageInstall.js +13 -4
- package/lib/package/packageProfileApi.js +13 -4
- package/lib/package/packagePushUpgrade.js +13 -4
- package/lib/package/packageUninstall.js +13 -4
- package/lib/package/packageVersion.js +13 -4
- package/lib/package/packageVersionCreate.js +13 -4
- package/lib/package/packageVersionCreateRequest.js +13 -4
- package/lib/package/packageVersionCreateRequestReport.js +13 -4
- package/lib/package/packageVersionDependency.js +13 -4
- package/lib/package/packageVersionList.js +13 -4
- package/lib/package/packageVersionReport.js +13 -4
- package/lib/package/packageVersionRetrieve.js +13 -4
- package/lib/package/subscriberPackageVersion.js +13 -4
- package/lib/package/versionNumber.js +13 -4
- package/lib/package1/index.js +13 -4
- package/lib/package1/package1Version.js +13 -4
- package/lib/utils/bundleUtils.d.ts +1 -0
- package/lib/utils/bundleUtils.js +28 -0
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +16 -5
- package/lib/utils/packageUtils.js +13 -4
- package/messages/bundle_create.md +3 -0
- package/messages/bundle_install.md +11 -0
- package/messages/bundle_utils.md +7 -0
- package/messages/bundle_version.md +3 -0
- package/messages/bundle_version_create.md +47 -0
- package/package.json +8 -7
- package/LICENSE +0 -25
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the
|
|
6
|
-
*
|
|
3
|
+
* Copyright 2025, Salesforce, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
7
16
|
*/
|
|
8
17
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9
18
|
if (k2 === undefined) k2 = k;
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the
|
|
6
|
-
*
|
|
3
|
+
* Copyright 2025, Salesforce, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
7
16
|
*/
|
|
8
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
18
|
exports.deletePackage = deletePackage;
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the
|
|
6
|
-
*
|
|
3
|
+
* Copyright 2025, Salesforce, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
7
16
|
*/
|
|
8
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
18
|
exports.createPackageInstallRequest = createPackageInstallRequest;
|
|
@@ -5,10 +5,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.PackageProfileApi = void 0;
|
|
7
7
|
/*
|
|
8
|
-
* Copyright
|
|
9
|
-
*
|
|
10
|
-
* Licensed under the
|
|
11
|
-
*
|
|
8
|
+
* Copyright 2025, Salesforce, Inc.
|
|
9
|
+
*
|
|
10
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
+
* you may not use this file except in compliance with the License.
|
|
12
|
+
* You may obtain a copy of the License at
|
|
13
|
+
*
|
|
14
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
+
*
|
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
* See the License for the specific language governing permissions and
|
|
20
|
+
* limitations under the License.
|
|
12
21
|
*/
|
|
13
22
|
const node_path_1 = __importDefault(require("node:path"));
|
|
14
23
|
const node_os_1 = __importDefault(require("node:os"));
|
|
@@ -5,10 +5,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.PackagePushUpgrade = void 0;
|
|
7
7
|
/*
|
|
8
|
-
* Copyright
|
|
9
|
-
*
|
|
10
|
-
* Licensed under the
|
|
11
|
-
*
|
|
8
|
+
* Copyright 2025, Salesforce, Inc.
|
|
9
|
+
*
|
|
10
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
+
* you may not use this file except in compliance with the License.
|
|
12
|
+
* You may obtain a copy of the License at
|
|
13
|
+
*
|
|
14
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
+
*
|
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
* See the License for the specific language governing permissions and
|
|
20
|
+
* limitations under the License.
|
|
12
21
|
*/
|
|
13
22
|
const promises_1 = __importDefault(require("node:fs/promises"));
|
|
14
23
|
const node_path_1 = __importDefault(require("node:path"));
|
|
@@ -7,10 +7,19 @@ exports.getUninstallErrors = getUninstallErrors;
|
|
|
7
7
|
exports.pollUninstall = pollUninstall;
|
|
8
8
|
exports.uninstallPackage = uninstallPackage;
|
|
9
9
|
/*
|
|
10
|
-
* Copyright
|
|
11
|
-
*
|
|
12
|
-
* Licensed under the
|
|
13
|
-
*
|
|
10
|
+
* Copyright 2025, Salesforce, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
13
|
+
* you may not use this file except in compliance with the License.
|
|
14
|
+
* You may obtain a copy of the License at
|
|
15
|
+
*
|
|
16
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
17
|
+
*
|
|
18
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
19
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
20
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
21
|
+
* See the License for the specific language governing permissions and
|
|
22
|
+
* limitations under the License.
|
|
14
23
|
*/
|
|
15
24
|
const node_os_1 = __importDefault(require("node:os"));
|
|
16
25
|
const core_1 = require("@salesforce/core");
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the
|
|
6
|
-
*
|
|
3
|
+
* Copyright 2025, Salesforce, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
7
16
|
*/
|
|
8
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
18
|
exports.PackageVersion = exports.Package2VersionFields = void 0;
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the
|
|
6
|
-
*
|
|
3
|
+
* Copyright 2025, Salesforce, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
7
16
|
*/
|
|
8
17
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9
18
|
if (k2 === undefined) k2 = k;
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the
|
|
6
|
-
*
|
|
3
|
+
* Copyright 2025, Salesforce, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
7
16
|
*/
|
|
8
17
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9
18
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the
|
|
6
|
-
*
|
|
3
|
+
* Copyright 2025, Salesforce, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
7
16
|
*/
|
|
8
17
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9
18
|
if (k2 === undefined) k2 = k;
|
|
@@ -2,10 +2,19 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PackageDependencyNode = exports.DependencyDotProducer = exports.PackageVersionDependency = exports.VERSION_BEING_BUILT = void 0;
|
|
4
4
|
/*
|
|
5
|
-
* Copyright
|
|
6
|
-
*
|
|
7
|
-
* Licensed under the
|
|
8
|
-
*
|
|
5
|
+
* Copyright 2025, Salesforce, Inc.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
9
18
|
*/
|
|
10
19
|
const node_os_1 = require("node:os");
|
|
11
20
|
const core_1 = require("@salesforce/core");
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the
|
|
6
|
-
*
|
|
3
|
+
* Copyright 2025, Salesforce, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
7
16
|
*/
|
|
8
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
18
|
exports.DEFAULT_ORDER_BY_FIELDS = void 0;
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the
|
|
6
|
-
*
|
|
3
|
+
* Copyright 2025, Salesforce, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
7
16
|
*/
|
|
8
17
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9
18
|
if (k2 === undefined) k2 = k;
|
|
@@ -5,10 +5,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.retrievePackageVersionMetadata = retrievePackageVersionMetadata;
|
|
7
7
|
/*
|
|
8
|
-
* Copyright
|
|
9
|
-
*
|
|
10
|
-
* Licensed under the
|
|
11
|
-
*
|
|
8
|
+
* Copyright 2025, Salesforce, Inc.
|
|
9
|
+
*
|
|
10
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
+
* you may not use this file except in compliance with the License.
|
|
12
|
+
* You may obtain a copy of the License at
|
|
13
|
+
*
|
|
14
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
+
*
|
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
* See the License for the specific language governing permissions and
|
|
20
|
+
* limitations under the License.
|
|
12
21
|
*/
|
|
13
22
|
const node_path_1 = __importDefault(require("node:path"));
|
|
14
23
|
const node_fs_1 = __importDefault(require("node:fs"));
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the
|
|
6
|
-
*
|
|
3
|
+
* Copyright 2025, Salesforce, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
7
16
|
*/
|
|
8
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
18
|
exports.SubscriberPackageVersion = exports.SubscriberPackageVersionFields = void 0;
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the
|
|
6
|
-
*
|
|
3
|
+
* Copyright 2025, Salesforce, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
7
16
|
*/
|
|
8
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
18
|
exports.VersionNumber = exports.BuildNumberToken = void 0;
|
package/lib/package1/index.js
CHANGED
|
@@ -2,10 +2,19 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Package1Version = void 0;
|
|
4
4
|
/*
|
|
5
|
-
* Copyright
|
|
6
|
-
*
|
|
7
|
-
* Licensed under the
|
|
8
|
-
*
|
|
5
|
+
* Copyright 2025, Salesforce, Inc.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
9
18
|
*/
|
|
10
19
|
var package1Version_1 = require("./package1Version");
|
|
11
20
|
Object.defineProperty(exports, "Package1Version", { enumerable: true, get: function () { return package1Version_1.Package1Version; } });
|
|
@@ -5,10 +5,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Package1Version = void 0;
|
|
7
7
|
/*
|
|
8
|
-
* Copyright
|
|
9
|
-
*
|
|
10
|
-
* Licensed under the
|
|
11
|
-
*
|
|
8
|
+
* Copyright 2025, Salesforce, Inc.
|
|
9
|
+
*
|
|
10
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
+
* you may not use this file except in compliance with the License.
|
|
12
|
+
* You may obtain a copy of the License at
|
|
13
|
+
*
|
|
14
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
+
*
|
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
* See the License for the specific language governing permissions and
|
|
20
|
+
* limitations under the License.
|
|
12
21
|
*/
|
|
13
22
|
const node_os_1 = __importDefault(require("node:os"));
|
|
14
23
|
const core_1 = require("@salesforce/core");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function massageErrorMessage(err: Error): Error;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2025, Salesforce, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.massageErrorMessage = massageErrorMessage;
|
|
19
|
+
const core_1 = require("@salesforce/core");
|
|
20
|
+
core_1.Messages.importMessagesDirectory(__dirname);
|
|
21
|
+
const messages = core_1.Messages.loadMessages('@salesforce/packaging', 'bundle_utils');
|
|
22
|
+
function massageErrorMessage(err) {
|
|
23
|
+
if (err.name === 'STRING_TOO_LONG') {
|
|
24
|
+
err['message'] = messages.getMessage('STRING_TOO_LONG');
|
|
25
|
+
}
|
|
26
|
+
return err;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=bundleUtils.js.map
|
package/lib/utils/index.d.ts
CHANGED
package/lib/utils/index.js
CHANGED
|
@@ -1,15 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getPackageVersionNumber = exports.getPackageVersionStrings = exports.getContainerOptions = exports.INSTALL_URL_BASE = void 0;
|
|
3
|
+
exports.massageErrorMessage = exports.getPackageVersionNumber = exports.getPackageVersionStrings = exports.getContainerOptions = exports.INSTALL_URL_BASE = void 0;
|
|
4
4
|
/*
|
|
5
|
-
* Copyright
|
|
6
|
-
*
|
|
7
|
-
* Licensed under the
|
|
8
|
-
*
|
|
5
|
+
* Copyright 2025, Salesforce, Inc.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
9
18
|
*/
|
|
10
19
|
var packageUtils_1 = require("./packageUtils");
|
|
11
20
|
Object.defineProperty(exports, "INSTALL_URL_BASE", { enumerable: true, get: function () { return packageUtils_1.INSTALL_URL_BASE; } });
|
|
12
21
|
Object.defineProperty(exports, "getContainerOptions", { enumerable: true, get: function () { return packageUtils_1.getContainerOptions; } });
|
|
13
22
|
Object.defineProperty(exports, "getPackageVersionStrings", { enumerable: true, get: function () { return packageUtils_1.getPackageVersionStrings; } });
|
|
14
23
|
Object.defineProperty(exports, "getPackageVersionNumber", { enumerable: true, get: function () { return packageUtils_1.getPackageVersionNumber; } });
|
|
24
|
+
var bundleUtils_1 = require("./bundleUtils");
|
|
25
|
+
Object.defineProperty(exports, "massageErrorMessage", { enumerable: true, get: function () { return bundleUtils_1.massageErrorMessage; } });
|
|
15
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -56,10 +56,19 @@ exports.copyDir = copyDir;
|
|
|
56
56
|
exports.copyDescriptorProperties = copyDescriptorProperties;
|
|
57
57
|
exports.isPackageDirectoryEffectivelyEmpty = isPackageDirectoryEffectivelyEmpty;
|
|
58
58
|
/*
|
|
59
|
-
* Copyright
|
|
60
|
-
*
|
|
61
|
-
* Licensed under the
|
|
62
|
-
*
|
|
59
|
+
* Copyright 2025, Salesforce, Inc.
|
|
60
|
+
*
|
|
61
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
62
|
+
* you may not use this file except in compliance with the License.
|
|
63
|
+
* You may obtain a copy of the License at
|
|
64
|
+
*
|
|
65
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
66
|
+
*
|
|
67
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
68
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
69
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
70
|
+
* See the License for the specific language governing permissions and
|
|
71
|
+
* limitations under the License.
|
|
63
72
|
*/
|
|
64
73
|
const node_os_1 = __importDefault(require("node:os"));
|
|
65
74
|
const node_fs_1 = __importDefault(require("node:fs"));
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# failedToGetPackageBundleVersionCreateStatus
|
|
2
|
+
|
|
3
|
+
Failed to get package bundle version create status
|
|
4
|
+
|
|
5
|
+
# failedToCreatePackageBundleVersion
|
|
6
|
+
|
|
7
|
+
Failed to create package bundle version
|
|
8
|
+
|
|
9
|
+
# bundleVersionComponentsMustBeArray
|
|
10
|
+
|
|
11
|
+
Bundle version components must be an array of objects with packageVersion property
|
|
12
|
+
|
|
13
|
+
# bundleVersionComponentMustBeObject
|
|
14
|
+
|
|
15
|
+
Each bundle version component must be an object with a packageVersion property
|
|
16
|
+
|
|
17
|
+
# noPackageVersionFoundWithAlias
|
|
18
|
+
|
|
19
|
+
No package version found with alias: %s
|
|
20
|
+
|
|
21
|
+
# failedToReadBundleVersionComponentsFile
|
|
22
|
+
|
|
23
|
+
Failed to read or parse bundle version components file
|
|
24
|
+
|
|
25
|
+
# noPackageBundleFoundWithAlias
|
|
26
|
+
|
|
27
|
+
No package bundle found with alias: %s
|
|
28
|
+
|
|
29
|
+
# noBundleFoundWithId
|
|
30
|
+
|
|
31
|
+
No bundle found with id: %s
|
|
32
|
+
|
|
33
|
+
# noBundleFoundWithName
|
|
34
|
+
|
|
35
|
+
No bundle found with name: %s
|
|
36
|
+
|
|
37
|
+
# invalidVersionNumberFormat
|
|
38
|
+
|
|
39
|
+
Invalid version number format: %s
|
|
40
|
+
|
|
41
|
+
# majorVersionMismatch
|
|
42
|
+
|
|
43
|
+
Major version mismatch: expected %s, found %s
|
|
44
|
+
|
|
45
|
+
# invalidMinorVersionInExisting
|
|
46
|
+
|
|
47
|
+
Invalid minor version in existing record: %s
|