liquidbook 0.1.0 → 0.1.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +32 -0
- data/README.md +3 -1
- data/docs/README.ja.md +2 -0
- data/docs/RELEASING.md +51 -0
- data/lib/liquidbook/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 59b811002a312c3567cd9289378a69048632ddfab5b7aaa6102125be8b80dbbf
|
|
4
|
+
data.tar.gz: 9a6f80e2bf17ba941a78236bd20a63c125742b6474057d3e5a824b339c54184e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9751243724a361cb909765fb259cd2d99934ee9b855d130c77dc05b29195c8c7a0b74f81a7a77cb927be644906523ec4b8f2f710d2730d113120d988de8fc4e5
|
|
7
|
+
data.tar.gz: 3b03c87c3a0ba876830700d03d55c54228ef7cded53129ff1442b8c7ccab23fb1e9b4200e89db912ea6c52685efabc7d67d7aa4dbf125cc222b89d79720f3828
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.1.1] - 2026-04-09
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- PID file management and `stop` command for graceful server shutdown
|
|
15
|
+
- CD workflow: GitHub Release auto-creation from CHANGELOG on tag push
|
|
16
|
+
- CD workflow: RubyGems publish via manual `workflow_dispatch`
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Rename CI workflow file from `test.yml` to `ci.yml`
|
|
21
|
+
|
|
22
|
+
## [0.1.0] - 2026-04-07
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- Core Liquid template rendering engine with mock data support
|
|
27
|
+
- Browser-based preview server using Sinatra
|
|
28
|
+
- CLI commands (`start`, `stop`) via Thor
|
|
29
|
+
- File watching with auto-reload using Listen
|
|
30
|
+
- Section and snippet template support
|
|
31
|
+
- Unit tests and integration tests with RSpec
|
|
32
|
+
- CI pipeline with GitHub Actions (Ruby 3.2 - 4.0)
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Liquidbook
|
|
2
2
|
|
|
3
|
-
[](https://github.com/sena-m09/liquidbook/actions/workflows/ci.yml)
|
|
4
4
|
|
|
5
5
|
A Storybook-like local preview server for Shopify Liquid templates. Browse and preview your sections and snippets in the browser instantly.
|
|
6
6
|
|
|
@@ -78,6 +78,8 @@ cd liquidbook
|
|
|
78
78
|
bin/setup
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
+
See [Release Process](docs/RELEASING.md) for how to publish a new version.
|
|
82
|
+
|
|
81
83
|
## License
|
|
82
84
|
|
|
83
85
|
[MIT License](https://opensource.org/licenses/MIT)
|
data/docs/README.ja.md
CHANGED
data/docs/RELEASING.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Release Process
|
|
2
|
+
|
|
3
|
+
## CI/CD ワークフロー構成
|
|
4
|
+
|
|
5
|
+
| ワークフロー | ファイル | トリガー | 内容 |
|
|
6
|
+
|---|---|---|---|
|
|
7
|
+
| CI | `ci.yml` | push (main) / PR | テスト実行 (Ruby 3.2 - 4.0) |
|
|
8
|
+
| GitHub Release | `github_release.yml` | `v*` タグ push | CHANGELOG から抽出 → GitHub Release 作成 |
|
|
9
|
+
| RubyGems 公開 | `gem_release.yml` | 手動 (`workflow_dispatch`) | RubyGems に gem push |
|
|
10
|
+
|
|
11
|
+
## リリース手順
|
|
12
|
+
|
|
13
|
+
### 1. バージョンと CHANGELOG を更新
|
|
14
|
+
|
|
15
|
+
`lib/liquidbook/version.rb` のバージョンを更新:
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
VERSION = "X.Y.Z"
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
`CHANGELOG.md` に変更内容を追記(`[Unreleased]` から新バージョンのセクションへ移動):
|
|
22
|
+
|
|
23
|
+
```markdown
|
|
24
|
+
## [X.Y.Z] - YYYY-MM-DD
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
- ...
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### 2. コミットしてタグを打つ
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
git add lib/liquidbook/version.rb CHANGELOG.md
|
|
34
|
+
git commit -m "chore: bump version to X.Y.Z"
|
|
35
|
+
git tag vX.Y.Z
|
|
36
|
+
git push origin main --tags
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### 3. GitHub Release を確認
|
|
40
|
+
|
|
41
|
+
タグ push をトリガーに GitHub Release が自動作成されます。CHANGELOG から該当バージョンのノートが抽出されます。
|
|
42
|
+
|
|
43
|
+
[Actions > Create GitHub Release](https://github.com/sena-m09/liquidbook/actions/workflows/github_release.yml) で結果を確認してください。
|
|
44
|
+
|
|
45
|
+
### 4. RubyGems に公開
|
|
46
|
+
|
|
47
|
+
GitHub Release の内容を確認した後、手動で gem を公開します:
|
|
48
|
+
|
|
49
|
+
[Actions > Publish to RubyGems](https://github.com/sena-m09/liquidbook/actions/workflows/gem_release.yml) → "Run workflow" を実行
|
|
50
|
+
|
|
51
|
+
> gem push を手動トリガーにしているのは、公開前に最終確認できるようにするためです。
|
data/lib/liquidbook/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: liquidbook
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sena-m09
|
|
@@ -103,10 +103,12 @@ extensions: []
|
|
|
103
103
|
extra_rdoc_files: []
|
|
104
104
|
files:
|
|
105
105
|
- ".rspec"
|
|
106
|
+
- CHANGELOG.md
|
|
106
107
|
- LICENSE
|
|
107
108
|
- README.md
|
|
108
109
|
- Rakefile
|
|
109
110
|
- docs/README.ja.md
|
|
111
|
+
- docs/RELEASING.md
|
|
110
112
|
- exe/liquidbook
|
|
111
113
|
- fixtures/default_mocks.yml
|
|
112
114
|
- lib/liquidbook.rb
|
|
@@ -147,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
147
149
|
- !ruby/object:Gem::Version
|
|
148
150
|
version: '0'
|
|
149
151
|
requirements: []
|
|
150
|
-
rubygems_version:
|
|
152
|
+
rubygems_version: 4.0.6
|
|
151
153
|
specification_version: 4
|
|
152
154
|
summary: Storybook-like preview server for Shopify Liquid sections and snippets
|
|
153
155
|
test_files: []
|