showpane 0.4.6 → 0.4.8
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/index.js
CHANGED
|
@@ -1160,7 +1160,11 @@ async function createProject(args) {
|
|
|
1160
1160
|
printBanner();
|
|
1161
1161
|
ensureShowpaneShim();
|
|
1162
1162
|
const config = readShowpaneConfig();
|
|
1163
|
-
|
|
1163
|
+
let pathSetup = {
|
|
1164
|
+
command: getResumeCommand(),
|
|
1165
|
+
configured: isShowpaneShimOnPath() || Boolean(config.shellPathConfigured),
|
|
1166
|
+
profilePath: typeof config.shellPathConfiguredProfile === "string" ? config.shellPathConfiguredProfile : null
|
|
1167
|
+
};
|
|
1164
1168
|
const companyName = options.companyName ?? await ask(` ${BOLD}What's your company name?${RESET} `);
|
|
1165
1169
|
if (!companyName) {
|
|
1166
1170
|
error("Company name is required.");
|
|
@@ -1173,6 +1177,8 @@ async function createProject(args) {
|
|
|
1173
1177
|
error(`Target directory already exists: ${dirName}/`);
|
|
1174
1178
|
process.exit(1);
|
|
1175
1179
|
}
|
|
1180
|
+
pathSetup = await maybeConfigureShellPath(config, options);
|
|
1181
|
+
writeShowpaneConfig(config);
|
|
1176
1182
|
console.log();
|
|
1177
1183
|
blue(`Setting up ${BOLD}${companyName}${RESET} portal as ${DIM}${dirName}/${RESET}`);
|
|
1178
1184
|
console.log();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "showpane",
|
|
3
|
-
"version": "0.4.
|
|
4
|
-
"description": "CLI for Showpane
|
|
3
|
+
"version": "0.4.8",
|
|
4
|
+
"description": "CLI for Showpane \u2014 AI-generated client portals",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"showpane": "./dist/index.js"
|