Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ fileignoreconfig:
- filename: packages/contentstack-import/src/import/modules/environments.ts
checksum: f61c635eaec8026e0cfa80a5ab8272f7946531f6d89505dc0d247b4c7ab0eab7
- filename: pnpm-lock.yaml
checksum: 6df163ccaae9e827be512265902b23d7f5cb8d0ce0892e0fc0ae46cedae09a24
checksum: 5c7971e3eee5b11fa71625078f75d80535b6ea5909178bde01872873fb79740f
- filename: package-lock.json
checksum: bb8dcd0506c32518d9bfa6e3212812a088ba5add0828c132d01841fb65797b17
checksum: 592673cbc1061762a0853d18142024f1f985a70a161b6eb2bb70cdee7b7b6259
- filename: packages/contentstack-bootstrap/src/bootstrap/utils.ts
checksum: 5ab20e057fa9c4c300f7a882d30e1c68bbc91ed19de520488107e8c37239682a
- filename: packages/contentstack-migration/README.md
Expand Down
255 changes: 114 additions & 141 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/contentstack-clone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dependencies": {
"@colors/colors": "^1.6.0",
"@contentstack/cli-cm-export": "~2.0.0-beta.9",
"@contentstack/cli-cm-import": "~2.0.0-beta.8",
"@contentstack/cli-cm-import": "~2.0.0-beta.9",
"@contentstack/cli-command": "~2.0.0-beta",
"@contentstack/cli-utilities": "~2.0.0-beta",
"@oclif/core": "^4.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-import/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@contentstack/cli-cm-import",
"description": "Contentstack CLI plugin to import content into stack",
"version": "2.0.0-beta.8",
"version": "2.0.0-beta.9",
"author": "Contentstack",
"bugs": "https://github.com/contentstack/cli/issues",
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default class ImportGlobalFields extends BaseClass {
this.existingGFs = [];
this.reqConcurrency = this.gFsConfig.writeConcurrency || this.config.writeConcurrency;
this.gFsMapperPath = path.resolve(
sanitizePath(this.config.contentDir),
sanitizePath(this.config.backupDir),
PATH_CONSTANTS.MAPPER,
PATH_CONSTANTS.MAPPER_MODULES.GLOBAL_FIELDS,
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,14 @@ export default class ImportVariantEntries extends BaseClass {
}

// Basic validation - check if data file exists
const dataFilePath = path.resolve(
sanitizePath(this.config.contentDir),
const varientEntriesMapperFilePath = path.resolve(
sanitizePath(this.config.backupDir),
'mapper',
'entries',
'data-for-variant-entry.json',
);

const hasVariantData = fileHelper.fileExistsSync(dataFilePath);
const hasVariantData = fileHelper.fileExistsSync(varientEntriesMapperFilePath);

log.debug(
`Found valid personalize project: ${project.uid} with variant data: ${hasVariantData}`,
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-seed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Contentstack",
"bugs": "https://github.com/contentstack/cli/issues",
"dependencies": {
"@contentstack/cli-cm-import": "~2.0.0-beta.8",
"@contentstack/cli-cm-import": "~2.0.0-beta.9",
"@contentstack/cli-command": "~2.0.0-beta",
"@contentstack/cli-utilities": "~2.0.0-beta",
"inquirer": "8.2.7",
Expand Down
Loading
Loading