bizdays-toolkit 0.3.0 → 0.3.1

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 (2) hide show
  1. package/CHANGELOG.md +13 -1
  2. package/package.json +5 -3
package/CHANGELOG.md CHANGED
@@ -4,6 +4,17 @@
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.3.1] - 2026-10-15
8
+
9
+ ライブラリのコード・公開する API・祝日データに変更はありません。開発の検査を強めた版です。
10
+
11
+ ### 開発
12
+
13
+ - lint に oxlint(1.88.0)を導入し、`pnpm check` と CI で実行するようにした(`.oxlintrc.json`)
14
+ - 型チェックを強めた(`noUnusedLocals`・`noUnusedParameters`・`noImplicitReturns`・`exactOptionalPropertyTypes`)
15
+ - oxfmt を 0.73.0 に更新
16
+ - 改行コードを LF に統一した(`.gitattributes`)
17
+
7
18
  ## [0.3.0] - 2026-10-15
8
19
 
9
20
  1.0.0 に向けて、将来の機能追加で利用者のコードが壊れにくい作りにしました。機能の追加はありません。
@@ -79,7 +90,8 @@
79
90
 
80
91
  - 日本: 2026 年 2 月の官報(2027 年の春分・秋分の日)まで反映(`dataVersion: "2026-02"`、`confirmedThrough: 2027`)
81
92
 
82
- [Unreleased]: https://github.com/inohan77/bizdays-toolkit/compare/v0.3.0...HEAD
93
+ [Unreleased]: https://github.com/inohan77/bizdays-toolkit/compare/v0.3.1...HEAD
94
+ [0.3.1]: https://github.com/inohan77/bizdays-toolkit/compare/v0.3.0...v0.3.1
83
95
  [0.3.0]: https://github.com/inohan77/bizdays-toolkit/compare/v0.2.0...v0.3.0
84
96
  [0.2.0]: https://github.com/inohan77/bizdays-toolkit/compare/v0.1.2...v0.2.0
85
97
  [0.1.2]: https://github.com/inohan77/bizdays-toolkit/compare/v0.1.1...v0.1.2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bizdays-toolkit",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Holidays, business-day calendar and day-by-day schedules (e.g. store hours) with time zone support. Japanese holidays verified against the Cabinet Office data. / 祝日と営業日のカレンダー(タイムゾーン対応・日本の祝日は内閣府データで全日照合)",
5
5
  "keywords": [
6
6
  "bizdays",
@@ -45,11 +45,12 @@
45
45
  "scripts": {
46
46
  "build": "rm -rf dist && tsc -p tsconfig.build.json",
47
47
  "typecheck": "tsc --noEmit",
48
+ "lint": "oxlint --deny-warnings src scripts test",
48
49
  "test": "node --test \"test/**/*.test.ts\"",
49
50
  "test:tz": "node scripts/test-tz.ts",
50
51
  "fmt": "oxfmt",
51
52
  "fmt:check": "oxfmt --check",
52
- "check": "pnpm typecheck && pnpm test && pnpm test:tz && pnpm build && pnpm fmt:check && node scripts/check-package.ts && node scripts/check-size.ts && node scripts/api-report.ts",
53
+ "check": "pnpm typecheck && pnpm lint && pnpm test && pnpm test:tz && pnpm build && pnpm fmt:check && node scripts/check-package.ts && node scripts/check-size.ts && node scripts/api-report.ts",
53
54
  "verify:cao": "node scripts/verify-cao.ts",
54
55
  "prepublishOnly": "pnpm check",
55
56
  "release-notes": "node scripts/release-notes.ts",
@@ -57,7 +58,8 @@
57
58
  },
58
59
  "devDependencies": {
59
60
  "@types/node": "24.19.2",
60
- "oxfmt": "0.72.0",
61
+ "oxfmt": "0.73.0",
62
+ "oxlint": "1.88.0",
61
63
  "typescript": "6.0.3"
62
64
  },
63
65
  "engines": {