@chanom/dev-config 0.0.3 → 0.0.5

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.
@@ -1,8 +1,6 @@
1
- //#region src/knip/base-config.d.ts
2
1
  declare const _default: {
3
2
  ignore: string[];
4
3
  ignoreDependencies: string[];
5
4
  ignoreExportsUsedInFile: true;
6
5
  };
7
- //#endregion
8
6
  export { _default as default };
@@ -1,4 +1,4 @@
1
- //#region src/knip/base-config.ts
1
+ // src/knip/base-config.ts
2
2
  var base_config_default = {
3
3
  ignore: [
4
4
  "**/dist/**",
@@ -9,5 +9,4 @@ var base_config_default = {
9
9
  ignoreDependencies: ["@chanom/dev-config"],
10
10
  ignoreExportsUsedInFile: true
11
11
  };
12
- //#endregion
13
12
  export { base_config_default as default };
@@ -1,11 +1,9 @@
1
- //#region src/knip/index.d.ts
2
1
  declare const _default: {
2
+ ignoreExportsUsedInFile: true;
3
3
  entry: string[];
4
4
  project: string[];
5
5
  ignore: string[];
6
6
  ignoreDependencies: string[];
7
7
  vite: true;
8
- ignoreExportsUsedInFile: true;
9
8
  };
10
- //#endregion
11
9
  export { _default as default };
@@ -1,5 +1,5 @@
1
1
  import base_config_default from "./base-config.js";
2
- //#region src/knip/index.ts
2
+ // src/knip/index.ts
3
3
  var knip_default = {
4
4
  ...base_config_default,
5
5
  entry: ["index.html", "src/main.tsx"],
@@ -16,5 +16,4 @@ var knip_default = {
16
16
  ],
17
17
  vite: true
18
18
  };
19
- //#endregion
20
19
  export { knip_default as default };
@@ -1,4 +1,3 @@
1
- //#region src/oxfmt/base-config.d.ts
2
1
  declare const _default: {
3
2
  useTabs: false;
4
3
  tabWidth: number;
@@ -22,5 +21,4 @@ declare const _default: {
22
21
  groups: (string | string[])[];
23
22
  };
24
23
  };
25
- //#endregion
26
24
  export { _default as default };
@@ -1,5 +1,5 @@
1
1
  import { defineConfig } from "oxfmt";
2
- //#region src/oxfmt/base-config.ts
2
+ // src/oxfmt/base-config.ts
3
3
  var base_config_default = defineConfig({
4
4
  useTabs: false,
5
5
  tabWidth: 2,
@@ -43,5 +43,4 @@ var base_config_default = defineConfig({
43
43
  "unknown"
44
44
  ] }
45
45
  });
46
- //#endregion
47
46
  export { base_config_default as default };
@@ -1,5 +1,4 @@
1
1
  import base_config_default from "./base-config.js";
2
- //#region src/oxfmt/index.ts
2
+ // src/oxfmt/index.ts
3
3
  var oxfmt_default = base_config_default;
4
- //#endregion
5
4
  export { oxfmt_default as default };
@@ -1,4 +1,3 @@
1
- //#region src/oxlint/base-config.d.ts
2
1
  declare const _default: {
3
2
  plugins: "typescript"[];
4
3
  categories: {
@@ -23,5 +22,4 @@ declare const _default: {
23
22
  };
24
23
  ignorePatterns: string[];
25
24
  };
26
- //#endregion
27
25
  export { _default as default };
@@ -1,5 +1,5 @@
1
1
  import { defineConfig } from "oxlint";
2
- //#region src/oxlint/base-config.ts
2
+ // src/oxlint/base-config.ts
3
3
  var base_config_default = defineConfig({
4
4
  plugins: ["typescript"],
5
5
  categories: { correctness: "error" },
@@ -22,5 +22,4 @@ var base_config_default = defineConfig({
22
22
  },
23
23
  ignorePatterns: ["**/node_modules/**", "**/.turbo/**"]
24
24
  });
25
- //#endregion
26
25
  export { base_config_default as default };
@@ -1,4 +1,3 @@
1
- //#region src/oxlint/index.d.ts
2
1
  declare const _default: {
3
2
  extends: {
4
3
  plugins: "typescript"[];
@@ -21,7 +20,7 @@ declare const _default: {
21
20
  };
22
21
  ignorePatterns: string[];
23
22
  }[];
24
- plugins: ("react" | "jsx-a11y")[];
23
+ plugins: ("jsx-a11y" | "react")[];
25
24
  categories: {
26
25
  correctness: "error";
27
26
  };
@@ -41,5 +40,4 @@ declare const _default: {
41
40
  };
42
41
  ignorePatterns: string[];
43
42
  };
44
- //#endregion
45
43
  export { _default as default };
@@ -1,6 +1,6 @@
1
1
  import base_config_default from "./base-config.js";
2
2
  import { defineConfig } from "oxlint";
3
- //#region src/oxlint/index.ts
3
+ // src/oxlint/index.ts
4
4
  var oxlint_default = defineConfig({
5
5
  extends: [base_config_default],
6
6
  plugins: ["react", "jsx-a11y"],
@@ -28,5 +28,4 @@ var oxlint_default = defineConfig({
28
28
  "**/build/**"
29
29
  ]
30
30
  });
31
- //#endregion
32
31
  export { oxlint_default as default };
package/package.json CHANGED
@@ -1,7 +1,12 @@
1
1
  {
2
2
  "name": "@chanom/dev-config",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "Shared oxlint and oxfmt config",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/peeranat-dan/chanom.git",
8
+ "directory": "packages/dev-config"
9
+ },
5
10
  "files": [
6
11
  "dist"
7
12
  ],
@@ -38,19 +43,23 @@
38
43
  "devDependencies": {
39
44
  "@tsconfig/node-lts": "24.0.0",
40
45
  "@tsconfig/node-ts": "23.6.4",
41
- "knip": "6.23.0",
42
- "oxfmt": "0.56.0",
43
- "oxlint": "1.71.0",
44
- "tsdown": "0.22.3",
45
- "typescript": "6.0.3"
46
+ "@types/node": "26.0.1",
47
+ "knip": "6.26.0",
48
+ "oxfmt": "0.74.0",
49
+ "oxlint": "1.89.0",
50
+ "oxlint-tsgolint": "7.0.2005",
51
+ "tsdown": "0.23.1",
52
+ "typescript": "7.0.2"
46
53
  },
47
54
  "peerDependencies": {
48
- "knip": "6.23.0",
49
- "oxfmt": "0.56.0",
50
- "oxlint": "1.71.0"
55
+ "knip": "6.26.0",
56
+ "oxfmt": "0.74.0",
57
+ "oxlint": "1.89.0",
58
+ "oxlint-tsgolint": "7.0.2005"
51
59
  },
52
60
  "scripts": {
53
61
  "build": "tsdown",
54
- "dev": "tsdown --watch"
62
+ "dev": "tsdown --watch",
63
+ "typecheck": "tsc --noEmit"
55
64
  }
56
65
  }