Skip to content

Commit cdb6292

Browse files
authored
Merge pull request #1621 from contentstack/DX/hotifx-1576
DX | 10-10-2024 | hotfix
2 parents 33253fc + b44a2b2 commit cdb6292

File tree

9 files changed

+1908
-1462
lines changed

9 files changed

+1908
-1462
lines changed

package-lock.json

Lines changed: 1291 additions & 867 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/contentstack-launch/package.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,43 +17,43 @@
1717
"/oclif.manifest.json"
1818
],
1919
"dependencies": {
20-
"@apollo/client": "^3.7.9",
20+
"@apollo/client": "^3.11.8",
2121
"@contentstack/cli-command": "~1.3.2",
2222
"@contentstack/cli-utilities": "~1.8.0",
23-
"@oclif/core": "^3.26.5",
23+
"@oclif/core": "^3.27.0",
2424
"@oclif/plugin-help": "^5",
25-
"@oclif/plugin-plugins": "^5.0.0",
26-
"@types/express": "^4.17.17",
27-
"@types/express-serve-static-core": "^4.17.34",
28-
"adm-zip": "^0.5.10",
25+
"@oclif/plugin-plugins": "^5.4.14",
26+
"@types/express": "^4.17.21",
27+
"@types/express-serve-static-core": "^4.19.6",
28+
"adm-zip": "^0.5.16",
2929
"chalk": "^4.1.2",
30-
"cross-fetch": "^3.1.5",
31-
"dotenv": "^16.0.3",
30+
"cross-fetch": "^3.1.8",
31+
"dotenv": "^16.4.5",
3232
"esm": "^3.2.25",
33-
"express": "^4.21.0",
33+
"express": "^4.21.1",
3434
"form-data": "^4.0.0",
35-
"graphql": "^16.8.1",
35+
"graphql": "^16.9.0",
3636
"ini": "^3.0.1",
3737
"lodash": "^4.17.21",
3838
"open": "^8.4.2",
39-
"winston": "^3.8.2"
39+
"winston": "^3.15.0"
4040
},
4141
"devDependencies": {
4242
"@oclif/test": "^2.5.6",
43-
"@types/adm-zip": "^0.5.0",
44-
"@types/chai": "^4",
45-
"@types/esm": "^3.2.0",
46-
"@types/ini": "^1.3.31",
47-
"@types/lodash": "^4.14.195",
48-
"@types/node": "^16.18.12",
49-
"chai": "^4",
43+
"@types/adm-zip": "^0.5.5",
44+
"@types/chai": "^4.3.20",
45+
"@types/esm": "^3.2.2",
46+
"@types/ini": "^1.3.34",
47+
"@types/lodash": "^4.17.10",
48+
"@types/node": "^16.18.113",
49+
"chai": "^4.5.0",
5050
"eslint": "^7.32.0",
5151
"eslint-config-oclif": "^4",
52-
"eslint-config-oclif-typescript": "^3.0.8",
53-
"oclif": "^3.11.3",
54-
"shx": "^0.3.3",
55-
"ts-node": "^10.9.1",
56-
"tslib": "^2.5.0",
52+
"eslint-config-oclif-typescript": "^3.1.12",
53+
"oclif": "^3.17.2",
54+
"shx": "^0.3.4",
55+
"ts-node": "^10.9.2",
56+
"tslib": "^2.7.0",
5757
"typescript": "^4.9.5"
5858
},
5959
"oclif": {

packages/contentstack-migration/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $ npm install -g @contentstack/cli-migration
2121
$ csdx COMMAND
2222
running command...
2323
$ csdx (--version)
24-
@contentstack/cli-migration/1.6.2 darwin-arm64 node-v22.2.0
24+
@contentstack/cli-migration/1.6.3 darwin-arm64 node-v22.8.0
2525
$ csdx --help [COMMAND]
2626
USAGE
2727
$ csdx COMMAND

packages/contentstack-migration/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
{
22
"name": "@contentstack/cli-migration",
3-
"version": "1.6.2",
3+
"version": "1.6.3",
44
"author": "@contentstack",
55
"bugs": "https://github.com/contentstack/cli/issues",
66
"dependencies": {
77
"@contentstack/cli-command": "~1.3.2",
88
"@contentstack/cli-utilities": "~1.8.0",
9-
"async": "^3.2.4",
9+
"async": "^3.2.6",
1010
"callsites": "^3.1.0",
1111
"cardinal": "^2.1.1",
1212
"chalk": "^4.1.0",
13-
"dot-object": "^2.1.4",
14-
"dotenv": "^16.0.3",
13+
"dot-object": "^2.1.5",
14+
"dotenv": "^16.4.5",
1515
"listr": "^0.14.3",
16-
"winston": "^3.7.2"
16+
"winston": "^3.15.0"
1717
},
1818
"devDependencies": {
1919
"@oclif/test": "^2.5.6",
20-
"chai": "^4.3.4",
20+
"chai": "^4.5.0",
2121
"eslint": "^8.18.0",
2222
"globby": "^10.0.2",
2323
"husky": "^8.0.3",
24-
"jsdoc": "^4.0.0",
25-
"jsdoc-to-markdown": "^8.0.0",
24+
"jsdoc": "^4.0.3",
25+
"jsdoc-to-markdown": "^8.0.3",
2626
"mkdirp": "^1.0.4",
27-
"nock": "^13.1.1",
27+
"nock": "^13.5.5",
2828
"nyc": "^15.1.0",
2929
"oclif": "^3.11.3"
3030
},

packages/contentstack-migration/src/utils/error-helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function removeSpecialCharacter(str) {
2525
}
2626

2727
module.exports = (errors, filePath) => {
28-
const logger = new MigrationLogger(process.cwd());
28+
const logger = new MigrationLogger(process.env.CS_CLI_LOG_PATH ?? process.cwd());
2929

3030
const errorsByFile = groupBy(errors, 'file');
3131
const messages = [];

packages/contentstack-migration/src/utils/logger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const customFormat = printf(({ level, message }) => {
2929
});
3030

3131
function init(logFileName) {
32-
const logsDir = resolve('logs');
32+
const logsDir = resolve(process.env.CS_CLI_LOG_PATH?? process.cwd(),'logs');
3333
// Create dir if does not exist
3434
makeDir(logsDir);
3535

packages/contentstack/README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli
1818
$ csdx COMMAND
1919
running command...
2020
$ csdx (--version|-v)
21-
@contentstack/cli/1.27.0 darwin-arm64 node-v22.2.0
21+
@contentstack/cli/1.27.1 darwin-arm64 node-v22.8.0
2222
$ csdx --help [COMMAND]
2323
USAGE
2424
$ csdx COMMAND
@@ -3525,7 +3525,7 @@ EXAMPLES
35253525
$ csdx plugins
35263526
```
35273527

3528-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.9/src/commands/plugins/index.ts)_
3528+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.14/src/commands/plugins/index.ts)_
35293529

35303530
## `csdx plugins:add PLUGIN`
35313531

@@ -3599,7 +3599,7 @@ EXAMPLES
35993599
$ csdx plugins:inspect myplugin
36003600
```
36013601

3602-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.9/src/commands/plugins/inspect.ts)_
3602+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.14/src/commands/plugins/inspect.ts)_
36033603

36043604
## `csdx plugins:install PLUGIN`
36053605

@@ -3648,7 +3648,7 @@ EXAMPLES
36483648
$ csdx plugins:install someuser/someplugin
36493649
```
36503650

3651-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.9/src/commands/plugins/install.ts)_
3651+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.14/src/commands/plugins/install.ts)_
36523652

36533653
## `csdx plugins:link PATH`
36543654

@@ -3668,6 +3668,7 @@ FLAGS
36683668
36693669
DESCRIPTION
36703670
Links a plugin into the CLI for development.
3671+
36713672
Installation of a linked plugin will override a user-installed or core plugin.
36723673
36733674
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
@@ -3678,7 +3679,7 @@ EXAMPLES
36783679
$ csdx plugins:link myplugin
36793680
```
36803681

3681-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.9/src/commands/plugins/link.ts)_
3682+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.14/src/commands/plugins/link.ts)_
36823683

