@shibanet0/datamitsu-config 0.0.1-alpha-12 → 0.0.1-alpha-14

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 (67) hide show
  1. package/.oxlintrc.json +30 -0
  2. package/bin/datamitsu.mjs +2 -5
  3. package/bin/mitsu.mjs +3 -3
  4. package/bin/tsc.mjs +2 -2
  5. package/datamitsu.js +1887 -695
  6. package/dist/arrayFunc-E2CQDPH7.js +24 -0
  7. package/dist/arrow-return-style-EWYINZUP.js +10 -0
  8. package/dist/boundaries-HC23RTYZ.js +10 -0
  9. package/dist/chunk-USDUPVZD.js +51 -0
  10. package/dist/commitlint/index.d.ts +2 -2
  11. package/dist/compat-4UCY3ESX.js +10 -0
  12. package/dist/datamitsu-config/apps.d.ts +1 -0
  13. package/dist/datamitsu-config/cmdInit.d.ts +2 -0
  14. package/dist/datamitsu-config/constants.d.ts +4 -0
  15. package/dist/datamitsu-config/hooks.d.ts +1 -0
  16. package/dist/datamitsu-config/main.d.ts +1 -0
  17. package/dist/datamitsu-config/project.d.ts +1 -0
  18. package/dist/datamitsu-config/tools.d.ts +1 -0
  19. package/dist/datamitsu-config/utils/cleanDependencies.d.ts +2 -1
  20. package/dist/deMorgan-X5NIQJEB.js +18 -0
  21. package/dist/depend-77SBD4XZ.js +10 -0
  22. package/dist/depend-TTKNVDIS.js +10 -0
  23. package/dist/eslint/index.js +125 -878
  24. package/dist/eslint/plugins/arrow-return-style.d.ts +2 -0
  25. package/dist/eslint/plugins/boundaries.d.ts +2 -0
  26. package/dist/eslint/plugins/compat.d.ts +2 -0
  27. package/dist/eslint/plugins/depend.d.ts +2 -0
  28. package/dist/eslint/plugins/jsdoc.d.ts +2 -0
  29. package/dist/eslint/plugins/no-unsanitized.d.ts +2 -0
  30. package/dist/eslint/plugins/react-you-might-not-need-an-effect.d.ts +2 -0
  31. package/dist/eslint/plugins/react.d.ts +1 -1
  32. package/dist/eslint/plugins/regexp.d.ts +2 -0
  33. package/dist/eslint/plugins/yml.d.ts +1 -1
  34. package/dist/eslint/types.d.ts +23 -4
  35. package/dist/import-MT776CTN.js +31 -0
  36. package/dist/javascript-KSG5RSYY.js +36 -0
  37. package/dist/jsdoc-ETFYVH7N.js +10 -0
  38. package/dist/json-ADTCTMIQ.js +28 -0
  39. package/dist/json-schema-validator-KJQPYPV7.js +19 -0
  40. package/dist/jsx-a11y-36UJHF7N.js +26 -0
  41. package/dist/n-CF27VQ2A.js +19 -0
  42. package/dist/no-unsanitized-JJCCLDDN.js +10 -0
  43. package/dist/no-use-extend-native-W3ODJIMY.js +19 -0
  44. package/dist/perfectionist-RCGRE2N4.js +99 -0
  45. package/dist/playwright-MAN5QZRB.js +19 -0
  46. package/dist/prettier/index.d.ts +2 -1
  47. package/dist/prettier/index.js +11 -8
  48. package/dist/prettier-3BKAYVNG.js +18 -0
  49. package/dist/promise-IOLHNOYU.js +25 -0
  50. package/dist/react-FQDLJSLF.js +66 -0
  51. package/dist/react-hooks-E3N7RURQ.js +18 -0
  52. package/dist/react-perf-3ZUXZLBE.js +18 -0
  53. package/dist/react-prefer-function-component-NSMHVGIJ.js +19 -0
  54. package/dist/react-refresh-RTFXBPGX.js +18 -0
  55. package/dist/react-you-might-not-need-an-effect-5O54WHDE.js +10 -0
  56. package/dist/regexp-JVKIJGCV.js +10 -0
  57. package/dist/security-4AI7Q2BJ.js +24 -0
  58. package/dist/sonarjs-C2LXDRJS.js +42 -0
  59. package/dist/storybook-JDINFFX5.js +19 -0
  60. package/dist/toml-LIBZFTGW.js +19 -0
  61. package/dist/turbo-3YMDV64X.js +19 -0
  62. package/dist/typescript-6S3HNHEQ.js +42 -0
  63. package/dist/unicorn-DIQEKCM2.js +62 -0
  64. package/dist/unused-imports-Q4RVNVNE.js +29 -0
  65. package/dist/vanilla-extract-3GUV75D2.js +21 -0
  66. package/dist/yml-EIKYT3P5.js +25 -0
  67. package/package.json +4 -5
