Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
a38cf34
Snyk fixes
netrajpatel Apr 17, 2026
dad79f8
Merge branch 'development' into snyk-fixes
harshitha-cstk Apr 24, 2026
005c1b7
Merge pull request #2526 from contentstack/snyk-fixes
harshitha-cstk Apr 24, 2026
b6c8d54
SRE: axios version bump and version overide
netrajpatel Apr 27, 2026
d80c4b4
Merge pull request #2549 from contentstack/fix/dx-6700
netrajpatel Apr 27, 2026
6e93062
uuid, short-uuid and eslint major version bump
netrajpatel Apr 28, 2026
90c36b3
Upgraded eslint to v9
netrajpatel Apr 28, 2026
5b3d987
Merge pull request #2550 from contentstack/fix/dx-6701
netrajpatel Apr 28, 2026
e0c0c59
Merge pull request #2553 from contentstack/v2-beta
harshitha-cstk Apr 28, 2026
09cdf0b
Cleanup unused plugins
netrajpatel Apr 28, 2026
d56506c
Centralise uuid and short-uuid helpers from utilities
netrajpatel Apr 28, 2026
b061cd5
Merge pull request #2554 from contentstack/chore/dx-6715
netrajpatel Apr 29, 2026
80ceb82
Merge branch 'development' into chore/DX-6926
netrajpatel Apr 30, 2026
afcfdf8
Merge pull request #2555 from contentstack/chore/DX-6926
cs-raj May 4, 2026
3240cdc
revert: cli version bump
cs-raj May 4, 2026
46bda4f
Merge pull request #2556 from contentstack/revert/version-bump
cs-raj May 4, 2026
e2c13a0
chore: version bump
cs-raj May 4, 2026
861ddab
Merge pull request #2557 from contentstack/chore/version-bump
cs-raj May 4, 2026
316215b
Merge pull request #2547 from contentstack/development
cs-raj May 4, 2026
7f5b9d0
chore: core version bump
cs-raj May 4, 2026
a7f324d
Merge pull request #2558 from contentstack/chore/version-bump-2
cs-raj May 4, 2026
d42918a
Merge branch 'main' into development
cs-raj May 4, 2026
ad34fcb
Merge pull request #2560 from contentstack/back-merge
cs-raj May 4, 2026
60fc680
Merge pull request #2559 from contentstack/development
cs-raj May 4, 2026
72750c7
Merge pull request #2561 from contentstack/chore/back-merge
cs-raj May 4, 2026
3c46c96
Merge branch 'development' into v2-dev
cs-raj May 5, 2026
c9fa465
chore: lock file update
cs-raj May 5, 2026
ba95665
updated texts for content assets changes
shafeeqd959 May 7, 2026
7a56e46
Merge pull request #2562 from contentstack/fix/back-merge
cs-raj May 8, 2026
3fe869a
Merge branch 'v2-dev' of github.com:contentstack/cli into fix/DX-6986
shafeeqd959 May 11, 2026
59250ba
refactor: enhance chalk loading mechanism with global caching
harshitha-cstk May 12, 2026
d34f245
fix: fixed unit test cases
cs-raj May 12, 2026
169bf6f
fix test
cs-raj May 12, 2026
dde2be8
Merge pull request #2563 from contentstack/fix/DX-6986
shafeeqd959 May 13, 2026
e38ac59
Merge branch 'v2-dev' into fix/DX-5328
cs-raj May 14, 2026
aec4848
Merge pull request #2569 from contentstack/fix/DX-5328
cs-raj May 14, 2026
aa23403
fix: unify loading of @contentstack/cli-utilities to prevent multiple…
harshitha-cstk May 14, 2026
1bc0dcf
Merge branch 'v2-dev' into fix/dx-7341-fix-chalk-load-error
harshitha-cstk May 14, 2026
cfddcaf
version bump 18-05-26 release
shafeeqd959 May 14, 2026
061bcf1
Merge pull request #2571 from contentstack/version-bump
shafeeqd959 May 14, 2026
52b33b9
Merge branch 'v2-dev' into fix/dx-7341-fix-chalk-load-error
harshitha-cstk May 15, 2026
d965844
Merge pull request #2568 from contentstack/fix/dx-7341-fix-chalk-load…
harshitha-cstk May 15, 2026
fb889e2
chore: version bump of utilities and other packages
cs-raj May 15, 2026
199e688
Merge pull request #2572 from contentstack/chore/version-bump
cs-raj May 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
working-directory: ./packages/contentstack-auth
run: pnpm test
# Commented out in v2-beta production
# - name: Test contentstack-utilities
# working-directory: ./packages/contentstack-utilities
# run: pnpm test
- name: Test contentstack-utilities
working-directory: ./packages/contentstack-utilities
run: pnpm test
2 changes: 2 additions & 0 deletions .talismanrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
fileignoreconfig:
- filename: pnpm-lock.yaml
checksum: cf79b3b8a81987734d472d57beee8b3a68923a54511492aba4c7f2ba30b5308f
- filename: packages/contentstack/README.md
checksum: 67721902ddcb841f6059e77e27d6d99612249cfec3d58e42dbfdfdb636ca271a
version: '1.0'
15 changes: 15 additions & 0 deletions eslint.config.base.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import tseslint from 'typescript-eslint';

