create-propelkit 1.0.0 → 1.0.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.
- package/package.json +1 -1
- package/src/index.js +10 -0
- package/src/launcher.js +2 -1
- package/src/messages.js +2 -2
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -110,6 +110,16 @@ async function main() {
|
|
|
110
110
|
|
|
111
111
|
// Launch Claude Code
|
|
112
112
|
messages.proLaunchingAIPM(projectDir);
|
|
113
|
+
|
|
114
|
+
// Give user time to read the instructions
|
|
115
|
+
await inquirer.prompt([
|
|
116
|
+
{
|
|
117
|
+
type: 'input',
|
|
118
|
+
name: 'continue',
|
|
119
|
+
message: chalk.dim('Press Enter to launch Claude Code...'),
|
|
120
|
+
}
|
|
121
|
+
]);
|
|
122
|
+
|
|
113
123
|
try {
|
|
114
124
|
await launchClaude(projectDir);
|
|
115
125
|
} catch (error) {
|
package/src/launcher.js
CHANGED
|
@@ -14,7 +14,8 @@ function launchClaude(projectDir, _options = {}) {
|
|
|
14
14
|
|
|
15
15
|
messages.launchingClaude(resolvedDir);
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
// Launch with the /propelkit:new-project command pre-filled
|
|
18
|
+
const claude = spawn('claude', ['/propelkit:new-project'], {
|
|
18
19
|
cwd: resolvedDir,
|
|
19
20
|
stdio: 'inherit', // User sees Claude's I/O directly
|
|
20
21
|
shell: true // Required for Windows compatibility
|
package/src/messages.js
CHANGED
|
@@ -110,8 +110,8 @@ const messages = {
|
|
|
110
110
|
console.log(chalk.cyan.bold('Launching AI PM in Claude Code...'));
|
|
111
111
|
console.log(chalk.dim(`Project: ${projectDir}`));
|
|
112
112
|
console.log('');
|
|
113
|
-
console.log(chalk.dim('
|
|
114
|
-
console.log(chalk.
|
|
113
|
+
console.log(chalk.dim('Claude will start with /propelkit:new-project'));
|
|
114
|
+
console.log(chalk.dim('Just press Enter to begin the AI PM conversation.'));
|
|
115
115
|
console.log('');
|
|
116
116
|
}
|
|
117
117
|
};
|