Skip to content

Commit 7915213

Browse files
Merge pull request #2013 from contentstack/development
DX | 28-07-2025 | staging
2 parents 75a2d66 + b327d30 commit 7915213

File tree

155 files changed

+6195
-2453
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+6195
-2453
lines changed

.github/workflows/unit-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ jobs:
4343
- name: Run tests for Contentstack Bootstrap
4444
working-directory: ./packages/contentstack-bootstrap
4545
run: npm run test
46+
47+
- name: Run tests for Contentstack Auth
48+
working-directory: ./packages/contentstack-auth
49+
run: npm run test
4650
# - name: Fetch latest references
4751
# run: |
4852
# git fetch --prune

.talismanrc

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
fileignoreconfig:
22
- filename: pnpm-lock.yaml
3-
checksum: f207dfb0198bc78f647a0a9456142fba670d49dc1b456bcf73de5e79ca0ec5d5
3+
checksum: 6447e8e8342717ecec1500db29f16b7b1d64dfe2c5c788b405983b190f2b5c7e
44
- filename: packages/contentstack-import/test/integration/auth-token-modules/environments.test.js
55
checksum: bc6f06b75d082aaf99e2f2f4b932b143765e2f14086967fb8973fe1b2ca6c03e
66
- filename: packages/contentstack-import/test/integration/environments.test.js
77
checksum: e71f033dad8944ffeafdf22d0514bda1d20c43e8fea0d62c96e774f3414beb31
88
- filename: package-lock.json
9-
checksum: 3659711120fd91234dab455bd0fce6bb94c2c98a0342b45336586e5470e782e8
9+
checksum: 7260d9647ed789f09e454d63f9bdd0393e6dfd93f69d4dd2a1505c1c2a60b194
1010
- filename: packages/contentstack-auth/test/unit/tokens-validation.test.ts
1111
checksum: 676052e30d31a771ce68302d89b050d176bbef50f3abc7e9cdd4384f0e274e10
1212
- filename: packages/contentstack-import/test/integration/auth-token.test.js
@@ -53,4 +53,18 @@ fileignoreconfig:
5353
checksum: db5b7aedcd89d783760eb988a2369243c34edc9c12e93a41b2b08fb0da02afdc
5454
- filename: packages/contentstack-export/src/export/modules/assets.ts
5555
checksum: c7f19e6c4a212329d981cebce9a9a8393923dd7c85feb762ddcdca678f7a9349
56+
- filename: packages/contentstack-variants/src/import/variant-entries.ts
57+
checksum: 01059fd6aa42deb6f070f57f4376c35a85684312fb7ca4757df5b53bfe0144d2
58+
- filename: packages/contentstack/README.md
59+
checksum: d6da4ce77d52464737a4f22034f62fb93e47ec9200f8f788f06dbcedaae123b3
60+
- filename: packages/contentstack-auth/test/unit/commands/tokens-add.test.ts
61+
checksum: 32ff22c5f9b1e38c575220f1310e4e963d7309b696ef9ba96f04b96ae6254fba
62+
- filename: packages/contentstack-auth/test/integration/auth.test.ts
63+
checksum: fea36038171d22b5651d3405b490a10c887f343ab367c814f198d5ec6f9a5dfc
64+
- filename: packages/contentstack-auth/test/unit/tokens-validation.test.ts
65+
checksum: 1fbf278675767ed828f5c83f32d088284410f2d687365bfa759728e3b9b7fa8b
66+
- filename: packages/contentstack-auth/test/config.json
67+
checksum: 5976c57dd158d77cfaa47e9830c26900e80ce63a4a42c6cce3536092bd5fcdf1
68+
- filename: packages/contentstack-utilities/src/config-handler.ts
69+
checksum: 313960e3ae1f36dcc4636d906fa964d96e2423301e44b9b783f8f7fcf62820d8
5670
version: ''

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Changelog
22

