mobx-form 14.7.0 → 14.8.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +21 -24
package/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  `mobx-form` simplifies form validation and state management in MobX-powered React applications. It provides a declarative way to define form models with synchronous and asynchronous validation, dirty tracking, and easy data serialization.
12
12
 
13
- [**View Live Demo / Storybook**](https://royriojas.github.io/mobx-form/)
13
+ [**View Documentation**](https://royriojas.github.io/mobx-form/) | [**View Live Demo / Storybook**](https://royriojas.github.io/mobx-form/storybook/)
14
14
 
15
15
  ## Features
16
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobx-form",
3
- "version": "14.7.0",
3
+ "version": "14.8.1",
4
4
  "description": "A simple form helper for mobx",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -22,21 +22,21 @@
22
22
  },
23
23
  "scripts": {
24
24
  "lint": "eslint --cache --cache-location node_modules/.cache/ 'src/**/*.ts' 'tests/**/*.ts'",
25
- "check": "npm run lint && npm run verify",
26
- "verify": "tsc --noEmit --project tsconfig.json",
27
- "autofix": "npm run check -- --fix",
25
+ "check:types": "tsc --noEmit --project tsconfig.json",
26
+ "verify": "bun run lint && bun run check:types",
27
+ "autofix": "bun run lint -- --fix",
28
28
  "changelog": "changelogx -f markdown -o ./changelog.md",
29
- "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify",
29
+ "do-changelog": "bun run changelog && git add ./changelog.md ./package.json && git commit -m \"BLD: Release v$(node -p 'require(\"./package.json\").version')\" --no-verify",
30
30
  "install-hooks": "changelogx install-hook",
31
- "pre-v": "npm run check",
32
- "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify",
33
- "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v",
34
- "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v",
35
- "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v",
36
- "bump-prerelease": "npm run pre-v && npm version prerelease -m 'BLD: Release v%s' && npm run post-v",
37
- "prepublishOnly": "npm run build",
31
+ "pre-v": "bun run verify",
32
+ "post-v": "bun run do-changelog && git tag v$(node -p 'require(\"./package.json\").version') && git push --no-verify && git push --tags --no-verify",
33
+ "bump-major": "bun run pre-v && npm version major --no-workspaces-update --no-git-tag-version && bun run post-v",
34
+ "bump-minor": "bun run pre-v && npm version minor --no-workspaces-update --no-git-tag-version && bun run post-v",
35
+ "bump-patch": "bun run pre-v && npm version patch --no-workspaces-update --no-git-tag-version && bun run post-v",
36
+ "bump-prerelease": "bun run pre-v && npm version prerelease --no-workspaces-update --no-git-tag-version && bun run post-v",
37
+ "prepublishOnly": "bun run build",
38
38
  "test": "bun test",
39
- "build": "rm -rf ./dist && bun bun.build.ts && npm run dts && npm run bundle-types",
39
+ "build": "rm -rf ./dist && bun bun.build.ts && bun run dts && bun run bundle-types",
40
40
  "dts": "tsc -p tsconfig.build.json --emitDeclarationOnly --declaration --outDir dist",
41
41
  "bundle-types": "bash bundle-types.sh",
42
42
  "smoke:test": "bun simple-demo.ts",
@@ -80,21 +80,16 @@
80
80
  "devDependencies": {
81
81
  "dts-bundle": "0.7.3",
82
82
  "@eslint/js": "^9.8.0",
83
- "@storybook/addon-essentials": "^8.6.14",
84
- "@storybook/addon-interactions": "^8.6.14",
85
- "@storybook/addon-links": "8.6.14",
86
- "@storybook/addon-storysource": "8.6.14",
87
- "@storybook/addon-themes": "8.6.14",
88
- "@storybook/blocks": "^8.6.14",
89
- "@storybook/react": "8.6.14",
90
- "@storybook/react-vite": "8.6.14",
91
- "@storybook/theming": "8.6.14",
83
+ "@storybook/addon-links": "10.2.13",
84
+ "@storybook/addon-themes": "10.2.13",
85
+ "@storybook/react-vite": "10.2.13",
92
86
  "@types/bun": "^1.2.20",
93
87
  "@types/lodash": "^4.17.20",
94
88
  "@types/react": "^19.2.14",
95
89
  "@types/react-dom": "^19.2.3",
96
90
  "changelogx": "^5.0.4",
97
91
  "eslint": "9.10.0",
92
+ "globals": "^15.0.0",
98
93
  "eslint-config-prettier": "9.1.0",
99
94
  "eslint-plugin-prettier": "5.2.1",
100
95
  "eslint-plugin-react-hooks": "^5.1.0-rc.0",
@@ -103,9 +98,11 @@
103
98
  "mobx-react-lite": "^4.1.1",
104
99
  "react": "^19.2.4",
105
100
  "react-dom": "^19.2.4",
106
- "storybook": "8.6.14",
101
+ "storybook": "10.2.13",
107
102
  "typescript": "5.9.3",
108
103
  "typescript-eslint": "^8.0.0",
109
- "vite": "^7.3.1"
104
+ "vite": "^7.3.1",
105
+ "eslint-plugin-storybook": "10.2.13",
106
+ "@storybook/addon-docs": "10.2.13"
110
107
  }
111
108
  }