File tree Expand file tree Collapse file tree 10 files changed +451
-548
lines changed
Expand file tree Collapse file tree 10 files changed +451
-548
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ fileignoreconfig:
33- filename: packages/contentstack-import/src/import/modules/environments.ts
44 checksum: f61c635eaec8026e0cfa80a5ab8272f7946531f6d89505dc0d247b4c7ab0eab7
55- filename: pnpm-lock.yaml
6- checksum: 6df163ccaae9e827be512265902b23d7f5cb8d0ce0892e0fc0ae46cedae09a24
6+ checksum: c3020538089092e55f086c39cc4c027ef3d48f6c786a217db9c5e49f55ab8380
77- filename: package-lock.json
8- checksum: bb8dcd0506c32518d9bfa6e3212812a088ba5add0828c132d01841fb65797b17
8+ checksum: 099edd9ec7ed92eb61ce916511ac87e2fc1ff985efe64a25749ac88ba0d3fa7d
99- filename: packages/contentstack-bootstrap/src/bootstrap/utils.ts
1010 checksum: 5ab20e057fa9c4c300f7a882d30e1c68bbc91ed19de520488107e8c37239682a
1111- filename: packages/contentstack-migration/README.md
Original file line number Diff line number Diff line change 11{
22 "name" : " @contentstack/cli-cm-bootstrap" ,
33 "description" : " Bootstrap contentstack apps" ,
4- "version" : " 2.0.0-beta.8 " ,
4+ "version" : " 2.0.0-beta.9 " ,
55 "author" : " Contentstack" ,
66 "bugs" : " https://github.com/contentstack/cli/issues" ,
77 "scripts" : {
1919 "@contentstack/cli-cm-seed" : " ~2.0.0-beta.8" ,
2020 "@contentstack/cli-command" : " ~2.0.0-beta" ,
2121 "@contentstack/cli-utilities" : " ~2.0.0-beta" ,
22+ "@contentstack/cli-config" : " ~2.0.0-beta.1" ,
2223 "@oclif/core" : " ^4.3.0" ,
2324 "@oclif/plugin-help" : " ^6.2.37" ,
2425 "inquirer" : " 8.2.7" ,
Original file line number Diff line number Diff line change 77 "dependencies" : {
88 "@colors/colors" : " ^1.6.0" ,
99 "@contentstack/cli-cm-export" : " ~2.0.0-beta.9" ,
10- "@contentstack/cli-cm-import" : " ~2.0.0-beta.8 " ,
10+ "@contentstack/cli-cm-import" : " ~2.0.0-beta.9 " ,
1111 "@contentstack/cli-command" : " ~2.0.0-beta" ,
1212 "@contentstack/cli-utilities" : " ~2.0.0-beta" ,
1313 "@oclif/core" : " ^4.3.0" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @contentstack/cli-cm-import" ,
33 "description" : " Contentstack CLI plugin to import content into stack" ,
4- "version" : " 2.0.0-beta.8 " ,
4+ "version" : " 2.0.0-beta.9 " ,
55 "author" : " Contentstack" ,
66 "bugs" : " https://github.com/contentstack/cli/issues" ,
77 "dependencies" : {
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export default class ImportGlobalFields extends BaseClass {
6161 this . existingGFs = [ ] ;
6262 this . reqConcurrency = this . gFsConfig . writeConcurrency || this . config . writeConcurrency ;
6363 this . gFsMapperPath = path . resolve (
64- sanitizePath ( this . config . contentDir ) ,
64+ sanitizePath ( this . config . backupDir ) ,
6565 PATH_CONSTANTS . MAPPER ,
6666 PATH_CONSTANTS . MAPPER_MODULES . GLOBAL_FIELDS ,
6767 ) ;
Original file line number Diff line number Diff line change @@ -133,14 +133,14 @@ export default class ImportVariantEntries extends BaseClass {
133133 }
134134
135135 // Basic validation - check if data file exists
136- const dataFilePath = path . resolve (
137- sanitizePath ( this . config . contentDir ) ,
136+ const varientEntriesMapperFilePath = path . resolve (
137+ sanitizePath ( this . config . backupDir ) ,
138138 'mapper' ,
139139 'entries' ,
140140 'data-for-variant-entry.json' ,
141141 ) ;
142142
143- const hasVariantData = fileHelper . fileExistsSync ( dataFilePath ) ;
143+ const hasVariantData = fileHelper . fileExistsSync ( varientEntriesMapperFilePath ) ;
144144
145145 log . debug (
146146 `Found valid personalize project: ${ project . uid } with variant data: ${ hasVariantData } ` ,
Original file line number Diff line number Diff line change 55 "author" : " Contentstack" ,
66 "bugs" : " https://github.com/contentstack/cli/issues" ,
77 "dependencies" : {
8- "@contentstack/cli-cm-import" : " ~2.0.0-beta.8 " ,
8+ "@contentstack/cli-cm-import" : " ~2.0.0-beta.9 " ,
99 "@contentstack/cli-command" : " ~2.0.0-beta" ,
1010 "@contentstack/cli-utilities" : " ~2.0.0-beta" ,
1111 "inquirer" : " 8.2.7" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @contentstack/cli" ,
33 "description" : " Command-line tool (CLI) to interact with Contentstack" ,
4- "version" : " 2.0.0-beta.11 " ,
4+ "version" : " 2.0.0-beta.12 " ,
55 "author" : " Contentstack" ,
66 "bin" : {
77 "csdx" : " ./bin/run.js"
2424 "dependencies" : {
2525 "@contentstack/cli-audit" : " ~2.0.0-beta.4" ,
2626 "@contentstack/cli-cm-export" : " ~2.0.0-beta.9" ,
27- "@contentstack/cli-cm-import" : " ~2.0.0-beta.8 " ,
27+ "@contentstack/cli-cm-import" : " ~2.0.0-beta.9 " ,
2828 "@contentstack/cli-auth" : " ~2.0.0-beta.5" ,
2929 "@contentstack/cli-bulk-operations" : " ^1.0.0-beta" ,
30- "@contentstack/cli-cm-bootstrap" : " ~2.0.0-beta.8 " ,
30+ "@contentstack/cli-cm-bootstrap" : " ~2.0.0-beta.9 " ,
3131 "@contentstack/cli-cm-branches" : " ~2.0.0-beta" ,
3232 "@contentstack/cli-cm-clone" : " ~2.0.0-beta.10" ,
3333 "@contentstack/cli-cm-export-to-csv" : " ~2.0.0-beta" ,
You can’t perform that action at this time.
0 commit comments