33
Please refer to the Contentstack Command-line Interface release notes [here](https://www.contentstack.com/docs/developers/cli/cli-changelog).
4+
5+
## @contentstack/cli-config
6+
### Version: 1.13.1
7+
#### Date: July-21-2025
8+
##### Fix:
9+
- Improve error handling in rate limit command
10+
411
## @contentstack/cli-cm-bulk-publish
512
### Version: 1.8.2
613
#### Date: June-30-2025

package-lock.json

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

packages/contentstack-audit/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $ npm install -g @contentstack/cli-audit
1919
$ csdx COMMAND
2020
running command...
2121
$ csdx (--version|-v)
22-
@contentstack/cli-audit/1.13.0 darwin-x64 node-v22.17.0
22+
@contentstack/cli-audit/1.14.0 darwin-arm64 node-v22.14.0
2323
$ csdx --help [COMMAND]
2424
USAGE
2525
$ csdx COMMAND

packages/contentstack-audit/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/cli-audit",
3-
"version": "1.13.0",
3+
"version": "1.14.0",
44
"description": "Contentstack audit plugin",
55
"author": "Contentstack CLI",
66
"homepage": "https://github.com/contentstack/cli",
@@ -18,8 +18,8 @@
1818
"/oclif.manifest.json"
1919
],
2020
"dependencies": {
21-
"@contentstack/cli-command": "~1.5.0",
22-
"@contentstack/cli-utilities": "~1.12.0",
21+
"@contentstack/cli-command": "~1.6.0",
22+
"@contentstack/cli-utilities": "~1.13.0",
2323
"@oclif/core": "^4.3.0",
2424
"@oclif/plugin-help": "^6.2.28",
2525
"@oclif/plugin-plugins": "^5.4.38",

packages/contentstack-auth/.eslintrc

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,26 @@
1111
"plugin:@typescript-eslint/recommended"
1212
],
1313
"rules": {
14+
"@typescript-eslint/ban-types": "off",
1415
"@typescript-eslint/no-unused-vars": [
1516
"error",
1617
{
1718
"args": "none"
1819
}
1920
],
2021
"@typescript-eslint/prefer-namespace-keyword": "error",
21-
"@typescript-eslint/quotes": [
22-
"error",
23-
"single",
24-
{
25-
"avoidEscape": true,
26-
"allowTemplateLiterals": true
27-
}
28-
],
22+
"@typescript-eslint/quotes": "off",
2923
"semi": "off",
30-
"@typescript-eslint/type-annotation-spacing": "error",
24+
"@typescript-eslint/type-annotation-spacing": "off",
3125
"@typescript-eslint/no-redeclare": "off",
3226
"eqeqeq": [
3327
"error",
3428
"smart"
3529
],
3630
"id-match": "error",
3731
"no-eval": "error",
38-
"no-var": "error"
32+
"no-var": "error",
33+
"@typescript-eslint/no-explicit-any": "off",
34+
"@typescript-eslint/no-unsafe-function-type": "off"
3935
}
4036
}

packages/contentstack-auth/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-auth
1818
$ csdx COMMAND
1919
running command...
2020
$ csdx (--version)
21-
@contentstack/cli-auth/1.4.1 darwin-x64 node-v22.17.0
21+
@contentstack/cli-auth/1.5.0 darwin-arm64 node-v22.14.0
2222
$ csdx --help [COMMAND]
2323
USAGE
2424
$ csdx COMMAND

packages/contentstack-auth/messages/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"CLI_AUTH_LOGOUT_ALREADY": "You're already logged out",
2121
"CLI_AUTH_LOGOUT_NO_AUTHORIZATIONS": "No authorizations found",
2222
"CLI_AUTH_LOGOUT_NO_AUTHORIZATIONS_USER": "No authorizations found for current user",
23-
"CLI_AUTH_WHOAMI_LOGGED_IN_AS": "You are currently logged in with email",
23+
"CLI_AUTH_WHOAMI_LOGGED_IN_AS": "You are currently logged in with email '%s'",
2424
"CLI_AUTH_WHOAMI_FAILED": "Failed to get the current user details",
2525
"CLI_AUTH_WHOAMI_DESCRIPTION": "Display current users email address",
2626
"CLI_AUTH_TOKENS_ADD_ASK_TOKEN_ALIAS": "Provide alias to store token",

packages/contentstack-auth/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@contentstack/cli-auth",
33
"description": "Contentstack CLI plugin for authentication activities",
4-
"version": "1.4.1",
4+
"version": "1.5.0",
55
"author": "Contentstack",
66
"bugs": "https://github.com/contentstack/cli/issues",
77
"scripts": {
@@ -22,8 +22,8 @@
2222
"test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\""
2323
},
2424
"dependencies": {
25-
"@contentstack/cli-command": "~1.5.0",
26-
"@contentstack/cli-utilities": "~1.12.0",
25+
"@contentstack/cli-command": "~1.6.0",
26+
"@contentstack/cli-utilities": "~1.13.0",
2727
"@oclif/core": "^4.3.0",
2828
"@oclif/plugin-help": "^6.2.28"
2929
},

0 commit comments

Comments
 (0)