Skip to content

Commit 0eddc0c

Browse files
authored
Merge pull request #113 from contentstack/fix/revert-publishing-rules
revert publishing rules
2 parents 484f688 + da9b36c commit 0eddc0c

54 files changed

Lines changed: 591 additions & 1835 deletions

Some content is hidden

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

.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: d39a5776abcde242965c5f7d86e4b885a16a0feeb8230e9bc1c89aa78b047ecf
3+
checksum: 91b899dce1aff75164a1bd2a8b7dbb3d6d6babf4c3114a933b758131449d57e6
44
version: '1.0'

packages/contentstack-audit/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@types/node": "^20.17.50",
3838
"@types/uuid": "^9.0.8",
3939
"chai": "^4.5.0",
40-
"eslint": "^8.57.1",
40+
"eslint": "^9.26.0",
4141
"eslint-config-oclif": "^6.0.62",
4242
"eslint-config-oclif-typescript": "^3.1.14",
4343
"mocha": "^10.8.2",
@@ -83,4 +83,4 @@
8383
"keywords": [
8484
"oclif"
8585
]
86-
}
86+
}

packages/contentstack-bootstrap/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $ npm install -g @contentstack/cli-cm-bootstrap
1515
$ csdx COMMAND
1616
running command...
1717
$ csdx (--version)
18-
@contentstack/cli-cm-bootstrap/1.19.0 darwin-arm64 node-v24.14.0
18+
@contentstack/cli-cm-bootstrap/1.19.1 darwin-arm64 node-v24.14.0
1919
$ csdx --help [COMMAND]
2020
USAGE
2121
$ csdx COMMAND

packages/contentstack-bootstrap/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-cm-bootstrap",
33
"description": "Bootstrap contentstack apps",
4-
"version": "1.19.2",
4+
"version": "1.19.1",
55
"author": "Contentstack",
66
"bugs": "https://github.com/contentstack/cli/issues",
77
"scripts": {
@@ -16,7 +16,7 @@
1616
"test:report": "nyc --reporter=lcov mocha \"test/**/*.test.js\""
1717
},
1818
"dependencies": {
19-
"@contentstack/cli-cm-seed": "~1.15.2",
19+
"@contentstack/cli-cm-seed": "~1.15.1",
2020
"@contentstack/cli-command": "~1.8.1",
2121
"@contentstack/cli-config": "~1.20.2",
2222
"@contentstack/cli-utilities": "~1.18.2",
@@ -33,7 +33,7 @@
3333
"@types/node": "^14.18.63",
3434
"@types/tar": "^6.1.13",
3535
"chai": "^4.5.0",
36-
"eslint": "^8.57.1",
36+
"eslint": "^9.26.0",
3737
"eslint-config-oclif": "^6.0.62",
3838
"eslint-config-oclif-typescript": "^3.1.14",
3939
"mocha": "10.8.2",
@@ -73,4 +73,4 @@
7373
}
7474
},
7575
"repository": "contentstack/cli"
76-
}
76+
}

packages/contentstack-branches/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"chai": "^4.5.0",
2121
"dotenv": "^16.5.0",
2222
"dotenv-expand": "^9.0.0",
23-
"eslint": "^8.57.1",
23+
"eslint": "^9.26.0",
2424
"eslint-config-oclif": "^6.0.62",
2525
"mocha": "10.8.2",
2626
"nyc": "^15.1.0",
@@ -80,4 +80,4 @@
8080
}
8181
},
8282
"repository": "https://github.com/contentstack/cli"
83-
}
83+
}

packages/contentstack-bulk-publish/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"devDependencies": {
2020
"@oclif/test": "^4.1.18",
2121
"chai": "^4.5.0",
22-
"eslint": "^8.57.1",
22+
"eslint": "^9.26.0",
2323
"eslint-config-oclif": "^6.0.62",
2424
"mocha": "^10.8.2",
2525
"nyc": "^15.1.0",
@@ -98,4 +98,4 @@
9898
"version": "oclif readme && git add README.md",
9999
"clean": "rm -rf ./node_modules tsconfig.build.tsbuildinfo"
100100
}
101-
}
101+
}

