bochi 5.3.0 → 6.0.0

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 fz6m
3
+ Copyright (c) 2026 fz6m
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  `tsconfig.json` / `prettier` / `biome` / `dprint` base configs
4
4
 
5
- > *Required: TypeScript >= `5.5 beta`*
5
+ > *Required: TypeScript >= `v6`*
6
6
 
7
7
  ## Install
8
8
 
@@ -52,8 +52,6 @@ Common config:
52
52
 
53
53
  #### React Project
54
54
 
55
- > *Required: TypeScript >= `5`*
56
-
57
55
  ```ts
58
56
  {
59
57
  "extends": "bochi/project",
@@ -67,7 +65,7 @@ Common config:
67
65
  {
68
66
  "compilerOptions": {
69
67
  // upgrade output syntax target
70
- "target": "es6",
68
+ "target": "es2025",
71
69
  // generate declaration source map
72
70
  "declarationMap": true
73
71
  // ...
@@ -100,14 +98,6 @@ module.exports = require('bochi/prettier')
100
98
  }
101
99
  ```
102
100
 
103
- ## Package version
104
-
105
- Package Name|Version
106
- :-:|:-:
107
- `bochi`|[`v5.x`](https://github.com/xn-sakina/bochi)
108
- `@xn-sakina/mental`|[`v4.x`](https://github.com/xn-sakina/bochi/releases/tag/v4.2.1)
109
- `@xn-sakina/mental`|[`v3.x`](https://github.com/xn-sakina/bochi/releases/tag/v3.1.0)
110
-
111
101
  ## License
112
102
 
113
103
  MIT
package/biome.json CHANGED
@@ -1,16 +1,17 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/1.9.0/schema.json",
2
+ "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3
3
  "files": {
4
- "ignore": [
5
- "**/node_modules/**",
6
- "**/dist/**",
7
- "**/build/**",
8
- "**/compiled/**",
9
- "**/test/**",
10
- "**/tests/**",
11
- "**/coverage/**",
12
- "**/fixtures/**",
13
- "**/__fixtures__/**"
4
+ "includes": [
5
+ "**/*",
6
+ "!**/node_modules/**",
7
+ "!**/dist/**",
8
+ "!**/build/**",
9
+ "!**/compiled/**",
10
+ "!**/test/**",
11
+ "!**/tests/**",
12
+ "!**/coverage/**",
13
+ "!**/fixtures/**",
14
+ "!**/__fixtures__/**"
14
15
  ]
15
16
  },
16
17
  "formatter": {
package/dprint.json CHANGED
@@ -28,7 +28,7 @@
28
28
  "**/__fixtures__/**"
29
29
  ],
30
30
  "plugins": [
31
- "https://plugins.dprint.dev/typescript-0.95.8.wasm",
32
- "https://plugins.dprint.dev/json-0.20.0.wasm"
31
+ "https://plugins.dprint.dev/typescript-0.95.15.wasm",
32
+ "https://plugins.dprint.dev/json-0.21.1.wasm"
33
33
  ]
34
34
  }
@@ -15,6 +15,7 @@
15
15
  "isolatedModules": false,
16
16
  "noEmit": false,
17
17
  "declaration": true,
18
+ "types": ["node"],
18
19
  "rootDir": "${configDir}/src",
19
20
  "outDir": "${configDir}/dist"
20
21
  },
package/lib-react.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "es5",
3
+ "target": "es6",
4
4
  "lib": ["dom", "dom.iterable", "esnext"],
5
5
  "allowJs": true,
6
6
  "skipLibCheck": true,
@@ -10,12 +10,13 @@
10
10
  "forceConsistentCasingInFileNames": true,
11
11
  "noFallthroughCasesInSwitch": true,
12
12
  "module": "esnext",
13
- "moduleResolution": "node",
13
+ "moduleResolution": "bundler",
14
14
  "resolveJsonModule": true,
15
15
  "isolatedModules": true,
16
16
  "noEmit": false,
17
17
  "jsx": "react-jsx",
18
18
  "declaration": true,
19
+ "types": ["node"],
19
20
  "rootDir": "${configDir}/src",
20
21
  "outDir": "${configDir}/dist"
21
22
  },
package/lib.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "es5",
3
+ "target": "es6",
4
4
  "lib": ["dom", "dom.iterable", "esnext"],
5
5
  "allowJs": true,
6
6
  "skipLibCheck": true,
@@ -10,11 +10,12 @@
10
10
  "forceConsistentCasingInFileNames": true,
11
11
  "noFallthroughCasesInSwitch": true,
12
12
  "module": "commonjs",
13
- "moduleResolution": "node",
13
+ "moduleResolution": "bundler",
14
14
  "resolveJsonModule": true,
15
15
  "isolatedModules": false,
16
16
  "noEmit": false,
17
17
  "declaration": true,
18
+ "types": ["node"],
18
19
  "rootDir": "${configDir}/src",
19
20
  "outDir": "${configDir}/dist"
20
21
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bochi",
3
- "version": "5.3.0",
3
+ "version": "6.0.0",
4
4
  "description": "tsconfig.json base configs",
5
5
  "keywords": [
6
6
  "tsconfig",
@@ -52,20 +52,17 @@
52
52
  "push": "npm publish --registry=https://registry.npmjs.com/"
53
53
  },
54
54
  "devDependencies": {
55
- "@biomejs/biome": "^1.9.0",
56
- "@types/node": "^18.19.50",
55
+ "@biomejs/biome": "^2.3.15",
56
+ "@types/node": "^24.10.13",
57
57
  "commit-verify": "^1.1.0",
58
- "dprint": "^0.50.1",
59
- "husky": "^9.1.6",
60
- "prettier": "^3.3.3",
61
- "typescript": "5.6.2"
58
+ "dprint": "^0.51.1",
59
+ "husky": "^9.1.7",
60
+ "prettier": "^3.8.1",
61
+ "typescript": "6.0.0-beta"
62
62
  },
63
63
  "publishConfig": {
64
64
  "access": "public"
65
65
  },
66
66
  "license": "MIT",
67
- "packageManager": "pnpm@10.13.1",
68
- "pnpm": {
69
- "neverBuiltDependencies": []
70
- }
67
+ "packageManager": "pnpm@10.29.3"
71
68
  }
package/project.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "es5",
3
+ "target": "es6",
4
4
  "lib": ["dom", "dom.iterable", "esnext"],
5
5
  "allowJs": true,
6
6
  "skipLibCheck": true,
@@ -15,6 +15,7 @@
15
15
  "resolveJsonModule": true,
16
16
  "isolatedModules": true,
17
17
  "noEmit": true,
18
+ "types": ["node"],
18
19
  "jsx": "react-jsx"
19
20
  }
20
21
  }