npm package diff
Package: @forge/cli
Versions: 10.6.0-next.15 - 10.6.0-next.18
Modified:package/out/command-line/controller/deploy-controller.js
Index: package/out/command-line/controller/deploy-controller.js
===================================================================
--- package/out/command-line/controller/deploy-controller.js
+++ package/out/command-line/controller/deploy-controller.js
@@ -70,14 +70,24 @@
}
connectKeyChanged(connectKey, comparisonKey) {
return !!(comparisonKey && connectKey && connectKey !== comparisonKey);
}
+ connectKeyMutatedInProduction(connectKey, comparisonKey, environment, isSkeletonVersion) {
+ if (isSkeletonVersion || environment !== 'production') {
+ return false;
+ }
+ return !!(connectKey !== comparisonKey);
+ }
async validateConnectKeyChange(environment, keys) {
- const { migrationKeys, mpacAppKey } = keys;
+ const { migrationKeys, mpacAppKey, isSkeletonVersion } = keys;
const connectKey = await this.configFile.getConnectKey();
const migrationKey = migrationKeys?.confluence || migrationKeys?.jira;
const isMpacApp = this.isMpacProductionApp(mpacAppKey, environment);
- if (this.connectKeyDeleted(connectKey, migrationKey)) {
+ if (!isMpacApp && this.connectKeyMutatedInProduction(connectKey, migrationKey, environment, !!isSkeletonVersion)) {
+ this.deployView.displayConnectKeyMutationInProductionError(migrationKey, connectKey);
+ throw new InvalidConnectKeyError(cli_shared_1.Text.deploy.connectKeyChange.mpacAppConnectKeyChangeAnalyticsError);
+ }
+ else if (this.connectKeyDeleted(connectKey, migrationKey)) {
this.deployView.displayConnectKeyDeleteWarning(environment);
const proceed = await this.deployView.promptToContinueDeletingConnectKey();
return { proceed, connectKeyDeleted: proceed, connectKeyChanged: false };
}
Modified:package/out/command-line/view/deploy-view.js
Index: package/out/command-line/view/deploy-view.js
===================================================================
--- package/out/command-line/view/deploy-view.js
+++ package/out/command-line/view/deploy-view.js
@@ -47,8 +47,11 @@
}
displayMPACAppConnectKeyChangeError(mpacAppKey, connectKey) {
this.ui.info(cli_shared_1.Text.deploy.connectKeyChange.mpacAppConnectKeyChangeError(mpacAppKey, connectKey));
}
+ displayConnectKeyMutationInProductionError(migrationKey, connectKey) {
+ this.ui.info(cli_shared_1.Text.deploy.connectKeyChange.connectKeyMutationInProductionError(migrationKey, connectKey));
+ }
displayEnvironmentCreationWarning(environment) {
this.ui.emptyLine();
this.ui.warn(cli_shared_1.Text.env.warn.envWillBeCreated(environment));
this.ui.emptyLine();
Modified:package/out/migration-keys/graphql-client.js
Index: package/out/migration-keys/graphql-client.js
===================================================================
--- package/out/migration-keys/graphql-client.js
+++ package/out/migration-keys/graphql-client.js
@@ -21,8 +21,9 @@
migrationKeys {
jira
confluence
}
+ version
}
}
}
}
@@ -41,14 +42,16 @@
throw new cli_shared_1.MissingAppEnvironmentError(environmentKey);
}
const mpacAppKey = result.app.marketplaceApp?.appKey;
const versions = result.app.environmentByKey.versions;
+ let isSkeletonVersion = true;
let migrationKeys;
for (const edge of versions?.edges || []) {
if (edge) {
migrationKeys = edge.node?.migrationKeys;
+ isSkeletonVersion = edge.node?.version === '1.1.0';
}
}
- return { migrationKeys, mpacAppKey };
+ return { migrationKeys, mpacAppKey, isSkeletonVersion };
}
}
exports.GraphqlClient = GraphqlClient;
Modified:package/npm-shrinkwrap.json
too-big
Modified:package/package.json
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@forge/cli",
- "version": "10.6.0-next.15",
+ "version": "10.6.0-next.18",
"description": "A command line interface for managing Atlassian-hosted apps",
"author": "Atlassian",
"license": "UNLICENSED",
"bin": {
@@ -17,18 +17,18 @@
"postbuild": "chmod +x out/bin/*.js && ts-node scripts/configureAutocomplete.ts",
"postinstall": "node -e \"fs.existsSync('./out/bin/postinstall.js') && require('./out/bin/postinstall.js')\""
},
"dependencies": {
- "@forge/bundler": "4.19.0-next.14",
- "@forge/cli-shared": "5.5.0-next.13",
+ "@forge/bundler": "4.19.0-next.17",
+ "@forge/cli-shared": "5.5.0-next.16",
"@forge/egress": "1.2.13",
- "@forge/lint": "5.3.3-next.13",
- "@forge/manifest": "7.7.0-next.13",
+ "@forge/lint": "5.3.3-next.16",
+ "@forge/manifest": "7.7.0-next.15",
"@forge/runtime": "5.10.1",
- "@forge/tunnel": "5.5.0-next.14",
+ "@forge/tunnel": "5.5.0-next.17",
"@forge/util": "1.4.4",
"@sentry/node": "7.100.1",
- "@forge/i18n": "0.0.1-next.12",
+ "@forge/i18n": "0.0.1-next.13",
"ajv": "^8.12.0",
"archiver": "^6.0.2",
"case": "^1.6.3",
"chalk": "^4.1.2",
Modified:package/out/command-line/controller/deploy-controller.d.ts.map
Index: package/out/command-line/controller/deploy-controller.d.ts.map
===================================================================
--- package/out/command-line/controller/deploy-controller.d.ts.map
+++ package/out/command-line/controller/deploy-controller.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"deploy-controller.d.ts","sourceRoot":"","sources":["../../../src/command-line/controller/deploy-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EAEpB,UAAU,EACV,cAAc,EACd,WAAW,EAIZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAA+B,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AACzG,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAE9E,UAAU,aAAa;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,sBAAuB,SAAQ,WAAW;IACzC,OAAO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ACX,MAAM,EACN,cAAc,EACd,YAAY,EACb,EAAE,aAAa,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;CAkFpD"}
\ No newline at end of file
+{"version":3,"file":"deploy-controller.d.ts","sourceRoot":"","sources":["../../../src/command-line/controller/deploy-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EAEpB,UAAU,EACV,cAAc,EACd,WAAW,EAIZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAA+B,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AACzG,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAE9E,UAAU,aAAa;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,sBAAuB,SAAQ,WAAW;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,MAAM,EAAE;IAItC,aAAa,IAAI,cAAc;IAM/B,WAAW,IAAI,OAAO;CAG9B;AAED,qBAAa,sBAAuB,SAAQ,WAAW;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,MAAM;IAGpC,aAAa,IAAI,cAAc;IAM/B,WAAW,IAAI,OAAO;CAG9B;AAED,qBAAa,gBAAgB;IAEzB,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAClC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IACrC,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IACrC,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACtC,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IACrC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,iCAAiC;IAClD,OAAO,CAAC,QAAQ,CAAC,8BAA8B;IAC/C,OAAO,CAAC,QAAQ,CAAC,wBAAwB;gBAVxB,iBAAiB,EAAE,iBAAiB,EACpC,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,oBAAoB,EAAE,mBAAmB,EACzC,oBAAoB,EAAE,oBAAoB,EAC1C,qBAAqB,EAAE,qBAAqB,EAC5C,oBAAoB,EAAE,oBAAoB,EAC1C,UAAU,EAAE,UAAU,EACtB,iCAAiC,EAAE,0BAA0B,EAC7D,8BAA8B,EAAE,0BAA0B,EAC1D,wBAAwB,EAAE,wBAAwB;IAGrE,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,6BAA6B;YAWvB,wBAAwB;YA2BxB,mBAAmB;YA2BnB,oBAAoB;YAgBpB,2BAA2B;YAe3B,wBAAwB;IAkBzB,GAAG,CAAC,EACf,WAAW,EACX,MAAM,EACN,cAAc,EACd,YAAY,EACb,EAAE,aAAa,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;CAkFpD"}
\ No newline at end of file
Modified:package/out/command-line/view/deploy-view.d.ts.map
Index: package/out/command-line/view/deploy-view.d.ts.map
===================================================================
--- package/out/command-line/view/deploy-view.d.ts.map
+++ package/out/command-line/view/deploy-view.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"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,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI;IAIjF,0CAA0C,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM;IAIrF,iCAAiC,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;IAM5D,wCAAwC,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;IAK7D,kCAAkC,IAAI,OAAO,CAAC,OAAO,CAAC;IAI5D,wCAAwC,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI;IAI9D,kCAAkC,IAAI,OAAO,CAAC,OAAO,CAAC;IAItD,kCAAkC,IAAI,OAAO,CAAC,OAAO,CAAC;IAItD,yBAAyB,IAAI,OAAO,CAAC,OAAO,CAAC;IAM7C,yCAAyC,IAAI,OAAO,CAAC,OAAO,CAAC;IAKnE,0CAA0C,IAAI,IAAI;IAK5C,wBAAwB,CACnC,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,eAAe,EAAE,EAAE,qBAAqB,EACxE,wBAAwB,EAAE,OAAO,EACjC,cAAc,EAAE,MAAM,OAAO,CAAC,gBAAgB,CAAC,GAC9C,OAAO,CAAC,gBAAgB,CAAC;CAY7B"}
\ No newline at end of file
Modified:package/out/migration-keys/graphql-client.d.ts.map
Index: package/out/migration-keys/graphql-client.d.ts.map
===================================================================
--- package/out/migration-keys/graphql-client.d.ts.map
+++ package/out/migration-keys/graphql-client.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"graphql-client.d.ts","sourceRoot":"","sources":["../../src/migration-keys/graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA6D,MAAM,mBAAmB,CAAC;AAC7G,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAEhF,qBAAa,aAAa;IACZ,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,aAAa;IAE5C,sBAAsB,CAAC,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,CAAC;CAiDjH"}
\ No newline at end of file
+{"version":3,"file":"graphql-client.d.ts","sourceRoot":"","sources":["../../src/migration-keys/graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA6D,MAAM,mBAAmB,CAAC;AAC7G,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAEhF,qBAAa,aAAa;IACZ,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,aAAa;IAE5C,sBAAsB,CAAC,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,CAAC;CAqDjH"}
\ No newline at end of file
Modified:package/out/service/migration-keys-service.d.ts.map
Index: package/out/service/migration-keys-service.d.ts.map
===================================================================
--- package/out/service/migration-keys-service.d.ts.map
+++ package/out/service/migration-keys-service.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"migration-keys-service.d.ts","sourceRoot":"","sources":["../../src/service/migration-keys-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,oBAAY,aAAa,GAAG;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AACF,MAAM,WAAW,2BAA2B;IAC1C,aAAa,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AACD,MAAM,WAAW,sBAAsB;IACrC,sBAAsB,CAAC,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACrG;AAED,qBAAa,oBAAoB;IAE7B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,YAAY;gBADZ,mBAAmB,EAAE,sBAAsB,EAC3C,YAAY,EAAE,iBAAiB;IAGrC,iCAAiC,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,CAAC;CAI7G"}
\ No newline at end of file
+{"version":3,"file":"migration-keys-service.d.ts","sourceRoot":"","sources":["../../src/service/migration-keys-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,oBAAY,aAAa,GAAG;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AACF,MAAM,WAAW,2BAA2B;IAC1C,aAAa,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AACD,MAAM,WAAW,sBAAsB;IACrC,sBAAsB,CAAC,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACrG;AAED,qBAAa,oBAAoB;IAE7B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,YAAY;gBADZ,mBAAmB,EAAE,sBAAsB,EAC3C,YAAY,EAAE,iBAAiB;IAGrC,iCAAiC,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,CAAC;CAI7G"}
\ No newline at end of file
Modified:package/CHANGELOG.md
too-big
Modified:package/out/command-line/controller/deploy-controller.d.ts
Index: package/out/command-line/controller/deploy-controller.d.ts
===================================================================
--- package/out/command-line/controller/deploy-controller.d.ts
+++ package/out/command-line/controller/deploy-controller.d.ts
@@ -40,8 +40,9 @@
constructor(appConfigProvider: AppConfigProvider, configFile: ConfigFile, lintService: LintService, installationsService: InstallationService, migrationKeysService: MigrationKeysService, customEntitiesService: CustomEntitiesService, appEnvironmentClient: AppEnvironmentClient, deployView: DeployView, sandboxPackageUploadDeployCommand: PackageUploadDeployCommand, nodePackageUploadDeployCommand: PackageUploadDeployCommand, createEnvironmentCommand: CreateEnvironmentCommand);
private isMpacProductionApp;
private connectKeyDeleted;
private connectKeyChanged;
+ private connectKeyMutatedInProduction;
private validateConnectKeyChange;
private verifyPreDeployment;
private verifyPostDeployment;
private confirmAndCreateEnvironment;
Modified:package/out/command-line/view/deploy-view.d.ts
Index: package/out/command-line/view/deploy-view.d.ts
===================================================================
--- package/out/command-line/view/deploy-view.d.ts
+++ package/out/command-line/view/deploy-view.d.ts
@@ -15,8 +15,9 @@
displayNoLintProblems(): void;
displayConnectKeyChangeWarning(environment: string, migrationKey: string, connectKey: string): void;
displayConnectKeyDeleteWarning(environment: string): void;
displayMPACAppConnectKeyChangeError(mpacAppKey: string, connectKey: string): void;
+ displayConnectKeyMutationInProductionError(migrationKey?: string, connectKey?: string): void;
displayEnvironmentCreationWarning(environment: string): void;
displayEnvironmentCreationSuccessMessage(environment: string): void;
promptToContinueDeletingConnectKey(): Promise<boolean>;
displayDeployPreviousMajorVersionWarning(majorVersion: number): void;
Modified:package/out/service/migration-keys-service.d.ts
Index: package/out/service/migration-keys-service.d.ts
===================================================================
--- package/out/service/migration-keys-service.d.ts
+++ package/out/service/migration-keys-service.d.ts
@@ -5,8 +5,9 @@
};
export interface AppEnvironmentMigrationKeys {
migrationKeys?: MigrationKeys | null;
mpacAppKey?: string | null;
+ isSkeletonVersion?: boolean;
}
export interface GetMigrationKeysClient {
getLatestMigrationKeys(appId: string, environmentKey: string): Promise<AppEnvironmentMigrationKeys>;
}