diff --git a/package-lock.json b/package-lock.json index cea26188de..f6f337e759 100644 --- a/package-lock.json +++ b/package-lock.json @@ -898,9 +898,9 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.10.1", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.1.tgz", - "integrity": "sha512-Zm2NGpWELsQAD1xsJzGQpYfvICSsFkEpU0jxBjfdC6uNEWXcHnfs9hScFWtXVDVl+rBQJGrl4g1vcKIejpH9dA==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", + "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", "dev": true, "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" @@ -2235,9 +2235,9 @@ } }, "node_modules/@oclif/plugin-plugins": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/@oclif/plugin-plugins/-/plugin-plugins-5.3.2.tgz", - "integrity": "sha512-jdaRfNBQmFgCP0xXWJqSntxnO3TJtIa0IRSLO1ZQsjzuclldH00/XG0ZdRUS24KNU78XBVkuQ4h3sTSlFHqBeQ==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/@oclif/plugin-plugins/-/plugin-plugins-5.3.3.tgz", + "integrity": "sha512-W071oAdmdMpHwI1q9kGcuKijP6zwuZXi2rQvzEGivjwg/Uj51B1RNKvOYy/O7pd0lCZu+1s6LAZmb8wCwii6yQ==", "dependencies": { "@oclif/core": "^4", "ansis": "^3.2.0", @@ -4610,9 +4610,9 @@ } }, "node_modules/aws-sdk": { - "version": "2.1650.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1650.0.tgz", - "integrity": "sha512-VZzpqGyHps7TiRedgRAPF6TmUoUrhFbSuNgnX212EQ5/eS3/ktkHsxPAPH4PrnThcYhbVkyseCiFtZ8qtOeDjQ==", + "version": "2.1651.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1651.0.tgz", + "integrity": "sha512-MZjQvvOPkKcx1N428ejUjqSfhm4TAIcgPIgpniiDMw1LjB1yA8JBZvrWer6J6MACAXQ99v0uKE4BSvtYn+AT3g==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -5357,9 +5357,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001638", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001638.tgz", - "integrity": "sha512-5SuJUJ7cZnhPpeLHaH0c/HPAnAHZvS6ElWyHK9GSIbVOQABLzowiI2pjmpvZ1WEbkyz46iFd4UXlOHR5SqgfMQ==", + "version": "1.0.30001639", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001639.tgz", + "integrity": "sha512-eFHflNTBIlFwP2AIKaYuBQN/apnUoKNhBdza8ZnW/h2di4LCZ4xFqYlxUxo+LQ76KFI1PGcC1QDxMbxTZpSCAg==", "dev": true, "funding": [ { @@ -6910,9 +6910,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.814", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.814.tgz", - "integrity": "sha512-GVulpHjFu1Y9ZvikvbArHmAhZXtm3wHlpjTMcXNGKl4IQ4jMQjlnz8yMQYYqdLHKi/jEL2+CBC2akWVCoIGUdw==", + "version": "1.4.815", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.815.tgz", + "integrity": "sha512-OvpTT2ItpOXJL7IGcYakRjHCt8L5GrrN/wHCQsRB4PQa1X9fe+X9oen245mIId7s14xvArCGSTIq644yPUKKLg==", "dev": true }, "node_modules/elegant-spinner": { @@ -11594,9 +11594,9 @@ } }, "node_modules/istanbul-lib-instrument": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.2.tgz", - "integrity": "sha512-1WUsZ9R1lA0HtBSohTkm39WTPlNKSJ5iFk7UwqXkBLoHQT+hfqPsfsTDVuZdKGaBwn7din9bS7SsnoAr943hvw==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz", + "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==", "dev": true, "dependencies": { "@babel/core": "^7.23.9", @@ -24893,12 +24893,12 @@ "license": "MIT", "dependencies": { "@contentstack/cli-audit": "~1.6.3", - "@contentstack/cli-auth": "~1.3.18", + "@contentstack/cli-auth": "~1.3.19", "@contentstack/cli-cm-bootstrap": "~1.9.3", - "@contentstack/cli-cm-branches": "~1.1.0", + "@contentstack/cli-cm-branches": "~1.1.1", "@contentstack/cli-cm-bulk-publish": "~1.4.7", "@contentstack/cli-cm-clone": "~1.10.6", - "@contentstack/cli-cm-export": "~1.11.4", + "@contentstack/cli-cm-export": "~1.11.5", "@contentstack/cli-cm-export-to-csv": "~1.7.1", "@contentstack/cli-cm-import": "~1.16.0", "@contentstack/cli-cm-migrate-rte": "~1.4.17", @@ -25231,7 +25231,7 @@ }, "packages/contentstack-auth": { "name": "@contentstack/cli-auth", - "version": "1.3.18", + "version": "1.3.19", "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.2.18", @@ -25351,7 +25351,7 @@ }, "packages/contentstack-branches": { "name": "@contentstack/cli-cm-branches", - "version": "1.1.0", + "version": "1.1.1", "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.2.18", @@ -25374,7 +25374,7 @@ "winston": "^3.7.2" }, "devDependencies": { - "@contentstack/cli-auth": "~1.3.18", + "@contentstack/cli-auth": "~1.3.19", "@contentstack/cli-config": "~1.6.4", "@contentstack/cli-dev-dependencies": "~1.2.4", "@oclif/plugin-help": "^5.1.19", @@ -25441,7 +25441,7 @@ "license": "MIT", "dependencies": { "@colors/colors": "^1.5.0", - "@contentstack/cli-cm-export": "~1.11.4", + "@contentstack/cli-cm-export": "~1.11.5", "@contentstack/cli-cm-import": "~1.16.0", "@contentstack/cli-command": "~1.2.18", "@contentstack/cli-utilities": "~1.6.3", @@ -26007,7 +26007,7 @@ }, "packages/contentstack-export": { "name": "@contentstack/cli-cm-export", - "version": "1.11.4", + "version": "1.11.5", "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.2.18", @@ -26029,7 +26029,7 @@ "winston": "^3.7.2" }, "devDependencies": { - "@contentstack/cli-auth": "~1.3.18", + "@contentstack/cli-auth": "~1.3.19", "@contentstack/cli-config": "~1.6.4", "@contentstack/cli-dev-dependencies": "~1.2.4", "@oclif/plugin-help": "^5.1.19", diff --git a/packages/contentstack-audit/README.md b/packages/contentstack-audit/README.md index f677026a45..4bf303665c 100644 --- a/packages/contentstack-audit/README.md +++ b/packages/contentstack-audit/README.md @@ -267,7 +267,7 @@ EXAMPLES $ csdx plugins ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.2/src/commands/plugins/index.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/index.ts)_ ## `csdx plugins:add PLUGIN` @@ -341,7 +341,7 @@ EXAMPLES $ csdx plugins:inspect myplugin ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.2/src/commands/plugins/inspect.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/inspect.ts)_ ## `csdx plugins:install PLUGIN` @@ -390,7 +390,7 @@ EXAMPLES $ csdx plugins:install someuser/someplugin ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.2/src/commands/plugins/install.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/install.ts)_ ## `csdx plugins:link PATH` @@ -420,7 +420,7 @@ EXAMPLES $ csdx plugins:link myplugin ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.2/src/commands/plugins/link.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/link.ts)_ ## `csdx plugins:remove [PLUGIN]` @@ -461,7 +461,7 @@ FLAGS --reinstall Reinstall all plugins after uninstalling. ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.2/src/commands/plugins/reset.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/reset.ts)_ ## `csdx plugins:uninstall [PLUGIN]` @@ -489,7 +489,7 @@ EXAMPLES $ csdx plugins:uninstall myplugin ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.2/src/commands/plugins/uninstall.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/uninstall.ts)_ ## `csdx plugins:unlink [PLUGIN]` @@ -533,5 +533,5 @@ DESCRIPTION Update installed plugins. ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.2/src/commands/plugins/update.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/update.ts)_ diff --git a/packages/contentstack-auth/README.md b/packages/contentstack-auth/README.md index cfb1001837..e2a9630df0 100644 --- a/packages/contentstack-auth/README.md +++ b/packages/contentstack-auth/README.md @@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-auth $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-auth/1.3.18 darwin-arm64 node-v22.2.0 +@contentstack/cli-auth/1.3.19 darwin-arm64 node-v22.2.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-auth/package.json b/packages/contentstack-auth/package.json index e2dfacda3a..ae2d91c4f3 100644 --- a/packages/contentstack-auth/package.json +++ b/packages/contentstack-auth/package.json @@ -1,7 +1,7 @@ { "name": "@contentstack/cli-auth", "description": "Contentstack CLI plugin for authentication activities", - "version": "1.3.18", + "version": "1.3.19", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "scripts": { diff --git a/packages/contentstack-auth/test/config.json b/packages/contentstack-auth/test/config.json index c7dbf55074..3ff208ec06 100644 --- a/packages/contentstack-auth/test/config.json +++ b/packages/contentstack-auth/test/config.json @@ -1,5 +1,8 @@ { "IS_TS": true, "UNIT_EXECUTION_ORDER": [], - "INTEGRATION_EXECUTION_ORDER": [] + "INTEGRATION_EXECUTION_ORDER": [], + "password": "testpassword", + "invalidPassowrd": "invalidpassword", + "validAPIKey": "adasdfagsf" } \ No newline at end of file diff --git a/packages/contentstack-auth/test/integration/auth.test.ts b/packages/contentstack-auth/test/integration/auth.test.ts index 410f69636d..cc5fa2b821 100644 --- a/packages/contentstack-auth/test/integration/auth.test.ts +++ b/packages/contentstack-auth/test/integration/auth.test.ts @@ -3,14 +3,14 @@ import { expect, test } from '@oclif/test'; // @ts-ignore import { Helper } from './helper'; // @ts-ignore -import { PRINT_LOGS } from './config.json'; +import { PRINT_LOGS, encryptionKey } from './config.json'; import { cliux as CliUx, messageHandler, NodeCrypto } from '@contentstack/cli-utilities'; const messageFilePath = path.join(__dirname, '..', '..', '..', 'contentstack-utilities', 'messages/auth.json'); const crypto = new NodeCrypto({ typeIdentifier: '◈', algorithm: 'aes-192-cbc', - encryptionKey: process.env.ENCRYPTION_KEY || '***REMOVED***' + encryptionKey: process.env.ENCRYPTION_KEY || encryptionKey }); const username = process.env.ENCRYPTION_KEY ? crypto.decrypt(process.env.USERNAME) : process.env.USERNAME const password = process.env.ENCRYPTION_KEY ? crypto.decrypt(process.env.PASSWORD) : process.env.PASSWORD diff --git a/packages/contentstack-auth/test/integration/config.json b/packages/contentstack-auth/test/integration/config.json index 8f526f9fc8..a83644de5e 100644 --- a/packages/contentstack-auth/test/integration/config.json +++ b/packages/contentstack-auth/test/integration/config.json @@ -1,3 +1,4 @@ { - "PRINT_LOGS": false + "PRINT_LOGS": false, + "encryptionKey": "***REMOVED***" } \ No newline at end of file diff --git a/packages/contentstack-auth/test/unit/auth-handler.test.ts b/packages/contentstack-auth/test/unit/auth-handler.test.ts index ead258f36f..a200ff0f71 100644 --- a/packages/contentstack-auth/test/unit/auth-handler.test.ts +++ b/packages/contentstack-auth/test/unit/auth-handler.test.ts @@ -3,10 +3,11 @@ import * as sinon from 'sinon'; import { authHandler, interactive } from '../../src/utils'; import { CLIError, cliux } from '@contentstack/cli-utilities'; import { User } from '../../src/interfaces'; +import * as config from '../config.json'; const user: User = { email: '***REMOVED***', authtoken: 'testtoken' }; -const credentials = { email: '***REMOVED***', password: 'testpassword' }; -const invalidCredentials = { email: '***REMOVED***', password: 'invalidpassword' }; +const credentials = { email: '***REMOVED***', password: config.password }; +const invalidCredentials = { email: '***REMOVED***', password: config.invalidPassowrd }; let TFAEnabled = false; let TFAChannel = 'authy'; const TFATestToken = '24563992'; diff --git a/packages/contentstack-auth/test/unit/commands/login.test.ts b/packages/contentstack-auth/test/unit/commands/login.test.ts index c91a4d106f..21ed79e743 100644 --- a/packages/contentstack-auth/test/unit/commands/login.test.ts +++ b/packages/contentstack-auth/test/unit/commands/login.test.ts @@ -3,12 +3,13 @@ import * as sinon from 'sinon'; import LoginCommand from '../../../src/commands/auth/login'; import { authHandler, interactive } from '../../../src/utils'; import { configHandler, cliux } from '@contentstack/cli-utilities'; +import * as conf from '../../config.json'; const config = configHandler; const user = { email: '***REMOVED***', authtoken: 'testtoken' }; -const credentials = { email: '***REMOVED***', password: 'testpassword' }; -const invalidCredentials = { email: '***REMOVED***', password: 'invalidpassword' }; +const credentials = { email: '***REMOVED***', password: conf.password }; +const invalidCredentials = { email: '***REMOVED***', password: conf.invalidPassowrd }; const TFATestToken = '24563992'; describe('Login Command', () => { diff --git a/packages/contentstack-auth/test/unit/commands/tokens-add.test.ts b/packages/contentstack-auth/test/unit/commands/tokens-add.test.ts index 091d4806f8..d7003bfa23 100644 --- a/packages/contentstack-auth/test/unit/commands/tokens-add.test.ts +++ b/packages/contentstack-auth/test/unit/commands/tokens-add.test.ts @@ -5,6 +5,7 @@ import TokensAddCommand from '../../../src/commands/auth/tokens/add'; import { tokenValidation } from '../../../src/utils'; import { stub, assert } from 'sinon'; import { config as dotenvConfig } from 'dotenv'; +import * as conf from '../../config.json'; dotenvConfig(); @@ -24,7 +25,7 @@ describe('Tokens Add Command', () => { let managementTokenValidationStub; let environmentTokenValidationStub; let printStub; - const validAPIKey = 'adasdfagsf'; + const validAPIKey = conf.validAPIKey; const validDeliveryToken = '***REMOVED***'; const validmanagementToken = 'cmajhsd98939482'; const validEnvironment = 'textenv'; diff --git a/packages/contentstack-auth/test/unit/interactive.test.ts b/packages/contentstack-auth/test/unit/interactive.test.ts index c6012112d0..4e39338e1a 100644 --- a/packages/contentstack-auth/test/unit/interactive.test.ts +++ b/packages/contentstack-auth/test/unit/interactive.test.ts @@ -2,6 +2,7 @@ import { expect } from 'chai'; import * as sinon from 'sinon'; import { interactive } from '../../src/utils'; import { cliux } from '@contentstack/cli-utilities'; +import * as config from '../config.json' describe('Interactive', () => { let inquireStub; @@ -31,7 +32,7 @@ describe('Interactive', () => { }); it('ask password', async function () { - const password = 'testpassword'; + const password = config.password inquireStub.callsFake(function () { return Promise.resolve(password); }); diff --git a/packages/contentstack-branches/README.md b/packages/contentstack-branches/README.md index 69275998d1..d03133d56f 100755 --- a/packages/contentstack-branches/README.md +++ b/packages/contentstack-branches/README.md @@ -37,7 +37,7 @@ $ npm install -g @contentstack/cli-cm-branches $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-cm-branches/1.1.0 darwin-arm64 node-v22.2.0 +@contentstack/cli-cm-branches/1.1.1 darwin-arm64 node-v22.2.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-branches/package.json b/packages/contentstack-branches/package.json index 7512d6b5fb..108557efc5 100644 --- a/packages/contentstack-branches/package.json +++ b/packages/contentstack-branches/package.json @@ -1,7 +1,7 @@ { "name": "@contentstack/cli-cm-branches", "description": "Contentstack CLI plugin to do branches operations", - "version": "1.1.0", + "version": "1.1.1", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { @@ -25,7 +25,7 @@ "winston": "^3.7.2" }, "devDependencies": { - "@contentstack/cli-auth": "~1.3.18", + "@contentstack/cli-auth": "~1.3.19", "@contentstack/cli-config": "~1.6.4", "@contentstack/cli-dev-dependencies": "~1.2.4", "@oclif/plugin-help": "^5.1.19", diff --git a/packages/contentstack-branches/src/utils/create-merge-scripts.ts b/packages/contentstack-branches/src/utils/create-merge-scripts.ts index 7b86b04358..bc1c7c3b31 100644 --- a/packages/contentstack-branches/src/utils/create-merge-scripts.ts +++ b/packages/contentstack-branches/src/utils/create-merge-scripts.ts @@ -7,8 +7,9 @@ import { assetFolderCreateScript } from './asset-folder-create-script'; type CreateMergeScriptsProps = { uid: string; - entry_merge_strategy: string; + entry_merge_strategy?: string; type?: string; + status?: string; }; export function generateMergeScripts(mergeSummary, mergeJobUID) { @@ -43,11 +44,8 @@ export function generateMergeScripts(mergeSummary, mergeJobUID) { cliux.print(`Info: Entries of ${messageType} content types selected for the migration`, { color: 'blue' }); } }; - - processContentType( - { type: 'assets', uid: '', entry_merge_strategy: '' }, - mergeStrategies['asset_create_folder'], - ); + + processContentType({ type: 'assets', uid: '', entry_merge_strategy: '' }, mergeStrategies['asset_create_folder']); processContentTypes(mergeSummary.modified, 'Modified'); processContentTypes(mergeSummary.added, 'New'); @@ -92,13 +90,13 @@ export function createMergeScripts(contentType: CreateMergeScriptsProps, mergeJo fs.mkdirSync(fullPath); } let filePath: string; - let milliSeconds = date.getMilliseconds().toString().padStart(3, '0') + let milliSeconds = date.getMilliseconds().toString().padStart(3, '0'); if (contentType.type === 'assets') { filePath = `${fullPath}/${fileCreatedAt}${milliSeconds}_create_assets_folder.js`; } else { - filePath = `${fullPath}/${fileCreatedAt}${milliSeconds}_${getContentTypeMergeStatus(contentType.entry_merge_strategy)}_${ - contentType.uid - }.js`; + filePath = `${fullPath}/${fileCreatedAt}${milliSeconds}_${getContentTypeMergeStatus( + contentType.entry_merge_strategy, + )}_${contentType.uid}.js`; } fs.writeFileSync(filePath, content, 'utf-8'); } diff --git a/packages/contentstack-branches/test/config.json b/packages/contentstack-branches/test/config.json index 8b9e929db3..30afc5d01d 100644 --- a/packages/contentstack-branches/test/config.json +++ b/packages/contentstack-branches/test/config.json @@ -1,5 +1,9 @@ { "IS_TS": false, "UNIT_EXECUTION_ORDER": [], - "INTEGRATION_EXECUTION_ORDER": [] + "INTEGRATION_EXECUTION_ORDER": [], + "stackAPIKey": "***REMOVED***", + "apiKey": "afdgaffsdg", + "stackAPIKey2": "abcdscdxx", + "api_key": "testString" } \ No newline at end of file diff --git a/packages/contentstack-branches/test/unit/mock/data.ts b/packages/contentstack-branches/test/unit/mock/data.ts index b4bfd53914..cf6fdbcec8 100644 --- a/packages/contentstack-branches/test/unit/mock/data.ts +++ b/packages/contentstack-branches/test/unit/mock/data.ts @@ -1,23 +1,24 @@ +const config = require('../../config.json'); const mockData = { flags: { baseBranch: 'main', compareBranch: 'dev', - stackAPIKey: '***REMOVED***', + stackAPIKey: config.stackAPIKey, module: 'content-types', format: 'compactfield', }, withoutBaseFlag: { compareBranch: 'dev', - stackAPIKey: '***REMOVED***', + stackAPIKey: config.stackAPIKey, module: 'content-types', format: 'compactfield', }, withoutCompareFlag: { baseBranch: 'main', - stackAPIKey: '***REMOVED***', + stackAPIKey: config.stackAPIKey, module: 'content-types', format: 'compactfield', - compareBranch:'' + compareBranch: '', }, withoutAPIKeyFlag: { baseBranch: 'main', @@ -29,9 +30,9 @@ const mockData = { withoutModuleFlag: { baseBranch: 'main', compareBranch: 'dev', - stackAPIKey: '***REMOVED***', + stackAPIKey: config.stackAPIKey, format: 'compactfield', - module:'' + module: '', }, data: { base: 'main', @@ -142,7 +143,7 @@ const mockData = { }, branchDiffPayload: { module: 'content_type', - apiKey: 'afdgaffsdg', + apiKey: config.apiKey, baseBranch: 'main', compareBranch: 'dev', }, @@ -406,7 +407,7 @@ const mockData = { strategy: 'merge_prefer_base', strategySubOption: 'merge_new_only', branchCompareData: '', - stackAPIKey: 'abcdscdxx', + stackAPIKey: config.stackAPIKey2, baseBranch: 'main', host: '', enableEntryExp: false, @@ -416,7 +417,7 @@ const mockData = { strategy: '', strategySubOption: '', branchCompareData: {}, - stackAPIKey: 'abcdscdxx', + stackAPIKey: config.stackAPIKey2, baseBranch: 'main', host: '', enableEntryExp: false, @@ -533,13 +534,13 @@ const branchMockData = { items: [ { stackHeaders: { - api_key: '***REMOVED***', + api_key: config.api_key, }, urlPath: '/stacks/branches/new_branch', uid: 'new_branch', source: 'main', - created_by: '***REMOVED***xxx', - updated_by: '***REMOVED***xxx', + created_by: 'testStringxxx', + updated_by: 'testStringxxx', created_at: '2023-03-02T12:53:18.809Z', updated_at: '2023-03-02T12:53:19.208Z', deleted_at: false, @@ -547,13 +548,13 @@ const branchMockData = { }, { stackHeaders: { - api_key: '***REMOVED***xxx', + api_key: config.api_key, }, urlPath: '/stacks/branches/test_branch', uid: 'test_branch', source: 'main', - created_by: '***REMOVED***xxx', - updated_by: '***REMOVED***xxx', + created_by: 'testStringxxx', + updated_by: 'testStringxxx', created_at: '2023-03-01T09:36:18.174Z', updated_at: '2023-03-01T09:36:18.538Z', deleted_at: false, @@ -561,13 +562,13 @@ const branchMockData = { }, { stackHeaders: { - api_key: '***REMOVED***xxx', + api_key: config.api_key, }, urlPath: '/stacks/branches/new', uid: 'new', source: 'main', - created_by: '***REMOVED***xxx', - updated_by: '***REMOVED***xxx', + created_by: 'testStringxxx', + updated_by: 'testStringxxx', created_at: '2023-01-11T08:55:51.556Z', updated_at: '2023-01-11T08:55:51.869Z', deleted_at: false, @@ -575,13 +576,13 @@ const branchMockData = { }, { stackHeaders: { - api_key: '***REMOVED***xxx', + api_key: config.api_key, }, urlPath: '/stacks/branches/main', uid: 'main', source: '', - created_by: '***REMOVED***xxx', - updated_by: '***REMOVED***xxx', + created_by: 'testStringxxx', + updated_by: 'testStringxxx', created_at: '2022-09-27T06:11:29.016Z', updated_at: '2022-11-18T09:54:41.671Z', deleted_at: false, @@ -589,13 +590,13 @@ const branchMockData = { }, { stackHeaders: { - api_key: '***REMOVED***xxx', + api_key: config.api_key, }, urlPath: '/stacks/branches/release', uid: 'release', source: 'develop', - created_by: '***REMOVED***xxx', - updated_by: '***REMOVED***xxx', + created_by: 'testStringxxx', + updated_by: 'testStringxxx', created_at: '2022-10-30T18:37:05.875Z', updated_at: '2022-11-18T09:42:22.266Z', deleted_at: false, @@ -805,8 +806,8 @@ const baseAndCompareChanges = { path: 'social', uid: 'social', displayName: 'Social', - fieldType: 'group' - } + fieldType: 'group', + }, }, added: {}, deleted: { @@ -814,9 +815,9 @@ const baseAndCompareChanges = { path: 'social.social_share', uid: 'social_share', displayName: 'Social Share', - fieldType: 'group' - } - } + fieldType: 'group', + }, + }, }, compareHavingSchema: { modified: { @@ -824,45 +825,45 @@ const baseAndCompareChanges = { path: 'social', uid: 'social', displayName: 'Social', - fieldType: 'group' - } + fieldType: 'group', + }, }, added: { 'social.social_share': { path: 'social.social_share', uid: 'social_share', displayName: 'Social Share', - fieldType: 'group' - } + fieldType: 'group', + }, }, - deleted: {} + deleted: {}, }, - modifiedFieldRes:{ + modifiedFieldRes: { listOfAddedFields: [ { path: undefined, displayName: undefined, uid: undefined, - field: undefined - } + field: undefined, + }, ], listOfDeletedFields: [ { path: 'single_line_fieldbox33', displayName: 'Single Line fieldbox33', uid: 'single_line_fieldbox33', - field: 'compactfield' - } + field: 'compactfield', + }, ], listOfModifiedFields: [ { path: 'title', displayName: 'Name', uid: 'title', - field: 'metadata' - } - ] - } + field: 'metadata', + }, + ], + }, }; export { @@ -874,5 +875,5 @@ export { compareBranchDiff, compareBranchNoSchema, baseBranchNoSchema, - baseAndCompareChanges + baseAndCompareChanges, }; diff --git a/packages/contentstack-clone/package.json b/packages/contentstack-clone/package.json index bbd1a4c024..5152a90b71 100644 --- a/packages/contentstack-clone/package.json +++ b/packages/contentstack-clone/package.json @@ -6,7 +6,7 @@ "bugs": "https://github.com/rohitmishra209/cli-cm-clone/issues", "dependencies": { "@colors/colors": "^1.5.0", - "@contentstack/cli-cm-export": "~1.11.4", + "@contentstack/cli-cm-export": "~1.11.5", "@contentstack/cli-cm-import": "~1.16.0", "@contentstack/cli-command": "~1.2.18", "@contentstack/cli-utilities": "~1.6.3", diff --git a/packages/contentstack-clone/test/dummyConfig/config.json b/packages/contentstack-clone/test/dummyConfig/config.json new file mode 100644 index 0000000000..b3a42c91f9 --- /dev/null +++ b/packages/contentstack-clone/test/dummyConfig/config.json @@ -0,0 +1,3 @@ +{ + "auth_token": "dummyToken" +} \ No newline at end of file diff --git a/packages/contentstack-clone/test/dummyConfig/index.js b/packages/contentstack-clone/test/dummyConfig/index.js index 588dfd6ba5..7f72842c0c 100644 --- a/packages/contentstack-clone/test/dummyConfig/index.js +++ b/packages/contentstack-clone/test/dummyConfig/index.js @@ -1,8 +1,10 @@ +import * as config from './config.json'; + module.exports = { versioning: false, host: 'https://app.contentstack.com', source_stack: 'dummyKey', - auth_token: 'dummyToken', + auth_token: config.auth_token, modules: { types: [ 'stack', diff --git a/packages/contentstack-export/README.md b/packages/contentstack-export/README.md index 160abccd3e..1e649d5e37 100755 --- a/packages/contentstack-export/README.md +++ b/packages/contentstack-export/README.md @@ -48,7 +48,7 @@ $ npm install -g @contentstack/cli-cm-export $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-cm-export/1.11.4 darwin-arm64 node-v22.2.0 +@contentstack/cli-cm-export/1.11.5 darwin-arm64 node-v22.2.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-export/package.json b/packages/contentstack-export/package.json index 6d7c670318..e5ff711403 100644 --- a/packages/contentstack-export/package.json +++ b/packages/contentstack-export/package.json @@ -1,7 +1,7 @@ { "name": "@contentstack/cli-cm-export", "description": "Contentstack CLI plugin to export content from stack", - "version": "1.11.4", + "version": "1.11.5", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { @@ -24,7 +24,7 @@ "winston": "^3.7.2" }, "devDependencies": { - "@contentstack/cli-auth": "~1.3.18", + "@contentstack/cli-auth": "~1.3.19", "@contentstack/cli-config": "~1.6.4", "@contentstack/cli-dev-dependencies": "~1.2.4", "@oclif/plugin-help": "^5.1.19", diff --git a/packages/contentstack-export/test/config.json b/packages/contentstack-export/test/config.json index d8f338c54e..c1dc5e49e0 100644 --- a/packages/contentstack-export/test/config.json +++ b/packages/contentstack-export/test/config.json @@ -3,5 +3,6 @@ "UNIT_EXECUTION_ORDER": [], "INTEGRATION_EXECUTION_ORDER": [], "ENABLE_PREREQUISITES": true, - "REGIONS": ["NA", "EU", "AZURE-NA", "AZURE-EU"] + "REGIONS": ["NA", "EU", "AZURE-NA", "AZURE-EU"], + "apiKey": "***REMOVED***" } \ No newline at end of file diff --git a/packages/contentstack-export/test/integration/config.json b/packages/contentstack-export/test/integration/config.json index 81218da0fa..397e05a2c7 100644 --- a/packages/contentstack-export/test/integration/config.json +++ b/packages/contentstack-export/test/integration/config.json @@ -3,5 +3,6 @@ "REGION_NAME": "NA", "DEFAULT_TIMEOUT": 600000, "EXPORT_PATH": "./contents", - "ALIAS_NAME": "marketplace_api" + "ALIAS_NAME": "marketplace_api", + "encryptionKey": "***REMOVED***" } \ No newline at end of file diff --git a/packages/contentstack-export/test/integration/init.test.js b/packages/contentstack-export/test/integration/init.test.js index 105e507ce8..aeca54047d 100644 --- a/packages/contentstack-export/test/integration/init.test.js +++ b/packages/contentstack-export/test/integration/init.test.js @@ -6,7 +6,7 @@ const { getEnvData, getStackDetailsByRegion } = require('./utils/helper') const LoginCommand = require('@contentstack/cli-auth/lib/commands/auth/login').default const AddTokenCommand = require('@contentstack/cli-auth/lib/commands/auth/tokens/add').default const RegionSetCommand = require('@contentstack/cli-config/lib/commands/config/set/region').default -const { DEFAULT_TIMEOUT, PRINT_LOGS, ALIAS_NAME } = require("./config.json") +const { DEFAULT_TIMEOUT, PRINT_LOGS, ALIAS_NAME, encryptionKey } = require("./config.json") const { ENCRYPTION_KEY, USERNAME, PASSWORD } = getEnvData() const { APP_ENV, DELIMITER, KEY_VAL_DELIMITER } = process.env @@ -14,7 +14,7 @@ const { APP_ENV, DELIMITER, KEY_VAL_DELIMITER } = process.env const crypto = new NodeCrypto({ typeIdentifier: '◈', algorithm: 'aes-192-cbc', - encryptionKey: ENCRYPTION_KEY || '***REMOVED***' + encryptionKey: ENCRYPTION_KEY || encryptionKey }); module.exports = (region) => { diff --git a/packages/contentstack-export/test/tsconfig.json b/packages/contentstack-export/test/tsconfig.json index a0f0f6893f..f6994c93ce 100644 --- a/packages/contentstack-export/test/tsconfig.json +++ b/packages/contentstack-export/test/tsconfig.json @@ -5,6 +5,6 @@ "resolveJsonModule": true }, "references": [ - {"path": ".."} + {"path": "../"} ] } diff --git a/packages/contentstack-export/test/unit/mock/assets.ts b/packages/contentstack-export/test/unit/mock/assets.ts index 99a5c37642..d9daee1365 100644 --- a/packages/contentstack-export/test/unit/mock/assets.ts +++ b/packages/contentstack-export/test/unit/mock/assets.ts @@ -1,10 +1,12 @@ +import * as config from '../../config.json'; + const mockData = { findOneData: {}, countData: { assets: 5 }, findData: { items: [ { - stackHeaders: { api_key: '***REMOVED***' }, + stackHeaders: { api_key: config.apiKey }, urlPath: '/assets/scd', uid: 'hbjdjcy83kjxc', content_type: 'image/jpeg', @@ -15,7 +17,7 @@ const mockData = { _version: 1, }, { - stackHeaders: { api_key: '***REMOVED***' }, + stackHeaders: { api_key: config.apiKey }, urlPath: '/assets/scd', uid: 'hbjdjcy83kjxc', content_type: 'image/jpeg', @@ -26,7 +28,7 @@ const mockData = { _version: 2, }, { - stackHeaders: { api_key: '***REMOVED***' }, + stackHeaders: { api_key: config.apiKey }, urlPath: '/assets/scd', uid: 'hbjdjcy83kjxc', content_type: 'image/jpeg', diff --git a/packages/contentstack-import/test/integration/init.test.js b/packages/contentstack-import/test/integration/init.test.js index 67e8998b17..b1e9ec25ca 100644 --- a/packages/contentstack-import/test/integration/init.test.js +++ b/packages/contentstack-import/test/integration/init.test.js @@ -6,7 +6,7 @@ const { getEnvData, getStackDetailsByRegion } = require('./utils/helper'); const LoginCommand = require('@contentstack/cli-auth/lib/commands/auth/login').default; const AddTokenCommand = require('@contentstack/cli-auth/lib/commands/auth/tokens/add').default; const RegionSetCommand = require('@contentstack/cli-config/lib/commands/config/set/region').default; -const { DEFAULT_TIMEOUT, PRINT_LOGS, } = require('./config.json'); +const { DEFAULT_TIMEOUT, PRINT_LOGS, encryptionKey } = require('./config.json'); const { ENCRYPTION_KEY } = getEnvData(); const { DELIMITER, KEY_VAL_DELIMITER } = process.env; @@ -14,7 +14,7 @@ const { DELIMITER, KEY_VAL_DELIMITER } = process.env; const crypto = new NodeCrypto({ typeIdentifier: '◈', algorithm: 'aes-192-cbc', - encryptionKey: ENCRYPTION_KEY || '***REMOVED***' + encryptionKey: ENCRYPTION_KEY || encryptionKey }); module.exports = (region) => { diff --git a/packages/contentstack-launch/test/unit/mock/index.ts b/packages/contentstack-launch/test/unit/mock/index.ts index 8bb67efac9..5d2006ba97 100644 --- a/packages/contentstack-launch/test/unit/mock/index.ts +++ b/packages/contentstack-launch/test/unit/mock/index.ts @@ -1,5 +1,5 @@ export const testFlags = { - noProjOrg: { uid: '***REMOVED***xx' }, + noProjOrg: { uid: 'testStringxx' }, invalidOrg: { name: 'Invalid Org', uid: 'abcd' }, invalidProj: 'abcd', }; @@ -8,7 +8,7 @@ export const launchMockData = { flags: { type: 'GitHub', framework: 'Gatsby', - org: '***REMOVED***xx', + org: 'testStringxx', name: 'Test project', environment: 'dev', branch: 'dev', @@ -29,7 +29,7 @@ export const logsMockData = { export const githubAdapterMockData = { userconnection: { __typename: 'UserConnection', - userUid: '***REMOVED***xx', + userUid: 'testStringxx', provider: 'GitHub', }, adapterConstructorInputs: { @@ -43,7 +43,7 @@ export const githubAdapterMockData = { host: 'api.contentstack.io', config: '/Users/shrutika.almeida/Downloads/React-Starter/.cs-launch.json', projectBasePath: '/Users/shrutika.almeida/Downloads/React-Starter', - authtoken: '***REMOVED***xx', + authtoken: 'testStringxx', authType: 'BASIC', authorization: undefined, logsApiBaseUrl: 'https://launch-api.contentstack.com/logs/graphql', diff --git a/packages/contentstack-seed/tests/config.json b/packages/contentstack-seed/tests/config.json new file mode 100644 index 0000000000..80f1165a64 --- /dev/null +++ b/packages/contentstack-seed/tests/config.json @@ -0,0 +1,7 @@ +{ + "API_KEY": "***REMOVED***", + "api_key": "***REMOVED***", + "api_key_1": "api_key_1", + "api_key_2": "api_key_2", + "api_key_3": "api_key_3" +} \ No newline at end of file diff --git a/packages/contentstack-seed/tests/contentstack.test.ts b/packages/contentstack-seed/tests/contentstack.test.ts index a80ef21c74..b51bad1171 100644 --- a/packages/contentstack-seed/tests/contentstack.test.ts +++ b/packages/contentstack-seed/tests/contentstack.test.ts @@ -5,10 +5,11 @@ import axios from 'axios'; /* eslint-enable @typescript-eslint/no-unused-vars */ import ContentstackClient, { CreateStackOptions } from '../src/seed/contentstack/client'; +import * as config from './config.json'; const CMA_HOST = 'cs.api.com'; const BASE_URL = `https://${CMA_HOST}/v3/`; -const API_KEY = '***REMOVED***'; +const API_KEY = config.API_KEY; const ORG_UID = 'org_12345'; const STACK_UID = 'stack_12345'; const ORG_NAME = 'org_name_12345'; diff --git a/packages/contentstack-seed/tests/interactive.test.ts b/packages/contentstack-seed/tests/interactive.test.ts index 7dfa075a71..5c74641e50 100644 --- a/packages/contentstack-seed/tests/interactive.test.ts +++ b/packages/contentstack-seed/tests/interactive.test.ts @@ -3,6 +3,7 @@ jest.mock('inquirer'); const inquirer = require('inquirer'); import { Organization, Stack } from '../src/seed/contentstack/client'; import * as interactive from '../src/seed/interactive'; +import * as config from './config.json'; const account = 'account'; const repo = 'repo'; @@ -109,9 +110,9 @@ describe('interactive', () => { const expected_uid = 'uid_2'; const stacks: Stack[] = [ - { uid: 'uid_1', name: 'Stack 1', api_key: 'api_key_1', master_locale: 'en-us', org_uid: 'org_uid_1' }, - { uid: expected_uid, name: 'Stack 2', api_key: 'api_key_2', master_locale: 'en-us', org_uid: 'org_uid_2' }, - { uid: 'uid_3', name: 'Stack 3', api_key: 'api_key_3', master_locale: 'en-us', org_uid: 'org_uid_3' }, + { uid: 'uid_1', name: 'Stack 1', api_key: config.api_key_1, master_locale: 'en-us', org_uid: 'org_uid_1' }, + { uid: expected_uid, name: 'Stack 2', api_key: config.api_key_2, master_locale: 'en-us', org_uid: 'org_uid_2' }, + { uid: 'uid_3', name: 'Stack 3', api_key: config.api_key_3, master_locale: 'en-us', org_uid: 'org_uid_3' }, ]; // select existing stack diff --git a/packages/contentstack-seed/tests/seeder.test.ts b/packages/contentstack-seed/tests/seeder.test.ts index f0475393f7..10d1e2d7d4 100644 --- a/packages/contentstack-seed/tests/seeder.test.ts +++ b/packages/contentstack-seed/tests/seeder.test.ts @@ -12,10 +12,11 @@ import { inquireOrganization, inquireProceed, inquireStack, inquireRepo } from ' import * as tmp from 'tmp'; import { cliux } from '@contentstack/cli-utilities'; +import * as config from './config.json'; const org_name = 'Test Organization'; const org_uid = 'xxxxxxxxxx'; -const api_key = '***REMOVED***'; +const api_key = config.api_key; const tmpDirName = '/var/tmp/xxxxxx/'; const repo = 'stack-gatsby-blog'; diff --git a/packages/contentstack-utilities/test/unit/auth-handler.test.ts b/packages/contentstack-utilities/test/unit/auth-handler.test.ts index 62de315d65..849fb2b42e 100644 --- a/packages/contentstack-utilities/test/unit/auth-handler.test.ts +++ b/packages/contentstack-utilities/test/unit/auth-handler.test.ts @@ -7,6 +7,7 @@ import configHandler from '../../src/config-handler'; import { HttpClient } from '../../src/http-client'; const http = require('http'); const crypto = require('crypto'); +import * as config from './config.json'; describe('Auth Handler', () => { describe('setOAuthBaseURL', () => { @@ -299,7 +300,7 @@ describe('Auth Handler', () => { const configOauthRefreshToken = 'valid_refresh_token'; // Set a valid refresh token here const configAuthorisationType = authHandler.authorisationTypeOAUTHValue; const expectedData = { - access_token: 'new_access_token', + access_token: config.access_token, refresh_token: 'new_refresh_token', }; @@ -338,7 +339,7 @@ describe('Auth Handler', () => { it('should reject with error when access token is invalid/empty', async () => { const data = { - access_token: 'invalid_access_token', + access_token: config.invalid_access_token, }; const expectedError = new Error('The provided access token is invalid or expired or revoked'); diff --git a/packages/contentstack-utilities/test/unit/config.json b/packages/contentstack-utilities/test/unit/config.json new file mode 100644 index 0000000000..c639c0a0a5 --- /dev/null +++ b/packages/contentstack-utilities/test/unit/config.json @@ -0,0 +1,4 @@ +{ + "access_token": "new_access_token", + "invalid_access_token": "invalid_access_token" +} \ No newline at end of file diff --git a/packages/contentstack/README.md b/packages/contentstack/README.md index cb29073379..f3bbda8102 100644 --- a/packages/contentstack/README.md +++ b/packages/contentstack/README.md @@ -3496,7 +3496,7 @@ EXAMPLES $ csdx plugins ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.2.4/src/commands/plugins/index.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/index.ts)_ ## `csdx plugins:add PLUGIN` @@ -3570,7 +3570,7 @@ EXAMPLES $ csdx plugins:inspect myplugin ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.2.4/src/commands/plugins/inspect.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/inspect.ts)_ ## `csdx plugins:install PLUGIN` @@ -3619,7 +3619,7 @@ EXAMPLES $ csdx plugins:install someuser/someplugin ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.2.4/src/commands/plugins/install.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/install.ts)_ ## `csdx plugins:link PATH` @@ -3649,7 +3649,7 @@ EXAMPLES $ csdx plugins:link myplugin ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.2.4/src/commands/plugins/link.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/link.ts)_ ## `csdx plugins:remove [PLUGIN]` @@ -3690,7 +3690,7 @@ FLAGS --reinstall Reinstall all plugins after uninstalling. ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.2.4/src/commands/plugins/reset.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/reset.ts)_ ## `csdx plugins:uninstall [PLUGIN]` @@ -3718,7 +3718,7 @@ EXAMPLES $ csdx plugins:uninstall myplugin ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.2.4/src/commands/plugins/uninstall.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/uninstall.ts)_ ## `csdx plugins:unlink [PLUGIN]` @@ -3762,7 +3762,7 @@ DESCRIPTION Update installed plugins. ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.2.4/src/commands/plugins/update.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/update.ts)_ ## `csdx tokens` diff --git a/packages/contentstack/package.json b/packages/contentstack/package.json index 97d1cc52f1..b583ed6e4b 100755 --- a/packages/contentstack/package.json +++ b/packages/contentstack/package.json @@ -23,11 +23,11 @@ }, "dependencies": { "@contentstack/cli-audit": "~1.6.3", - "@contentstack/cli-auth": "~1.3.18", + "@contentstack/cli-auth": "~1.3.19", "@contentstack/cli-cm-bootstrap": "~1.9.3", - "@contentstack/cli-cm-branches": "~1.1.0", + "@contentstack/cli-cm-branches": "~1.1.1", "@contentstack/cli-cm-bulk-publish": "~1.4.7", - "@contentstack/cli-cm-export": "~1.11.4", + "@contentstack/cli-cm-export": "~1.11.5", "@contentstack/cli-cm-clone": "~1.10.6", "@contentstack/cli-cm-export-to-csv": "~1.7.1", "@contentstack/cli-cm-import": "~1.16.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5b77728b43..9e28e5d963 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,12 +11,12 @@ importers: packages/contentstack: specifiers: '@contentstack/cli-audit': ~1.6.3 - '@contentstack/cli-auth': ~1.3.18 + '@contentstack/cli-auth': ~1.3.19 '@contentstack/cli-cm-bootstrap': ~1.9.3 - '@contentstack/cli-cm-branches': ~1.1.0 + '@contentstack/cli-cm-branches': ~1.1.1 '@contentstack/cli-cm-bulk-publish': ~1.4.7 '@contentstack/cli-cm-clone': ~1.10.6 - '@contentstack/cli-cm-export': ~1.11.4 + '@contentstack/cli-cm-export': ~1.11.5 '@contentstack/cli-cm-export-to-csv': ~1.7.1 '@contentstack/cli-cm-import': ~1.16.0 '@contentstack/cli-cm-migrate-rte': ~1.4.17 @@ -300,7 +300,7 @@ importers: packages/contentstack-branches: specifiers: - '@contentstack/cli-auth': ~1.3.18 + '@contentstack/cli-auth': ~1.3.19 '@contentstack/cli-command': ~1.2.18 '@contentstack/cli-config': ~1.6.4 '@contentstack/cli-dev-dependencies': ~1.2.4 @@ -423,7 +423,7 @@ importers: packages/contentstack-clone: specifiers: '@colors/colors': ^1.5.0 - '@contentstack/cli-cm-export': ~1.11.4 + '@contentstack/cli-cm-export': ~1.11.5 '@contentstack/cli-cm-import': ~1.16.0 '@contentstack/cli-command': ~1.2.18 '@contentstack/cli-utilities': ~1.6.3 @@ -606,7 +606,7 @@ importers: packages/contentstack-export: specifiers: - '@contentstack/cli-auth': ~1.3.18 + '@contentstack/cli-auth': ~1.3.19 '@contentstack/cli-command': ~1.2.18 '@contentstack/cli-config': ~1.6.4 '@contentstack/cli-dev-dependencies': ~1.2.4