diff --git a/examples/angular/array/package.json b/examples/angular/array/package.json index 41cba7da6..02d77dfa1 100644 --- a/examples/angular/array/package.json +++ b/examples/angular/array/package.json @@ -1,6 +1,7 @@ { "name": "@tanstack/form-example-angular-array", - "version": "0.0.0", + "private": true, + "type": "module", "scripts": { "ng": "ng", "start": "ng cache clean && ng serve", @@ -8,7 +9,6 @@ "watch": "ng build --watch --configuration development", "test": "ng test" }, - "private": true, "dependencies": { "@tanstack/angular-form": "^0.23.1", "@angular/animations": "^17.3.0", diff --git a/examples/angular/simple/package.json b/examples/angular/simple/package.json index 97ac77210..03efea694 100644 --- a/examples/angular/simple/package.json +++ b/examples/angular/simple/package.json @@ -1,6 +1,7 @@ { "name": "@tanstack/form-example-angular-simple", - "version": "0.0.0", + "private": true, + "type": "module", "scripts": { "ng": "ng", "start": "ng cache clean && ng serve", @@ -8,7 +9,6 @@ "watch": "ng build --watch --configuration development", "test": "ng test" }, - "private": true, "dependencies": { "@tanstack/angular-form": "^0.23.1", "@angular/animations": "^17.3.0", diff --git a/examples/angular/valibot/package.json b/examples/angular/valibot/package.json index 04626fa51..cfa692eed 100644 --- a/examples/angular/valibot/package.json +++ b/examples/angular/valibot/package.json @@ -1,6 +1,7 @@ { "name": "@tanstack/form-example-angular-valibot", - "version": "0.0.0", + "private": true, + "type": "module", "scripts": { "ng": "ng", "start": "ng cache clean && ng serve", @@ -8,7 +9,6 @@ "watch": "ng build --watch --configuration development", "test": "ng test" }, - "private": true, "dependencies": { "@tanstack/angular-form": "^0.23.1", "@tanstack/valibot-form-adapter": "^0.23.1", diff --git a/examples/angular/yup/package.json b/examples/angular/yup/package.json index 920ea2142..78c3f9626 100644 --- a/examples/angular/yup/package.json +++ b/examples/angular/yup/package.json @@ -1,6 +1,7 @@ { "name": "@tanstack/form-example-angular-yup", - "version": "0.0.0", + "private": true, + "type": "module", "scripts": { "ng": "ng", "start": "ng cache clean && ng serve", @@ -8,7 +9,6 @@ "watch": "ng build --watch --configuration development", "test": "ng test" }, - "private": true, "dependencies": { "@tanstack/angular-form": "^0.23.1", "@tanstack/yup-form-adapter": "^0.23.1", diff --git a/examples/angular/zod/package.json b/examples/angular/zod/package.json index 8fa91176a..5dcf8f27a 100644 --- a/examples/angular/zod/package.json +++ b/examples/angular/zod/package.json @@ -1,6 +1,7 @@ { "name": "@tanstack/form-example-angular-zod", - "version": "0.0.0", + "private": true, + "type": "module", "scripts": { "ng": "ng", "start": "ng cache clean && ng serve", @@ -8,7 +9,6 @@ "watch": "ng build --watch --configuration development", "test": "ng test" }, - "private": true, "dependencies": { "@tanstack/angular-form": "^0.23.1", "@tanstack/zod-form-adapter": "^0.23.1", diff --git a/examples/lit/simple/package.json b/examples/lit/simple/package.json index d56df0e59..e34ddf007 100644 --- a/examples/lit/simple/package.json +++ b/examples/lit/simple/package.json @@ -1,7 +1,7 @@ { "name": "@tanstack/form-example-lit-simple", - "version": "0.0.1", - "main": "src/index.jsx", + "private": true, + "type": "module", "scripts": { "dev": "vite --port=3001", "build": "vite build", diff --git a/examples/lit/ui-libraries/package.json b/examples/lit/ui-libraries/package.json index b208ad150..d3a4a7b71 100644 --- a/examples/lit/ui-libraries/package.json +++ b/examples/lit/ui-libraries/package.json @@ -1,7 +1,7 @@ { "name": "@tanstack/form-example-lit-ui-libraries", - "version": "0.0.1", - "main": "src/index.jsx", + "private": true, + "type": "module", "scripts": { "dev": "vite --port=3001", "build": "vite build", diff --git a/examples/react/array/package.json b/examples/react/array/package.json index 5d723416a..76aa070b8 100644 --- a/examples/react/array/package.json +++ b/examples/react/array/package.json @@ -1,7 +1,7 @@ { "name": "@tanstack/form-example-react-array", - "version": "0.0.1", - "main": "src/index.jsx", + "private": true, + "type": "module", "scripts": { "dev": "vite --port=3001", "build": "vite build", diff --git a/examples/react/next-server-actions/.eslintrc.js b/examples/react/next-server-actions/.eslintrc.cjs similarity index 100% rename from examples/react/next-server-actions/.eslintrc.js rename to examples/react/next-server-actions/.eslintrc.cjs diff --git a/examples/react/next-server-actions/next.config.js b/examples/react/next-server-actions/next.config.cjs similarity index 100% rename from examples/react/next-server-actions/next.config.js rename to examples/react/next-server-actions/next.config.cjs diff --git a/examples/react/next-server-actions/package.json b/examples/react/next-server-actions/package.json index 6ab0e8d64..388fec7e5 100644 --- a/examples/react/next-server-actions/package.json +++ b/examples/react/next-server-actions/package.json @@ -1,7 +1,7 @@ { "name": "@tanstack/form-example-react-next-server-actions", - "version": "0.1.0", "private": true, + "type": "module", "scripts": { "dev": "next dev", "build": "next build", diff --git a/examples/react/query-integration/package.json b/examples/react/query-integration/package.json index 1f0865824..ff421001c 100644 --- a/examples/react/query-integration/package.json +++ b/examples/react/query-integration/package.json @@ -1,7 +1,7 @@ { "name": "@tanstack/form-example-react-query-integration", - "version": "0.0.1", - "main": "src/index.jsx", + "private": true, + "type": "module", "scripts": { "dev": "vite --port=3001", "build": "vite build", diff --git a/examples/react/simple/package.json b/examples/react/simple/package.json index c52f0a00e..3a1e36f78 100644 --- a/examples/react/simple/package.json +++ b/examples/react/simple/package.json @@ -1,7 +1,7 @@ { "name": "@tanstack/form-example-react-simple", - "version": "0.0.1", - "main": "src/index.jsx", + "private": true, + "type": "module", "scripts": { "dev": "vite --port=3001", "build": "vite build", diff --git a/examples/react/ui-libraries/package.json b/examples/react/ui-libraries/package.json index 4c4f206ec..e18df4f0f 100644 --- a/examples/react/ui-libraries/package.json +++ b/examples/react/ui-libraries/package.json @@ -1,7 +1,7 @@ { "name": "@tanstack/form-example-react-ui-libraries", - "version": "0.0.1", - "main": "src/index.jsx", + "private": true, + "type": "module", "scripts": { "dev": "vite --port=3001", "build": "vite build", diff --git a/examples/react/valibot/package.json b/examples/react/valibot/package.json index ec1582163..a807e26ee 100644 --- a/examples/react/valibot/package.json +++ b/examples/react/valibot/package.json @@ -1,7 +1,7 @@ { "name": "@tanstack/form-example-react-valibot", - "version": "0.0.1", - "main": "src/index.jsx", + "private": true, + "type": "module", "scripts": { "dev": "vite --port=3001", "build": "vite build", diff --git a/examples/react/yup/package.json b/examples/react/yup/package.json index e48effc66..59f32a7db 100644 --- a/examples/react/yup/package.json +++ b/examples/react/yup/package.json @@ -1,7 +1,7 @@ { "name": "@tanstack/form-example-react-yup", - "version": "0.0.1", - "main": "src/index.jsx", + "private": true, + "type": "module", "scripts": { "dev": "vite --port=3001", "build": "vite build", diff --git a/examples/react/zod/package.json b/examples/react/zod/package.json index 6162d54f3..1384bd23c 100644 --- a/examples/react/zod/package.json +++ b/examples/react/zod/package.json @@ -1,7 +1,7 @@ { "name": "@tanstack/form-example-react-zod", - "version": "0.0.1", - "main": "src/index.jsx", + "private": true, + "type": "module", "scripts": { "dev": "vite --port=3001", "build": "vite build", diff --git a/examples/vue/array/package.json b/examples/vue/array/package.json index 362fc1eab..86d6a22ab 100644 --- a/examples/vue/array/package.json +++ b/examples/vue/array/package.json @@ -1,6 +1,7 @@ { "name": "@tanstack/form-example-vue-array", "private": true, + "type": "module", "scripts": { "dev": "vite", "build": "vite build", diff --git a/examples/vue/simple/package.json b/examples/vue/simple/package.json index 5ec3d74c5..b9828e0cb 100644 --- a/examples/vue/simple/package.json +++ b/examples/vue/simple/package.json @@ -1,6 +1,7 @@ { "name": "@tanstack/form-example-vue-simple", "private": true, + "type": "module", "scripts": { "dev": "vite", "build": "vite build", diff --git a/examples/vue/valibot/package.json b/examples/vue/valibot/package.json index c867ba30c..dc024d96e 100644 --- a/examples/vue/valibot/package.json +++ b/examples/vue/valibot/package.json @@ -1,6 +1,7 @@ { "name": "@tanstack/form-example-vue-valibot", "private": true, + "type": "module", "scripts": { "dev": "vite", "build": "vite build", diff --git a/examples/vue/yup/package.json b/examples/vue/yup/package.json index c5e68c74f..e92a55372 100644 --- a/examples/vue/yup/package.json +++ b/examples/vue/yup/package.json @@ -1,6 +1,7 @@ { "name": "@tanstack/form-example-vue-yup", "private": true, + "type": "module", "scripts": { "dev": "vite", "build": "vite build", diff --git a/examples/vue/zod/package.json b/examples/vue/zod/package.json index f2af4cafd..98655d893 100644 --- a/examples/vue/zod/package.json +++ b/examples/vue/zod/package.json @@ -1,6 +1,7 @@ { "name": "@tanstack/form-example-vue-zod", "private": true, + "type": "module", "scripts": { "dev": "vite", "build": "vite build",