next-issue 16.5.0 → 16.5.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/dist/cli/start.mjs +1 -1
- package/dist/shared/args.mjs +2 -2
- package/dist/shared/config.mjs +1 -1
- package/package.json +1 -1
package/dist/cli/start.mjs
CHANGED
|
@@ -9,7 +9,7 @@ const REFUSED_GOING = [
|
|
|
9
9
|
'the worker is restarting, try again soon',
|
|
10
10
|
];
|
|
11
11
|
const SILENT = 'the next-issue worker did not answer';
|
|
12
|
-
const STARTED = 'next-issue: the run started in the worker; follow it with next-issue logs and stop it with next-issue stop\n';
|
|
12
|
+
const STARTED = 'next-issue: the run started in the worker; follow it with npx -y next-issue@latest logs and stop it with npx -y next-issue@latest stop\n';
|
|
13
13
|
export async function startInWorker(root, argv) {
|
|
14
14
|
const version = await packageVersion();
|
|
15
15
|
const given = givenStartFlags(argv);
|
package/dist/shared/args.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const RUN_FLAGS = new Map([
|
|
|
8
8
|
['--hunt', 'hunt'],
|
|
9
9
|
]);
|
|
10
10
|
const COMMANDS = ['start', 'init', 'serve', 'stop', 'status', 'logs', 'watch', 'hunt'];
|
|
11
|
-
export const USAGE = `next-issue <command> [options]
|
|
11
|
+
export const USAGE = `npx -y next-issue@latest <command> [options]
|
|
12
12
|
|
|
13
13
|
start start a run: claim issues, fix them and push them to the base branch
|
|
14
14
|
--watch on|off on: read the issues again after each pass; off: do one pass and end (default on)
|
|
@@ -31,7 +31,7 @@ export function parseArgs(argv) {
|
|
|
31
31
|
return args;
|
|
32
32
|
}
|
|
33
33
|
if (args.command === undefined && flag !== undefined) {
|
|
34
|
-
throw new Error('no command given: use next-issue start to start a run, or see next-issue --help');
|
|
34
|
+
throw new Error('no command given: use npx -y next-issue@latest start to start a run, or see npx -y next-issue@latest --help');
|
|
35
35
|
}
|
|
36
36
|
if (args.command !== undefined && args.command !== 'start' && runFlag !== undefined) {
|
|
37
37
|
throw new Error(`${args.command} does not take ${runFlag}: it belongs to start`);
|
package/dist/shared/config.mjs
CHANGED
|
@@ -114,7 +114,7 @@ export async function moveOldConfig(root, force) {
|
|
|
114
114
|
}
|
|
115
115
|
export async function rejectOldConfig(root) {
|
|
116
116
|
if ((await readTextIfPresent(join(root, OLD_CONFIG_FILE))) !== undefined) {
|
|
117
|
-
throw new Error(`${OLD_CONFIG_FILE} moved to ${CONFIG_FILE}. Run next-issue init to move it.`);
|
|
117
|
+
throw new Error(`${OLD_CONFIG_FILE} moved to ${CONFIG_FILE}. Run npx -y next-issue@latest init to move it.`);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
export async function loadConfig(root, options = {}) {
|