Skip to content

Commit 6fcf0fa

Browse files
Merge branch 'v2-dev' into fix/dx-5343-v2-dev-proxy
2 parents 31c2058 + 11c0a73 commit 6fcf0fa

22 files changed

Lines changed: 924 additions & 847 deletions

File tree

.talismanrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
fileignoreconfig:
22
- filename: pnpm-lock.yaml
3-
checksum: 839c051ab4beb74423a10ebfe10a42c4ccd09137c32a0f74a6adbc311f76cf06
3+
checksum: 9ee7fd63339f3a88cf24ced896ee36dbf2397ad5e173449699756f9ffc4db98f
44
version: '1.0'

packages/contentstack-auth/.mocharc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"require": [
33
"test/helpers/init.js",
44
"ts-node/register",
5-
"source-map-support/register"
5+
"source-map-support/register",
6+
"test/helpers/mocha-root-hooks.js"
67
],
78
"watch-extensions": [
89
"ts"

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": "2.0.0-beta.8",
4+
"version": "2.0.0-beta.9",
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.3",
26-
"@contentstack/cli-utilities": "~2.0.0-beta.3",
25+
"@contentstack/cli-command": "~2.0.0-beta.4",
26+
"@contentstack/cli-utilities": "~2.0.0-beta.4",
2727
"@oclif/core": "^4.3.0",
2828
"@oclif/plugin-help": "^6.2.28",
2929
"otplib": "^12.0.1"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/**
2+
* @contentstack/cli-utilities uses lazy-loaded Chalk 5; preload before tests that hit cliux.
3+
*/
4+
const { loadChalk } = require('@contentstack/cli-utilities');
5+
6+
exports.mochaHooks = {
7+
beforeAll() {
8+
this.timeout(30_000);
9+
return loadChalk();
10+
},
11+
};

packages/contentstack-command/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-command",
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
"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.3",
23+
"@contentstack/cli-utilities": "~2.0.0-beta.4",
2424
"contentstack": "^3.25.3",
2525
"@oclif/core": "^4.3.0",
2626
"@oclif/plugin-help": "^6.2.28"

packages/contentstack-config/.mocharc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"require": [
33
"ts-node/register",
4-
"source-map-support/register"
4+
"source-map-support/register",
5+
"test/helpers/mocha-root-hooks.js"
56
],
67
"watch-extensions": [
78
"ts"

packages/contentstack-config/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-config",
33
"description": "Contentstack CLI plugin for configuration",
4-
"version": "2.0.0-beta.4",
4+
"version": "2.0.0-beta.5",
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.3",
25-
"@contentstack/cli-utilities": "~2.0.0-beta.3",
24+
"@contentstack/cli-command": "~2.0.0-beta.4",
25+
"@contentstack/cli-utilities": "~2.0.0-beta.4",
2626
"@contentstack/utils": "~1.7.0",
2727
"@oclif/core": "^4.8.1",
2828
"@oclif/plugin-help": "^6.2.28",
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/**
2+
* @contentstack/cli-utilities uses lazy-loaded Chalk 5; preload before tests that hit cliux.success etc.
3+
*/
4+
const { loadChalk } = require('@contentstack/cli-utilities');
5+
6+
exports.mochaHooks = {
7+
beforeAll() {
8+
this.timeout(30_000);
9+
return loadChalk();
10+
},
11+
};

packages/contentstack-utilities/.mocharc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"require": [
33
"test/helpers/init.js",
44
"ts-node/register",
5-
"source-map-support/register"
5+
"source-map-support/register",
6+
"test/helpers/mocha-root-hooks.js"
67
],
78
"watch-extensions": [
89
"ts"

packages/contentstack-utilities/package.json

Lines changed: 2 additions & 2 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.3",
3+
"version": "2.0.0-beta.4",
44
"description": "Utilities for contentstack projects",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -37,7 +37,7 @@
3737
"@contentstack/marketplace-sdk": "^1.5.0",
3838
"@oclif/core": "^4.3.0",
3939
"axios": "^1.13.5",
40-
"chalk": "^4.1.2",
40+
"chalk": "^5.6.2",
4141
"cli-cursor": "^3.1.0",
4242
"cli-progress": "^3.12.0",
4343
"cli-table": "^0.3.11",

0 commit comments

Comments
 (0)