Skip to content

Commit 316215b

Browse files
authored
Merge pull request #2547 from contentstack/development
DX | 04-05-2026 | Release
2 parents 684f2ab + 861ddab commit 316215b

35 files changed

Lines changed: 1059 additions & 1095 deletions

.talismanrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
fileignoreconfig:
2-
- filename: pnpm-lock.yaml
3-
checksum: 9adb49c9ba560758c6d4550fd318c53554534c3f883ba6b824c1a4338d2f50a7
2+
- filename: packages/contentstack/README.md
3+
checksum: 1846c4aefe667bf30c352009ac7aa90f6f966af5a9dfc71c4b5a7c66cd444c9c
44
version: '1.0'

eslint.config.base.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import tseslint from 'typescript-eslint';
2+
3+
export const typescriptConfig = tseslint.configs.recommended;
4+
5+
export const baseRules = {
6+
eqeqeq: ['error', 'smart'],
7+
'id-match': 'error',
8+
'no-eval': 'error',
9+
'no-var': 'error',
10+
'@typescript-eslint/no-unused-vars': ['error', { args: 'none' }],
11+
'@typescript-eslint/prefer-namespace-keyword': 'error',
12+
semi: 'off',
13+
'@typescript-eslint/no-redeclare': 'off',
14+
'@typescript-eslint/no-explicit-any': 'off',
15+
};

packages/contentstack-auth/.eslintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/contentstack-auth/.eslintrc

Lines changed: 0 additions & 36 deletions
This file was deleted.

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.8.0 darwin-arm64 node-v22.13.1
21+
@contentstack/cli-auth/1.8.1 darwin-arm64 node-v24.14.0
2222
$ csdx --help [COMMAND]
2323
USAGE
2424
$ csdx COMMAND
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { typescriptConfig, baseRules } from '../../eslint.config.base.js';
2+
3+
export default [
4+
...typescriptConfig,
5+
{
6+
files: ['src/**/*.ts'],
7+
rules: {
8+
...baseRules,
9+
'@typescript-eslint/ban-types': 'off',
10+
'@typescript-eslint/quotes': 'off',
11+
'@typescript-eslint/type-annotation-spacing': 'off',
12+
},
13+
},
14+
{
15+
ignores: ['lib/**'],
16+
},
17+
];

packages/contentstack-auth/package.json

Lines changed: 5 additions & 8 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.8.1",
4+
"version": "1.8.2",
55
"author": "Contentstack",
66
"bugs": "https://github.com/contentstack/cli/issues",
77
"scripts": {
@@ -15,10 +15,9 @@
1515
"lint": "eslint src/**/*.ts"
1616
},
1717
"dependencies": {
18-
"@contentstack/cli-command": "~1.8.1",
19-
"@contentstack/cli-utilities": "~1.18.2",
18+
"@contentstack/cli-command": "~1.8.2",
19+
"@contentstack/cli-utilities": "~1.18.3",
2020
"@oclif/core": "^4.10.5",
21-
"@oclif/plugin-help": "^6.2.44",
2221
"otplib": "^12.0.1"
2322
},
2423
"overrides": {
@@ -27,20 +26,18 @@
2726
}
2827
},
2928
"devDependencies": {
30-
"@fancy-test/nock": "^0.1.1",
31-
"@oclif/plugin-help": "^6.2.28",
3229
"@oclif/test": "^4.1.13",
3330
"@types/chai": "^4.3.20",
34-
"@types/mkdirp": "^1.0.2",
3531
"@types/mocha": "^8.2.3",
3632
"@types/node": "^14.18.63",
3733
"@types/sinon": "^21.0.0",
3834
"chai": "^4.5.0",
3935
"dotenv": "^16.4.7",
40-
"eslint": "^8.57.1",
36+
"eslint": "^9.26.0",
4137
"eslint-config-oclif": "^5.2.2",
4238
"eslint-config-oclif-typescript": "^3.1.14",
4339
"mocha": "10.8.2",
40+
"nock": "^13.5.6",
4441
"nyc": "^15.1.0",
4542
"oclif": "^4.17.46",
4643
"sinon": "^21.0.1",

packages/contentstack-auth/src/interfaces/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// eslint-disable-next-line @typescript-eslint/no-redeclare
21
export interface AuthOptions {
32
contentstackClient: any;
43
}

packages/contentstack-command/.eslintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/contentstack-command/.eslintrc

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)