packages/contentstack-clone/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "@contentstack/cli-cm-clone",
33
"description": "Contentstack stack clone plugin",
4-
"version": "1.21.3",
4+
"version": "1.21.2",
55
"author": "Contentstack",
66
"bugs": "https://github.com/rohitmishra209/cli-cm-clone/issues",
77
"dependencies": {
88
"@colors/colors": "^1.6.0",
9-
"@contentstack/cli-cm-export": "~1.25.0",
10-
"@contentstack/cli-cm-import": "~1.33.0",
9+
"@contentstack/cli-cm-export": "~1.24.2",
10+
"@contentstack/cli-cm-import": "~1.32.2",
1111
"@contentstack/cli-command": "~1.8.1",
1212
"@contentstack/cli-utilities": "~1.18.2",
1313
"@oclif/core": "^4.10.5",
@@ -28,7 +28,7 @@
2828
"@types/sinon": "^10.0.0",
2929
"@typescript-eslint/eslint-plugin": "^5.62.0",
3030
"chai": "^4.5.0",
31-
"eslint": "^8.57.1",
31+
"eslint": "^9.26.0",
3232
"eslint-config-oclif": "^6.0.62",
3333
"mocha": "^10.8.2",
3434
"nyc": "^15.1.0",
@@ -82,4 +82,4 @@
8282
"cm:stack-clone": "O-CLN"
8383
}
8484
}
85-
}
85+
}

packages/contentstack-export-to-csv/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@types/mkdirp": "^1.0.2",
2323
"@types/node": "^20.17.50",
2424
"chai": "^4.5.0",
25-
"eslint": "^8.57.1",
25+
"eslint": "^9.26.0",
2626
"eslint-config-oclif": "^6.0.62",
2727
"eslint-config-oclif-typescript": "^3.1.14",
2828
"mocha": "^10.8.2",
@@ -77,4 +77,4 @@
7777
"test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\"",
7878
"version": "oclif readme && git add README.md"
7979
}
80-
}
80+
}

packages/contentstack-export/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-cm-export",
33
"description": "Contentstack CLI plugin to export content from stack",
4-
"version": "1.25.0",
4+
"version": "1.24.2",
55
"author": "Contentstack",
66
"bugs": "https://github.com/contentstack/cli/issues",
77
"dependencies": {
@@ -35,7 +35,7 @@
3535
"chai": "^4.4.1",
3636
"dotenv": "^16.5.0",
3737
"dotenv-expand": "^9.0.0",
38-
"eslint": "^8.57.1",
38+
"eslint": "^9.26.0",
3939
"eslint-config-oclif": "^6.0.68",
4040
"mocha": "10.8.2",
4141
"nyc": "^15.1.0",
@@ -98,4 +98,4 @@
9898
}
9999
},
100100
"repository": "https://github.com/contentstack/cli"
101-
}
101+
}

packages/contentstack-export/src/commands/cm/stacks/export.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,14 @@ export default class ExportCommand extends Command {
121121
try {
122122
const { flags } = await this.parse(ExportCommand);
123123
const exportConfig = await setupExportConfig(flags);
124-
124+
125125
// Store apiKey in configHandler for session.json (return value not needed)
126126
createLogContext(
127127
this.context?.info?.command || 'cm:stacks:export',
128128
exportConfig.apiKey,
129-
exportConfig.authenticationMethod,
129+
exportConfig.authenticationMethod
130130
);
131-
131+
132132
// For log entries, only pass module (other fields are in session.json)
133133
exportConfig.context = { module: '' };
134134
//log.info(`Using Cli Version: ${this.context?.cliVersion}`, exportConfig.context);
@@ -143,7 +143,9 @@ export default class ExportCommand extends Command {
143143
if (!exportConfig.branches?.length) {
144144
writeExportMetaFile(exportConfig);
145145
}
146-
log.success(`The content of the stack ${exportConfig.apiKey} has been exported successfully!`);
146+
log.success(
147+
`The content of the stack ${exportConfig.apiKey} has been exported successfully!`,
148+
);
147149
log.info(`The exported content has been stored at '${exportDir}'.`, exportConfig.context);
148150
log.success(`The log has been stored at '${getLogPath()}'.`, exportConfig.context);
149151
} catch (error) {
@@ -152,6 +154,7 @@ export default class ExportCommand extends Command {
152154
}
153155
}
154156

157+
155158
// Assign values to exportConfig
156159
private assignExportConfig(exportConfig: ExportConfig): void {
157160
// Note setting host to create cma client

0 commit comments

Comments
 (0)