@contentstack/cli-cm-seed 1.7.0 → 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.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 Contentstack
3
+ Copyright (c) 2024 Contentstack
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -4,13 +4,14 @@ 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];
13
14
  process.chdir(options.tmpPath);
14
- await cli_cm_import_1.default.run(args);
15
+ await cli_cm_import_1.default.run(args.concat('--skip-audit'));
15
16
  }
16
17
  exports.run = run;
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.7.0",
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.0",
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.12.0",
8
+ "@contentstack/cli-cm-import": "~1.14.2",
9
9
  "@contentstack/cli-command": "~1.2.16",
10
- "@contentstack/cli-utilities": "~1.5.8",
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": {
@@ -22,10 +22,10 @@
22
22
  "@types/node": "^14.14.32",
23
23
  "@types/tar": "^6.1.3",
24
24
  "@types/tmp": "^0.2.0",
25
- "axios": "^1.6.0",
25
+ "axios": "^1.6.4",
26
26
  "eslint": "^8.18.0",
27
27
  "eslint-config-oclif": "^4.0.0",
28
- "eslint-config-oclif-typescript": "^0.1.0",
28
+ "eslint-config-oclif-typescript": "^3.0.8",
29
29
  "globby": "^10.0.2",
30
30
  "jest": "^29.4.2",
31
31
  "oclif": "^3.8.1",
@@ -73,4 +73,4 @@
73
73
  "version": "oclif readme && git add README.md",
74
74
  "clean": "rm -rf ./node_modules tsconfig.build.tsbuildinfo"
75
75
  }
76
- }
76
+ }