export const typescriptConfig = tseslint.configs.recommended;

export const baseRules = {
eqeqeq: ['error', 'smart'],
'id-match': 'error',
'no-eval': 'error',
'no-var': 'error',
'@typescript-eslint/no-unused-vars': ['error', { args: 'none' }],
'@typescript-eslint/prefer-namespace-keyword': 'error',
semi: 'off',
'@typescript-eslint/no-redeclare': 'off',
'@typescript-eslint/no-explicit-any': 'off',
};
2 changes: 0 additions & 2 deletions packages/contentstack-auth/.eslintignore

This file was deleted.

36 changes: 0 additions & 36 deletions packages/contentstack-auth/.eslintrc

This file was deleted.

17 changes: 17 additions & 0 deletions packages/contentstack-auth/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { typescriptConfig, baseRules } from '../../eslint.config.base.js';

export default [
...typescriptConfig,
{
files: ['src/**/*.ts'],
rules: {
...baseRules,
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/quotes': 'off',
'@typescript-eslint/type-annotation-spacing': 'off',
},
},
{
ignores: ['lib/**'],
},
];
17 changes: 7 additions & 10 deletions packages/contentstack-auth/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@contentstack/cli-auth",
"description": "Contentstack CLI plugin for authentication activities",
"version": "2.0.0-beta.11",
"version": "2.0.0-beta.12",
"author": "Contentstack",
"bugs": "https://github.com/contentstack/cli/issues",
"scripts": {
Expand All @@ -15,10 +15,9 @@
"lint": "eslint src/**/*.ts"
},
"dependencies": {
"@contentstack/cli-command": "~2.0.0-beta.6",
"@contentstack/cli-utilities": "~2.0.0-beta.7",
"@contentstack/cli-command": "~2.0.0-beta.7",
"@contentstack/cli-utilities": "~2.0.0-beta.8",
"@oclif/core": "^4.10.5",
"@oclif/plugin-help": "^6.2.44",
"otplib": "^12.0.1"
},
"overrides": {
Expand All @@ -27,20 +26,18 @@
}
},
"devDependencies": {
"@fancy-test/nock": "^0.1.1",
"@oclif/plugin-help": "^6.2.44",
"@oclif/test": "^4.1.18",
"@oclif/test": "^4.1.13",
"@types/chai": "^4.3.20",
"@types/mkdirp": "^1.0.2",
"@types/mocha": "^8.2.3",
"@types/node": "^14.18.63",
"@types/sinon": "^21.0.1",
"chai": "^4.5.0",
"dotenv": "^16.6.1",
"eslint": "^8.57.1",
"dotenv": "^16.4.7",
"eslint": "^9.26.0",
"eslint-config-oclif": "^5.2.2",
"eslint-config-oclif-typescript": "^3.1.14",
"mocha": "10.8.2",
"nock": "^13.5.6",
"nyc": "^15.1.0",
"oclif": "^4.23.0",
"sinon": "^21.1.2",
Expand Down
1 change: 0 additions & 1 deletion packages/contentstack-auth/src/interfaces/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// eslint-disable-next-line @typescript-eslint/no-redeclare
export interface AuthOptions {
contentstackClient: any;
}
Expand Down
2 changes: 0 additions & 2 deletions packages/contentstack-command/.eslintignore

This file was deleted.

31 changes: 0 additions & 31 deletions packages/contentstack-command/.eslintrc

This file was deleted.

12 changes: 12 additions & 0 deletions packages/contentstack-command/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { typescriptConfig, baseRules } from '../../eslint.config.base.js';

export default [
...typescriptConfig,
{
files: ['src/**/*.ts'],
rules: baseRules,
},
{
ignores: ['lib/**'],
},
];
12 changes: 5 additions & 7 deletions packages/contentstack-command/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@contentstack/cli-command",
"description": "Contentstack CLI plugin for configuration",
"version": "2.0.0-beta.6",
"version": "2.0.0-beta.7",
"author": "Contentstack",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -14,22 +14,20 @@
"lint": "eslint src/**/*.ts"
},
"dependencies": {
"@contentstack/cli-utilities": "~2.0.0-beta.7",
"@contentstack/cli-utilities": "~2.0.0-beta.8",
"contentstack": "^3.27.0",
"@oclif/core": "^4.10.5",
"@oclif/plugin-help": "^6.2.44"
"@oclif/core": "^4.10.5"
},
"overrides": {
"@oclif/core": {
"picomatch": "^4.0.4"
}
},
"devDependencies": {
"@oclif/test": "^4.1.18",
"@types/mkdirp": "^1.0.2",
"@oclif/test": "^4.1.13",
"@types/mocha": "^8.2.3",
"@types/node": "^14.18.63",
"eslint": "^8.57.1",
"eslint": "^9.26.0",
"eslint-config-oclif": "^6.0.15",
"eslint-config-oclif-typescript": "^3.1.14",
"mocha": "10.8.2",
Expand Down
2 changes: 0 additions & 2 deletions packages/contentstack-config/.eslintignore

This file was deleted.

34 changes: 0 additions & 34 deletions packages/contentstack-config/.eslintrc

This file was deleted.

43 changes: 43 additions & 0 deletions packages/contentstack-config/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import mochaPlugin from 'eslint-plugin-mocha';
import { FlatCompat } from '@eslint/eslintrc';
import { baseRules } from '../../eslint.config.base.js';

const compat = new FlatCompat();

export default [
eslint.configs.recommended,
...tseslint.configs.recommended,
...compat.config(mochaPlugin.configs.recommended),
{
files: ['src/**/*.ts', 'test/**/*.ts'],
rules: {
...baseRules,
'unicorn/no-abusive-eslint-disable': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/ban-ts-ignore': 'off',
indent: 'off',
'object-curly-spacing': 'off',
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
'mocha/no-async-describe': 'off',
'mocha/no-identical-title': 'off',
'mocha/no-mocha-arrows': 'off',
'mocha/no-setup-in-describe': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-var-requires': 'off',
'prefer-const': 'error',
'no-fallthrough': 'error',
'no-prototype-builtins': 'off',
},
},
{
files: ['*.d.ts'],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
},
},
{
ignores: ['lib/**'],
},
];
16 changes: 7 additions & 9 deletions packages/contentstack-config/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@contentstack/cli-config",
"description": "Contentstack CLI plugin for configuration",
"version": "2.0.0-beta.8",
"version": "2.0.0-beta.9",
"author": "Contentstack",
"scripts": {
"build": "pnpm compile && oclif manifest && oclif readme",
Expand All @@ -14,12 +14,10 @@
"lint": "eslint src/**/*.ts"
},
"dependencies": {
"@contentstack/cli-command": "~2.0.0-beta.6",
"@contentstack/cli-utilities": "~2.0.0-beta.7",
"@contentstack/cli-command": "~2.0.0-beta.7",
"@contentstack/cli-utilities": "~2.0.0-beta.8",
"@contentstack/utils": "~1.9.1",
"@oclif/core": "^4.10.5",
"@oclif/plugin-help": "^6.2.44",
"lodash": "^4.18.1"
"@oclif/core": "^4.8.3"
},
"overrides": {
"@oclif/core": {
Expand All @@ -33,8 +31,8 @@
"@types/node": "^14.18.63",
"@types/sinon": "^21.0.1",
"chai": "^4.5.0",
"eslint": "^8.57.1",
"eslint-config-oclif": "^6.0.157",
"eslint": "^9.26.0",
"eslint-config-oclif": "^6.0.62",
"eslint-config-oclif-typescript": "^3.1.14",
"mocha": "10.8.2",
"nyc": "^15.1.0",
Expand Down Expand Up @@ -93,4 +91,4 @@
}
},
"repository": "contentstack/cli"
}
}
Loading
Loading