Skip to content

Commit

Permalink
Release v2
Browse files Browse the repository at this point in the history
  • Loading branch information
vantezzen committed Oct 20, 2024
1 parent 988773e commit 2ce46ce
Show file tree
Hide file tree
Showing 23 changed files with 135 additions and 13 deletions.
13 changes: 13 additions & 0 deletions apps/docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# docs

## 1.0.0

### Major Changes

- v2

### Patch Changes

- Updated dependencies
- @autoform/core@2.0.0
- @autoform/mui@2.0.0
- @autoform/react@2.0.0

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "0.1.0",
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {
Expand Down
15 changes: 15 additions & 0 deletions apps/web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# web

## 1.0.0

### Major Changes

- v2

### Patch Changes

- Updated dependencies
- @autoform/shadcn@2.0.0
- @autoform/mantine@2.0.0
- @autoform/mui@2.0.0
- @autoform/yup@2.0.0
- @autoform/zod@2.0.0

## 0.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web",
"version": "0.2.0",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "next dev --turbo",
Expand Down
6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @autoform/core

## 2.0.0

### Major Changes

- v2

## 1.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@autoform/core",
"version": "1.2.0",
"version": "2.0.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
7 changes: 7 additions & 0 deletions packages/eslint-config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @autoform/eslint-config

## 1.0.0

### Major Changes

- v2
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@autoform/eslint-config",
"version": "0.0.0",
"version": "1.0.0",
"private": true,
"files": [
"library.js",
Expand Down
13 changes: 13 additions & 0 deletions packages/mantine/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @autoform/mantine

## 2.0.0

### Major Changes

- v2

### Patch Changes

- Updated dependencies
- @autoform/core@2.0.0
- @autoform/react@2.0.0
- @autoform/zod@2.0.0

## 1.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/mantine/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@autoform/mantine",
"version": "1.2.0",
"version": "2.0.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
13 changes: 13 additions & 0 deletions packages/mui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @autoform/mui

## 2.0.0

### Major Changes

- v2

### Patch Changes

- Updated dependencies
- @autoform/core@2.0.0
- @autoform/react@2.0.0
- @autoform/zod@2.0.0

## 1.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/mui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@autoform/mui",
"version": "1.2.0",
"version": "2.0.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
13 changes: 13 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @autoform/react

## 2.0.0

### Major Changes

- v2

### Patch Changes

- Updated dependencies
- @autoform/core@2.0.0
- @autoform/yup@2.0.0
- @autoform/zod@2.0.0

## 1.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@autoform/react",
"version": "1.3.0",
"version": "2.0.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
13 changes: 13 additions & 0 deletions packages/shadcn/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @autoform/shadcn

## 2.0.0

### Major Changes

- v2

### Patch Changes

- Updated dependencies
- @autoform/core@2.0.0
- @autoform/react@2.0.0
- @autoform/zod@2.0.0

## 1.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/shadcn/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@autoform/shadcn",
"version": "1.1.0",
"version": "2.0.0",
"private": true,
"type": "module",
"main": "./dist/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/shadcn/registry/autoform.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
{
"path": "autoform/types.ts",
"target": "components/ui/autoform/types.ts",
"content": "import {\n AutoFormProps as BaseAutoFormProps,\n ExtendableAutoFormProps,\n} from \"@autoform/react\";\nimport { FieldValues } from \"react-hook-form\";\n\nexport interface AutoFormProps<T extends FieldValues>\n extends ExtendableAutoFormProps<T> {}\n",
"content": "import { ExtendableAutoFormProps } from \"@autoform/react\";\nimport { FieldValues } from \"react-hook-form\";\n\nexport interface AutoFormProps<T extends FieldValues>\n extends ExtendableAutoFormProps<T> {}\n",
"type": "registry:ui"
},
{
Expand All @@ -47,7 +47,7 @@
{
"path": "autoform/AutoForm.tsx",
"target": "components/ui/autoform/AutoForm.tsx",
"content": "import React from \"react\";\nimport {\n AutoForm as BaseAutoForm,\n AutoFormUIComponents,\n AutoFormFieldComponents,\n} from \"@autoform/react\";\nimport { AutoFormProps } from \"./types\";\nimport { Form } from \"./components/Form\";\nimport { FieldWrapper } from \"./components/FieldWrapper\";\nimport { ErrorMessage } from \"./components/ErrorMessage\";\nimport { SubmitButton } from \"./components/SubmitButton\";\nimport { StringField } from \"./components/StringField\";\nimport { NumberField } from \"./components/NumberField\";\nimport { BooleanField } from \"./components/BooleanField\";\nimport { DateField } from \"./components/DateField\";\nimport { SelectField } from \"./components/SelectField\";\nimport { ObjectWrapper } from \"./components/ObjectWrapper\";\nimport { ArrayWrapper } from \"./components/ArrayWrapper\";\nimport { ArrayElementWrapper } from \"./components/ArrayElementWrapper\";\n\nconst ShadcnUIComponents: AutoFormUIComponents = {\n Form,\n FieldWrapper,\n ErrorMessage,\n SubmitButton,\n ObjectWrapper,\n ArrayWrapper,\n ArrayElementWrapper,\n};\n\nexport const ShadcnAutoFormFieldComponents = {\n string: StringField,\n number: NumberField,\n boolean: BooleanField,\n date: DateField,\n select: SelectField,\n} as const;\nexport type FieldTypes = keyof typeof ShadcnAutoFormFieldComponents;\n\nexport function AutoForm<T extends Record<string, any>>({\n uiComponents,\n formComponents,\n ...props\n}: AutoFormProps<T>) {\n return (\n <BaseAutoForm\n {...props}\n uiComponents={{ ...ShadcnUIComponents, ...uiComponents }}\n formComponents={{ ...ShadcnAutoFormFieldComponents, ...formComponents }}\n />\n );\n}\n",
"content": "import React from \"react\";\nimport {\n AutoForm as BaseAutoForm,\n AutoFormUIComponents,\n} from \"@autoform/react\";\nimport { AutoFormProps } from \"./types\";\nimport { Form } from \"./components/Form\";\nimport { FieldWrapper } from \"./components/FieldWrapper\";\nimport { ErrorMessage } from \"./components/ErrorMessage\";\nimport { SubmitButton } from \"./components/SubmitButton\";\nimport { StringField } from \"./components/StringField\";\nimport { NumberField } from \"./components/NumberField\";\nimport { BooleanField } from \"./components/BooleanField\";\nimport { DateField } from \"./components/DateField\";\nimport { SelectField } from \"./components/SelectField\";\nimport { ObjectWrapper } from \"./components/ObjectWrapper\";\nimport { ArrayWrapper } from \"./components/ArrayWrapper\";\nimport { ArrayElementWrapper } from \"./components/ArrayElementWrapper\";\n\nconst ShadcnUIComponents: AutoFormUIComponents = {\n Form,\n FieldWrapper,\n ErrorMessage,\n SubmitButton,\n ObjectWrapper,\n ArrayWrapper,\n ArrayElementWrapper,\n};\n\nexport const ShadcnAutoFormFieldComponents = {\n string: StringField,\n number: NumberField,\n boolean: BooleanField,\n date: DateField,\n select: SelectField,\n} as const;\nexport type FieldTypes = keyof typeof ShadcnAutoFormFieldComponents;\n\nexport function AutoForm<T extends Record<string, any>>({\n uiComponents,\n formComponents,\n ...props\n}: AutoFormProps<T>) {\n return (\n <BaseAutoForm\n {...props}\n uiComponents={{ ...ShadcnUIComponents, ...uiComponents }}\n formComponents={{ ...ShadcnAutoFormFieldComponents, ...formComponents }}\n />\n );\n}\n",
"type": "registry:ui"
},
{
Expand Down
7 changes: 7 additions & 0 deletions packages/typescript-config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @autoform/typescript-config

## 1.0.0

### Major Changes

- v2
2 changes: 1 addition & 1 deletion packages/typescript-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@autoform/typescript-config",
"version": "0.0.0",
"version": "1.0.0",
"private": true,
"license": "MIT",
"publishConfig": {
Expand Down
11 changes: 11 additions & 0 deletions packages/yup/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @autoform/zod

## 2.0.0

### Major Changes

- v2

### Patch Changes

- Updated dependencies
- @autoform/core@2.0.0

## 1.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/yup/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@autoform/yup",
"version": "1.1.0",
"version": "2.0.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
11 changes: 11 additions & 0 deletions packages/zod/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @autoform/zod

## 2.0.0

### Major Changes

- v2

### Patch Changes

- Updated dependencies
- @autoform/core@2.0.0

## 1.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/zod/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@autoform/zod",
"version": "1.2.0",
"version": "2.0.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down

0 comments on commit 2ce46ce

Please sign in to comment.