Skip to content

Commit

Permalink
1.2.6: Fix the type error message for Props in van.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Tao-VanJS committed Nov 1, 2023
1 parent f26a1aa commit f58f23e
Show file tree
Hide file tree
Showing 59 changed files with 889 additions and 118 deletions.
2 changes: 1 addition & 1 deletion bun-examples/hydration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is a [Bun 1.0](https://bun.sh/blog/bun-v1.0)-based variation of the fullsta
```json
"dependencies": {
"mini-van-plate": "^0.5.3",
"vanjs-core": "^1.2.5"
"vanjs-core": "^1.2.6"
},
"devDependencies": {
"bun": "^1.0.0",
Expand Down
8 changes: 4 additions & 4 deletions bun-examples/hydration/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bun-examples/hydration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"mini-van-plate": "^0.5.3",
"vanjs-core": "^1.2.5"
"vanjs-core": "^1.2.6"
},
"devDependencies": {
"bun": "^1.0.0",
Expand Down
24 changes: 24 additions & 0 deletions bun-examples/hydration/src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

{
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"skipLibCheck": true,

/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,

/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["client.ts"]
}
10 changes: 7 additions & 3 deletions bun-examples/hydration/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"lib": ["ESNext"],
"module": "esnext",
"target": "esnext",
"module": "ESNext",
"target": "ESNext",
"moduleResolution": "bundler",
"moduleDetection": "force",
"allowImportingTsExtensions": true,
Expand All @@ -18,5 +18,9 @@
"types": [
"bun-types" // add Bun global
]
}
},
"include": [
"src/components/*.ts",
"src/server.ts"
]
}
8 changes: 4 additions & 4 deletions components/examples/await/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/examples/await/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"vite": "^4.3.9"
},
"dependencies": {
"vanjs-core": "^1.2.4",
"vanjs-core": "^1.2.6",
"vanjs-ui": "^0.10.0"
}
}
8 changes: 4 additions & 4 deletions components/examples/banner/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/examples/banner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"vite": "^4.3.9"
},
"dependencies": {
"vanjs-core": "^1.2.5",
"vanjs-core": "^1.2.6",
"vanjs-ui": "^0.10.0"
}
}
8 changes: 4 additions & 4 deletions components/examples/message/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/examples/message/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"vite": "^4.3.9"
},
"dependencies": {
"vanjs-core": "^1.2.5",
"vanjs-core": "^1.2.6",
"vanjs-ui": "^0.10.0"
}
}
8 changes: 4 additions & 4 deletions components/examples/modal/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/examples/modal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"vite": "^4.3.9"
},
"dependencies": {
"vanjs-core": "^1.2.5",
"vanjs-core": "^1.2.6",
"vanjs-ui": "^0.10.0"
}
}
8 changes: 4 additions & 4 deletions components/examples/option-group/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/examples/option-group/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"vite": "^4.3.9"
},
"dependencies": {
"vanjs-core": "^1.2.5",
"vanjs-core": "^1.2.6",
"vanjs-ui": "^0.10.0"
}
}
8 changes: 4 additions & 4 deletions components/examples/tabs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/examples/tabs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"vite": "^4.3.9"
},
"dependencies": {
"vanjs-core": "^1.2.5",
"vanjs-core": "^1.2.6",
"vanjs-ui": "^0.10.0"
}
}
8 changes: 4 additions & 4 deletions components/examples/toggle/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/examples/toggle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"vite": "^4.3.9"
},
"dependencies": {
"vanjs-core": "^1.2.5",
"vanjs-core": "^1.2.6",
"vanjs-ui": "^0.10.0"
}
}
8 changes: 4 additions & 4 deletions components/examples/tooltip/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/examples/tooltip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"vite": "^4.3.9"
},
"dependencies": {
"vanjs-core": "^1.2.5",
"vanjs-core": "^1.2.6",
"vanjs-ui": "^0.10.0"
}
}
14 changes: 7 additions & 7 deletions components/examples/window/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/examples/window/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"vite": "^4.3.9"
},
"dependencies": {
"vanjs-core": "^1.2.5",
"vanjs-core": "^1.2.6",
"vanjs-ui": "^0.10.0"
}
}
Loading

0 comments on commit f58f23e

Please sign in to comment.