Skip to content

Commit f8f0a06

Browse files
docs: Add "type": "module" to examples (#764)
1 parent d20aea9 commit f8f0a06

File tree

22 files changed

+34
-29
lines changed

22 files changed

+34
-29
lines changed

examples/angular/array/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@tanstack/form-example-angular-array",
3-
"version": "0.0.0",
3+
"private": true,
4+
"type": "module",
45
"scripts": {
56
"ng": "ng",
67
"start": "ng cache clean && ng serve",
78
"build": "ng build",
89
"watch": "ng build --watch --configuration development",
910
"test": "ng test"
1011
},
11-
"private": true,
1212
"dependencies": {
1313
"@tanstack/angular-form": "^0.23.1",
1414
"@angular/animations": "^17.3.0",

examples/angular/simple/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@tanstack/form-example-angular-simple",
3-
"version": "0.0.0",
3+
"private": true,
4+
"type": "module",
45
"scripts": {
56
"ng": "ng",
67
"start": "ng cache clean && ng serve",
78
"build": "ng build",
89
"watch": "ng build --watch --configuration development",
910
"test": "ng test"
1011
},
11-
"private": true,
1212
"dependencies": {
1313
"@tanstack/angular-form": "^0.23.1",
1414
"@angular/animations": "^17.3.0",

examples/angular/valibot/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@tanstack/form-example-angular-valibot",
3-
"version": "0.0.0",
3+
"private": true,
4+
"type": "module",
45
"scripts": {
56
"ng": "ng",
67
"start": "ng cache clean && ng serve",
78
"build": "ng build",
89
"watch": "ng build --watch --configuration development",
910
"test": "ng test"
1011
},
11-
"private": true,
1212
"dependencies": {
1313
"@tanstack/angular-form": "^0.23.1",
1414
"@tanstack/valibot-form-adapter": "^0.23.1",

examples/angular/yup/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@tanstack/form-example-angular-yup",
3-
"version": "0.0.0",
3+
"private": true,
4+
"type": "module",
45
"scripts": {
56
"ng": "ng",
67
"start": "ng cache clean && ng serve",
78
"build": "ng build",
89
"watch": "ng build --watch --configuration development",
910
"test": "ng test"
1011
},
11-
"private": true,
1212
"dependencies": {
1313
"@tanstack/angular-form": "^0.23.1",
1414
"@tanstack/yup-form-adapter": "^0.23.1",

examples/angular/zod/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@tanstack/form-example-angular-zod",
3-
"version": "0.0.0",
3+
"private": true,
4+
"type": "module",
45
"scripts": {
56
"ng": "ng",
67
"start": "ng cache clean && ng serve",
78
"build": "ng build",
89
"watch": "ng build --watch --configuration development",
910
"test": "ng test"
1011
},
11-
"private": true,
1212
"dependencies": {
1313
"@tanstack/angular-form": "^0.23.1",
1414
"@tanstack/zod-form-adapter": "^0.23.1",

examples/lit/simple/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@tanstack/form-example-lit-simple",
3-
"version": "0.0.1",
4-
"main": "src/index.jsx",
3+
"private": true,
4+
"type": "module",
55
"scripts": {
66
"dev": "vite --port=3001",
77
"build": "vite build",

examples/lit/ui-libraries/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@tanstack/form-example-lit-ui-libraries",
3-
"version": "0.0.1",
4-
"main": "src/index.jsx",
3+
"private": true,
4+
"type": "module",
55
"scripts": {
66
"dev": "vite --port=3001",
77
"build": "vite build",

examples/react/array/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@tanstack/form-example-react-array",
3-
"version": "0.0.1",
4-
"main": "src/index.jsx",
3+
"private": true,
4+
"type": "module",
55
"scripts": {
66
"dev": "vite --port=3001",
77
"build": "vite build",
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)