Skip to content

Commit 9fc71f5

Browse files
Merge pull request #2468 from contentstack/v2-dev
DX | 16-03-2026 | Release
2 parents aa873f1 + f1ce3fb commit 9fc71f5

File tree

21 files changed

+1919
-1044
lines changed

21 files changed

+1919
-1044
lines changed

.github/workflows/release-v2-beta-core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: pnpm run clean:all
2626

2727
- name: Install root dependencies
28-
run: pnpm install --frozen-lockfile
28+
run: pnpm install --no-frozen-lockfile
2929

3030
- name: Build all packages
3131
run: pnpm -r --sort run build

.github/workflows/release-v2-beta-platform-plugins.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: pnpm run clean:all
2626

2727
- name: Install root dependencies
28-
run: pnpm install --frozen-lockfile
28+
run: pnpm install --no-frozen-lockfile
2929

3030
- name: Build all plugins
3131
run: pnpm -r --sort run build

.github/workflows/sca-scan.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@ jobs:
1212
env:
1313
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
1414
with:
15-
args: --all-projects --fail-on=all
15+
args: --fail-on=all --all-projects
16+
json: true
17+
continue-on-error: true
18+
- uses: contentstack/sca-policy@main

.talismanrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
fileignoreconfig:
22
- filename: pnpm-lock.yaml
3-
checksum: a73fa0520b8f116e22cf347f4e2979a68ca798d922665b3f7b0118fffa66891d
3+
checksum: 818b43b375b3b8d9c18b127a064db9886671e89576049e48dbbaf0d25baacb99
44
- filename: packages/contentstack/README.md
55
checksum: 68fe850ccf5398d26d3e1f67996284643756ea600bf9440562b54bd162d7afac
66
- filename: .github/workflows/release.yml

packages/contentstack-auth/messages/index.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"CLI_AUTH_LOGOUT_DESCRIPTION": "User session logout",
1919
"CLI_AUTH_LOGOUT_FLAG_FORCE": "Force logging out for skipping the confirmation",
2020
"CLI_AUTH_LOGOUT_ALREADY": "You're already logged out",
21+
"CLI_AUTH_LOGOUT_CANCELLED": "Log out cancelled",
2122
"CLI_AUTH_LOGOUT_NO_AUTHORIZATIONS": "No authorizations found",
2223
"CLI_AUTH_LOGOUT_NO_AUTHORIZATIONS_USER": "No authorizations found for current user",
2324
"CLI_AUTH_WHOAMI_LOGGED_IN_AS": "You are currently logged in with email:",

packages/contentstack-auth/package.json

Lines changed: 4 additions & 4 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": "2.0.0-beta.7",
4+
"version": "2.0.0-beta.8",
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": "~2.0.0-beta.2",
26-
"@contentstack/cli-utilities": "~2.0.0-beta.2",
25+
"@contentstack/cli-command": "~2.0.0-beta.3",
26+
"@contentstack/cli-utilities": "~2.0.0-beta.3",
2727
"@oclif/core": "^4.3.0",
2828
"@oclif/plugin-help": "^6.2.28",
2929
"otplib": "^12.0.1"
@@ -81,4 +81,4 @@
8181
}
8282
},
8383
"repository": "contentstack/cli"
84-
}
84+
}

packages/contentstack-auth/src/commands/auth/logout.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ export default class LogoutCommand extends BaseCommand<typeof LogoutCommand> {
8484
confirm,
8585
isAuthenticated: oauthHandler.isAuthenticated(),
8686
});
87-
log.success(messageHandler.parse('CLI_AUTH_LOGOUT_ALREADY'), this.contextDetails);
87+
const messageKey = confirm === false && oauthHandler.isAuthenticated()
88+
? 'CLI_AUTH_LOGOUT_CANCELLED'
89+
: 'CLI_AUTH_LOGOUT_ALREADY';
90+
log.success(messageHandler.parse(messageKey), this.contextDetails);
8891
}
8992
} catch (error) {
9093
log.debug('Logout failed.', { ...this.contextDetails, error: error.message });

packages/contentstack-command/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-command",
33
"description": "Contentstack CLI plugin for configuration",
4-
"version": "2.0.0-beta.2",
4+
"version": "2.0.0-beta.3",
55
"author": "Contentstack",
66
"main": "lib/index.js",
77
"types": "lib/index.d.ts",
@@ -20,7 +20,7 @@
2020
"test:unit": "mocha --timeout 10000 --forbid-only \"test/unit/**/*.test.ts\""
2121
},
2222
"dependencies": {
23-
"@contentstack/cli-utilities": "~2.0.0-beta.2",
23+
"@contentstack/cli-utilities": "~2.0.0-beta.3",
2424
"contentstack": "^3.25.3",
2525
"@oclif/core": "^4.3.0",
2626
"@oclif/plugin-help": "^6.2.28"
@@ -65,4 +65,4 @@
6565
"repositoryPrefix": "<%- repo %>/blob/main/packages/contentstack-command/<%- commandPath %>"
6666
},
6767
"repository": "contentstack/cli"
68-
}
68+
}

packages/contentstack-config/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@contentstack/cli-config",
33
"description": "Contentstack CLI plugin for configuration",
4-
"version": "2.0.0-beta.3",
4+
"version": "2.0.0-beta.4",
55
"author": "Contentstack",
66
"scripts": {
77
"build": "pnpm compile && oclif manifest && oclif readme",
@@ -21,8 +21,8 @@
2121
"test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\""
2222
},
2323
"dependencies": {
24-
"@contentstack/cli-command": "~2.0.0-beta.2",
25-
"@contentstack/cli-utilities": "~2.0.0-beta.2",
24+
"@contentstack/cli-command": "~2.0.0-beta.3",
25+
"@contentstack/cli-utilities": "~2.0.0-beta.3",
2626
"@contentstack/utils": "~1.7.0",
2727
"@oclif/core": "^4.8.1",
2828
"@oclif/plugin-help": "^6.2.28",
@@ -81,4 +81,4 @@
8181
}
8282
},
8383
"repository": "contentstack/cli"
84-
}
84+
}

packages/contentstack-utilities/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/cli-utilities",
3-
"version": "2.0.0-beta.2",
3+
"version": "2.0.0-beta.3",
44
"description": "Utilities for contentstack projects",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -44,7 +44,7 @@
4444
"conf": "^10.2.0",
4545
"dotenv": "^16.6.1",
4646
"figures": "^3.2.0",
47-
"inquirer": "8.2.7",
47+
"inquirer": "12.11.1",
4848
"inquirer-search-checkbox": "^1.0.0",
4949
"inquirer-search-list": "^1.2.6",
5050
"js-yaml": "^4.1.1",
@@ -68,7 +68,7 @@
6868
"@types/inquirer": "^9.0.8",
6969
"@types/mkdirp": "^1.0.2",
7070
"@types/mocha": "^10.0.10",
71-
"@types/node": "^14.18.63",
71+
"@types/node": "^18.11.9",
7272
"@types/sinon": "^21.0.0",
7373
"@types/traverse": "^0.6.37",
7474
"chai": "^4.5.0",
@@ -80,6 +80,6 @@
8080
"nyc": "^15.1.0",
8181
"sinon": "^21.0.1",
8282
"ts-node": "^10.9.2",
83-
"typescript": "^4.9.5"
83+
"typescript": "^5.0.0"
8484
}
85-
}
85+
}

0 commit comments

Comments
 (0)