@vscode/vsce 2.24.1-2 → 2.24.1-3
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/out/publish.js +2 -2
- package/package.json +1 -1
package/out/publish.js
CHANGED
|
@@ -220,10 +220,10 @@ exports.unpublish = unpublish;
|
|
|
220
220
|
function validateMarketplaceRequirements(manifest, options) {
|
|
221
221
|
(0, validation_1.validatePublisher)(manifest.publisher);
|
|
222
222
|
if (manifest.enableProposedApi && !options.allowAllProposedApis && !options.noVerify) {
|
|
223
|
-
throw new Error("Extensions using proposed API (enableProposedApi: true) can't be published to the Marketplace. Use --allow-all-proposed-apis to bypass.");
|
|
223
|
+
throw new Error("Extensions using proposed API (enableProposedApi: true) can't be published to the Marketplace. Use --allow-all-proposed-apis to bypass. https://code.visualstudio.com/api/advanced-topics/using-proposed-api");
|
|
224
224
|
}
|
|
225
225
|
if (manifest.enabledApiProposals && !options.allowAllProposedApis && !options.noVerify && manifest.enabledApiProposals?.some(p => !options.allowProposedApis?.includes(p))) {
|
|
226
|
-
throw new Error(`Extensions using unallowed proposed API (enabledApiProposals: [${manifest.enabledApiProposals}], allowed: [${options.allowProposedApis ?? []}]) can't be published to the Marketplace. Use --allow-proposed-apis <APIS...> or --allow-all-proposed-apis to bypass
|
|
226
|
+
throw new Error(`Extensions using unallowed proposed API (enabledApiProposals: [${manifest.enabledApiProposals}], allowed: [${options.allowProposedApis ?? []}]) can't be published to the Marketplace. Use --allow-proposed-apis <APIS...> or --allow-all-proposed-apis to bypass. https://code.visualstudio.com/api/advanced-topics/using-proposed-api`);
|
|
227
227
|
}
|
|
228
228
|
if (semver.prerelease(manifest.version)) {
|
|
229
229
|
throw new Error(`The VS Marketplace doesn't support prerelease versions: '${manifest.version}'. Checkout our pre-release versioning recommendation here: https://code.visualstudio.com/api/working-with-extensions/publishing-extension#prerelease-extensions`);
|