@adbayb/stack 2.40.0-next-12e6e2d → 2.40.0-next-14cf131
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/configs/oxlint/index.ts
CHANGED
|
@@ -268,6 +268,7 @@ const config = defineConfig({
|
|
|
268
268
|
"perfectionist/sort-named-imports": "off", // Already supported by eslint/sort-imports
|
|
269
269
|
"prefer-named-capture-group": "off",
|
|
270
270
|
"prefer-readonly-parameter-types": "off",
|
|
271
|
+
"react/function-component-definition": "off",
|
|
271
272
|
"react/jsx-filename-extension": ["error", { extensions: ["jsx", "tsx"] }],
|
|
272
273
|
"react/jsx-max-depth": "off",
|
|
273
274
|
"react/jsx-no-literals": "off",
|
package/dist/configs/oxfmt.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { OxfmtConfig } from "oxfmt";
|
|
2
|
-
|
|
3
2
|
//#region configs/oxfmt/index.d.ts
|
|
4
3
|
declare const config: {
|
|
5
4
|
arrowParens: "always";
|
|
@@ -28,8 +27,6 @@ declare const config: {
|
|
|
28
27
|
useTabs: true;
|
|
29
28
|
vueIndentScriptAndStyle: false;
|
|
30
29
|
};
|
|
31
|
-
declare const createConfig: ({
|
|
32
|
-
overrides
|
|
33
|
-
}: Required<Pick<OxfmtConfig, "overrides">>) => OxfmtConfig;
|
|
30
|
+
declare const createConfig: ({ overrides }: Required<Pick<OxfmtConfig, "overrides">>) => OxfmtConfig;
|
|
34
31
|
//#endregion
|
|
35
32
|
export { createConfig, config as default };
|
package/dist/configs/oxlint.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { OxlintConfig } from "oxlint";
|
|
2
|
-
|
|
3
2
|
//#region configs/oxlint/index.d.ts
|
|
4
3
|
declare const config: {
|
|
5
4
|
categories: {
|
|
@@ -223,6 +222,7 @@ declare const config: {
|
|
|
223
222
|
"perfectionist/sort-named-imports": "off";
|
|
224
223
|
"prefer-named-capture-group": "off";
|
|
225
224
|
"prefer-readonly-parameter-types": "off";
|
|
225
|
+
"react/function-component-definition": "off";
|
|
226
226
|
"react/jsx-filename-extension": ["error", {
|
|
227
227
|
extensions: string[];
|
|
228
228
|
}];
|
|
@@ -254,8 +254,6 @@ declare const config: {
|
|
|
254
254
|
"unicorn/no-useless-undefined": "off";
|
|
255
255
|
};
|
|
256
256
|
};
|
|
257
|
-
declare const createConfig: ({
|
|
258
|
-
ignorePatterns
|
|
259
|
-
}: Required<Pick<OxlintConfig, "ignorePatterns">>) => OxlintConfig;
|
|
257
|
+
declare const createConfig: ({ ignorePatterns }: Required<Pick<OxlintConfig, "ignorePatterns">>) => OxlintConfig;
|
|
260
258
|
//#endregion
|
|
261
259
|
export { createConfig, config as default };
|
package/dist/configs/oxlint.js
CHANGED
|
@@ -276,6 +276,7 @@ const config = defineConfig({
|
|
|
276
276
|
"perfectionist/sort-named-imports": "off",
|
|
277
277
|
"prefer-named-capture-group": "off",
|
|
278
278
|
"prefer-readonly-parameter-types": "off",
|
|
279
|
+
"react/function-component-definition": "off",
|
|
279
280
|
"react/jsx-filename-extension": ["error", { extensions: ["jsx", "tsx"] }],
|
|
280
281
|
"react/jsx-max-depth": "off",
|
|
281
282
|
"react/jsx-no-literals": "off",
|
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 = "2.40.0-next-
|
|
445
|
+
var version = "2.40.0-next-14cf131";
|
|
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
|
-
|
|
734
|
+
const stackCommand = getStackCommand(`fix $(node -e 'console.log(require("child_process").execSync("git status --porcelain", {encoding: "utf8"}).split(/${String.raw`\n|\r\n`}/).filter(Boolean).map(item => item.split(" ").at(-1)).join(" "))')`);
|
|
735
|
+
await installGitHook("pre-commit", `${stackCommand} && git add -A`);
|
|
735
736
|
}
|
|
736
737
|
}).task({
|
|
737
738
|
label: label("Install `git.commit-msg` hook"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adbayb/stack",
|
|
3
|
-
"version": "2.40.0-next-
|
|
3
|
+
"version": "2.40.0-next-14cf131",
|
|
4
4
|
"description": "My opinionated JavaScript-based toolchain",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"development",
|
|
@@ -62,12 +62,12 @@
|
|
|
62
62
|
"oxlint": "^1.75.0",
|
|
63
63
|
"oxlint-tsgolint": "^7.0.2001",
|
|
64
64
|
"termost": "^1.9.1",
|
|
65
|
-
"turbo": "^2.10.
|
|
65
|
+
"turbo": "^2.10.7",
|
|
66
66
|
"typescript": "^6.0.3"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/node": "24.13.3",
|
|
70
|
-
"quickbundle": "3.
|
|
70
|
+
"quickbundle": "3.1.0"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"build": "quickbundle build",
|