Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: auto update readme version #765

Merged
merged 2 commits into from
Sep 13, 2024
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
5 changes: 5 additions & 0 deletions .github/version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Find the current version of the @conform-to/dom package
VERSION=$(node -p "require('./packages/conform-dom/package.json').version")

# Replace the version on the README
sed -i '' "s/^Version [0-9]*\.[0-9]*\.[0-9]*/Version ${VERSION}/" README.md
7 changes: 3 additions & 4 deletions README → README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@


```
███████╗ ██████╗ ███╗ ██╗ ████████╗ ██████╗ ███████╗ ███╗ ███╗
██╔═════╝ ██╔═══██╗ ████╗ ██║ ██╔═════╝ ██╔═══██╗ ██╔═══██╗ ████████║
██║ ██║ ██║ ██╔██╗██║ ███████╗ ██║ ██║ ███████╔╝ ██╔██╔██║
██║ ██║ ██║ ██║╚████║ ██╔════╝ ██║ ██║ ██╔═══██╗ ██║╚═╝██║
╚███████╗ ╚██████╔╝ ██║ ╚███║ ██║ ╚██████╔╝ ██║ ██║ ██║ ██║
╚══════╝ ╚═════╝ ╚═╝ ╚══╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝
```


Version 1.1.3 / License MIT / Copyright (c) 2024 Edmund Hung
Version 1.2.0 / License MIT / Copyright (c) 2024 Edmund Hung

A type-safe form validation library utilizing web fundamentals to progressively enhance HTML Forms with full support for server frameworks like Remix and Next.js.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test": "pnpm run \"/^test:.*/\"",
"test:api": "vitest --watch",
"test:e2e": "playwright test --ui",
"version": "changeset version && pnpm install --lockfile-only",
"version": "changeset version && pnpm install --lockfile-only && .github/version.sh",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx .",
"prepare": "husky install"
},
Expand Down
Loading