@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.
Files changed (81) hide show
  1. package/bin/datamitsu.mjs +15 -8
  2. package/bin/tsc.mjs +8 -4
  3. package/bin/tsx.mjs +1 -1
  4. package/datamitsu.js +343 -101
  5. package/dist/array-func-M6KDQ7DN.js +14 -0
  6. package/dist/array-func-NPT6GB52.js +14 -0
  7. package/dist/chunk-7PGRJISO.js +24 -0
  8. package/dist/clean-package/index.js +12 -4
  9. package/dist/dist-SV6KNVWH.js +145 -0
  10. package/dist/eslint/globs.d.ts +16 -0
  11. package/dist/eslint/index.d.ts +1 -0
  12. package/dist/eslint/index.js +954 -55
  13. package/dist/eslint/plugins/array-func.d.ts +2 -0
  14. package/dist/eslint/plugins/arrayFunc.d.ts +2 -0
  15. package/dist/eslint/plugins/deMorgan.d.ts +2 -0
  16. package/dist/eslint/plugins/import.d.ts +2 -0
  17. package/dist/eslint/plugins/javascript.d.ts +2 -0
  18. package/dist/eslint/plugins/json-schema-validator.d.ts +2 -0
  19. package/dist/eslint/plugins/json.d.ts +2 -0
  20. package/dist/eslint/plugins/jsx-a11y.d.ts +2 -0
  21. package/dist/eslint/plugins/n.d.ts +4 -0
  22. package/dist/eslint/plugins/no-use-extend-native.d.ts +2 -0
  23. package/dist/eslint/plugins/perfectionist copy.d.ts +2 -0
  24. package/dist/eslint/plugins/perfectionist.d.ts +2 -2
  25. package/dist/eslint/plugins/playwright.d.ts +2 -0
  26. package/dist/eslint/plugins/prettier.d.ts +2 -0
  27. package/dist/eslint/plugins/promise.d.ts +2 -0
  28. package/dist/eslint/plugins/react copy.d.ts +2 -0
  29. package/dist/eslint/plugins/react-hooks.d.ts +2 -0
  30. package/dist/eslint/plugins/react-perf.d.ts +2 -0
  31. package/dist/eslint/plugins/react-prefer-function-component.d.ts +2 -0
  32. package/dist/eslint/plugins/react-refresh.d.ts +2 -0
  33. package/dist/eslint/plugins/react.d.ts +2 -0
  34. package/dist/eslint/plugins/security.d.ts +2 -0
  35. package/dist/eslint/plugins/sonarjs.d.ts +2 -0
  36. package/dist/eslint/plugins/storybook.d.ts +2 -0
  37. package/dist/eslint/plugins/toml.d.ts +2 -0
  38. package/dist/eslint/plugins/turbo.d.ts +2 -0
  39. package/dist/eslint/plugins/typescript.d.ts +2 -0
  40. package/dist/eslint/plugins/unicorn copy.d.ts +2 -0
  41. package/dist/eslint/plugins/unicorn.d.ts +2 -0
  42. package/dist/eslint/plugins/unused-imports.d.ts +2 -0
  43. package/dist/eslint/plugins/vanilla-extract.d.ts +2 -0
  44. package/dist/eslint/plugins/yml.d.ts +2 -0
  45. package/dist/eslint/types.d.ts +34 -0
  46. package/dist/globs/globs.d.ts +1 -0
  47. package/dist/json-LWTL4ZNK.js +18 -0
  48. package/dist/json-ZAIWY2QG.js +18 -0
  49. package/dist/jsx-a11y-DENBIOMT.js +7 -0
  50. package/dist/no-use-extend-native-WXT3EZT4.js +7 -0
  51. package/dist/no-use-extend-native-ZPCF5GPF.js +7 -0
  52. package/dist/oxlint/index.d.ts +2 -0
  53. package/dist/playwright-BGT6YZAD.js +15 -0
  54. package/dist/playwright-EQJ74ILC.js +15 -0
  55. package/dist/prettier/index.js +1 -1
  56. package/dist/prettier-STALF5K5.js +7 -0
  57. package/dist/prettier-VWVEU6BH.js +7 -0
  58. package/dist/promise-4UOFB7NK.js +7 -0
  59. package/dist/promise-GMCQOXN6.js +7 -0
  60. package/dist/react-QIEZHZI3.js +61 -0
  61. package/dist/react-SBV4CSZW.js +10 -0
  62. package/dist/react-hooks-KCD4FRWS.js +7 -0
  63. package/dist/react-hooks-R6UCTUUG.js +7 -0
  64. package/dist/react-perf-I32W4SW7.js +7 -0
  65. package/dist/react-prefer-function-component-ZCGU3TJA.js +7 -0
  66. package/dist/security-QVOYXU25.js +7 -0
  67. package/dist/sonarjs-L2LS4QXC.js +16 -0
  68. package/dist/storybook-HBDSOOCR.js +7 -0
  69. package/dist/storybook-IETULN4Z.js +8 -0
  70. package/dist/storybook-IFYU76LT.js +7 -0
  71. package/dist/toml-UYLTOG46.js +7 -0
  72. package/dist/toml-Y76F5J2F.js +7 -0
  73. package/dist/turbo-BF4PT2F4.js +7 -0
  74. package/dist/turbo-ZBSVFMOO.js +23 -0
  75. package/dist/unicorn-CIVFI3IM.js +17 -0
  76. package/dist/unused-imports-7PV5NHDW.js +25 -0
  77. package/dist/unused-imports-GCXR6T7K.js +31 -0
  78. package/dist/unused-imports-PHM72DI2.js +25 -0
  79. package/dist/vanilla-extract-52HEEDJV.js +11 -0
  80. package/oxlint_configuration_schema.json +712 -0
  81. 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 args = process.argv.slice(2);
8
+ const arguments_ = process.argv.slice(2);
9
9
 
10
- if (!args.includes("--binary-command")) {
11
- args.unshift("--binary-command", "datamitsu");
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
- ...args,
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("sort-package-json", "../cli.js"),
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("@typescript/native-preview/package.json", "../bin/tsgo.js"),
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("node", [getBinaryFilepath("@typescript/native-preview/package.json", "../bin/tsgo.js"), ...args], {
10
- stdio: "inherit",
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) {
package/bin/tsx.mjs CHANGED
@@ -1,6 +1,6 @@
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