connect-to-forge
Advanced tools
Comparing version 1.0.19 to 1.0.20
@@ -85,3 +85,3 @@ "use strict"; | ||
function convertToForgemanifest(manifest, connect, type) { | ||
var _a; | ||
var _a, _b; | ||
let warnings = []; | ||
@@ -120,2 +120,11 @@ console.log(`Conversion begun for '${connect.name}':`); | ||
} | ||
// Copy cloud app migration webhook, if present | ||
if ((_b = connect.cloudAppMigration) === null || _b === void 0 ? void 0 : _b.migrationWebhookPath) { | ||
const moduleName = `${type}:cloudAppMigration`; | ||
manifest.connectModules[moduleName] = [{ | ||
migrationWebhookPath: connect.cloudAppMigration.migrationWebhookPath, | ||
key: 'app-migration', | ||
}]; | ||
console.log(` - Moved app migration webhook into connectModules.${moduleName}`); | ||
} | ||
// Check for unsupported modules | ||
@@ -143,5 +152,2 @@ const foundUnsupportedModules = Object.keys(connect.modules).filter(module => UNSUPPORTED_MODULES.has(module)); | ||
} | ||
if ((0, ts_is_present_1.isPresent)(connect.cloudAppMigration)) { | ||
warnings.push(`Found 'cloudAppMigration' in Connect Descriptor. App Migration Platform not currently supported in a Forge manifest.`); | ||
} | ||
console.log(''); | ||
@@ -148,0 +154,0 @@ return [manifest, warnings]; |
{ | ||
"name": "connect-to-forge", | ||
"version": "1.0.19", | ||
"version": "1.0.20", | ||
"description": "Converts an Atlassian Connect Descritor to a connect-on-forge manifest.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
959140
213
5