bizdays-toolkit 0.1.0 → 0.1.2
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/CHANGELOG.md +23 -1
- package/README.md +15 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.1.2] - 2026-10-12
|
|
8
|
+
|
|
9
|
+
ライブラリのコードと祝日データに変更はありません。
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- npm への公開を staged publishing に変更した。GitHub Actions は版をステージするだけで、メンテナーが npmjs.com で 2FA 付きで承認するまで利用者には届かない。npm の Trusted Publisher の設定でも直接公開(npm publish)を許可しないようにした。GitHub Release は下書きで作成し、承認後に公開する
|
|
14
|
+
- README のロゴの配色を変更した。文字(「bizdays」の緑と「-toolkit」の灰色)とカレンダーの留め具は、ライト・ダークどちらの背景でも読める両テーマ共通の中間色にし、アイコンの配色だけを `<picture>` でテーマに合わせて切り替える。`<picture>` の切り替えは GitHub のテーマ設定ではなく OS の設定に従うため、両者が食い違うと反対の背景にロゴが表示されて読みにくかった
|
|
15
|
+
|
|
16
|
+
## [0.1.1] - 2026-10-12
|
|
17
|
+
|
|
18
|
+
ライブラリのコードと祝日データに変更はありません。
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- README の先頭にロゴとバッジ(npm の版・CI・ライセンス・Node.js の対応版・依存ゼロ・型定義同梱)を追加
|
|
23
|
+
- CI・リリースのワークフローで Node.js・npm・pnpm・ランナーの版を固定(Node.js 22.23.3 / 24.21.0、npm 12.2.0、pnpm 12.11.2、ubuntu-24.04)。セットアップは共通のアクション(`.github/actions/setup-toolchain`)にまとめた
|
|
24
|
+
- リリースのワークフローで、同じ版がすでに npm にある場合は公開前に止めるようにした
|
|
25
|
+
- 開発用の依存(devDependencies)を版の完全一致で固定
|
|
26
|
+
|
|
7
27
|
## [0.1.0] - 2026-10-11
|
|
8
28
|
|
|
9
29
|
### Added
|
|
@@ -19,5 +39,7 @@
|
|
|
19
39
|
|
|
20
40
|
- 日本: 2026 年 2 月の官報(2027 年の春分・秋分の日)まで反映(`dataVersion: "2026-02"`、`confirmedThrough: 2027`)
|
|
21
41
|
|
|
22
|
-
[Unreleased]: https://github.com/inohan77/bizdays-toolkit/compare/v0.1.
|
|
42
|
+
[Unreleased]: https://github.com/inohan77/bizdays-toolkit/compare/v0.1.2...HEAD
|
|
43
|
+
[0.1.2]: https://github.com/inohan77/bizdays-toolkit/compare/v0.1.1...v0.1.2
|
|
44
|
+
[0.1.1]: https://github.com/inohan77/bizdays-toolkit/compare/v0.1.0...v0.1.1
|
|
23
45
|
[0.1.0]: https://github.com/inohan77/bizdays-toolkit/releases/tag/v0.1.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
<h1 align="center">
|
|
2
|
+
<picture>
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/inohan77/bizdays-toolkit/main/docs/assets/logo-dark.svg">
|
|
4
|
+
<img src="https://raw.githubusercontent.com/inohan77/bizdays-toolkit/main/docs/assets/logo-light.svg" alt="bizdays-toolkit" width="400">
|
|
5
|
+
</picture>
|
|
6
|
+
</h1>
|
|
7
|
+
|
|
8
|
+
<p align="center">
|
|
9
|
+
<a href="https://www.npmjs.com/package/bizdays-toolkit"><img src="https://img.shields.io/npm/v/bizdays-toolkit" alt="npm version"></a>
|
|
10
|
+
<a href="https://github.com/inohan77/bizdays-toolkit/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/inohan77/bizdays-toolkit/ci.yml?branch=main&label=CI" alt="CI status"></a>
|
|
11
|
+
<a href="https://github.com/inohan77/bizdays-toolkit/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/bizdays-toolkit" alt="license"></a>
|
|
12
|
+
<img src="https://img.shields.io/node/v/bizdays-toolkit" alt="Node.js version">
|
|
13
|
+
<img src="https://img.shields.io/badge/dependencies-0-brightgreen" alt="zero dependencies">
|
|
14
|
+
<img src="https://img.shields.io/badge/types-included-blue" alt="TypeScript types included">
|
|
15
|
+
</p>
|
|
2
16
|
|
|
3
17
|
祝日と、会社・店舗の休業日を組み合わせた営業日カレンダーです。
|
|
4
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bizdays-toolkit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Holidays and business-day calendar with time zone support. Japanese holidays verified against the Cabinet Office data. / 祝日と営業日のカレンダー(タイムゾーン対応・日本の祝日は内閣府データで全日照合)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bizdays",
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"release-notes": "node scripts/release-notes.ts"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@types/node": "
|
|
58
|
-
"oxfmt": "
|
|
59
|
-
"typescript": "
|
|
57
|
+
"@types/node": "24.19.2",
|
|
58
|
+
"oxfmt": "0.72.0",
|
|
59
|
+
"typescript": "6.0.3"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|
|
62
62
|
"node": ">=22.12"
|