@shibanet0/datamitsu-config 0.0.2-alpha-2 → 0.0.3-alpha-0
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/.oxlintrc.json +19 -0
- package/bin/{datamitsu.mjs → datamitsu.js} +3 -10
- package/bin/{tsc.mjs → tsc.js} +1 -1
- package/bin/{tsx.mjs → tsx.js} +1 -1
- package/dist/datamitsu-config/agents.md.d.ts +1 -0
- package/dist/datamitsu-config/app.eslint.d.ts +1 -0
- package/dist/datamitsu-config/constants.d.ts +4 -0
- package/dist/datamitsu-config/ignore.d.ts +1 -1
- package/dist/datamitsu-config/inline-config/eslint.d.ts +1 -0
- package/dist/datamitsu.d.ts +307 -36
- package/dist/s0/index.js +1 -1
- package/package.json +12 -79
- package/bin/mitsu.mjs +0 -52
- package/datamitsu.js +0 -3553
- package/dist/arrayFunc-E2CQDPH7.js +0 -24
- package/dist/arrow-return-style-QXEK7JRB.js +0 -8
- package/dist/boundaries-7E4X4KF5.js +0 -19
- package/dist/chunk-OYKSRJ7A.js +0 -54
- package/dist/clsx-M6OKU3PA.js +0 -8
- package/dist/command-3BA63SHO.js +0 -8
- package/dist/compat-6O7XHMYR.js +0 -8
- package/dist/cspell-NJAMCYWA.js +0 -8
- package/dist/deMorgan-X5NIQJEB.js +0 -18
- package/dist/depend-4TLGRJ4A.js +0 -8
- package/dist/escompat-2HZB2VKK.js +0 -8
- package/dist/eslint/index.js +0 -216
- package/dist/fsecond-U7QFID4J.js +0 -16
- package/dist/html-Q7HLWKMH.js +0 -17
- package/dist/i18next-XPRQSLOK.js +0 -8
- package/dist/import-MT776CTN.js +0 -31
- package/dist/javascript-KSG5RSYY.js +0 -36
- package/dist/jsdoc-T3RUTVU2.js +0 -8
- package/dist/json-ADTCTMIQ.js +0 -28
- package/dist/json-schema-validator-KJQPYPV7.js +0 -19
- package/dist/jsonc-5WI2LEKI.js +0 -11
- package/dist/jsx-a11y-36UJHF7N.js +0 -26
- package/dist/n-CF27VQ2A.js +0 -19
- package/dist/no-unsanitized-2CVGQCKY.js +0 -8
- package/dist/no-use-extend-native-W3ODJIMY.js +0 -19
- package/dist/oxlint-Z37R6LWE.js +0 -64
- package/dist/perfectionist-VM3ULM44.js +0 -104
- package/dist/playwright-MAN5QZRB.js +0 -19
- package/dist/pnpm-KEJEST6B.js +0 -15
- package/dist/prettier-3BKAYVNG.js +0 -18
- package/dist/promise-IOLHNOYU.js +0 -25
- package/dist/react-ZSFMBR63.js +0 -66
- package/dist/react-hooks-E3N7RURQ.js +0 -18
- package/dist/react-perf-3ZUXZLBE.js +0 -18
- package/dist/react-prefer-function-component-NSMHVGIJ.js +0 -19
- package/dist/react-refresh-RTFXBPGX.js +0 -18
- package/dist/react-you-might-not-need-an-effect-7LQCVBLO.js +0 -8
- package/dist/regexp-D6CKMCXH.js +0 -8
- package/dist/security-4AI7Q2BJ.js +0 -24
- package/dist/sonarjs-TX6OBUY7.js +0 -42
- package/dist/storybook-JDINFFX5.js +0 -19
- package/dist/stylistic-ID5P6T22.js +0 -18
- package/dist/toml-LIBZFTGW.js +0 -19
- package/dist/turbo-3YMDV64X.js +0 -19
- package/dist/typescript-KIXWXTZM.js +0 -42
- package/dist/unicorn-DIQEKCM2.js +0 -62
- package/dist/unused-imports-KTOMG7GT.js +0 -29
- package/dist/vanilla-extract-3GUV75D2.js +0 -21
- package/dist/vitest-OL2AMOGF.js +0 -20
- package/dist/yml-EIKYT3P5.js +0 -25
- /package/bin/{s0.mjs → s0.js} +0 -0
- /package/bin/{utils.mjs → utils.js} +0 -0
- /package/dist/datamitsu-config/{main.d.ts → datamitsu.config.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shibanet0/datamitsu-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3-alpha-0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Alexander Svinarev <shibanet0@gmail.com> (shibanet0.com)",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
10
|
-
"./eslint": {
|
|
11
|
-
"import": {
|
|
12
|
-
"types": "./dist/eslint/index.d.ts",
|
|
13
|
-
"default": "./dist/eslint/index.js"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
10
|
"./prettier": {
|
|
17
11
|
"import": {
|
|
18
12
|
"types": "./dist/prettier/index.d.ts",
|
|
@@ -46,12 +40,11 @@
|
|
|
46
40
|
}
|
|
47
41
|
},
|
|
48
42
|
"bin": {
|
|
49
|
-
"datamitsu": "bin/datamitsu.
|
|
50
|
-
"dm": "bin/datamitsu.
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"tsx": "bin/tsx.mjs"
|
|
43
|
+
"datamitsu": "bin/datamitsu.js",
|
|
44
|
+
"dm": "bin/datamitsu.js",
|
|
45
|
+
"s0": "bin/s0.js",
|
|
46
|
+
"tsc": "bin/tsc.js",
|
|
47
|
+
"tsx": "bin/tsx.js"
|
|
55
48
|
},
|
|
56
49
|
"files": [
|
|
57
50
|
".oxlintrc.json",
|
|
@@ -67,90 +60,30 @@
|
|
|
67
60
|
"postinstall": "pnpm build:lib"
|
|
68
61
|
},
|
|
69
62
|
"dependencies": {
|
|
70
|
-
"@antebudimir/eslint-plugin-vanilla-extract": "1.16.0",
|
|
71
63
|
"@commander-js/extra-typings": "14.0.0",
|
|
72
64
|
"@commitlint/cli": "20.4.1",
|
|
73
65
|
"@commitlint/config-conventional": "20.4.1",
|
|
74
66
|
"@commitlint/format": "20.4.0",
|
|
75
67
|
"@commitlint/types": "20.4.0",
|
|
76
|
-
"@
|
|
77
|
-
"@datamitsu/datamitsu": "0.0.2-alpha-4",
|
|
78
|
-
"@eslint/config-helpers": "0.5.2",
|
|
79
|
-
"@eslint/js": "9.39.2",
|
|
80
|
-
"@next/eslint-plugin-next": "16.1.6",
|
|
68
|
+
"@datamitsu/datamitsu": "0.0.3-alpha-10",
|
|
81
69
|
"@prettier/plugin-xml": "3.4.2",
|
|
82
|
-
"@stylistic/eslint-plugin": "5.8.0",
|
|
83
70
|
"@vitejs/plugin-react": "5.1.4",
|
|
84
|
-
"@vitest/eslint-plugin": "1.6.9",
|
|
85
71
|
"commander": "14.0.3",
|
|
86
72
|
"conventional-changelog-conventionalcommits": "9.1.0",
|
|
87
|
-
"eslint": "9.39.2",
|
|
88
|
-
"eslint-config-prettier": "10.1.8",
|
|
89
|
-
"eslint-flat-config-utils": "3.0.1",
|
|
90
|
-
"eslint-import-resolver-typescript": "4.4.4",
|
|
91
|
-
"eslint-plugin-array-func": "5.1.0",
|
|
92
|
-
"eslint-plugin-arrow-return-style": "1.3.1",
|
|
93
|
-
"eslint-plugin-baseline-js": "0.5.0",
|
|
94
|
-
"eslint-plugin-boundaries": "5.4.0",
|
|
95
|
-
"eslint-plugin-clsx": "0.0.12",
|
|
96
|
-
"eslint-plugin-command": "3.4.0",
|
|
97
|
-
"eslint-plugin-compat": "6.1.0",
|
|
98
|
-
"eslint-plugin-de-morgan": "2.0.0",
|
|
99
|
-
"eslint-plugin-decorator-position": "6.0.0",
|
|
100
|
-
"eslint-plugin-depend": "1.4.0",
|
|
101
|
-
"eslint-plugin-es-x": "9.4.0",
|
|
102
|
-
"eslint-plugin-escompat": "3.11.4",
|
|
103
|
-
"eslint-plugin-eslint-comments": "3.2.0",
|
|
104
|
-
"eslint-plugin-filenames": "1.3.2",
|
|
105
|
-
"eslint-plugin-fsecond": "1.4.0",
|
|
106
|
-
"eslint-plugin-functional": "9.0.2",
|
|
107
|
-
"eslint-plugin-html": "8.1.4",
|
|
108
|
-
"eslint-plugin-i18next": "6.1.3",
|
|
109
|
-
"eslint-plugin-import": "2.32.0",
|
|
110
|
-
"eslint-plugin-jsdoc": "62.6.0",
|
|
111
|
-
"eslint-plugin-json": "4.0.1",
|
|
112
|
-
"eslint-plugin-json-schema-validator": "6.0.3",
|
|
113
|
-
"eslint-plugin-jsonc": "2.21.1",
|
|
114
|
-
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
115
|
-
"eslint-plugin-n": "17.24.0",
|
|
116
|
-
"eslint-plugin-no-unsanitized": "4.1.4",
|
|
117
|
-
"eslint-plugin-no-use-extend-native": "0.7.2",
|
|
118
|
-
"eslint-plugin-oxlint": "1.42.0",
|
|
119
|
-
"eslint-plugin-perfectionist": "5.5.0",
|
|
120
|
-
"eslint-plugin-playwright": "2.6.0",
|
|
121
|
-
"eslint-plugin-pnpm": "1.5.0",
|
|
122
|
-
"eslint-plugin-promise": "7.2.1",
|
|
123
|
-
"eslint-plugin-react": "7.37.5",
|
|
124
|
-
"eslint-plugin-react-hooks": "7.0.1",
|
|
125
|
-
"eslint-plugin-react-perf": "3.3.3",
|
|
126
|
-
"eslint-plugin-react-prefer-function-component": "5.0.0",
|
|
127
|
-
"eslint-plugin-react-refresh": "0.5.0",
|
|
128
|
-
"eslint-plugin-react-you-might-not-need-an-effect": "0.9.1",
|
|
129
|
-
"eslint-plugin-regexp": "3.0.0",
|
|
130
|
-
"eslint-plugin-security": "3.0.1",
|
|
131
|
-
"eslint-plugin-sonarjs": "3.0.5",
|
|
132
|
-
"eslint-plugin-storybook": "10.2.9",
|
|
133
|
-
"eslint-plugin-toml": "1.1.0",
|
|
134
|
-
"eslint-plugin-turbo": "2.8.9",
|
|
135
|
-
"eslint-plugin-unicorn": "63.0.0",
|
|
136
|
-
"eslint-plugin-unused-imports": "4.4.1",
|
|
137
|
-
"eslint-plugin-yml": "3.2.0",
|
|
138
73
|
"execa": "9.6.1",
|
|
139
74
|
"fast-glob": "3.3.3",
|
|
140
|
-
"globals": "17.3.0",
|
|
141
|
-
"knip": "5.83.1",
|
|
142
75
|
"oxlint": "1.42.0",
|
|
143
76
|
"prettier": "3.8.1",
|
|
144
77
|
"prettier-plugin-embed": "0.5.1",
|
|
145
78
|
"prettier-plugin-jsdoc": "1.8.0",
|
|
146
79
|
"prettier-plugin-sql": "0.19.2",
|
|
147
|
-
"publint": "0.3.17",
|
|
148
|
-
"sort-package-json": "3.6.1",
|
|
149
|
-
"syncpack": "14.0.0",
|
|
150
80
|
"tsup": "8.5.1",
|
|
151
81
|
"tsx": "4.21.0",
|
|
152
82
|
"type-fest": "5.4.4",
|
|
153
|
-
"typescript": "5.9.3"
|
|
154
|
-
|
|
83
|
+
"typescript": "5.9.3"
|
|
84
|
+
},
|
|
85
|
+
"engines": {
|
|
86
|
+
"node": ">=24.14.0",
|
|
87
|
+
"pnpm": ">=10.31.0"
|
|
155
88
|
}
|
|
156
89
|
}
|
package/bin/mitsu.mjs
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
import { spawn } from "node:child_process";
|
|
4
|
-
import { join } from "node:path";
|
|
5
|
-
|
|
6
|
-
let currentChild = null;
|
|
7
|
-
|
|
8
|
-
function run(args) {
|
|
9
|
-
return new Promise((resolve, reject) => {
|
|
10
|
-
const child = spawn("node", [join(import.meta.dirname, "datamitsu.mjs"), ...args], {
|
|
11
|
-
stdio: "inherit",
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
currentChild = child;
|
|
15
|
-
|
|
16
|
-
child.on("exit", (code, signal) => {
|
|
17
|
-
currentChild = null;
|
|
18
|
-
|
|
19
|
-
if (signal) {
|
|
20
|
-
reject(signal);
|
|
21
|
-
} else if (code === 0) {
|
|
22
|
-
resolve();
|
|
23
|
-
} else {
|
|
24
|
-
reject(code);
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
child.on("error", reject);
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// graceful shutdown
|
|
33
|
-
function shutdown(signal) {
|
|
34
|
-
if (currentChild) {
|
|
35
|
-
currentChild.kill(signal);
|
|
36
|
-
}
|
|
37
|
-
process.exit(128 + (signal === "SIGINT" ? 2 : 15));
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
process.on("SIGINT", shutdown);
|
|
41
|
-
process.on("SIGTERM", shutdown);
|
|
42
|
-
process.on("SIGHUP", shutdown);
|
|
43
|
-
|
|
44
|
-
try {
|
|
45
|
-
await run(["fix"]);
|
|
46
|
-
await run(["lint"]);
|
|
47
|
-
} catch (error) {
|
|
48
|
-
if (typeof error === "number") {
|
|
49
|
-
process.exit(error);
|
|
50
|
-
}
|
|
51
|
-
process.exit(1);
|
|
52
|
-
}
|