apn-app-manager 1.12.0 → 1.12.2

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/README.md CHANGED
@@ -49,6 +49,7 @@ Used to duplicate all objects of an application, which replaces the namespace of
49
49
  - Advanced options:
50
50
  1. The tool will search through all object files and attempt to find every unique namespace, allowing you to specify cloning logic for each namepsace.
51
51
  1. Database tables can be skipped during cloning.
52
+ 1. You can clone a package of your application (a subset of objects) by first providing the entire application ZIP in the first file selection, and then specifying the package later on.
52
53
  1. Access your cloned application in the generated `/out/` folder.
53
54
 
54
55
  #### Notes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apn-app-manager",
3
- "version": "1.12.0",
3
+ "version": "1.12.2",
4
4
  "description": "Appian App Manager",
5
5
  "license": "Apache-2.0",
6
6
  "preferGlobal": true,
package/src/index.js CHANGED
@@ -11,6 +11,7 @@ const build = require("./actions/buildAction");
11
11
  const package = require("./actions/packageAction");
12
12
  const prompt = require("./handlers/promptHandler");
13
13
  const aim = require("./handlers/importHandler");
14
+ const pkg = require("../package.json");
14
15
 
15
16
  // Option declarations
16
17
  const options = {
@@ -86,7 +87,7 @@ function execAction(params) {
86
87
  // Informs the user if there is a new version of the plugin available
87
88
  function displayNewVersion() {
88
89
  let publicVersion = util.outputCmd("npm view apn-app-manager version");
89
- let thisVersion = util.outputCmd(`node -p "require('./package.json').version"`);
90
+ let thisVersion = pkg.version;
90
91
  if (publicVersion != thisVersion && publicVersion.length > 0) {
91
92
  util.printWarning(
92
93
  `*** New version of apn-app-manager (${publicVersion}) is available.\n *** You are on version ${thisVersion}. Recommend upgrading via \`npm i -g apn-app-manager\`.\n`