chore: update astro to v2 (#269)
This commit is contained in:
parent
aa14ddd8dc
commit
1cba4be635
12 changed files with 1905 additions and 1141 deletions
|
@ -1,5 +1,3 @@
|
|||
*FYI: We still have not published support for Astro v2. We will get to this soon. Thanks!*
|
||||
|
||||
<p align="center">
|
||||
<img src="https://raw.githubusercontent.com/astro-reactive/astro-reactive/main/.github/assets/logo/min-banner.png" alt="Astro Reactive Library Logo">
|
||||
<br />
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
"dependencies": {
|
||||
"@astro-reactive/form": "*",
|
||||
"@astro-reactive/validator": "*",
|
||||
"astro": "^1.6.5"
|
||||
"astro": "^2.1.3"
|
||||
},
|
||||
"main": "index.js",
|
||||
"repository": {
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
"@types/node": "^18.0.0",
|
||||
"@types/react": "^18.0.24",
|
||||
"@types/react-dom": "^18.0.0",
|
||||
"astro": "^1.4.4",
|
||||
"astro": "^2.1.3",
|
||||
"preact": "^10.7.3",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0"
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@astro-reactive/eslint-config-custom": "*",
|
||||
"@astrojs/tailwind": "^2.0.2",
|
||||
"@astrojs/tailwind": "^3.1.1",
|
||||
"@types/eslint": "^8.4.10",
|
||||
"@types/micromodal": "^0.3.3",
|
||||
"@types/prettier": "^2.7.2",
|
||||
"astro": "^1.4.7",
|
||||
"astro": "^2.1.3",
|
||||
"astro-icon": "^0.8.0",
|
||||
"eslint": "^8.31.0",
|
||||
"prettier": "^2.7.1",
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
const defaultTheme = require('tailwindcss/defaultTheme');
|
||||
|
||||
module.exports = {
|
||||
|
|
|
@ -3,5 +3,6 @@
|
|||
"extends": "astro/tsconfigs/strictest",
|
||||
"compilerOptions": {
|
||||
"skipLibCheck": true
|
||||
}
|
||||
},
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
|
|
3021
package-lock.json
generated
3021
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -37,7 +37,7 @@
|
|||
"@types/eslint": "^8.4.6",
|
||||
"@types/node": "^18.7.18",
|
||||
"@types/prettier": "^2.7.0",
|
||||
"astro": "^1.5.0",
|
||||
"astro": "^2.1.3",
|
||||
"astro-component-tester": "^0.6.0",
|
||||
"eslint": "^8.23.1",
|
||||
"prettier": "^2.7.1",
|
||||
|
@ -47,7 +47,7 @@
|
|||
"vitest": "^0.25.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^1.5.0"
|
||||
"astro": "^2.1.3"
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
1
packages/form/src/env.d.ts
vendored
Normal file
1
packages/form/src/env.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/// <reference types="astro/client" />
|
|
@ -1 +1,2 @@
|
|||
test/**/*.js
|
||||
env.d.ts
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
"@types/eslint": "^8.4.6",
|
||||
"@types/node": "^18.7.18",
|
||||
"@types/prettier": "^2.7.0",
|
||||
"astro": "^1.5.0",
|
||||
"astro": "^2.1.3",
|
||||
"astro-component-tester": "^0.6.0",
|
||||
"eslint": "^8.23.1",
|
||||
"prettier": "^2.7.1",
|
||||
|
@ -45,7 +45,7 @@
|
|||
"vitest": "^0.25.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^1.5.0"
|
||||
"astro": "^2.1.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astro-reactive/common": "*",
|
||||
|
|
1
packages/validator/src/env.d.ts
vendored
Normal file
1
packages/validator/src/env.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/// <reference types="astro/client" />
|
Loading…
Reference in a new issue