Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staging to development Back merge #1179

Merged
merged 42 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
6e8acb8
Test: Unit test cases added for utility and content-types audit command
antonyagustine Nov 6, 2023
f709d98
Package updates
antonyagustine Nov 7, 2023
661ffff
Reverted import logger change, .DS_Store file removed
antonyagustine Nov 7, 2023
a15ad7b
Code clean
antonyagustine Nov 7, 2023
6f6d716
Tests: Audit functionality unit test cases added for entry module
antonyagustine Nov 8, 2023
99c5942
Lint fixes
antonyagustine Nov 9, 2023
6409912
Code clean
antonyagustine Nov 9, 2023
f18e654
package.json updated
antonyagustine Nov 9, 2023
b8b519d
Feat: Add missing global fields schema in to content type if global f…
antonyagustine Nov 15, 2023
61a008d
Code clean
antonyagustine Nov 16, 2023
8ed35fb
Test: Mock data updated/modified
antonyagustine Nov 16, 2023
e31cf15
Doc: Updated doc reviewed UI texts
antonyagustine Nov 16, 2023
10f6f4d
Fix: Test case fix, Write csv fix
antonyagustine Nov 21, 2023
2fd4003
fixed the issue of bulkOperation not a function, version bump and aud…
cs-raj Nov 15, 2023
2919d08
changed ternary to if else
cs-raj Nov 17, 2023
ff891b4
added api check to check the validity of the management token
cs-raj Oct 31, 2023
da783a1
showing the error in the command itself
cs-raj Oct 31, 2023
49c3568
changed the variable name and added error handling to check if the re…
cs-raj Nov 3, 2023
87696a6
removed the process.exit from helper.ts
cs-raj Nov 7, 2023
cdbb3fc
solved the issue listOfToken is not defined
cs-raj Nov 21, 2023
683935a
version bumps
cs-raj Nov 22, 2023
3545920
pushing package-lock
cs-raj Nov 22, 2023
261fcae
dependency upgrade for mirgrate-rte
cs-raj Nov 22, 2023
44e9ffd
branch export fix
shafeeqd959 Nov 20, 2023
bd24d9c
fixed the issue when using only the alias without stack-api-key
cs-raj Nov 22, 2023
e0ed3ce
solved issue when invalid management token alias is passed
cs-raj Nov 22, 2023
5eb7f91
Merge pull request #1172 from contentstack/fix/branch-export
shafeeqd959 Nov 22, 2023
52f3e0d
Merge branch 'release/hotfix' into hotfix/raj
cs-raj Nov 23, 2023
0d884f1
Merge pull request #1173 from contentstack/hotfix/raj
cs-raj Nov 23, 2023
7aceb49
version bump
cs-raj Nov 23, 2023
6a36791
Merge pull request #1171 from contentstack/release/hotfix
cs-raj Nov 23, 2023
ce9b8d4
Release fixes
cs-raj Nov 23, 2023
7913658
Merge pull request #1174 from contentstack/release/hotfix
cs-raj Nov 23, 2023
30363c4
Fix: clean script fixed and unused types removed
antonyagustine Nov 23, 2023
45fc813
Merge pull request #1175 from contentstack/fix/dev-dependency-script
cs-raj Nov 24, 2023
aec0913
Merge branch 'staging' into main_to_stage
cs-raj Nov 24, 2023
51f8373
Merge pull request #1177 from contentstack/main_to_stage
cs-raj Nov 24, 2023
664de96
Merge branch 'development' into staging_to_development
cs-raj Nov 24, 2023
f2e5275
package-lock update
cs-raj Nov 24, 2023
9c06e4e
Merge branch 'development' into staging_to_development
cs-raj Nov 24, 2023
2965ad6
Merge branch 'development' into staging_to_development
cs-raj Nov 25, 2023
026e2e4
pnpm lock file update
cs-raj Nov 25, 2023
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
391 changes: 148 additions & 243 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions packages/contentstack-audit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@contentstack/cli-audit",
"version": "1.2.1",
"version": "1.3.0",
"description": "Contentstack audit plugin",
"author": "Contentstack CLI",
"homepage": "https://github.com/contentstack/cli",
Expand All @@ -18,8 +18,8 @@
"/oclif.manifest.json"
],
"dependencies": {
"@contentstack/cli-command": "~1.2.15",
"@contentstack/cli-utilities": "~1.5.5",
"@contentstack/cli-command": "~1.2.16",
"@contentstack/cli-utilities": "~1.5.7",
"@oclif/plugin-help": "^5",
"@oclif/plugin-plugins": "^3.8.4",
"chalk": "^4.1.2",
Expand All @@ -30,7 +30,7 @@
"winston": "^3.10.0"
},
"devDependencies": {
"@contentstack/cli-dev-dependencies": "^1.2.3",
"@contentstack/cli-dev-dependencies": "^1.2.4",
"@oclif/test": "^2.0.3",
"@types/chai": "^4.3.5",
"@types/fs-extra": "^11.0.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('BaseCommand class', () => {
const configPath = resolve(__dirname, 'mock', 'invalid-config.json');

await CMD.run([`--config=${configPath}`]);
expect(ctx.stdout).to.include('not valid JSON');
expect(ctx.stdout).to.include('Unexpected token');
});
});
});
6 changes: 3 additions & 3 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": "1.3.16",
"version": "1.3.17",
"author": "Contentstack",
"bugs": "https://github.com/contentstack/cli/issues",
"scripts": {
Expand All @@ -22,8 +22,8 @@
"test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\""
},
"dependencies": {
"@contentstack/cli-command": "~1.2.15",
"@contentstack/cli-utilities": "~1.5.5",
"@contentstack/cli-command": "~1.2.16",
"@contentstack/cli-utilities": "~1.5.7",
"chalk": "^4.0.0",
"debug": "^4.1.1",
"inquirer": "8.2.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/contentstack-bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
},
"dependencies": {
"@contentstack/cli-cm-seed": "~1.7.0",
"@contentstack/cli-command": "~1.2.15",
"@contentstack/cli-utilities": "~1.5.5",
"@contentstack/cli-command": "~1.2.16",
"@contentstack/cli-utilities": "~1.5.7",
"inquirer": "8.2.4",
"mkdirp": "^1.0.4",
"tar": "^6.1.13"
Expand Down
10 changes: 5 additions & 5 deletions packages/contentstack-branches/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"author": "Contentstack",
"bugs": "https://github.com/contentstack/cli/issues",
"dependencies": {
"@contentstack/cli-command": "~1.2.15",
"@contentstack/cli-utilities": "~1.5.6",
"@contentstack/cli-command": "~1.2.16",
"@contentstack/cli-utilities": "~1.5.7",
"@oclif/core": "^2.9.3",
"async": "^3.2.4",
"big-json": "^3.2.0",
Expand All @@ -25,9 +25,9 @@
"winston": "^3.7.2"
},
"devDependencies": {
"@contentstack/cli-auth": "~1.3.16",
"@contentstack/cli-config": "~1.4.14",
"@contentstack/cli-dev-dependencies": "~1.2.3",
"@contentstack/cli-auth": "~1.3.17",
"@contentstack/cli-config": "~1.4.15",
"@contentstack/cli-dev-dependencies": "~1.2.4",
"@oclif/plugin-help": "^5.1.19",
"@oclif/test": "^1.2.6",
"@types/flat": "^5.0.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/contentstack-bulk-publish/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@contentstack/cli-cm-bulk-publish",
"description": "Contentstack CLI plugin for bulk publish actions",
"version": "1.3.14",
"version": "1.3.15",
"author": "Contentstack",
"bugs": "https://github.com/contentstack/cli/issues",
"dependencies": {
"@contentstack/cli-command": "~1.2.15",
"@contentstack/cli-utilities": "~1.5.5",
"@contentstack/cli-command": "~1.2.16",
"@contentstack/cli-utilities": "~1.5.7",
"bluebird": "^3.7.2",
"chalk": "^4.1.2",
"dotenv": "^16.1.4",
Expand Down
14 changes: 10 additions & 4 deletions packages/contentstack-bulk-publish/src/util/retryfailed.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ module.exports = async (filename, queue, Type) => {
const logs = await getAllLogs(filename);
if (logs.file.length > 0) {
logs.file.forEach(async (log) => {
if (Type === 'bulk') {
log.message.options.stack = await getStack({ alias: log.message.alias, host: log.message.host });
const stackOptions = {host: log.message.host };
if(log.message.alias) {
stackOptions["alias"] = log.message.alias
} else {
stackOptions["stackApiKey"] = log.message.api_key
}
if (Type === 'bulk') {
log.message.options.stack = await getStack(stackOptions);
queue.Enqueue(log.message.options);
}
if (Type === 'publish') {
Expand All @@ -18,15 +24,15 @@ module.exports = async (filename, queue, Type) => {
entryUid: log.message.options.entryUid,
locale: log.message.options.locale,
Type: 'entry',
stack: await getStack({ alias: log.message.alias, host: log.message.host }),
stack: await getStack(stackOptions),
});
} else {
queue.assetQueue.Enqueue({
assetUid: log.message.options.assetUid,
publish_details: log.message.options.publish_assets,
environments: log.message.options.environments,
Type: 'asset',
stack: await getStack({ alias: log.message.alias, host: log.message.host }),
stack: await getStack(stackOptions),
});
}
}
Expand Down
10 changes: 5 additions & 5 deletions packages/contentstack-clone/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@contentstack/cli-cm-clone",
"description": "Contentstack stack clone plugin",
"version": "1.7.0",
"version": "1.7.1",
"author": "Contentstack",
"bugs": "https://github.com/rohitmishra209/cli-cm-clone/issues",
"dependencies": {
"@contentstack/cli-cm-export": "~1.10.0",
"@contentstack/cli-cm-import": "~1.11.0",
"@contentstack/cli-command": "~1.2.15",
"@contentstack/cli-utilities": "~1.5.5",
"@contentstack/cli-cm-export": "~1.10.1",
"@contentstack/cli-cm-import": "~1.11.1",
"@contentstack/cli-command": "~1.2.16",
"@contentstack/cli-utilities": "~1.5.7",
"@colors/colors": "^1.5.0",
"async": "^3.2.4",
"chalk": "^4.1.0",
Expand Down
4 changes: 2 additions & 2 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": "1.2.15",
"version": "1.2.16",
"author": "Contentstack",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -17,7 +17,7 @@
"format": "eslint src/**/*.ts --fix"
},
"dependencies": {
"@contentstack/cli-utilities": "~1.5.5",
"@contentstack/cli-utilities": "~1.5.7",
"contentstack": "^3.10.1"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 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": "1.4.14",
"version": "1.4.15",
"author": "Contentstack",
"scripts": {
"build": "npm run clean && npm run compile",
Expand All @@ -21,8 +21,8 @@
"test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\""
},
"dependencies": {
"@contentstack/cli-command": "~1.2.15",
"@contentstack/cli-utilities": "~1.5.5",
"@contentstack/cli-command": "~1.2.16",
"@contentstack/cli-utilities": "~1.5.7",
"chalk": "^4.0.0",
"debug": "^4.1.1",
"inquirer": "8.2.4",
Expand Down
9 changes: 5 additions & 4 deletions packages/contentstack-dev-dependencies/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@contentstack/cli-dev-dependencies",
"version": "1.2.3",
"version": "1.2.4",
"description": "Customized dev dependencies for ContentStack projects",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"prepack": "npm run clean && npm run compile",
"clean": "rm -rf ./lib ./node_modules tsconfig.build.tsbuildinfo",
"clean": "rm -rf ./lib tsconfig.build.tsbuildinfo",
"compile": "tsc -b tsconfig.json",
"lint": "eslint src/**/*.ts",
"format": "eslint src/**/*.ts --fix"
Expand All @@ -22,12 +22,13 @@
"license": "MIT",
"dependencies": {
"@oclif/core": "^2.9.3",
"lodash": "^4.17.21"
"lodash": "^4.17.21",
"fancy-test": "^2.0.0",
"@oclif/test":"^2.0.3"
},
"devDependencies": {
"@types/node": "^14.14.32",
"eslint": "^7.32.0",
"fancy-test": "^2.0.0",
"mocha": "10.1.0",
"ts-node": "^10.9.1",
"tslib": "^2.5.0",
Expand Down

This file was deleted.

This file was deleted.

Loading
Loading