Skip to content

Commit

Permalink
Stop including tests in npm bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
micahjon committed Nov 10, 2023
1 parent dd7c585 commit 31c1039
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ tests
.*
/test-results/
/playwright-report/
/playwright/.cache/
/playwright/.cache/
/tests-*
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog / Releases

## [0.0.3-alpha.0] - 2023-11-10
## [0.0.3-alpha.1] - 2023-11-10

- Add `useConditionalForm()` hook (drop-in replacement for `useForm()` that calls `pruneHiddenFields()` before validation)
- Rename `useConditionalLogic()` -> `useCondition()` for brevity
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": "rhf-conditional-logic",
"version": "0.0.3-alpha.0",
"version": "0.0.3-alpha.1",
"main": "./dist/rhf-conditional-logic.cjs",
"module": "./dist/rhf-conditional-logic.mjs",
"exports": {
Expand Down

0 comments on commit 31c1039

Please sign in to comment.