chore: support Astro 4

This commit is contained in:
Ayo 2023-12-07 15:47:28 +01:00
parent 5c8517266c
commit 14f7760ff3
8 changed files with 12441 additions and 115 deletions

View file

@ -20,7 +20,7 @@
"@astro-reactive/form": "*", "@astro-reactive/form": "*",
"@astro-reactive/validator": "*", "@astro-reactive/validator": "*",
"@astrojs/check": "^0.2.0", "@astrojs/check": "^0.2.0",
"astro": "^3.1.2", "astro": "^4.0.3",
"typescript": "^5.2.2" "typescript": "^5.2.2"
}, },
"main": "index.js", "main": "index.js",

View file

@ -25,7 +25,7 @@
"@types/node": "^20.6.5", "@types/node": "^20.6.5",
"@types/react": "^18.2.22", "@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7", "@types/react-dom": "^18.2.7",
"astro": "^3.1.2", "astro": "^4.0.3",
"preact": "^10.17.1", "preact": "^10.17.1",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0" "react-dom": "^18.2.0"

View file

@ -20,7 +20,7 @@
"@types/eslint": "^8.44.3", "@types/eslint": "^8.44.3",
"@types/micromodal": "^0.3.3", "@types/micromodal": "^0.3.3",
"@types/prettier": "^3.0.0", "@types/prettier": "^3.0.0",
"astro": "^3.1.2", "astro": "^4.0.3",
"eslint": "^8.50.0", "eslint": "^8.50.0",
"prettier": "^3.0.3", "prettier": "^3.0.3",
"prettier-plugin-astro": "^0.12.0", "prettier-plugin-astro": "^0.12.0",

12520
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
{ {
"name": "@astro-reactive/common", "name": "@astro-reactive/common",
"version": "0.2.1", "version": "0.3.0",
"description": "Common code for Astro Reactive Packages", "description": "Common code for Astro Reactive Packages",
"main": "index.ts", "main": "index.ts",
"types": "./types/index.ts", "types": "./types/index.ts",
@ -34,6 +34,6 @@
"access": "public" "access": "public"
}, },
"dependencies": { "dependencies": {
"astro": "^3.1.2" "astro": "^4.0.3"
} }
} }

View file

@ -3,7 +3,6 @@
"version": "0.0.4", "version": "0.0.4",
"description": "Create a new astro-reactive app", "description": "Create a new astro-reactive app",
"main": "index.js", "main": "index.js",
"devDependencies": {},
"scripts": {}, "scripts": {},
"repository": { "repository": {
"type": "git", "type": "git",
@ -14,5 +13,8 @@
"bugs": { "bugs": {
"url": "https://github.com/astro-reactive/astro-reactive/issues" "url": "https://github.com/astro-reactive/astro-reactive/issues"
}, },
"homepage": "https://astro-reactive.js.org" "homepage": "https://astro-reactive.js.org",
"dependencies": {
"astro": "^4.0.3"
}
} }

View file

@ -1,7 +1,7 @@
{ {
"name": "@astro-reactive/form", "name": "@astro-reactive/form",
"description": "The Reactive Form component for Astro 🔥", "description": "The Reactive Form component for Astro 🔥",
"version": "0.9.1", "version": "0.10.0",
"repository": "https://github.com/astro-reactive/astro-reactive", "repository": "https://github.com/astro-reactive/astro-reactive",
"homepage": "https://astro-reactive.js.org", "homepage": "https://astro-reactive.js.org",
"author": "astro-reactive", "author": "astro-reactive",
@ -35,18 +35,18 @@
"@types/eslint": "^8.4.6", "@types/eslint": "^8.4.6",
"@types/node": "^18.7.18", "@types/node": "^18.7.18",
"@types/prettier": "^2.7.0", "@types/prettier": "^2.7.0",
"astro": "^3.1.2", "@vitest/coverage-istanbul": "^0.34.5",
"astro": "^4.0.3",
"astro-component-tester": "^0.6.0", "astro-component-tester": "^0.6.0",
"eslint": "^8.23.1", "eslint": "^8.23.1",
"prettier": "^3.0.3", "prettier": "^3.0.3",
"prettier-plugin-astro": "^0.12.0", "prettier-plugin-astro": "^0.12.0",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"typescript": "^4.8.3", "typescript": "^4.8.3",
"vitest": "^0.34.5", "vitest": "^0.34.5"
"@vitest/coverage-istanbul": "^0.34.5"
}, },
"peerDependencies": { "peerDependencies": {
"astro": "^3.1.2" "astro": "^4.0.3"
}, },
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {

View file

@ -1,7 +1,7 @@
{ {
"name": "@astro-reactive/validator", "name": "@astro-reactive/validator",
"description": "Form validation library for Astro 🔥", "description": "Form validation library for Astro 🔥",
"version": "0.4.1", "version": "0.5.0",
"repository": "https://github.com/astro-reactive/astro-reactive", "repository": "https://github.com/astro-reactive/astro-reactive",
"homepage": "https://astro-reactive.js.org", "homepage": "https://astro-reactive.js.org",
"author": "astro-reactive", "author": "astro-reactive",
@ -33,18 +33,18 @@
"@types/eslint": "^8.4.6", "@types/eslint": "^8.4.6",
"@types/node": "^18.7.18", "@types/node": "^18.7.18",
"@types/prettier": "^2.7.0", "@types/prettier": "^2.7.0",
"astro": "^3.1.2", "@vitest/coverage-istanbul": "^0.34.5",
"astro": "^4.0.3",
"astro-component-tester": "^0.6.0", "astro-component-tester": "^0.6.0",
"eslint": "^8.23.1", "eslint": "^8.23.1",
"prettier": "^3.0.3", "prettier": "^3.0.3",
"prettier-plugin-astro": "^0.12.0", "prettier-plugin-astro": "^0.12.0",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"typescript": "^4.8.3", "typescript": "^4.8.3",
"vitest": "^0.34.5", "vitest": "^0.34.5"
"@vitest/coverage-istanbul": "^0.34.5"
}, },
"peerDependencies": { "peerDependencies": {
"astro": "^3.1.2" "astro": "^4.0.3"
}, },
"dependencies": { "dependencies": {
"@astro-reactive/common": "*" "@astro-reactive/common": "*"