@salesforce/packaging 0.1.18 → 0.1.20
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.
|
@@ -552,7 +552,9 @@ class PackageVersionCreate {
|
|
|
552
552
|
versionNumber.split(pkgUtils.VERSION_NUMBER_SEP)[3] === utils_1.BuildNumberToken.NEXT_BUILD_NUMBER_TOKEN
|
|
553
553
|
? versionNumber.substring(0, versionNumber.indexOf(pkgUtils.VERSION_NUMBER_SEP + utils_1.BuildNumberToken.NEXT_BUILD_NUMBER_TOKEN))
|
|
554
554
|
: versionNumber;
|
|
555
|
-
|
|
555
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
556
|
+
const { connection: c, project: p, profileApi: a, ...warnOptions } = options;
|
|
557
|
+
this.logger.warn(warnOptions, messages.getMessage('defaultVersionName', [packageDescriptorJson.versionName]));
|
|
556
558
|
}
|
|
557
559
|
if (options.releasenotesurl) {
|
|
558
560
|
packageDescriptorJson.releaseNotesUrl = options.releasenotesurl;
|
|
@@ -10,10 +10,6 @@ Can’t display package ancestry. Package ancestry is available only for second-
|
|
|
10
10
|
|
|
11
11
|
Can’t display package ancestry. The specified package has no associated released package versions. Retry this command after you create and promote at least one package version.
|
|
12
12
|
|
|
13
|
-
# invalidId
|
|
14
|
-
|
|
15
|
-
Can’t display the ancestry tree for %s. Specify a valid package ID (starts with 0Ho) or package version ID (starts with 04t), and try creating the ancestry tree again.
|
|
16
|
-
|
|
17
13
|
# versionNotFound
|
|
18
14
|
|
|
19
15
|
Can’t display the ancestry tree for %s. Verify the package version number (starts with 04t) or the package version alias listed in the sfdx-project.json file, and try creating the ancestry tree again.
|
|
@@ -86,10 +86,6 @@ Can’t create package version because you didn’t specify a package ancestor.
|
|
|
86
86
|
|
|
87
87
|
Can’t create package version. The ancestor version [%s] you specified isn’t the highest released package version. Set the ancestor version to %s, and try creating the package version again. You can also specify --skipancestorcheck to override the ancestry requirement.
|
|
88
88
|
|
|
89
|
-
# invalidPackageTypeMessage
|
|
90
|
-
|
|
91
|
-
Invalid package type
|
|
92
|
-
|
|
93
89
|
# errorInvalidBuildNumberForKeywords
|
|
94
90
|
|
|
95
91
|
The provided VersionNumber '%s' is invalid. Provide an integer value or use the keyword '%s' or '%s' for the build number.
|
|
@@ -162,3 +158,7 @@ No matching ancestor version found for the given ancestorId (%s)
|
|
|
162
158
|
# errorNoMatchingMajorMinorForPatch
|
|
163
159
|
|
|
164
160
|
No matching major.minor version found for the given patch version (%s)
|
|
161
|
+
|
|
162
|
+
# errorInvalidPackageId
|
|
163
|
+
|
|
164
|
+
The provided package ID '%s' is invalid.
|
package/messages/pkg_utils.md
CHANGED
|
@@ -59,7 +59,3 @@ Your Dev Hub does not have permission to specify a source org for your build org
|
|
|
59
59
|
# invalidIdOrAlias
|
|
60
60
|
|
|
61
61
|
The %s: %s isn't defined in the sfdx-project.json. Add it to the packageDirectories section and add the alias to packageAliases with its %s ID.
|
|
62
|
-
|
|
63
|
-
# errorInvalidPackageId
|
|
64
|
-
|
|
65
|
-
The provided package ID '%s' is invalid.
|