agileflow 2.33.0 → 2.33.1
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
CHANGED
|
@@ -57,7 +57,7 @@ module.exports = {
|
|
|
57
57
|
|
|
58
58
|
if (!status.installed) {
|
|
59
59
|
warning('No AgileFlow installation found');
|
|
60
|
-
console.log(chalk.dim(` Run 'npx agileflow
|
|
60
|
+
console.log(chalk.dim(` Run 'npx agileflow setup' to set up\n`));
|
|
61
61
|
|
|
62
62
|
// Summary
|
|
63
63
|
printSummary(issues, warnings);
|
|
@@ -31,7 +31,7 @@ module.exports = {
|
|
|
31
31
|
|
|
32
32
|
if (!status.installed) {
|
|
33
33
|
warning('No AgileFlow installation found in this directory');
|
|
34
|
-
console.log(chalk.dim(`\nRun 'npx agileflow
|
|
34
|
+
console.log(chalk.dim(`\nRun 'npx agileflow setup' to set up AgileFlow\n`));
|
|
35
35
|
process.exit(0);
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -32,7 +32,7 @@ module.exports = {
|
|
|
32
32
|
|
|
33
33
|
if (!status.installed) {
|
|
34
34
|
warning('No AgileFlow installation found');
|
|
35
|
-
console.log(chalk.dim(`\nRun 'npx agileflow
|
|
35
|
+
console.log(chalk.dim(`\nRun 'npx agileflow setup' to set up AgileFlow\n`));
|
|
36
36
|
process.exit(1);
|
|
37
37
|
}
|
|
38
38
|
|
package/tools/postinstall.js
CHANGED
|
@@ -105,12 +105,12 @@ function runAutoInstall() {
|
|
|
105
105
|
const cliPath = path.join(__dirname, 'cli', 'agileflow-cli.js');
|
|
106
106
|
|
|
107
107
|
if (!fs.existsSync(cliPath)) {
|
|
108
|
-
log('⚠️ Could not find AgileFlow CLI. Run "npx agileflow
|
|
108
|
+
log('⚠️ Could not find AgileFlow CLI. Run "npx agileflow setup" manually.', 'yellow');
|
|
109
109
|
return;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
// Run
|
|
113
|
-
execSync(`node "${cliPath}"
|
|
112
|
+
// Run setup command with --yes flag (non-interactive)
|
|
113
|
+
execSync(`node "${cliPath}" setup --yes`, {
|
|
114
114
|
stdio: 'inherit',
|
|
115
115
|
cwd: process.cwd(),
|
|
116
116
|
});
|
|
@@ -118,13 +118,13 @@ function runAutoInstall() {
|
|
|
118
118
|
console.log('');
|
|
119
119
|
log('✨ AgileFlow is ready to use!', 'green');
|
|
120
120
|
console.log('');
|
|
121
|
-
log('To skip auto-
|
|
121
|
+
log('To skip auto-setup in the future, set: AGILEFLOW_SKIP_INSTALL=true', 'dim');
|
|
122
122
|
console.log('');
|
|
123
123
|
|
|
124
124
|
} catch (error) {
|
|
125
125
|
console.log('');
|
|
126
|
-
log('⚠️ Auto-
|
|
127
|
-
log(' You can run "npx agileflow
|
|
126
|
+
log('⚠️ Auto-setup encountered an issue.', 'yellow');
|
|
127
|
+
log(' You can run "npx agileflow setup" manually to complete setup.', 'yellow');
|
|
128
128
|
console.log('');
|
|
129
129
|
|
|
130
130
|
if (process.env.DEBUG) {
|