package/.oxlintrc.json ADDED
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "./oxlint_configuration_schema.json",
3
+ "categories": {
4
+ "correctness": "error",
5
+ "pedantic": "error",
6
+ "perf": "error",
7
+ "style": "warn",
8
+ "suspicious": "error"
9
+ },
10
+ "rules": {
11
+ "array-type": "off",
12
+ "arrow-body-style": "off",
13
+ "capitalized-comments": "off",
14
+ "func-style": "off",
15
+ "id-length": "off",
16
+ "max-lines": "off",
17
+ "max-lines-per-function": "off",
18
+ "no-inline-comments": "off",
19
+ "no-magic-numbers": "off",
20
+ "no-ternary": "off",
21
+ "no-warning-comments": "off",
22
+ "prefer-template": "off",
23
+ "sort-imports": "off",
24
+ "triple-slash-reference": "off",
25
+ "unicorn/filename-case": "off",
26
+ "unicorn/no-array-sort": "off",
27
+ "unicorn/no-null": "off",
28
+ "unicorn/require-module-specifiers": "off"
29
+ }
30
+ }
package/bin/datamitsu.mjs CHANGED
@@ -8,7 +8,7 @@ import { getBinaryFilepath } from "./utils.mjs";
8
8
  const arguments_ = process.argv.slice(2);
9
9
 
10
10
  if (!arguments_.includes("--binary-command")) {
11
- arguments_.unshift("--binary-command", "datamitsu");
11
+ arguments_.unshift("--binary-command", "pnpm datamitsu");
12
12
  }
13
13
 
14
14
  const child = spawn(
@@ -32,10 +32,7 @@ const child = spawn(
32
32
  "../cli.js",
33
33
  ),
34
34
  DATAMITSU_APP_SYNCPACK_BINARY_FILEPATH: getBinaryFilepath("syncpack/index.cjs", ""),
35
- DATAMITSU_APP_TSC_BINARY_FILEPATH: getBinaryFilepath(
36
- "@typescript/native-preview/package.json",
37
- "../bin/tsgo.js",
38
- ),
35
+ DATAMITSU_APP_TSC_BINARY_FILEPATH: getBinaryFilepath("typescript/package.json", "../bin/tsc"),
39
36
  DATAMITSU_PACKAGE_NAME: process.env.DATAMITSU_PACKAGE_NAME || "@shibanet0/datamitsu-config",
40
37
  },
41
38
  stdio: "inherit",
package/bin/mitsu.mjs CHANGED
@@ -44,9 +44,9 @@ process.on("SIGHUP", shutdown);
44
44
  try {
45
45
  await run(["fix"]);
46
46
  await run(["lint"]);
47
- } catch (reason) {
48
- if (typeof reason === "number") {
49
- process.exit(reason);
47
+ } catch (error) {
48
+ if (typeof error === "number") {
49
+ process.exit(error);
50
50
  }
51
51
  process.exit(1);
52
52
  }
package/bin/tsc.mjs CHANGED
@@ -7,8 +7,8 @@ import { getBinaryFilepath } from "./utils.mjs";
7
7
  const args = process.argv.slice(2);
8
8
 
9
9
  const child = spawn(
10
- "node",
11
- [getBinaryFilepath("@typescript/native-preview/package.json", "../bin/tsgo.js"), ...args],
10
+ getBinaryFilepath("@typescript/native-preview/package.json", "../bin/tsc"),
11
+ args,
12
12
  {
13
13
  stdio: "inherit",
14
14
  },