npm package diff
Package: @forge/cli
Versions: 10.8.0 - 10.9.0-next.1
Modified:package/out/command-line/register-app-commands.js
Index: package/out/command-line/register-app-commands.js
===================================================================
--- package/out/command-line/register-app-commands.js
+++ package/out/command-line/register-app-commands.js
@@ -71,9 +71,9 @@
exports.directoryNameFromAppName = directoryNameFromAppName;
async function createCommandHandler(ui, createAppCommand, name, { template, directory }) {
directory = prepareDirectoryForApp(ui, name, template, directory);
ui.info(cli_shared_1.Text.ctrlC);
- name = await promptAndValidateAppName(ui, name, directory, template);
+ ({ name, directory } = await promptAndValidateAppName(ui, name, directory, template));
template = await promptAndSelectTemplate(ui, createAppCommand, template, directory);
ui.emptyLine();
directory = directory;
const args = { name, template, directory };
@@ -108,9 +108,9 @@
}
}
}
ensureValidNameLength(name);
- return name;
+ return { name, directory };
}
async function promptAndSelectTemplate(ui, createAppCommand, template, directory) {
if (!template) {
ui.info(cli_shared_1.Text.create.overviewTemplates);
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.8.0",
+ "version": "10.9.0-next.1",
"description": "A command line interface for managing Atlassian-hosted apps",
"author": "Atlassian",
"license": "UNLICENSED",
"bin": {
@@ -17,15 +17,15 @@
"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.3",
- "@forge/cli-shared": "6.0.0",
+ "@forge/bundler": "4.19.4-next.0",
+ "@forge/cli-shared": "6.0.1-next.0",
"@forge/egress": "1.2.13",
- "@forge/lint": "5.4.1",
- "@forge/manifest": "7.9.0",
+ "@forge/lint": "5.4.2-next.0",
+ "@forge/manifest": "7.9.1-next.0",
"@forge/runtime": "5.10.2",
- "@forge/tunnel": "5.5.3",
+ "@forge/tunnel": "5.5.4-next.0",
"@forge/util": "1.4.4",
"@sentry/node": "7.100.1",
"@forge/i18n": "0.0.1",
"ajv": "^8.12.0",
Modified:package/CHANGELOG.md
too-big