diff --git a/package-lock.json b/package-lock.json index 084849d299..a58a533bb4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26333,7 +26333,7 @@ "dependencies": { "@contentstack/cli-audit": "~1.7.0", "@contentstack/cli-auth": "~1.3.20", - "@contentstack/cli-cm-bootstrap": "~1.10.0", + "@contentstack/cli-cm-bootstrap": "~1.11.0", "@contentstack/cli-cm-branches": "~1.1.2", "@contentstack/cli-cm-bulk-publish": "~1.4.8", "@contentstack/cli-cm-clone": "~1.10.7", @@ -26747,7 +26747,7 @@ }, "packages/contentstack-bootstrap": { "name": "@contentstack/cli-cm-bootstrap", - "version": "1.10.0", + "version": "1.11.0", "license": "MIT", "dependencies": { "@contentstack/cli-cm-seed": "~1.7.9", diff --git a/packages/contentstack-bootstrap/README.md b/packages/contentstack-bootstrap/README.md index 982912d9ae..4fcc88c103 100644 --- a/packages/contentstack-bootstrap/README.md +++ b/packages/contentstack-bootstrap/README.md @@ -15,7 +15,7 @@ $ npm install -g @contentstack/cli-cm-bootstrap $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-cm-bootstrap/1.10.0 darwin-arm64 node-v22.2.0 +@contentstack/cli-cm-bootstrap/1.11.0 darwin-arm64 node-v22.2.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-bootstrap/package.json b/packages/contentstack-bootstrap/package.json index 9c8ef1f00a..0ed1c0ebe4 100644 --- a/packages/contentstack-bootstrap/package.json +++ b/packages/contentstack-bootstrap/package.json @@ -1,7 +1,7 @@ { "name": "@contentstack/cli-cm-bootstrap", "description": "Bootstrap contentstack apps", - "version": "1.10.0", + "version": "1.11.0", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "scripts": { diff --git a/packages/contentstack-bootstrap/src/config.ts b/packages/contentstack-bootstrap/src/config.ts index 2061e1188d..9275cfd4d8 100644 --- a/packages/contentstack-bootstrap/src/config.ts +++ b/packages/contentstack-bootstrap/src/config.ts @@ -30,7 +30,7 @@ const config: Configuration = { { displayName: 'Vue JS', configKey: 'vue-starter' }, { displayName: 'Stencil', configKey: 'stencil-starter' }, { displayName: 'Nuxt3', configKey: 'nuxt3-starter' }, - // { displayName: 'Compass App', configKey: 'compass-app' } + { displayName: 'Compass App', configKey: 'compass-app' } ], appLevelConfig: { nextjs: { @@ -50,8 +50,8 @@ const config: Configuration = { stack: 'contentstack/stack-contentstack-angular-modularblock-example', }, 'compass-app': { - source: 'contentstack/contentstack-universal-demo', - stack: 'contentstack/stack-contentstack-universal-demo', + source: 'contentstack/compass-starter-app', + stack: 'contentstack/compass-starter-stack', master_locale: 'en', }, 'nuxtjs-disabled': { diff --git a/packages/contentstack-import/src/import/modules/entries.ts b/packages/contentstack-import/src/import/modules/entries.ts index 82dda9345b..d6c76f2f27 100644 --- a/packages/contentstack-import/src/import/modules/entries.ts +++ b/packages/contentstack-import/src/import/modules/entries.ts @@ -973,6 +973,10 @@ export default class EntriesImport extends BaseClass { apiOptions.apiData = null; return apiOptions; } + if(requestObject.environments.length === 0 || requestObject.locales.length === 0 ){ + apiOptions.apiData = null; + return apiOptions; + } apiOptions.apiData = requestObject; return apiOptions; } diff --git a/packages/contentstack/package.json b/packages/contentstack/package.json index ff1512645d..1803acb46c 100755 --- a/packages/contentstack/package.json +++ b/packages/contentstack/package.json @@ -24,7 +24,7 @@ "dependencies": { "@contentstack/cli-audit": "~1.7.0", "@contentstack/cli-auth": "~1.3.20", - "@contentstack/cli-cm-bootstrap": "~1.10.0", + "@contentstack/cli-cm-bootstrap": "~1.11.0", "@contentstack/cli-cm-branches": "~1.1.2", "@contentstack/cli-cm-bulk-publish": "~1.4.8", "@contentstack/cli-cm-export": "~1.11.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d763ae7fb2..5380feb41f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,7 +12,7 @@ importers: specifiers: '@contentstack/cli-audit': ~1.7.0 '@contentstack/cli-auth': ~1.3.20 - '@contentstack/cli-cm-bootstrap': ~1.10.0 + '@contentstack/cli-cm-bootstrap': ~1.11.0 '@contentstack/cli-cm-branches': ~1.1.2 '@contentstack/cli-cm-bulk-publish': ~1.4.8 '@contentstack/cli-cm-clone': ~1.10.7 @@ -6679,7 +6679,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.21.0_jofidmxrjzhj7l6vknpw5ecvfe + '@typescript-eslint/parser': 6.21.0_qusgslmwnowdaqieuropes6b5q debug: 3.2.7 eslint: 7.32.0 eslint-import-resolver-node: 0.3.9 @@ -6739,7 +6739,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.21.0_jofidmxrjzhj7l6vknpw5ecvfe + '@typescript-eslint/parser': 6.21.0_qusgslmwnowdaqieuropes6b5q debug: 3.2.7 eslint: 7.32.0 eslint-import-resolver-typescript: 3.6.3_fygdtjilpzdi57ao5drtusz6me @@ -6837,8 +6837,8 @@ packages: '@typescript-eslint/parser': optional: true dependencies: + '@typescript-eslint/parser': 6.21.0_qusgslmwnowdaqieuropes6b5q '@rtsao/scc': 1.1.0 - '@typescript-eslint/parser': 6.21.0_jofidmxrjzhj7l6vknpw5ecvfe array-includes: 3.1.8 array.prototype.findlastindex: 1.2.5 array.prototype.flat: 1.3.2