chiefwiggum 1.3.19 → 1.3.20
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.
- package/dist/cli.cjs +12 -0
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -816,7 +816,19 @@ function checkGitHubCLI() {
|
|
|
816
816
|
}
|
|
817
817
|
}
|
|
818
818
|
async function setupProjectConfig() {
|
|
819
|
+
const existingConfig = getConfig();
|
|
819
820
|
if ((0, import_node_fs3.existsSync)(CONFIG_FILE)) {
|
|
821
|
+
if (existingConfig.projectTracker === "github" && existingConfig.githubProject === void 0) {
|
|
822
|
+
const ghCheck = checkGitHubCLI();
|
|
823
|
+
if (ghCheck.ok) {
|
|
824
|
+
const projectName = await selectOrCreateProjectBoard(ghCheck.repo);
|
|
825
|
+
const config3 = { ...existingConfig, githubProject: projectName };
|
|
826
|
+
saveConfig(config3);
|
|
827
|
+
if (projectName) {
|
|
828
|
+
console.log(import_picocolors7.default.green(`\u2713 Project board saved: ${projectName}`));
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
}
|
|
820
832
|
return;
|
|
821
833
|
}
|
|
822
834
|
console.log();
|