@chanom/dev-config 0.0.2 → 0.0.4
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/dist/knip/base-config.d.ts +8 -0
- package/dist/knip/base-config.js +13 -0
- package/dist/knip/index.d.ts +11 -0
- package/dist/knip/index.js +20 -0
- package/package.json +25 -6
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/knip/base-config.ts
|
|
2
|
+
var base_config_default = {
|
|
3
|
+
ignore: [
|
|
4
|
+
"**/dist/**",
|
|
5
|
+
"**/build/**",
|
|
6
|
+
"**/.turbo/**",
|
|
7
|
+
"**/CHANGELOG.md"
|
|
8
|
+
],
|
|
9
|
+
ignoreDependencies: ["@chanom/dev-config"],
|
|
10
|
+
ignoreExportsUsedInFile: true
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { base_config_default as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import base_config_default from "./base-config.js";
|
|
2
|
+
//#region src/knip/index.ts
|
|
3
|
+
var knip_default = {
|
|
4
|
+
...base_config_default,
|
|
5
|
+
entry: ["index.html", "src/main.tsx"],
|
|
6
|
+
project: ["src/**/*.{ts,tsx}"],
|
|
7
|
+
ignore: [
|
|
8
|
+
...base_config_default.ignore ?? [],
|
|
9
|
+
"**/*.stories.tsx",
|
|
10
|
+
"src/vite-env.d.ts"
|
|
11
|
+
],
|
|
12
|
+
ignoreDependencies: [
|
|
13
|
+
...base_config_default.ignoreDependencies ?? [],
|
|
14
|
+
"@types/react",
|
|
15
|
+
"@types/react-dom"
|
|
16
|
+
],
|
|
17
|
+
vite: true
|
|
18
|
+
};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { knip_default as default };
|
package/package.json
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chanom/dev-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
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
|
],
|
|
@@ -22,6 +27,14 @@
|
|
|
22
27
|
"./oxlint/base": {
|
|
23
28
|
"types": "./dist/oxlint/base-config.d.ts",
|
|
24
29
|
"default": "./dist/oxlint/base-config.js"
|
|
30
|
+
},
|
|
31
|
+
"./knip/config": {
|
|
32
|
+
"types": "./dist/knip/index.d.ts",
|
|
33
|
+
"default": "./dist/knip/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./knip/base": {
|
|
36
|
+
"types": "./dist/knip/base-config.d.ts",
|
|
37
|
+
"default": "./dist/knip/base-config.js"
|
|
25
38
|
}
|
|
26
39
|
},
|
|
27
40
|
"publishConfig": {
|
|
@@ -30,17 +43,23 @@
|
|
|
30
43
|
"devDependencies": {
|
|
31
44
|
"@tsconfig/node-lts": "24.0.0",
|
|
32
45
|
"@tsconfig/node-ts": "23.6.4",
|
|
33
|
-
"
|
|
34
|
-
"
|
|
46
|
+
"@types/node": "26.0.1",
|
|
47
|
+
"knip": "6.26.0",
|
|
48
|
+
"oxfmt": "0.58.0",
|
|
49
|
+
"oxlint": "1.73.0",
|
|
50
|
+
"oxlint-tsgolint": "0.24.0",
|
|
35
51
|
"tsdown": "0.22.3",
|
|
36
52
|
"typescript": "6.0.3"
|
|
37
53
|
},
|
|
38
54
|
"peerDependencies": {
|
|
39
|
-
"
|
|
40
|
-
"
|
|
55
|
+
"knip": "6.26.0",
|
|
56
|
+
"oxfmt": "0.58.0",
|
|
57
|
+
"oxlint": "1.73.0",
|
|
58
|
+
"oxlint-tsgolint": "0.24.0"
|
|
41
59
|
},
|
|
42
60
|
"scripts": {
|
|
43
61
|
"build": "tsdown",
|
|
44
|
-
"dev": "tsdown --watch"
|
|
62
|
+
"dev": "tsdown --watch",
|
|
63
|
+
"typecheck": "tsc --noEmit"
|
|
45
64
|
}
|
|
46
65
|
}
|