@contentstack/cli-cm-seed 1.7.1 → 1.7.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.
@@ -4,9 +4,10 @@ exports.run = void 0;
4
4
  const process = require("process");
5
5
  const path = require("path");
6
6
  const cli_cm_import_1 = require("@contentstack/cli-cm-import");
7
+ const cli_utilities_1 = require("@contentstack/cli-utilities");
7
8
  const STACK_FOLDER = 'stack';
8
9
  async function run(options) {
9
- const importPath = path.resolve(options.tmpPath, STACK_FOLDER);
10
+ const importPath = (0, cli_utilities_1.pathValidator)(path.resolve(options.tmpPath, STACK_FOLDER));
10
11
  const args = options.alias
11
12
  ? ['-k', options.api_key, '-d', importPath, '--alias', options.alias]
12
13
  : ['-k', options.api_key, '-d', importPath];
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.7.1",
2
+ "version": "1.7.2",
3
3
  "commands": {
4
4
  "cm:stacks:seed": {
5
5
  "id": "cm:stacks:seed",
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@contentstack/cli-cm-seed",
3
3
  "description": "create a Stack from existing content types, entries, assets, etc.",
4
- "version": "1.7.1",
4
+ "version": "1.7.2",
5
5
  "author": "Contentstack",
6
6
  "bugs": "https://github.com/contentstack/cli/issues",
7
7
  "dependencies": {
8
- "@contentstack/cli-cm-import": "~1.13.0",
8
+ "@contentstack/cli-cm-import": "~1.14.2",
9
9
  "@contentstack/cli-command": "~1.2.16",
10
- "@contentstack/cli-utilities": "~1.5.10",
10
+ "@contentstack/cli-utilities": "~1.6.0",
11
11
  "inquirer": "8.2.4",
12
12
  "mkdirp": "^1.0.4",
13
13
  "tar": "^6.1.13",
14
- "tmp": "^0.2.1",
14
+ "tmp": "^0.2.2",
15
15
  "tslib": "^2.4.1"
16
16
  },
17
17
  "devDependencies": {