Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish to npm

on:
push:
tags:
- "v*.*.*"
workflow_dispatch:

permissions:
id-token: write

jobs:
publish:
runs-on: ubuntu-latest
environment: Publish
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 24
registry-url: https://registry.npmjs.org

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Publish
run: npm publish --access public
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [1.0.0] - 2026-08-08

### Added

- CI workflow (`ci.yml`): runs typecheck, tests, and format checks on push/PR across Node 20/22/24.

### Changed

- First stable release - no functional changes from `0.1.0`.

## [0.1.0] - 2026-08-08

### Added
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zod-cli-flags",
"version": "0.1.0",
"version": "1.0.0",
"description": "Define a CLI's flags as a single Zod schema and parse argv into a typed result.",
"type": "module",
"main": "./dist/index.js",
Expand Down
Loading