@contentstack/cli-migration 1.6.6 → 1.7.1

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.
Files changed (2) hide show
  1. package/README.md +12 -12
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -21,7 +21,7 @@ $ npm install -g @contentstack/cli-migration
21
21
  $ csdx COMMAND
22
22
  running command...
23
23
  $ csdx (--version)
24
- @contentstack/cli-migration/1.6.6 darwin-arm64 node-v22.14.0
24
+ @contentstack/cli-migration/1.7.1 darwin-arm64 node-v22.14.0
25
25
  $ csdx --help [COMMAND]
26
26
  USAGE
27
27
  $ csdx COMMAND
@@ -33,7 +33,7 @@ USAGE
33
33
 
34
34
  <!-- commands -->
35
35
  * [`csdx cm:stacks:migration [-k <value>] [-a <value>] [--file-path <value>] [--branch <value>] [--config-file <value>] [--config <value>] [--multiple]`](#csdx-cmstacksmigration--k-value--a-value---file-path-value---branch-value---config-file-value---config-value---multiple)
36
- * [`csdx cm:stacks:migration [-k <value>] [-a <value>] [--file-path <value>] [--branch <value>] [--config-file <value>] [--config <value>] [--multiple]`](#csdx-cmstacksmigration--k-value--a-value---file-path-value---branch-value---config-file-value---config-value---multiple-1)
36
+ * [`csdx cm:stacks:migration [-k <value>] [-a <value>] [--file-path <value>] [--branch <value>] [--config-file <value>] [--config <value>] [--multiple]`](#csdx-cmstacksmigration--k-value--a-value---file-path-value---branch-value---config-file-value---config-value---multiple)
37
37
 
38
38
  ## `csdx cm:stacks:migration [-k <value>] [-a <value>] [--file-path <value>] [--branch <value>] [--config-file <value>] [--config <value>] [--multiple]`
39
39
 
@@ -41,8 +41,8 @@ Contentstack migration script.
41
41
 
42
42
  ```
43
43
  USAGE
44
- $ csdx cm:stacks:migration [-k <value>] [-a <value>] [--file-path <value>] [--branch <value>] [--config-file <value>]
45
- [--config <value>] [--multiple]
44
+ $ csdx cm:migration cm:stacks:migration [-k <value>] [-a <value>] [--file-path <value>] [--branch <value>]
45
+ [--config-file <value>] [--config <value>] [--multiple]
46
46
 
47
47
  FLAGS
48
48
  -B, --branch=<value> Use this flag to add the branch name where you want to perform the migration. (target
@@ -51,11 +51,11 @@ FLAGS
51
51
  the --stack-api-key flag.
52
52
  -k, --stack-api-key=<value> Use this flag to add the API key of your stack. You must use either the --stack-api-key
53
53
  flag or the --alias flag.
54
- --config=<value>... [optional] Inline configuration, <key1>:<value1>. Passing an external configuration makes
54
+ --config=<value>... [optional] Inline configuration, <key1>:<value1>. Passing an external configuration makes
55
55
  the script re-usable.
56
- --config-file=<value> [optional] Path of the JSON configuration file.
57
- --file-path=<value> Use this flag to provide the path of the file of the migration script.
58
- --multiple This flag helps you to migrate multiple content files in a single instance. Mention the
56
+ --config-file=<value> [optional] Path of the JSON configuration file.
57
+ --file-path=<value> Use this flag to provide the path of the file of the migration script.
58
+ --multiple This flag helps you to migrate multiple content files in a single instance. Mention the
59
59
  folder path where your migration script files are stored.
60
60
 
61
61
  DESCRIPTION
@@ -94,11 +94,11 @@ FLAGS
94
94
  the --stack-api-key flag.
95
95
  -k, --stack-api-key=<value> Use this flag to add the API key of your stack. You must use either the --stack-api-key
96
96
  flag or the --alias flag.
97
- --config=<value>... [optional] Inline configuration, <key1>:<value1>. Passing an external configuration makes
97
+ --config=<value>... [optional] Inline configuration, <key1>:<value1>. Passing an external configuration makes
98
98
  the script re-usable.
99
- --config-file=<value> [optional] Path of the JSON configuration file.
100
- --file-path=<value> Use this flag to provide the path of the file of the migration script.
101
- --multiple This flag helps you to migrate multiple content files in a single instance. Mention the
99
+ --config-file=<value> [optional] Path of the JSON configuration file.
100
+ --file-path=<value> Use this flag to provide the path of the file of the migration script.
101
+ --multiple This flag helps you to migrate multiple content files in a single instance. Mention the
102
102
  folder path where your migration script files are stored.
103
103
 
104
104
  DESCRIPTION
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@contentstack/cli-migration",
3
- "version": "1.6.6",
3
+ "version": "1.7.1",
4
4
  "author": "@contentstack",
5
5
  "bugs": "https://github.com/contentstack/cli/issues",
6
6
  "dependencies": {
7
- "@contentstack/cli-command": "~1.3.3",
8
- "@contentstack/cli-utilities": "~1.9.0",
7
+ "@contentstack/cli-command": "~1.5.0",
8
+ "@contentstack/cli-utilities": "~1.11.0",
9
9
  "async": "^3.2.6",
10
10
  "callsites": "^3.1.0",
11
11
  "cardinal": "^2.1.1",
@@ -18,10 +18,11 @@
18
18
  "@oclif/test": "^4.1.6",
19
19
  "chai": "^4.5.0",
20
20
  "eslint": "^8.57.1",
21
+ "eslint-config-oclif": "^6.0.46",
21
22
  "jsdoc-to-markdown": "^8.0.3",
22
23
  "nock": "^13.5.6",
23
24
  "nyc": "^15.1.0",
24
- "oclif": "^3.17.2"
25
+ "oclif": "^4.17.30"
25
26
  },
26
27
  "engines": {
27
28
  "node": ">=8.3.0"
@@ -45,7 +46,6 @@
45
46
  "repository": "contentstack/cli",
46
47
  "scripts": {
47
48
  "postpack": "rm -f oclif.manifest.json",
48
- "posttest": "eslint ./src",
49
49
  "generate-api-ref-md-doc": "nyc jsdoc2md ./src/modules/* > ./docs/api-reference.md",
50
50
  "prepack": "oclif manifest && oclif readme && pnpm generate-api-ref-md-doc",
51
51
  "test": "nyc mocha \"test/**/*.test.js\"",