Skip to content

Commit 6a5e554

Browse files
committed
Update: fix build
1 parent 282756b commit 6a5e554

29 files changed

+196
-24
lines changed

CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.2.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.2.0) (2023-09-17)
7+
8+
9+
### Updates
10+
11+
* add git workflow for release ([3eb2f8d](https://github.com/ZerryStack/react-formz/commit/3eb2f8d57b60221bf075130b9ecc1d7ab4590b1b))
12+
* changes ([282756b](https://github.com/ZerryStack/react-formz/commit/282756bf399df2a91ff8f96db3d86aec4caeae3c))
13+
* fix build system ([943af07](https://github.com/ZerryStack/react-formz/commit/943af07f54a51e699d3ef1a74c1abfde8de10a7b))
14+
* ignore change ([1f08d52](https://github.com/ZerryStack/react-formz/commit/1f08d52b6513d50be82903cf1fce99d0b6589cac))
15+
* ignore changes ([bd3c29c](https://github.com/ZerryStack/react-formz/commit/bd3c29cb2ff748ab9491ec5851ae4445f7e22662))
16+
* ignore changes ([c6fde5d](https://github.com/ZerryStack/react-formz/commit/c6fde5d9c03ed1b2780d4da4fec1719e8e5797ed))
17+
* ignore changes ([8c5ec06](https://github.com/ZerryStack/react-formz/commit/8c5ec06724415f3e760ee65c7ce829f0dc9006f9))
18+
19+
20+
621
## [1.1.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.1.0) (2023-09-17)
722

823

lerna.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
33
"useWorkspaces": true,
4-
"version": "1.1.0",
4+
"version": "1.2.0",
55
"npmClient": "yarn",
66
"gitTagVersion": true,
77
"conventionalCommits": true,
@@ -12,5 +12,6 @@
1212
},
1313
"publish": {}
1414
},
15-
"useNx": true
15+
"useNx": true,
16+
"loglevel": "debug"
1617
}

packages/documentation/CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.2.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.2.0) (2023-09-17)
7+
8+
9+
### Updates
10+
11+
* ignore changes ([8c5ec06](https://github.com/ZerryStack/react-formz/commit/8c5ec06724415f3e760ee65c7ce829f0dc9006f9))
12+
13+
14+
615
## [1.1.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.1.0) (2023-09-17)
716

817
**Note:** Version bump only for package @zerry/react-formz-documentation

packages/documentation/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zerry/react-formz-documentation",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"private": true,
55
"scripts": {
66
"docusaurus": "docusaurus",

packages/react-formz-native/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.2.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.2.0) (2023-09-17)
7+
8+
9+
### Updates
10+
11+
* fix build system ([943af07](https://github.com/ZerryStack/react-formz/commit/943af07f54a51e699d3ef1a74c1abfde8de10a7b))
12+
* ignore changes ([8c5ec06](https://github.com/ZerryStack/react-formz/commit/8c5ec06724415f3e760ee65c7ce829f0dc9006f9))
13+
14+
15+
616
## [1.1.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.1.0) (2023-09-17)
717

818

packages/react-formz-native/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zerry/react-formz-native",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/ZerryStack/react-formz.git"

packages/react-formz-storybook-native/CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.2.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.2.0) (2023-09-17)
7+
8+
9+
### Updates
10+
11+
* ignore changes ([8c5ec06](https://github.com/ZerryStack/react-formz/commit/8c5ec06724415f3e760ee65c7ce829f0dc9006f9))
12+
13+
14+
615
## [1.1.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.1.0) (2023-09-17)
716

817
**Note:** Version bump only for package react-formz-storybook-native

packages/react-formz-storybook-native/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-formz-storybook-native",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"main": "./index.js",
55
"license": "MIT",
66
"scripts": {

packages/react-formz-storybook/CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.2.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.2.0) (2023-09-17)
7+
8+
9+
### Updates
10+
11+
* ignore changes ([8c5ec06](https://github.com/ZerryStack/react-formz/commit/8c5ec06724415f3e760ee65c7ce829f0dc9006f9))
12+
13+
14+
615
## [1.1.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.1.0) (2023-09-17)
716

817
**Note:** Version bump only for package @zerry/react-formz-storybook

packages/react-formz-storybook/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zerry/react-formz-storybook",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"packageManager": "yarn@3.2.3",
55
"license": "MIT",
66
"sideEffects": false,

packages/react-formz-validators/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.2.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.2.0) (2023-09-17)
7+
8+
9+
### Updates
10+
11+
* changes ([282756b](https://github.com/ZerryStack/react-formz/commit/282756bf399df2a91ff8f96db3d86aec4caeae3c))
12+
* ignore changes ([8c5ec06](https://github.com/ZerryStack/react-formz/commit/8c5ec06724415f3e760ee65c7ce829f0dc9006f9))
13+
14+
15+
616
## [1.1.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.1.0) (2023-09-17)
717

818
**Note:** Version bump only for package @zerry/react-formz-validators

packages/react-formz-validators/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zerry/react-formz-validators",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"scripts": {
55
"storybook": "start-storybook -p 6006",
66
"build-storybook": "build-storybook",
@@ -9,7 +9,8 @@
99
"test:watch": "jest --watch",
1010
"test:generate-output": "jest --json --outputFile=.jest-test-results.json",
1111
"test:coverage": "jest --coverage=true",
12-
"build": "yarn typecheck && yarn build:yup && yarn build:zod",
12+
"build": "yarn typecheck && yarn build:utils && yarn build:yup && yarn build:zod",
13+
"build:utils": "LIB=utils vite build && tsc -p ./utils/tsconfig.build.json",
1314
"build:zod": "LIB=zod vite build && tsc -p ./zod/tsconfig.build.json",
1415
"publish:zod": "cd zod && npm publish --access public",
1516
"build:yup": "LIB=yup vite build && tsc -p ./yup/tsconfig.build.json",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "@zerry/react-formz-validators",
3+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
4+
"sourceRoot": "packages/react-formz-validators",
5+
"projectType": "library",
6+
"targets": {},
7+
"tags": []
8+
}

packages/react-formz-validators/utils/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.2.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.2.0) (2023-09-17)
7+
8+
9+
### Updates
10+
11+
* changes ([282756b](https://github.com/ZerryStack/react-formz/commit/282756bf399df2a91ff8f96db3d86aec4caeae3c))
12+
* ignore changes ([8c5ec06](https://github.com/ZerryStack/react-formz/commit/8c5ec06724415f3e760ee65c7ce829f0dc9006f9))
13+
14+
15+
616
## [1.1.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.1.0) (2023-09-17)
717

818
**Note:** Version bump only for package @zerry/react-formz-validators-utils
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,28 @@
11
{
22
"name": "@zerry/react-formz-validators-utils",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"license": "MIT",
55
"description": "Shared utilitity functions for zod validators.",
66
"main": "index.ts",
77
"peerDependencies": {
8-
"@zerry/react-formz": ">=1.1.0"
8+
"@zerry/react-formz": ">=1.1.0",
9+
"@zerry/react-formz-core": ">=1.1.0",
10+
"@zerry/react-formz-native": ">=1.1.0"
11+
},
12+
"peerDependenciesMeta": {
13+
"@zerry/react-formz": {
14+
"optional": true
15+
},
16+
"@zerry/react-formz-native": {
17+
"optional": true
18+
}
919
},
1020
"files": [
1121
"dist"
1222
],
1323
"devDependencies": {
14-
"@zerry/react-formz": "workspace:^"
24+
"@zerry/react-formz": "workspace:^",
25+
"@zerry/react-formz-core": "workspace:^",
26+
"@zerry/react-formz-native": "workspace:^"
1527
}
1628
}

packages/react-formz-validators/utils/toNestedErrors.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FormzErrors, FormzValues } from "@zerry/react-formz";
1+
import { FormzErrors, FormzValues } from "@zerry/react-formz-core";
22

33
function tryRequire(pkg: string) {
44
try {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"outDir": "./dist",
5+
"declaration": true,
6+
"emitDeclarationOnly": true,
7+
"moduleResolution": "node"
8+
},
9+
"include": [
10+
"./index.ts"
11+
]
12+
}

packages/react-formz-validators/vite.config.ts

+7
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ const config: Record<
2121
formats: LibraryFormats[];
2222
}
2323
> = {
24+
utils: {
25+
entry: path.resolve(__dirname, "utils", "index.ts"),
26+
fileName: "utils",
27+
name: "utils",
28+
library: "utils",
29+
formats: ["es", "cjs", "umd"],
30+
},
2431
yup: {
2532
entry: path.resolve(__dirname, "yup", "index.ts"),
2633
fileName: "yup",

packages/react-formz-validators/yup/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.2.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.2.0) (2023-09-17)
7+
8+
9+
### Updates
10+
11+
* changes ([282756b](https://github.com/ZerryStack/react-formz/commit/282756bf399df2a91ff8f96db3d86aec4caeae3c))
12+
* ignore changes ([8c5ec06](https://github.com/ZerryStack/react-formz/commit/8c5ec06724415f3e760ee65c7ce829f0dc9006f9))
13+
14+
15+
616
## [1.1.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.1.0) (2023-09-17)
717

818
**Note:** Version bump only for package @zerry/react-formz-validators-yup

packages/react-formz-validators/yup/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zerry/react-formz-validators-yup",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"license": "MIT",
55
"description": "Up validator for @zerry/react-formz to validate form data against a zod schema.",
66
"main": "dist/yup.js",
@@ -10,6 +10,7 @@
1010
"types": "dist/yup.d.ts",
1111
"devDependencies": {
1212
"@zerry/react-formz": "workspace:^",
13+
"@zerry/react-formz-core": "workspace:^",
1314
"@zerry/react-formz-validators-utils": "workspace:^",
1415
"yup": "^0.32.11"
1516
},

packages/react-formz-validators/yup/yup.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FormzErrors, FormzValues, SchemaValidator } from "@zerry/react-formz";
1+
import { FormzErrors, FormzValues, SchemaValidator } from "@zerry/react-formz-core";
22
import { toNestedErrors } from "@zerry/react-formz-validators-utils";
33
import * as yup from "yup";
44
import { ValidateOptions } from "yup/lib/types";

packages/react-formz-validators/zod/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.2.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.2.0) (2023-09-17)
7+
8+
9+
### Updates
10+
11+
* changes ([282756b](https://github.com/ZerryStack/react-formz/commit/282756bf399df2a91ff8f96db3d86aec4caeae3c))
12+
* ignore changes ([8c5ec06](https://github.com/ZerryStack/react-formz/commit/8c5ec06724415f3e760ee65c7ce829f0dc9006f9))
13+
14+
15+
616
## [1.1.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.1.0) (2023-09-17)
717

818
**Note:** Version bump only for package @zerry/react-formz-validators-zod

packages/react-formz-validators/zod/package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
{
22
"name": "@zerry/react-formz-validators-zod",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"license": "MIT",
55
"description": "Zod validator for @zerry/react-formz to validate form data against a zod schema.",
66
"main": "dist/zod.js",
77
"umd:main": "dist/zod.umd.js",
88
"exports": "./dist/zod.js",
99
"source": "index.ts",
1010
"types": "dist/zod.d.ts",
11+
"scripts": {
12+
"build": "LIB=zod vite build && tsc -p ./tsconfig.build.json"
13+
},
1114
"devDependencies": {
1215
"@zerry/react-formz": "workspace:^",
16+
"@zerry/react-formz-core": "workspace:^",
1317
"@zerry/react-formz-validators-utils": "workspace:^",
1418
"zod": "^3.19.1"
1519
},

packages/react-formz-web/CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.2.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.2.0) (2023-09-17)
7+
8+
9+
### Updates
10+
11+
* fix build system ([943af07](https://github.com/ZerryStack/react-formz/commit/943af07f54a51e699d3ef1a74c1abfde8de10a7b))
12+
* ignore change ([1f08d52](https://github.com/ZerryStack/react-formz/commit/1f08d52b6513d50be82903cf1fce99d0b6589cac))
13+
* ignore changes ([8c5ec06](https://github.com/ZerryStack/react-formz/commit/8c5ec06724415f3e760ee65c7ce829f0dc9006f9))
14+
15+
16+
617
## [1.1.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.1.0) (2023-09-17)
718

819

packages/react-formz-web/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zerry/react-formz",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"files": [
55
"dist"
66
],

packages/react-formz/CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.2.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.2.0) (2023-09-17)
7+
8+
9+
### Updates
10+
11+
* fix build system ([943af07](https://github.com/ZerryStack/react-formz/commit/943af07f54a51e699d3ef1a74c1abfde8de10a7b))
12+
* ignore changes ([bd3c29c](https://github.com/ZerryStack/react-formz/commit/bd3c29cb2ff748ab9491ec5851ae4445f7e22662))
13+
* ignore changes ([c6fde5d](https://github.com/ZerryStack/react-formz/commit/c6fde5d9c03ed1b2780d4da4fec1719e8e5797ed))
14+
* ignore changes ([8c5ec06](https://github.com/ZerryStack/react-formz/commit/8c5ec06724415f3e760ee65c7ce829f0dc9006f9))
15+
16+
17+
618
## [1.1.0](https://github.com/ZerryStack/react-formz/compare/v0.3.0-beta...v1.1.0) (2023-09-17)
719

820

packages/react-formz/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zerry/react-formz-core",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"packageManager": "yarn@3.2.3",
55
"license": "MIT",
66
"sideEffects": false,

0 commit comments

Comments
 (0)