@adbayb/stack 3.0.0-next-3def11e → 3.0.0-next-492a290
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 +3 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -442,7 +442,7 @@ const PRESERVE_FILES = ["node_modules"];
|
|
|
442
442
|
|
|
443
443
|
//#endregion
|
|
444
444
|
//#region package.json
|
|
445
|
-
var version = "3.0.0-next-
|
|
445
|
+
var version = "3.0.0-next-492a290";
|
|
446
446
|
|
|
447
447
|
//#endregion
|
|
448
448
|
//#region src/commands/create.ts
|
|
@@ -731,7 +731,8 @@ const createInstallCommand = (program) => {
|
|
|
731
731
|
}).task({
|
|
732
732
|
label: label("Install `git.pre-commit` hook"),
|
|
733
733
|
async handler() {
|
|
734
|
-
const
|
|
734
|
+
const lineBreakMatcher = String.raw`\n|\r\n`;
|
|
735
|
+
const stackCommand = getStackCommand(`fix $(node -e 'console.log(require("child_process").execSync("git status --porcelain", {encoding: "utf8"}).split(/${lineBreakMatcher}/).filter(Boolean).map(item => item.split(" ").at(-1)).join(" "))')`);
|
|
735
736
|
await installGitHook("pre-commit", `${stackCommand} && git add -A`);
|
|
736
737
|
}
|
|
737
738
|
}).task({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adbayb/stack",
|
|
3
|
-
"version": "3.0.0-next-
|
|
3
|
+
"version": "3.0.0-next-492a290",
|
|
4
4
|
"description": "My opinionated JavaScript-based toolchain",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"development",
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
"oxfmt": "^0.61.0",
|
|
62
62
|
"oxlint": "^1.76.0",
|
|
63
63
|
"oxlint-tsgolint": "^7.0.2001",
|
|
64
|
-
"termost": "^1.9.
|
|
64
|
+
"termost": "^1.9.2",
|
|
65
65
|
"turbo": "^2.10.8",
|
|
66
66
|
"typescript": "^6.0.3"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/node": "24.13.3",
|
|
70
|
-
"quickbundle": "3.1.
|
|
70
|
+
"quickbundle": "3.1.1"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"build": "quickbundle build",
|