@constructor-io/constructorio-connect-cli 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AAMA,OAAO,EAAQ,OAAO,EAAM,MAAM,aAAa,CAAC;AAiBhD,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,OAAO;IACvC,MAAM,CAAC,WAAW,SAA4D;IAE9E,MAAM,CAAC,QAAQ,WAGb;IAEF,MAAM,CAAC,IAAI;;MAKT;IAEW,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;YA+BnB,UAAU;IAmBxB,OAAO,CAAC,oBAAoB;YAUd,UAAU;
|
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AAMA,OAAO,EAAQ,OAAO,EAAM,MAAM,aAAa,CAAC;AAiBhD,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,OAAO;IACvC,MAAM,CAAC,WAAW,SAA4D;IAE9E,MAAM,CAAC,QAAQ,WAGb;IAEF,MAAM,CAAC,IAAI;;MAKT;IAEW,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;YA+BnB,UAAU;IAmBxB,OAAO,CAAC,oBAAoB;YAUd,UAAU;YAsBV,uBAAuB;WAwBvB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAKvD,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAUjC,OAAO,CAAC,MAAM,CAAC,mBAAmB;IAqBlC,OAAO,CAAC,0BAA0B;CA4BnC"}
|
package/dist/commands/init.js
CHANGED
|
@@ -100,6 +100,8 @@ class Init extends core_1.Command {
|
|
|
100
100
|
message: "Do you want to regenerate the base repository files?",
|
|
101
101
|
});
|
|
102
102
|
if (shouldRefresh) {
|
|
103
|
+
// Remove node_modules to avoid any file operation conflicts
|
|
104
|
+
fs_extra_1.default.removeSync(path.join(args.repoPath, "node_modules"));
|
|
103
105
|
await this.generateRepositoryFiles(args);
|
|
104
106
|
this.printSuccessfulInitMessage(args.repoName);
|
|
105
107
|
return;
|
|
@@ -118,6 +120,8 @@ class Init extends core_1.Command {
|
|
|
118
120
|
})();
|
|
119
121
|
(0, ux_action_1.uxAction)("📦 Installing dependencies", () => {
|
|
120
122
|
(0, child_process_1.execSync)(`(cd ${args.repoPath} && npm install)`);
|
|
123
|
+
// Install the CLI package in the new repo to get the latest version
|
|
124
|
+
(0, child_process_1.execSync)(`(cd ${args.repoPath} && npm install @constructor-io/constructorio-connect-cli)`);
|
|
121
125
|
})();
|
|
122
126
|
Init.replaceConfigValues(config, connectionsDict, args.repoPath);
|
|
123
127
|
}
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED