@staff0rd/assist 0.91.0 → 0.92.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/README.md +2 -1
- package/dist/index.js +7 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,7 +55,8 @@ After installation, the `assist` command will be available globally. You can als
|
|
|
55
55
|
- `assist new vite` - Initialize a new Vite React TypeScript project
|
|
56
56
|
- `assist new cli` - Initialize a new tsup CLI project
|
|
57
57
|
- `assist sync` - Copy command files to `~/.claude/commands`
|
|
58
|
-
- `assist commit
|
|
58
|
+
- `assist commit status` - Show git status and diff
|
|
59
|
+
- `assist commit <files...> <message>` - Stage files and create a git commit with validation
|
|
59
60
|
- `assist prs` - List pull requests for the current repository
|
|
60
61
|
- `assist prs list-comments` - List all comments on the current branch's pull request
|
|
61
62
|
- `assist prs fixed <comment-id> <sha>` - Reply with commit link and resolve thread
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Command } from "commander";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "@staff0rd/assist",
|
|
9
|
-
version: "0.
|
|
9
|
+
version: "0.92.1",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -1160,7 +1160,7 @@ async function promptForOptions(options2) {
|
|
|
1160
1160
|
console.log(chalk17.bold("Available VS Code configurations to add:\n"));
|
|
1161
1161
|
return promptMultiselect("Select configurations to add:", options2);
|
|
1162
1162
|
}
|
|
1163
|
-
async function init3() {
|
|
1163
|
+
async function init3({ all = false } = {}) {
|
|
1164
1164
|
const { pkg } = requirePackageJson();
|
|
1165
1165
|
const setup2 = detectVscodeSetup(pkg);
|
|
1166
1166
|
const options2 = getAvailableOptions2(setup2);
|
|
@@ -1168,7 +1168,7 @@ async function init3() {
|
|
|
1168
1168
|
console.log(chalk17.green("VS Code configuration already exists!"));
|
|
1169
1169
|
return;
|
|
1170
1170
|
}
|
|
1171
|
-
const selected = await promptForOptions(options2);
|
|
1171
|
+
const selected = all ? options2.map((o) => o.value) : await promptForOptions(options2);
|
|
1172
1172
|
if (selected.length === 0) {
|
|
1173
1173
|
console.log(chalk17.yellow("No configurations selected"));
|
|
1174
1174
|
return;
|
|
@@ -1875,7 +1875,8 @@ async function newProject() {
|
|
|
1875
1875
|
initGit();
|
|
1876
1876
|
removeEslint({ removeLintScripts: true });
|
|
1877
1877
|
addViteBaseConfig();
|
|
1878
|
-
await
|
|
1878
|
+
await init3({ all: true });
|
|
1879
|
+
await init2();
|
|
1879
1880
|
await init5();
|
|
1880
1881
|
}
|
|
1881
1882
|
function addViteBaseConfig() {
|
|
@@ -1958,10 +1959,8 @@ function showWindowsNotificationFromWsl(options2) {
|
|
|
1958
1959
|
} catch {
|
|
1959
1960
|
}
|
|
1960
1961
|
const args = ["-t", title, "-m", message];
|
|
1961
|
-
if (sound
|
|
1962
|
-
args.push("-s", "ms-winsoundevent:Notification.
|
|
1963
|
-
} else if (sound === "Reminder") {
|
|
1964
|
-
args.push("-s", "ms-winsoundevent:Notification.Reminder");
|
|
1962
|
+
if (sound) {
|
|
1963
|
+
args.push("-s", "ms-winsoundevent:Notification.Default");
|
|
1965
1964
|
}
|
|
1966
1965
|
const child = spawn2(snoreToastPath, args, {
|
|
1967
1966
|
detached: true,
|