mirror of
https://github.com/LukeHagar/form.git
synced 2025-12-06 04:19:43 +00:00
* feat: mount method on FormApi * fix solid-form test case * fix: added form.mount() to tests * feat: valibot-form-adapter * chore: add missing config items * docs: add Valibot React example * docs: add Solid Valibot example * docs: add valibot Vue example * fix: valibot async adapter now works * docs: add docs for valibot adapter --------- Co-authored-by: Corbin Crutchley <git@crutchcorn.dev>
126 lines
4.4 KiB
JSON
126 lines
4.4 KiB
JSON
{
|
|
"name": "form",
|
|
"private": true,
|
|
"repository": "https://github.com/tanstack/form.git",
|
|
"packageManager": "pnpm@8.5.1",
|
|
"scripts": {
|
|
"clean": "pnpm --filter \"./packages/**\" run clean",
|
|
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
|
|
"install:csb": "corepack enable && pnpm install --frozen-lockfile",
|
|
"test": "pnpm run test:ci",
|
|
"test:ci": "nx affected --exclude=examples/** --targets=test:format,test:eslint,test:lib,test:types,build,test:build",
|
|
"test:eslint": "nx affected --target=test:eslint",
|
|
"test:format": "pnpm run prettier --check",
|
|
"test:lib": "nx affected --target=test:lib",
|
|
"test:lib:dev": "pnpm --filter \"./packages/**\" run test:lib:dev",
|
|
"test:build": "nx affected --target=test:build",
|
|
"test:types": "nx affected --target=test:types",
|
|
"build": "nx run-many --exclude=examples/** --target=build",
|
|
"watch": "pnpm run build && nx watch --all -- pnpm run build",
|
|
"dev": "pnpm run watch",
|
|
"prettier": "prettier \"{packages,examples,scripts}/**/*.{md,js,jsx,cjs,ts,tsx,json,vue}\"",
|
|
"prettier:write": "pnpm run prettier --write",
|
|
"cipublish": "ts-node scripts/publish.ts",
|
|
"cipublishforce": "CI=true pnpm cipublish"
|
|
},
|
|
"nx": {
|
|
"includedScripts": [
|
|
"test:format"
|
|
]
|
|
},
|
|
"namespace": "@tanstack",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.21.8",
|
|
"@babel/preset-env": "^7.21.5",
|
|
"@babel/preset-react": "^7.18.6",
|
|
"@babel/preset-typescript": "^7.21.5",
|
|
"@commitlint/parse": "^17.6.5",
|
|
"@rollup/plugin-babel": "^6.0.3",
|
|
"@rollup/plugin-commonjs": "^25.0.0",
|
|
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
"@rollup/plugin-replace": "^5.0.2",
|
|
"@solidjs/testing-library": "^0.8.4",
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
"@testing-library/react": "^14.0.0",
|
|
"@testing-library/react-hooks": "^8.0.1",
|
|
"@testing-library/user-event": "^14.4.3",
|
|
"@testing-library/vue": "^7.0.0",
|
|
"@types/current-git-branch": "^1.1.4",
|
|
"@types/jest": "^26.0.4",
|
|
"@types/jsonfile": "^6.1.1",
|
|
"@types/luxon": "^2.3.1",
|
|
"@types/node": "^17.0.25",
|
|
"@types/react": "^18.0.14",
|
|
"@types/react-dom": "^18.0.5",
|
|
"@types/semver": "^7.3.13",
|
|
"@types/stream-to-array": "^2.3.1",
|
|
"@types/testing-library__jest-dom": "^5.14.5",
|
|
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
|
"@typescript-eslint/parser": "^6.4.1",
|
|
"@vitest/coverage-istanbul": "^0.34.3",
|
|
"axios": "^0.26.1",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-jest": "^27.5.1",
|
|
"babel-preset-solid": "^1.5.4",
|
|
"bundlewatch": "^0.3.2",
|
|
"chalk": "^4.1.2",
|
|
"concurrently": "^8.2.1",
|
|
"cpy-cli": "^5.0.0",
|
|
"current-git-branch": "^1.1.0",
|
|
"esbuild": "^0.18.13",
|
|
"esbuild-plugin-file-path-extensions": "^1.0.0",
|
|
"eslint": "^8.48.0",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-import-resolver-typescript": "^3.6.0",
|
|
"eslint-plugin-compat": "^4.1.4",
|
|
"eslint-plugin-import": "^2.28.1",
|
|
"eslint-plugin-react": "^7.33.2",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"fs-extra": "^11.1.1",
|
|
"git-log-parser": "^1.2.0",
|
|
"jsdom": "^22.0.0",
|
|
"jsonfile": "^6.1.0",
|
|
"luxon": "^3.3.0",
|
|
"nx": "^16.7.4",
|
|
"nx-cloud": "^16.0.5",
|
|
"prettier": "^3.0.2",
|
|
"publint": "^0.1.15",
|
|
"react": "^18.2.0",
|
|
"react-17": "npm:react@^17.0.2",
|
|
"react-dom": "^18.2.0",
|
|
"react-dom-17": "npm:react-dom@^17.0.2",
|
|
"rimraf": "^5.0.1",
|
|
"semver": "^7.3.8",
|
|
"solid-js": "^1.6.13",
|
|
"stream-to-array": "^2.3.0",
|
|
"ts-node": "^10.9.1",
|
|
"tsup": "7.2.0",
|
|
"type-fest": "^3.11.0",
|
|
"typescript": "^5.2.2",
|
|
"vitest": "^0.34.3",
|
|
"vue": "^3.3.4"
|
|
},
|
|
"bundlewatch": {
|
|
"files": [
|
|
{
|
|
"path": "packages/*/build/umd/*.production.js"
|
|
}
|
|
]
|
|
},
|
|
"pnpm": {
|
|
"patchedDependencies": {
|
|
"@types/testing-library__jest-dom@5.14.5": "patches/@types__testing-library__jest-dom@5.14.5.patch",
|
|
"tsup@7.2.0": "patches/tsup@7.2.0.patch"
|
|
},
|
|
"overrides": {
|
|
"@tanstack/form-core": "workspace:*",
|
|
"@tanstack/react-form": "workspace:*",
|
|
"@tanstack/vue-form": "workspace:*",
|
|
"@tanstack/solid-form": "workspace:*",
|
|
"@tanstack/yup-form-adapter": "workspace:*",
|
|
"@tanstack/zod-form-adapter": "workspace:*",
|
|
"@tanstack/valibot-form-adapter": "workspace:*"
|
|
}
|
|
}
|
|
}
|