@shibanet0/datamitsu-config 0.0.1-alpha-9 → 0.0.1-alpha-11
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/bin/datamitsu.mjs +15 -8
- package/bin/tsc.mjs +8 -4
- package/bin/tsx.mjs +1 -1
- package/datamitsu.js +343 -101
- package/dist/array-func-M6KDQ7DN.js +14 -0
- package/dist/array-func-NPT6GB52.js +14 -0
- package/dist/chunk-7PGRJISO.js +24 -0
- package/dist/clean-package/index.js +12 -4
- package/dist/dist-SV6KNVWH.js +145 -0
- package/dist/eslint/globs.d.ts +16 -0
- package/dist/eslint/index.d.ts +1 -0
- package/dist/eslint/index.js +954 -55
- package/dist/eslint/plugins/array-func.d.ts +2 -0
- package/dist/eslint/plugins/arrayFunc.d.ts +2 -0
- package/dist/eslint/plugins/deMorgan.d.ts +2 -0
- package/dist/eslint/plugins/import.d.ts +2 -0
- package/dist/eslint/plugins/javascript.d.ts +2 -0
- package/dist/eslint/plugins/json-schema-validator.d.ts +2 -0
- package/dist/eslint/plugins/json.d.ts +2 -0
- package/dist/eslint/plugins/jsx-a11y.d.ts +2 -0
- package/dist/eslint/plugins/n.d.ts +4 -0
- package/dist/eslint/plugins/no-use-extend-native.d.ts +2 -0
- package/dist/eslint/plugins/perfectionist copy.d.ts +2 -0
- package/dist/eslint/plugins/perfectionist.d.ts +2 -2
- package/dist/eslint/plugins/playwright.d.ts +2 -0
- package/dist/eslint/plugins/prettier.d.ts +2 -0
- package/dist/eslint/plugins/promise.d.ts +2 -0
- package/dist/eslint/plugins/react copy.d.ts +2 -0
- package/dist/eslint/plugins/react-hooks.d.ts +2 -0
- package/dist/eslint/plugins/react-perf.d.ts +2 -0
- package/dist/eslint/plugins/react-prefer-function-component.d.ts +2 -0
- package/dist/eslint/plugins/react-refresh.d.ts +2 -0
- package/dist/eslint/plugins/react.d.ts +2 -0
- package/dist/eslint/plugins/security.d.ts +2 -0
- package/dist/eslint/plugins/sonarjs.d.ts +2 -0
- package/dist/eslint/plugins/storybook.d.ts +2 -0
- package/dist/eslint/plugins/toml.d.ts +2 -0
- package/dist/eslint/plugins/turbo.d.ts +2 -0
- package/dist/eslint/plugins/typescript.d.ts +2 -0
- package/dist/eslint/plugins/unicorn copy.d.ts +2 -0
- package/dist/eslint/plugins/unicorn.d.ts +2 -0
- package/dist/eslint/plugins/unused-imports.d.ts +2 -0
- package/dist/eslint/plugins/vanilla-extract.d.ts +2 -0
- package/dist/eslint/plugins/yml.d.ts +2 -0
- package/dist/eslint/types.d.ts +34 -0
- package/dist/globs/globs.d.ts +1 -0
- package/dist/json-LWTL4ZNK.js +18 -0
- package/dist/json-ZAIWY2QG.js +18 -0
- package/dist/jsx-a11y-DENBIOMT.js +7 -0
- package/dist/no-use-extend-native-WXT3EZT4.js +7 -0
- package/dist/no-use-extend-native-ZPCF5GPF.js +7 -0
- package/dist/oxlint/index.d.ts +2 -0
- package/dist/playwright-BGT6YZAD.js +15 -0
- package/dist/playwright-EQJ74ILC.js +15 -0
- package/dist/prettier/index.js +1 -1
- package/dist/prettier-STALF5K5.js +7 -0
- package/dist/prettier-VWVEU6BH.js +7 -0
- package/dist/promise-4UOFB7NK.js +7 -0
- package/dist/promise-GMCQOXN6.js +7 -0
- package/dist/react-QIEZHZI3.js +61 -0
- package/dist/react-SBV4CSZW.js +10 -0
- package/dist/react-hooks-KCD4FRWS.js +7 -0
- package/dist/react-hooks-R6UCTUUG.js +7 -0
- package/dist/react-perf-I32W4SW7.js +7 -0
- package/dist/react-prefer-function-component-ZCGU3TJA.js +7 -0
- package/dist/security-QVOYXU25.js +7 -0
- package/dist/sonarjs-L2LS4QXC.js +16 -0
- package/dist/storybook-HBDSOOCR.js +7 -0
- package/dist/storybook-IETULN4Z.js +8 -0
- package/dist/storybook-IFYU76LT.js +7 -0
- package/dist/toml-UYLTOG46.js +7 -0
- package/dist/toml-Y76F5J2F.js +7 -0
- package/dist/turbo-BF4PT2F4.js +7 -0
- package/dist/turbo-ZBSVFMOO.js +23 -0
- package/dist/unicorn-CIVFI3IM.js +17 -0
- package/dist/unused-imports-7PV5NHDW.js +25 -0
- package/dist/unused-imports-GCXR6T7K.js +31 -0
- package/dist/unused-imports-PHM72DI2.js +25 -0
- package/dist/vanilla-extract-52HEEDJV.js +11 -0
- package/oxlint_configuration_schema.json +712 -0
- package/package.json +12 -4
package/bin/datamitsu.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { spawn } from "child_process";
|
|
4
|
-
import { join } from "path";
|
|
3
|
+
import { spawn } from "node:child_process";
|
|
4
|
+
import { join } from "node:path";
|
|
5
5
|
|
|
6
6
|
import { getBinaryFilepath } from "./utils.mjs";
|
|
7
7
|
|
|
8
|
-
const
|
|
8
|
+
const arguments_ = process.argv.slice(2);
|
|
9
9
|
|
|
10
|
-
if (!
|
|
11
|
-
|
|
10
|
+
if (!arguments_.includes("--binary-command")) {
|
|
11
|
+
arguments_.unshift("--binary-command", "datamitsu");
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
const child = spawn(
|
|
@@ -17,7 +17,7 @@ const child = spawn(
|
|
|
17
17
|
getBinaryFilepath("@datamitsu/datamitsu/package.json", "../bin/index.js"),
|
|
18
18
|
"--config",
|
|
19
19
|
join(import.meta.dirname, "../datamitsu.js"),
|
|
20
|
-
...
|
|
20
|
+
...arguments_,
|
|
21
21
|
],
|
|
22
22
|
{
|
|
23
23
|
env: {
|
|
@@ -25,10 +25,17 @@ const child = spawn(
|
|
|
25
25
|
DATAMITSU_APP_COMMITLINT_BINARY_FILEPATH: getBinaryFilepath("@commitlint/cli", "../cli.js"),
|
|
26
26
|
DATAMITSU_APP_ESLINT_BINARY_FILEPATH: getBinaryFilepath("eslint", "../../bin/eslint.js"),
|
|
27
27
|
DATAMITSU_APP_KNIP_BINARY_FILEPATH: getBinaryFilepath("knip", "../../bin/knip.js"),
|
|
28
|
+
DATAMITSU_APP_OXLINT_BINARY_FILEPATH: getBinaryFilepath("oxlint", "../../bin/oxlint"),
|
|
28
29
|
DATAMITSU_APP_PRETTIER_BINARY_FILEPATH: getBinaryFilepath("prettier", "../bin/prettier.cjs"),
|
|
29
|
-
DATAMITSU_APP_SORT_PACKAGE_JSON_BINARY_FILEPATH: getBinaryFilepath(
|
|
30
|
+
DATAMITSU_APP_SORT_PACKAGE_JSON_BINARY_FILEPATH: getBinaryFilepath(
|
|
31
|
+
"sort-package-json",
|
|
32
|
+
"../cli.js",
|
|
33
|
+
),
|
|
30
34
|
DATAMITSU_APP_SYNCPACK_BINARY_FILEPATH: getBinaryFilepath("syncpack/index.cjs", ""),
|
|
31
|
-
DATAMITSU_APP_TSC_BINARY_FILEPATH: getBinaryFilepath(
|
|
35
|
+
DATAMITSU_APP_TSC_BINARY_FILEPATH: getBinaryFilepath(
|
|
36
|
+
"@typescript/native-preview/package.json",
|
|
37
|
+
"../bin/tsgo.js",
|
|
38
|
+
),
|
|
32
39
|
DATAMITSU_PACKAGE_NAME: process.env.DATAMITSU_PACKAGE_NAME || "@shibanet0/datamitsu-config",
|
|
33
40
|
},
|
|
34
41
|
stdio: "inherit",
|
package/bin/tsc.mjs
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { spawn } from "child_process";
|
|
3
|
+
import { spawn } from "node:child_process";
|
|
4
4
|
|
|
5
5
|
import { getBinaryFilepath } from "./utils.mjs";
|
|
6
6
|
|
|
7
7
|
const args = process.argv.slice(2);
|
|
8
8
|
|
|
9
|
-
const child = spawn(
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
const child = spawn(
|
|
10
|
+
"node",
|
|
11
|
+
[getBinaryFilepath("@typescript/native-preview/package.json", "../bin/tsgo.js"), ...args],
|
|
12
|
+
{
|
|
13
|
+
stdio: "inherit",
|
|
14
|
+
},
|
|
15
|
+
);
|
|
12
16
|
|
|
13
17
|
child.on("exit", (code) => {
|
|
14
18
|
if (code !== 0) {
|