36833684
## `csdx plugins:remove [PLUGIN]`
36843685

@@ -3719,7 +3720,7 @@ FLAGS
37193720
--reinstall Reinstall all plugins after uninstalling.
37203721
```
37213722

3722-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.9/src/commands/plugins/reset.ts)_
3723+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.14/src/commands/plugins/reset.ts)_
37233724

37243725
## `csdx plugins:uninstall [PLUGIN]`
37253726

@@ -3747,7 +3748,7 @@ EXAMPLES
37473748
$ csdx plugins:uninstall myplugin
37483749
```
37493750

3750-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.9/src/commands/plugins/uninstall.ts)_
3751+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.14/src/commands/plugins/uninstall.ts)_
37513752

37523753
## `csdx plugins:unlink [PLUGIN]`
37533754

@@ -3791,7 +3792,7 @@ DESCRIPTION
37913792
Update installed plugins.
37923793
```
37933794

3794-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.9/src/commands/plugins/update.ts)_
3795+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.14/src/commands/plugins/update.ts)_
37953796

37963797
## `csdx tokens`
37973798

packages/contentstack/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@contentstack/cli",
33
"description": "Command-line tool (CLI) to interact with Contentstack",
4-
"version": "1.27.0",
4+
"version": "1.27.1",
55
"author": "Contentstack",
66
"bin": {
77
"csdx": "./bin/run.js"
@@ -36,7 +36,7 @@
3636
"@contentstack/cli-command": "~1.3.2",
3737
"@contentstack/cli-config": "~1.7.3",
3838
"@contentstack/cli-launch": "~1.2.3",
39-
"@contentstack/cli-migration": "~1.6.2",
39+
"@contentstack/cli-migration": "~1.6.3",
4040
"@contentstack/cli-utilities": "~1.8.0",
4141
"@contentstack/management": "~1.17.0",
4242
"@contentstack/cli-variants": "~1.1.0",

0 commit comments

Comments
 (0)