Skip to content

miku-soft 標準に合わせて CLI/runtime release bundle を整備 - #26

Merged
igapyon merged 1 commit into
develfrom
devel-tiga0628xcf
Jun 28, 2026
Merged

igapyon merged 1 commit into
develfrom
devel-tiga0628xcf

Conversation

@igapyon

@igapyon igapyon commented Jun 28, 2026

Copy link
Copy Markdown
Owner

概要

miku-soft の Node main application 標準に合わせて、GitHub Release 用の CLI/runtime/source bundle 生成と upload workflow を整備します。

変更内容

  • GitHub Release workflow を release: published トリガへ変更し、release tag を checkout して build / smoke / staging / upload する形に変更
  • Release asset を miku-xlsx2md-<version>.mjs、miku-xlsx2md-runtime-<version>.mjs、miku-xlsx2md-sources-<version>.tgz の 3 点構成に変更
  • miku-xlsx2md-runtime.json はローカル build metadata として残し、GitHub Release asset から除外
  • single-file CLI bundle、runtime bundle、sources tgz を生成する build:bundle と、CLI bundle を検証する smoke:bundle を追加
  • 既存 CLI 処理を reusable runner に分離し、通常 CLI と bundled CLI で同じ処理を使うように整理
  • release staging の回帰テストを追加し、JSON が Release asset に含まれず 3 点構成だけが出ることを固定
  • package version と front matter 仕様例を 1.2.2 に更新

確認

  • npm run build:bundle
  • npm run smoke:bundle
  • npm run smoke:runtime
  • npm run stage:runtime-release
  • npm test

## 概要

miku-soft の Node main application 標準に合わせて、GitHub Release 用の CLI/runtime/source bundle 生成と upload workflow を整備します。

## 変更内容

- GitHub Release workflow を `release: published` トリガへ変更し、release tag を checkout して build / smoke / staging / upload する形に変更
- Release asset を `miku-xlsx2md-<version>.mjs`、`miku-xlsx2md-runtime-<version>.mjs`、`miku-xlsx2md-sources-<version>.tgz` の 3 点構成に変更
- `miku-xlsx2md-runtime.json` はローカル build metadata として残し、GitHub Release asset から除外
- single-file CLI bundle、runtime bundle、sources tgz を生成する `build:bundle` と、CLI bundle を検証する `smoke:bundle` を追加
- 既存 CLI 処理を reusable runner に分離し、通常 CLI と bundled CLI で同じ処理を使うように整理
- release staging の回帰テストを追加し、JSON が Release asset に含まれず 3 点構成だけが出ることを固定
- package version と front matter 仕様例を `1.2.2` に更新

## 確認

- `npm run build:bundle`
- `npm run smoke:bundle`
- `npm run smoke:runtime`
- `npm run stage:runtime-release`
- `npm test`
@igapyon
igapyon merged commit 69f278b into devel Jun 28, 2026
1 check failed
@igapyon
igapyon deleted the devel-tiga0628xcf branch June 28, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant