mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
chore(deps): update all non-major dependencies (#10833)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
This commit is contained in:
parent
2f4d627815
commit
8d5f3e8656
73 changed files with 1078 additions and 1192 deletions
5
.changeset/bright-chefs-develop.md
Normal file
5
.changeset/bright-chefs-develop.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@astrojs/markdoc": minor
|
||||
---
|
||||
|
||||
Updates `@markdoc/markdoc` to v0.4
|
7
.changeset/thick-wasps-know.md
Normal file
7
.changeset/thick-wasps-know.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
"@astrojs/markdoc": patch
|
||||
"@astrojs/vercel": patch
|
||||
"astro": patch
|
||||
---
|
||||
|
||||
Updates `esbuild` dependency to v0.20. This should not affect projects in most cases.
|
5
.changeset/wet-apples-accept.md
Normal file
5
.changeset/wet-apples-accept.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@astrojs/partytown": minor
|
||||
---
|
||||
|
||||
Updates the `@builder.io/partytown` dependency to v0.10. This should not affect projects in most cases.
|
1
.github/renovate.json5
vendored
1
.github/renovate.json5
vendored
|
@ -12,6 +12,7 @@
|
|||
// manually bumping deps
|
||||
"@biomejs/biome",
|
||||
"@types/node",
|
||||
"preact-render-to-string", // https://github.com/withastro/astro/pull/10200
|
||||
"sharp",
|
||||
|
||||
// manually bumping workflow actions
|
||||
|
|
2
.github/workflows/snapshot-release.yml
vendored
2
.github/workflows/snapshot-release.yml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
|||
pull-requests: write
|
||||
steps:
|
||||
- name: "Check if user has admin access (only admins can publish snapshot releases)."
|
||||
uses: "lannonbr/repo-permission-check-action@2.0.0"
|
||||
uses: "lannonbr/repo-permission-check-action@2.0.2"
|
||||
with:
|
||||
permission: "admin"
|
||||
env:
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"@astrojs/node": "workspace:*",
|
||||
"@benchmark/timer": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"autocannon": "^7.12.0",
|
||||
"autocannon": "^7.15.0",
|
||||
"execa": "^8.0.1",
|
||||
"markdown-table": "^3.0.3",
|
||||
"mri": "^1.2.0",
|
||||
|
|
|
@ -13,6 +13,6 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"astro": "^4.6.3",
|
||||
"vitest": "^1.3.1"
|
||||
"vitest": "^1.5.0"
|
||||
}
|
||||
}
|
||||
|
|
34
package.json
34
package.json
|
@ -30,8 +30,8 @@
|
|||
"test:smoke:docs": "turbo run build --filter=docs",
|
||||
"test:check-examples": "node ./scripts/smoke/check.js",
|
||||
"test:vite-ci": "turbo run test --filter=astro",
|
||||
"test:e2e": "cd packages/astro && pnpm playwright install && pnpm run test:e2e",
|
||||
"test:e2e:match": "cd packages/astro && pnpm playwright install && pnpm run test:e2e:match",
|
||||
"test:e2e": "cd packages/astro && pnpm playwright install chromium && pnpm run test:e2e",
|
||||
"test:e2e:match": "cd packages/astro && pnpm playwright install chromium && pnpm run test:e2e:match",
|
||||
"test:e2e:hosts": "turbo run test:hosted",
|
||||
"benchmark": "astro-benchmark",
|
||||
"lint": "eslint . --report-unused-disable-directives",
|
||||
|
@ -52,27 +52,27 @@
|
|||
"astro-benchmark": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/check": "^0.5.8",
|
||||
"@astrojs/check": "^0.5.10",
|
||||
"@biomejs/biome": "1.6.4",
|
||||
"@changesets/changelog-github": "^0.4.8",
|
||||
"@changesets/cli": "^2.26.2",
|
||||
"@changesets/changelog-github": "^0.5.0",
|
||||
"@changesets/cli": "^2.27.1",
|
||||
"@eslint/eslintrc": "^3.0.2",
|
||||
"@types/node": "^18.17.8",
|
||||
"esbuild": "^0.19.6",
|
||||
"eslint": "^9.0.0",
|
||||
"eslint-config-prettier": "^9.0.0",
|
||||
"esbuild": "^0.20.2",
|
||||
"eslint": "^9.1.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-no-only-tests": "^3.1.0",
|
||||
"eslint-plugin-prettier": "^5.0.0",
|
||||
"eslint-plugin-regexp": "^2.2.0",
|
||||
"globby": "^14.0.0",
|
||||
"only-allow": "^1.1.1",
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
"eslint-plugin-regexp": "^2.5.0",
|
||||
"globby": "^14.0.1",
|
||||
"only-allow": "^1.2.1",
|
||||
"organize-imports-cli": "^0.10.0",
|
||||
"prettier": "^3.1.0",
|
||||
"prettier-plugin-astro": "^0.12.2",
|
||||
"prettier": "^3.2.5",
|
||||
"prettier-plugin-astro": "^0.13.0",
|
||||
"tiny-glob": "^0.2.9",
|
||||
"turbo": "^1.12.4",
|
||||
"typescript": "~5.2.2",
|
||||
"typescript-eslint": "^7.6.0"
|
||||
"turbo": "^1.13.2",
|
||||
"typescript": "~5.4.5",
|
||||
"typescript-eslint": "^7.7.0"
|
||||
},
|
||||
"pnpm": {
|
||||
"packageExtensions": {
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
"xml2js": "0.6.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"fast-xml-parser": "^4.2.7",
|
||||
"fast-xml-parser": "^4.3.6",
|
||||
"kleur": "^4.1.5"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,14 @@ const test = testFactory({
|
|||
devToolbar: {
|
||||
enabled: false,
|
||||
},
|
||||
vite: {
|
||||
optimizeDeps: {
|
||||
// Vite has a bug where if you close the server too quickly, while the optimized
|
||||
// dependencies are still held before serving, it will stall the server from closing.
|
||||
// This will workaround it for now.
|
||||
holdUntilCrawlEnd: false,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
let devServer;
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"@astrojs/preact": "workspace:*",
|
||||
"@e2e/astro-linked-lib": "link:../_deps/astro-linked-lib",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.19.2"
|
||||
"preact": "^10.20.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/vue": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"vue": "^3.3.8"
|
||||
"vue": "^3.4.23"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.19.2",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"solid-js": "^1.8.5",
|
||||
"svelte": "^4.2.5",
|
||||
"vue": "^3.3.8"
|
||||
"preact": "^10.20.2",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"solid-js": "^1.8.16",
|
||||
"svelte": "^4.2.15",
|
||||
"vue": "^3.4.23"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/react": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0"
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.19.2"
|
||||
"preact": "^10.20.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.19.2"
|
||||
"preact": "^10.20.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
"private": true,
|
||||
"dependencies": {
|
||||
"astro": "workspace:*",
|
||||
"sass": "^1.69.5"
|
||||
"sass": "^1.75.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
"@astrojs/svelte": "workspace:*",
|
||||
"@astrojs/vue": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.19.2",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"sass": "^1.69.5",
|
||||
"solid-js": "^1.8.5",
|
||||
"svelte": "^4.2.5",
|
||||
"vue": "^3.3.8"
|
||||
"preact": "^10.20.2",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"sass": "^1.75.0",
|
||||
"solid-js": "^1.8.16",
|
||||
"svelte": "^4.2.15",
|
||||
"vue": "^3.4.23"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
"private": true,
|
||||
"devDependencies": {
|
||||
"astro": "workspace:*",
|
||||
"sass": "^1.69.5"
|
||||
"sass": "^1.75.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.19.2"
|
||||
"preact": "^10.20.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"@astrojs/lit": "workspace:*",
|
||||
"@webcomponents/template-shadowroot": "^0.2.1",
|
||||
"astro": "workspace:*",
|
||||
"lit": "^3.1.0"
|
||||
"lit": "^3.1.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,4 +31,8 @@ export default class Counter extends LitElement {
|
|||
}
|
||||
}
|
||||
|
||||
customElements.define('my-counter', Counter);
|
||||
// Since this fixture is ran in both dev and build, this could register twice. Wrap with a try..catch for now.
|
||||
try {
|
||||
customElements.define('my-counter', Counter);
|
||||
} catch {}
|
||||
|
||||
|
|
|
@ -32,4 +32,7 @@ export default class NonDeferredCounter extends LitElement {
|
|||
}
|
||||
}
|
||||
|
||||
customElements.define('non-deferred-counter', NonDeferredCounter);
|
||||
// Since this fixture is ran in both dev and build, this could register twice. Wrap with a try..catch for now.
|
||||
try {
|
||||
customElements.define('non-deferred-counter', NonDeferredCounter);
|
||||
} catch {}
|
||||
|
|
|
@ -13,12 +13,12 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@webcomponents/template-shadowroot": "^0.2.1",
|
||||
"lit": "^3.1.0",
|
||||
"preact": "^10.19.2",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"solid-js": "^1.8.5",
|
||||
"svelte": "^4.2.5",
|
||||
"vue": "^3.3.8"
|
||||
"lit": "^3.1.3",
|
||||
"preact": "^10.20.2",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"solid-js": "^1.8.16",
|
||||
"svelte": "^4.2.15",
|
||||
"vue": "^3.4.23"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.19.2"
|
||||
"preact": "^10.20.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.19.2",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"solid-js": "^1.8.5",
|
||||
"svelte": "^4.2.5",
|
||||
"vue": "^3.3.8"
|
||||
"preact": "^10.20.2",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"solid-js": "^1.8.16",
|
||||
"svelte": "^4.2.15",
|
||||
"vue": "^3.4.23"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.19.2",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"solid-js": "^1.8.5",
|
||||
"svelte": "^4.2.5",
|
||||
"vue": "^3.3.8"
|
||||
"preact": "^10.20.2",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"solid-js": "^1.8.16",
|
||||
"svelte": "^4.2.15",
|
||||
"vue": "^3.4.23"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.19.2",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"solid-js": "^1.8.5",
|
||||
"svelte": "^4.2.5",
|
||||
"vue": "^3.3.8"
|
||||
"preact": "^10.20.2",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"solid-js": "^1.8.16",
|
||||
"svelte": "^4.2.15",
|
||||
"vue": "^3.4.23"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.19.2",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"solid-js": "^1.8.5",
|
||||
"svelte": "^4.2.5",
|
||||
"vue": "^3.3.8"
|
||||
"preact": "^10.20.2",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"solid-js": "^1.8.16",
|
||||
"svelte": "^4.2.15",
|
||||
"vue": "^3.4.23"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.19.2",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"solid-js": "^1.8.5",
|
||||
"svelte": "^4.2.5",
|
||||
"vue": "^3.3.8"
|
||||
"preact": "^10.20.2",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"solid-js": "^1.8.16",
|
||||
"svelte": "^4.2.15",
|
||||
"vue": "^3.4.23"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,12 +11,12 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.19.2",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"solid-js": "^1.8.5",
|
||||
"svelte": "^4.2.5",
|
||||
"vue": "^3.3.8"
|
||||
"preact": "^10.20.2",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"solid-js": "^1.8.16",
|
||||
"svelte": "^4.2.15",
|
||||
"vue": "^3.4.23"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "astro dev"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0"
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.19.2"
|
||||
"preact": "^10.20.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"@astrojs/mdx": "workspace:*",
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.19.2"
|
||||
"preact": "^10.20.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"@astrojs/mdx": "workspace:*",
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.15.1"
|
||||
"preact": "^10.20.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"@astrojs/react": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"@astrojs/mdx": "workspace:*",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0"
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,6 +7,6 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"solid-js": "^1.8.5"
|
||||
"solid-js": "^1.8.16"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"@astrojs/mdx": "workspace:*",
|
||||
"@astrojs/solid-js": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"solid-js": "^1.8.5"
|
||||
"solid-js": "^1.8.16"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,6 +7,6 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"solid-js": "^1.8.5"
|
||||
"solid-js": "^1.8.16"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"@astrojs/mdx": "workspace:*",
|
||||
"@astrojs/svelte": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"svelte": "^4.2.5"
|
||||
"svelte": "^4.2.15"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
"dependencies": {
|
||||
"@astrojs/tailwind": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"autoprefixer": "^10.4.15",
|
||||
"postcss": "^8.4.28",
|
||||
"tailwindcss": "^3.3.5"
|
||||
"autoprefixer": "^10.4.19",
|
||||
"postcss": "^8.4.38",
|
||||
"tailwindcss": "^3.4.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/react": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0"
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
"@astrojs/svelte": "workspace:*",
|
||||
"@astrojs/vue": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"svelte": "^4.2.5",
|
||||
"vue": "^3.3.8"
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"svelte": "^4.2.15",
|
||||
"vue": "^3.4.23"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"@astrojs/mdx": "workspace:*",
|
||||
"@astrojs/vue": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"vue": "^3.3.8"
|
||||
"vue": "^3.4.23"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,17 +10,16 @@ const test = testFactory({
|
|||
test.describe('Lit components', () => {
|
||||
test.describe('Development', () => {
|
||||
let devServer;
|
||||
const t = test.extend({});
|
||||
|
||||
t.beforeAll(async ({ astro }) => {
|
||||
test.beforeAll(async ({ astro }) => {
|
||||
devServer = await astro.startDevServer();
|
||||
});
|
||||
|
||||
t.afterAll(async () => {
|
||||
test.afterAll(async () => {
|
||||
await devServer.stop();
|
||||
});
|
||||
|
||||
t('client:idle', async ({ page, astro }) => {
|
||||
test('client:idle', async ({ page, astro }) => {
|
||||
await page.goto(astro.resolveUrl('/'));
|
||||
|
||||
const counter = page.locator('#client-idle');
|
||||
|
@ -38,7 +37,7 @@ test.describe('Lit components', () => {
|
|||
await expect(count, 'count incremented by 1').toHaveText('Count: 11');
|
||||
});
|
||||
|
||||
t('non-deferred attribute serialization', async ({ page, astro }) => {
|
||||
test('non-deferred attribute serialization', async ({ page, astro }) => {
|
||||
await page.goto(astro.resolveUrl('/'));
|
||||
|
||||
const counter = page.locator('#non-deferred');
|
||||
|
@ -53,7 +52,7 @@ test.describe('Lit components', () => {
|
|||
await expect(count, 'count incremented by 1').toHaveText('Count: 11');
|
||||
});
|
||||
|
||||
t('client:load', async ({ page, astro }) => {
|
||||
test('client:load', async ({ page, astro }) => {
|
||||
await page.goto(astro.resolveUrl('/'));
|
||||
|
||||
const counter = page.locator('#client-load');
|
||||
|
@ -70,7 +69,7 @@ test.describe('Lit components', () => {
|
|||
await expect(count, 'count incremented by 1').toHaveText('Count: 11');
|
||||
});
|
||||
|
||||
t('client:visible', async ({ page, astro }) => {
|
||||
test('client:visible', async ({ page, astro }) => {
|
||||
await page.goto(astro.resolveUrl('/'));
|
||||
|
||||
// Make sure the component is on screen to trigger hydration
|
||||
|
@ -89,7 +88,7 @@ test.describe('Lit components', () => {
|
|||
await expect(count, 'count incremented by 1').toHaveText('Count: 11');
|
||||
});
|
||||
|
||||
t('client:media', async ({ page, astro }) => {
|
||||
test('client:media', async ({ page, astro }) => {
|
||||
await page.goto(astro.resolveUrl('/media'));
|
||||
|
||||
const counter = page.locator('#client-media');
|
||||
|
@ -111,7 +110,7 @@ test.describe('Lit components', () => {
|
|||
await expect(count, 'count incremented by 1').toHaveText('Count: 11');
|
||||
});
|
||||
|
||||
t('client:only', async ({ page, astro }) => {
|
||||
test('client:only', async ({ page, astro }) => {
|
||||
await page.goto(astro.resolveUrl('/'));
|
||||
|
||||
const label = page.locator('#client-only');
|
||||
|
@ -143,7 +142,7 @@ test.describe('Lit components', () => {
|
|||
).toBeHidden();
|
||||
});
|
||||
|
||||
t.skip('HMR', async ({ page, astro }) => {
|
||||
test.skip('HMR', async ({ page, astro }) => {
|
||||
await page.goto(astro.resolveUrl('/'));
|
||||
|
||||
const counter = page.locator('#client-idle');
|
||||
|
@ -160,32 +159,20 @@ test.describe('Lit components', () => {
|
|||
|
||||
test.describe('Production', () => {
|
||||
let previewServer;
|
||||
const t = test.extend({});
|
||||
|
||||
t.beforeAll(async ({ astro }) => {
|
||||
test.beforeAll(async ({ astro }) => {
|
||||
// Playwright's Node version doesn't have these functions, so stub them.
|
||||
process.stdout.clearLine = () => {};
|
||||
process.stdout.cursorTo = () => {};
|
||||
try {
|
||||
await astro.build();
|
||||
} catch (err) {
|
||||
// There's this strange error on build since the dev server already defined `my-counter`,
|
||||
// however the tests still pass with this error, so swallow it.
|
||||
if (!err.message.includes(`Failed to execute 'define' on 'CustomElementRegistry'`)) {
|
||||
throw err;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
t.beforeAll(async ({ astro }) => {
|
||||
await astro.build();
|
||||
previewServer = await astro.preview();
|
||||
});
|
||||
|
||||
t.afterAll(async () => {
|
||||
test.afterAll(async () => {
|
||||
await previewServer.stop();
|
||||
});
|
||||
|
||||
t('Only one component in prod', async ({ page, astro }) => {
|
||||
test('Only one component in prod', async ({ page, astro }) => {
|
||||
await page.goto(astro.resolveUrl('/solo'));
|
||||
|
||||
const counter = page.locator('my-counter');
|
||||
|
|
|
@ -1,7 +1,20 @@
|
|||
import { expect } from '@playwright/test';
|
||||
import { testFactory } from './test-utils.js';
|
||||
|
||||
const test = testFactory({ root: './fixtures/nested-styles/' });
|
||||
const test = testFactory({
|
||||
root: './fixtures/nested-styles/',
|
||||
devToolbar: {
|
||||
enabled: false,
|
||||
},
|
||||
vite: {
|
||||
optimizeDeps: {
|
||||
// Vite has a bug where if you close the server too quickly, while the optimized
|
||||
// dependencies are still held before serving, it will stall the server from closing.
|
||||
// This will workaround it for now.
|
||||
holdUntilCrawlEnd: false,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
let devServer;
|
||||
|
||||
|
|
|
@ -24,35 +24,31 @@ function runTest(it) {
|
|||
|
||||
test.describe('TypeScript resolution -', () => {
|
||||
test.describe('Development', () => {
|
||||
const t = test.extend({});
|
||||
|
||||
let devServer;
|
||||
|
||||
t.beforeAll(async ({ astro }) => {
|
||||
test.beforeAll(async ({ astro }) => {
|
||||
devServer = await astro.startDevServer();
|
||||
});
|
||||
|
||||
t.afterAll(async () => {
|
||||
test.afterAll(async () => {
|
||||
await devServer.stop();
|
||||
});
|
||||
|
||||
runTest(t);
|
||||
runTest(test);
|
||||
});
|
||||
|
||||
test.describe('Production', () => {
|
||||
const t = test.extend({});
|
||||
|
||||
let previewServer;
|
||||
|
||||
t.beforeAll(async ({ astro }) => {
|
||||
test.beforeAll(async ({ astro }) => {
|
||||
await astro.build();
|
||||
previewServer = await astro.preview();
|
||||
});
|
||||
|
||||
t.afterAll(async () => {
|
||||
test.afterAll(async () => {
|
||||
await previewServer.stop();
|
||||
});
|
||||
|
||||
runTest(t);
|
||||
runTest(test);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -118,106 +118,105 @@
|
|||
"@astrojs/internal-helpers": "workspace:*",
|
||||
"@astrojs/markdown-remark": "workspace:*",
|
||||
"@astrojs/telemetry": "workspace:*",
|
||||
"@babel/core": "^7.24.3",
|
||||
"@babel/generator": "^7.23.3",
|
||||
"@babel/parser": "^7.23.3",
|
||||
"@babel/plugin-transform-react-jsx": "^7.22.5",
|
||||
"@babel/traverse": "^7.23.3",
|
||||
"@babel/types": "^7.23.3",
|
||||
"@types/babel__core": "^7.20.4",
|
||||
"@types/cookie": "^0.5.4",
|
||||
"acorn": "^8.11.2",
|
||||
"@babel/core": "^7.24.4",
|
||||
"@babel/generator": "^7.24.4",
|
||||
"@babel/parser": "^7.24.4",
|
||||
"@babel/plugin-transform-react-jsx": "^7.23.4",
|
||||
"@babel/traverse": "^7.24.1",
|
||||
"@babel/types": "^7.24.0",
|
||||
"@types/babel__core": "^7.20.5",
|
||||
"@types/cookie": "^0.6.0",
|
||||
"acorn": "^8.11.3",
|
||||
"aria-query": "^5.3.0",
|
||||
"axobject-query": "^4.0.0",
|
||||
"boxen": "^7.1.1",
|
||||
"chokidar": "^3.5.3",
|
||||
"chokidar": "^3.6.0",
|
||||
"ci-info": "^4.0.0",
|
||||
"clsx": "^2.0.0",
|
||||
"clsx": "^2.1.0",
|
||||
"common-ancestor-path": "^1.0.1",
|
||||
"cookie": "^0.6.0",
|
||||
"cssesc": "^3.0.0",
|
||||
"debug": "^4.3.4",
|
||||
"deterministic-object-hash": "^2.0.1",
|
||||
"deterministic-object-hash": "^2.0.2",
|
||||
"devalue": "^5.0.0",
|
||||
"diff": "^5.1.0",
|
||||
"diff": "^5.2.0",
|
||||
"dlv": "^1.1.3",
|
||||
"dset": "^3.1.3",
|
||||
"es-module-lexer": "^1.4.1",
|
||||
"esbuild": "^0.19.6",
|
||||
"es-module-lexer": "^1.5.0",
|
||||
"esbuild": "^0.20.2",
|
||||
"estree-walker": "^3.0.3",
|
||||
"execa": "^8.0.1",
|
||||
"fast-glob": "^3.3.2",
|
||||
"flattie": "^1.1.0",
|
||||
"flattie": "^1.1.1",
|
||||
"github-slugger": "^2.0.0",
|
||||
"gray-matter": "^4.0.3",
|
||||
"html-escaper": "^3.0.3",
|
||||
"http-cache-semantics": "^4.1.1",
|
||||
"js-yaml": "^4.1.0",
|
||||
"kleur": "^4.1.4",
|
||||
"magic-string": "^0.30.3",
|
||||
"kleur": "^4.1.5",
|
||||
"magic-string": "^0.30.10",
|
||||
"mrmime": "^2.0.0",
|
||||
"ora": "^8.0.1",
|
||||
"p-limit": "^5.0.0",
|
||||
"p-queue": "^8.0.1",
|
||||
"path-to-regexp": "^6.2.1",
|
||||
"preferred-pm": "^3.1.2",
|
||||
"path-to-regexp": "^6.2.2",
|
||||
"preferred-pm": "^3.1.3",
|
||||
"prompts": "^2.4.2",
|
||||
"rehype": "^13.0.1",
|
||||
"resolve": "^1.22.4",
|
||||
"semver": "^7.5.4",
|
||||
"shiki": "^1.1.2",
|
||||
"string-width": "^7.0.0",
|
||||
"resolve": "^1.22.8",
|
||||
"semver": "^7.6.0",
|
||||
"shiki": "^1.3.0",
|
||||
"string-width": "^7.1.0",
|
||||
"strip-ansi": "^7.1.0",
|
||||
"tsconfck": "^3.0.0",
|
||||
"tsconfck": "^3.0.3",
|
||||
"unist-util-visit": "^5.0.0",
|
||||
"vfile": "^6.0.1",
|
||||
"vite": "^5.1.4",
|
||||
"vite": "^5.2.10",
|
||||
"vitefu": "^0.2.5",
|
||||
"which-pm": "^2.1.1",
|
||||
"yargs-parser": "^21.1.1",
|
||||
"zod": "^3.22.4",
|
||||
"zod-to-json-schema": "^3.22.4"
|
||||
"zod": "^3.23.0",
|
||||
"zod-to-json-schema": "^3.22.5"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"sharp": "^0.32.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/check": "^0.5.8",
|
||||
"@playwright/test": "1.40.0",
|
||||
"@astrojs/check": "^0.5.10",
|
||||
"@playwright/test": "^1.43.1",
|
||||
"@types/aria-query": "^5.0.4",
|
||||
"@types/babel__generator": "^7.6.7",
|
||||
"@types/babel__traverse": "^7.20.4",
|
||||
"@types/babel__generator": "^7.6.8",
|
||||
"@types/babel__traverse": "^7.20.5",
|
||||
"@types/common-ancestor-path": "^1.0.2",
|
||||
"@types/connect": "^3.4.38",
|
||||
"@types/cssesc": "^3.0.2",
|
||||
"@types/debug": "^4.1.12",
|
||||
"@types/diff": "^5.0.8",
|
||||
"@types/diff": "^5.2.0",
|
||||
"@types/dlv": "^1.1.4",
|
||||
"@types/dom-view-transitions": "^1.0.4",
|
||||
"@types/hast": "^3.0.3",
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/html-escaper": "^3.0.2",
|
||||
"@types/http-cache-semantics": "^4.0.4",
|
||||
"@types/js-yaml": "^4.0.9",
|
||||
"@types/mocha": "^10.0.4",
|
||||
"@types/probe-image-size": "^7.2.3",
|
||||
"@types/prompts": "^2.4.8",
|
||||
"@types/resolve": "^1.20.5",
|
||||
"@types/semver": "^7.5.2",
|
||||
"@types/probe-image-size": "^7.2.4",
|
||||
"@types/prompts": "^2.4.9",
|
||||
"@types/resolve": "^1.20.6",
|
||||
"@types/semver": "^7.5.8",
|
||||
"@types/send": "^0.17.4",
|
||||
"@types/unist": "^3.0.2",
|
||||
"@types/yargs-parser": "^21.0.3",
|
||||
"astro-scripts": "workspace:*",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"eol": "^0.9.1",
|
||||
"memfs": "^4.6.0",
|
||||
"node-mocks-http": "^1.13.0",
|
||||
"memfs": "^4.8.2",
|
||||
"node-mocks-http": "^1.14.1",
|
||||
"parse-srcset": "^1.0.2",
|
||||
"rehype-autolink-headings": "^7.1.0",
|
||||
"rehype-slug": "^6.0.0",
|
||||
"rehype-toc": "^3.0.2",
|
||||
"remark-code-titles": "^0.1.2",
|
||||
"rollup": "^4.5.0",
|
||||
"sass": "^1.69.5",
|
||||
"rollup": "^4.16.1",
|
||||
"sass": "^1.75.0",
|
||||
"srcset-parse": "^1.1.0",
|
||||
"unified": "^11.0.4"
|
||||
},
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
"dependencies": {
|
||||
"@astrojs/react": "workspace:*",
|
||||
"@performance/utils": "workspace:*",
|
||||
"@types/react": "^18.2.37",
|
||||
"@types/react-dom": "^18.2.15",
|
||||
"@types/react": "^18.2.79",
|
||||
"@types/react-dom": "^18.2.25",
|
||||
"astro": "workspace:*",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0"
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,10 +17,10 @@
|
|||
"@astrojs/markdoc": "workspace:*",
|
||||
"@astrojs/react": "workspace:*",
|
||||
"@performance/utils": "workspace:*",
|
||||
"@types/react": "^18.2.37",
|
||||
"@types/react-dom": "^18.2.15",
|
||||
"@types/react": "^18.2.79",
|
||||
"@types/react-dom": "^18.2.25",
|
||||
"astro": "workspace:*",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0"
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,10 +17,10 @@
|
|||
"@astrojs/mdx": "workspace:*",
|
||||
"@astrojs/react": "workspace:*",
|
||||
"@performance/utils": "workspace:*",
|
||||
"@types/react": "^18.2.37",
|
||||
"@types/react-dom": "^18.2.15",
|
||||
"@types/react": "^18.2.79",
|
||||
"@types/react-dom": "^18.2.25",
|
||||
"astro": "workspace:*",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0"
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -135,7 +135,7 @@ export async function getEntryData(
|
|||
},
|
||||
});
|
||||
if (parsed.success) {
|
||||
data = parsed.data;
|
||||
data = parsed.data as Record<string, unknown>;
|
||||
} else {
|
||||
if (!formattedError) {
|
||||
formattedError = new AstroError({
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
"//b": "DEPENDENCIES IS FOR UNBUNDLED PACKAGES",
|
||||
"dependencies": {
|
||||
"@astrojs/cli-kit": "^0.4.1",
|
||||
"giget": "1.1.3"
|
||||
"giget": "1.2.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"arg": "^5.0.2",
|
||||
|
|
|
@ -70,33 +70,33 @@
|
|||
"test:match": "mocha --timeout 20000 \"test/*.js\" \"test/unit/*.js\" -g"
|
||||
},
|
||||
"dependencies": {
|
||||
"@libsql/client": "^0.5.5",
|
||||
"@libsql/client": "^0.6.0",
|
||||
"async-listen": "^3.0.1",
|
||||
"deep-diff": "^1.0.2",
|
||||
"drizzle-orm": "^0.30.4",
|
||||
"drizzle-orm": "^0.30.9",
|
||||
"github-slugger": "^2.0.0",
|
||||
"kleur": "^4.1.5",
|
||||
"nanoid": "^5.0.1",
|
||||
"open": "^10.0.3",
|
||||
"nanoid": "^5.0.7",
|
||||
"open": "^10.1.0",
|
||||
"ora": "^8.0.1",
|
||||
"prompts": "^2.4.2",
|
||||
"strip-ansi": "^7.1.0",
|
||||
"yargs-parser": "^21.1.1",
|
||||
"zod": "^3.22.4"
|
||||
"zod": "^3.23.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/chai": "^4.3.14",
|
||||
"@types/deep-diff": "^1.0.5",
|
||||
"@types/diff": "^5.0.8",
|
||||
"@types/mocha": "^10.0.2",
|
||||
"@types/prompts": "^2.4.8",
|
||||
"@types/diff": "^5.2.0",
|
||||
"@types/mocha": "^10.0.6",
|
||||
"@types/prompts": "^2.4.9",
|
||||
"@types/yargs-parser": "^21.0.3",
|
||||
"astro": "workspace:*",
|
||||
"astro-scripts": "workspace:*",
|
||||
"chai": "^5.1.0",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"mocha": "^10.2.0",
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^5.1.4"
|
||||
"mocha": "^10.4.0",
|
||||
"typescript": "^5.4.5",
|
||||
"vite": "^5.2.10"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -38,10 +38,10 @@
|
|||
"alpinejs": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "1.40.0",
|
||||
"@playwright/test": "1.43.1",
|
||||
"astro": "workspace:*",
|
||||
"astro-scripts": "workspace:*",
|
||||
"vite": "^5.1.4"
|
||||
"vite": "^5.2.10"
|
||||
},
|
||||
"publishConfig": {
|
||||
"provenance": true
|
||||
|
|
|
@ -42,22 +42,22 @@
|
|||
"test": "astro-scripts test \"test/**/*.test.js\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@lit-labs/ssr": "^3.2.0",
|
||||
"@lit-labs/ssr-client": "^1.1.5",
|
||||
"@lit-labs/ssr-dom-shim": "^1.1.2",
|
||||
"@lit-labs/ssr": "^3.2.2",
|
||||
"@lit-labs/ssr-client": "^1.1.7",
|
||||
"@lit-labs/ssr-dom-shim": "^1.2.0",
|
||||
"parse5": "^7.1.2"
|
||||
},
|
||||
"overrides": {
|
||||
"@lit-labs/ssr": {
|
||||
"@lit-labs/ssr-client": "1.1.3"
|
||||
"@lit-labs/ssr-client": "1.1.7"
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "workspace:*",
|
||||
"astro-scripts": "workspace:*",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"lit": "^3.1.0",
|
||||
"sass": "^1.69.5"
|
||||
"lit": "^3.1.3",
|
||||
"sass": "^1.75.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@webcomponents/template-shadowroot": "^0.2.1",
|
||||
|
|
|
@ -65,13 +65,13 @@
|
|||
"@astrojs/internal-helpers": "workspace:*",
|
||||
"@astrojs/markdown-remark": "workspace:*",
|
||||
"@astrojs/prism": "workspace:*",
|
||||
"@markdoc/markdoc": "^0.3.5",
|
||||
"esbuild": "^0.19.6",
|
||||
"@markdoc/markdoc": "^0.4.0",
|
||||
"esbuild": "^0.20.2",
|
||||
"github-slugger": "^2.0.0",
|
||||
"gray-matter": "^4.0.3",
|
||||
"htmlparser2": "^9.0.0",
|
||||
"htmlparser2": "^9.1.0",
|
||||
"kleur": "^4.1.5",
|
||||
"zod": "^3.22.4"
|
||||
"zod": "^3.23.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^3.0.0 || ^4.0.0"
|
||||
|
@ -82,8 +82,8 @@
|
|||
"astro": "workspace:*",
|
||||
"astro-scripts": "workspace:*",
|
||||
"devalue": "^5.0.0",
|
||||
"linkedom": "^0.16.4",
|
||||
"vite": "^5.1.4"
|
||||
"linkedom": "^0.16.11",
|
||||
"vite": "^5.2.10"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
|
||||
|
|
|
@ -34,14 +34,14 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/markdown-remark": "workspace:*",
|
||||
"@mdx-js/mdx": "^3.0.0",
|
||||
"acorn": "^8.11.2",
|
||||
"es-module-lexer": "^1.4.1",
|
||||
"@mdx-js/mdx": "^3.0.1",
|
||||
"acorn": "^8.11.3",
|
||||
"es-module-lexer": "^1.5.0",
|
||||
"estree-util-visit": "^2.0.0",
|
||||
"github-slugger": "^2.0.0",
|
||||
"gray-matter": "^4.0.3",
|
||||
"hast-util-to-html": "^9.0.0",
|
||||
"kleur": "^4.1.4",
|
||||
"hast-util-to-html": "^9.0.1",
|
||||
"kleur": "^4.1.5",
|
||||
"rehype-raw": "^7.0.0",
|
||||
"remark-gfm": "^4.0.0",
|
||||
"remark-smartypants": "^3.0.0",
|
||||
|
@ -55,23 +55,22 @@
|
|||
"devDependencies": {
|
||||
"@types/estree": "^1.0.5",
|
||||
"@types/mdast": "^4.0.3",
|
||||
"@types/mocha": "^10.0.4",
|
||||
"@types/yargs-parser": "^21.0.3",
|
||||
"astro": "workspace:*",
|
||||
"astro-scripts": "workspace:*",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"linkedom": "^0.16.4",
|
||||
"linkedom": "^0.16.11",
|
||||
"mdast-util-mdx": "^3.0.0",
|
||||
"mdast-util-to-string": "^4.0.0",
|
||||
"reading-time": "^1.5.0",
|
||||
"rehype-mathjax": "^6.0.0",
|
||||
"rehype-pretty-code": "^0.13.0",
|
||||
"rehype-pretty-code": "^0.13.1",
|
||||
"remark-math": "^6.0.0",
|
||||
"remark-rehype": "^11.0.0",
|
||||
"remark-rehype": "^11.1.0",
|
||||
"remark-shiki-twoslash": "^3.1.3",
|
||||
"remark-toc": "^9.0.0",
|
||||
"unified": "^11.0.4",
|
||||
"vite": "^5.1.4"
|
||||
"vite": "^5.2.10"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
|
||||
|
|
|
@ -46,8 +46,8 @@
|
|||
"astro": "workspace:*",
|
||||
"astro-scripts": "workspace:*",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"express": "^4.18.2",
|
||||
"node-mocks-http": "^1.13.0"
|
||||
"express": "^4.19.2",
|
||||
"node-mocks-http": "^1.14.1"
|
||||
},
|
||||
"publishConfig": {
|
||||
"provenance": true
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
"dev": "astro-scripts dev \"src/**/*.ts\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@builder.io/partytown": "^0.8.0",
|
||||
"@builder.io/partytown": "^0.10.1",
|
||||
"mrmime": "^2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -35,10 +35,10 @@
|
|||
"dev": "astro-scripts dev \"src/**/*.ts\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/plugin-transform-react-jsx": "^7.22.5",
|
||||
"@babel/plugin-transform-react-jsx": "^7.23.4",
|
||||
"@babel/plugin-transform-react-jsx-development": "^7.22.5",
|
||||
"@preact/preset-vite": "^2.7.0",
|
||||
"@preact/signals": "^1.2.1",
|
||||
"@preact/preset-vite": "^2.8.2",
|
||||
"@preact/signals": "^1.2.3",
|
||||
"babel-plugin-transform-hook-names": "^1.0.2",
|
||||
"preact-render-to-string": "~6.3.1",
|
||||
"preact-ssr-prepass": "^1.2.1"
|
||||
|
@ -46,7 +46,7 @@
|
|||
"devDependencies": {
|
||||
"astro": "workspace:*",
|
||||
"astro-scripts": "workspace:*",
|
||||
"preact": "^10.19.2"
|
||||
"preact": "^10.20.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"preact": "^10.6.5"
|
||||
|
|
|
@ -46,18 +46,18 @@
|
|||
"test": "astro-scripts test \"test/**/*.test.js\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@vitejs/plugin-react": "^4.2.0",
|
||||
"ultrahtml": "^1.3.0"
|
||||
"@vitejs/plugin-react": "^4.2.1",
|
||||
"ultrahtml": "^1.5.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.2.37",
|
||||
"@types/react-dom": "^18.2.15",
|
||||
"@types/react": "^18.2.79",
|
||||
"@types/react-dom": "^18.2.25",
|
||||
"astro": "workspace:*",
|
||||
"astro-scripts": "workspace:*",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"vite": "^5.1.4"
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"vite": "^5.2.10"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/react": "^17.0.50 || ^18.0.21",
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
"dependencies": {
|
||||
"sitemap": "^7.1.1",
|
||||
"stream-replace-string": "^2.0.0",
|
||||
"zod": "^3.22.4"
|
||||
"zod": "^3.23.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/node": "workspace:*",
|
||||
|
|
|
@ -35,12 +35,12 @@
|
|||
"dev": "astro-scripts dev \"src/**/*.ts\""
|
||||
},
|
||||
"dependencies": {
|
||||
"vite-plugin-solid": "^2.8.0"
|
||||
"vite-plugin-solid": "^2.10.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "workspace:*",
|
||||
"astro-scripts": "workspace:*",
|
||||
"solid-js": "^1.8.5"
|
||||
"solid-js": "^1.8.16"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"solid-js": "^1.8.5"
|
||||
|
|
|
@ -42,14 +42,14 @@
|
|||
"dev": "astro-scripts dev \"src/**/*.ts\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@sveltejs/vite-plugin-svelte": "^3.0.0",
|
||||
"svelte2tsx": "^0.6.27"
|
||||
"@sveltejs/vite-plugin-svelte": "^3.1.0",
|
||||
"svelte2tsx": "^0.7.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "workspace:*",
|
||||
"astro-scripts": "workspace:*",
|
||||
"svelte": "^4.2.5",
|
||||
"vite": "^5.1.4"
|
||||
"svelte": "^4.2.15",
|
||||
"vite": "^5.2.10"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^4.0.0",
|
||||
|
|
|
@ -33,15 +33,15 @@
|
|||
"test": "astro-scripts test \"test/**/*.test.js\""
|
||||
},
|
||||
"dependencies": {
|
||||
"autoprefixer": "^10.4.15",
|
||||
"postcss": "^8.4.35",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"postcss": "^8.4.38",
|
||||
"postcss-load-config": "^4.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "workspace:*",
|
||||
"astro-scripts": "workspace:*",
|
||||
"tailwindcss": "^3.3.5",
|
||||
"vite": "^5.1.4"
|
||||
"tailwindcss": "^3.4.3",
|
||||
"vite": "^5.2.10"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^3.0.0 || ^4.0.0",
|
||||
|
|
|
@ -52,19 +52,19 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/internal-helpers": "workspace:*",
|
||||
"@vercel/analytics": "^1.0.2",
|
||||
"@vercel/analytics": "^1.2.2",
|
||||
"@vercel/edge": "^1.1.1",
|
||||
"@vercel/nft": "^0.26.4",
|
||||
"esbuild": "^0.19.6",
|
||||
"esbuild": "^0.20.2",
|
||||
"fast-glob": "^3.3.2",
|
||||
"set-cookie-parser": "^2.6.0",
|
||||
"web-vitals": "^3.4.0"
|
||||
"web-vitals": "^3.5.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^4.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/set-cookie-parser": "^2.4.6",
|
||||
"@types/set-cookie-parser": "^2.4.7",
|
||||
"astro": "workspace:*",
|
||||
"astro-scripts": "workspace:*",
|
||||
"cheerio": "1.0.0-rc.12"
|
||||
|
|
|
@ -42,15 +42,15 @@
|
|||
"dependencies": {
|
||||
"@vitejs/plugin-vue": "^5.0.4",
|
||||
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
||||
"@vue/compiler-sfc": "^3.3.8"
|
||||
"@vue/compiler-sfc": "^3.4.23"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "workspace:*",
|
||||
"astro-scripts": "workspace:*",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"linkedom": "^0.16.4",
|
||||
"vite": "^5.1.4",
|
||||
"vue": "^3.3.8"
|
||||
"linkedom": "^0.16.11",
|
||||
"vite": "^5.2.10",
|
||||
"vue": "^3.4.23"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^4.0.0",
|
||||
|
|
|
@ -36,31 +36,30 @@
|
|||
"dependencies": {
|
||||
"@astrojs/prism": "^3.1.0",
|
||||
"github-slugger": "^2.0.0",
|
||||
"hast-util-from-html": "^2.0.0",
|
||||
"hast-util-to-text": "^4.0.0",
|
||||
"hast-util-from-html": "^2.0.1",
|
||||
"hast-util-to-text": "^4.0.2",
|
||||
"import-meta-resolve": "^4.0.0",
|
||||
"mdast-util-definitions": "^6.0.0",
|
||||
"rehype-raw": "^7.0.0",
|
||||
"rehype-stringify": "^10.0.0",
|
||||
"remark-gfm": "^4.0.0",
|
||||
"remark-parse": "^11.0.0",
|
||||
"remark-rehype": "^11.0.0",
|
||||
"remark-rehype": "^11.1.0",
|
||||
"remark-smartypants": "^3.0.0",
|
||||
"shiki": "^1.1.2",
|
||||
"shiki": "^1.3.0",
|
||||
"unified": "^11.0.4",
|
||||
"unist-util-remove-position": "^5.0.0",
|
||||
"unist-util-visit": "^5.0.0",
|
||||
"unist-util-visit-parents": "^6.0.0",
|
||||
"unist-util-visit-parents": "^6.0.1",
|
||||
"vfile": "^6.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/estree": "^1.0.5",
|
||||
"@types/hast": "^3.0.3",
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/mdast": "^4.0.3",
|
||||
"@types/mocha": "^10.0.4",
|
||||
"@types/unist": "^3.0.2",
|
||||
"astro-scripts": "workspace:*",
|
||||
"esbuild": "^0.19.6",
|
||||
"esbuild": "^0.20.2",
|
||||
"mdast-util-mdx-expression": "^2.0.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
"dlv": "^1.1.3",
|
||||
"dset": "^3.1.3",
|
||||
"is-docker": "^3.0.0",
|
||||
"is-wsl": "^3.0.0",
|
||||
"is-wsl": "^3.1.0",
|
||||
"which-pm-runs": "^1.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -29,14 +29,14 @@
|
|||
"//a": "MOST PACKAGES SHOULD GO IN DEV_DEPENDENCIES! THEY WILL BE BUNDLED.",
|
||||
"//b": "DEPENDENCIES IS FOR UNBUNDLED PACKAGES",
|
||||
"dependencies": {
|
||||
"@astrojs/cli-kit": "^0.2.3",
|
||||
"semver": "^7.5.4",
|
||||
"@astrojs/cli-kit": "^0.4.1",
|
||||
"semver": "^7.6.0",
|
||||
"which-pm-runs": "^1.1.0",
|
||||
"terminal-link": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/semver": "^7.5.2",
|
||||
"@types/which-pm-runs": "^1.0.0",
|
||||
"@types/semver": "^7.5.8",
|
||||
"@types/which-pm-runs": "^1.0.2",
|
||||
"arg": "^5.0.2",
|
||||
"astro-scripts": "workspace:*",
|
||||
"strip-ansi": "^7.1.0"
|
||||
|
|
1660
pnpm-lock.yaml
1660
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
|
@ -9,16 +9,16 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"arg": "^5.0.2",
|
||||
"esbuild": "^0.19.6",
|
||||
"globby": "^14.0.0",
|
||||
"kleur": "^4.1.4",
|
||||
"esbuild": "^0.20.2",
|
||||
"globby": "^14.0.1",
|
||||
"kleur": "^4.1.5",
|
||||
"p-limit": "^5.0.0",
|
||||
"svelte": "^4.2.5",
|
||||
"svelte": "^4.2.15",
|
||||
"tar": "^7.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@octokit/action": "^6.0.5",
|
||||
"del": "^7.0.0",
|
||||
"@octokit/action": "^6.1.0",
|
||||
"del": "^7.1.0",
|
||||
"esbuild-plugin-copy": "^2.1.1",
|
||||
"execa": "^8.0.1",
|
||||
"tsconfig-resolver": "^3.0.1"
|
||||
|
|
Loading…
Reference in a new issue