mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
update: upgrade to astro 5
This commit is contained in:
parent
0a85f4d48d
commit
c1d79f4430
4 changed files with 2871 additions and 1697 deletions
|
|
@ -3,7 +3,7 @@ import vue from '@astrojs/vue'
|
|||
import tailwind from '@astrojs/tailwind'
|
||||
// Astro Netlify Reference
|
||||
// https://github.com/withastro/astro/tree/main/packages/integrations/netlify
|
||||
import netlify from '@astrojs/netlify/functions'
|
||||
import netlify from '@astrojs/netlify'
|
||||
// import sitemap from '@astrojs/sitemap'
|
||||
import partytown from '@astrojs/partytown'
|
||||
|
||||
|
|
|
|||
12
package.json
12
package.json
|
|
@ -65,9 +65,9 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"7z-wasm": "^1.0.0-beta.5",
|
||||
"@astrojs/netlify": "^2.6.0",
|
||||
"@astrojs/partytown": "^1.2.3",
|
||||
"@astrojs/vue": "^2.2.1",
|
||||
"@astrojs/netlify": "^6.1.0",
|
||||
"@astrojs/partytown": "^2.1.3",
|
||||
"@astrojs/vue": "^5.0.6",
|
||||
"@esbuild-plugins/node-globals-polyfill": "^0.1.1",
|
||||
"@esbuild-plugins/node-modules-polyfill": "^0.1.4",
|
||||
"@fontsource/inter": "^4.0.1",
|
||||
|
|
@ -76,7 +76,7 @@
|
|||
"@originjs/vite-plugin-commonjs": "^1.0.3",
|
||||
"@supercharge/promise-pool": "^2.1.0",
|
||||
"@zip.js/zip.js": "^2.5.25",
|
||||
"astro": "^2.10.7",
|
||||
"astro": "^5.2.5",
|
||||
"axios": "^0.21.0",
|
||||
"buffer": "^6.0.3",
|
||||
"can-autoplay": "^3.0.0",
|
||||
|
|
@ -123,8 +123,8 @@
|
|||
"zip-lib": "^0.7.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/sitemap": "^2.0.1",
|
||||
"@astrojs/tailwind": "^4.0.0",
|
||||
"@astrojs/sitemap": "^3.2.1",
|
||||
"@astrojs/tailwind": "^6.0.0",
|
||||
"@vitest/web-worker": "^0.20.3",
|
||||
"autoprefixer": "^10.0.2",
|
||||
"ava": "^6.2.0",
|
||||
|
|
|
|||
4535
pnpm-lock.yaml
generated
4535
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,21 +1,22 @@
|
|||
import { defineConfig } from 'vitest/config'
|
||||
|
||||
import { fileURLToPath } from 'url'
|
||||
import astroConfig from './astro.config.mjs'
|
||||
|
||||
|
||||
const vitestConfig = {
|
||||
|
||||
...astroConfig,
|
||||
|
||||
// Requires merging in astroConfig.vite
|
||||
...astroConfig.vite,
|
||||
|
||||
resolve: {
|
||||
alias: {
|
||||
'~': fileURLToPath(new URL('./', import.meta.url)),
|
||||
},
|
||||
},
|
||||
test: {
|
||||
// testTimeout: 60 * 1000,
|
||||
setupFiles: 'tsconfig-paths/register'
|
||||
setupFiles: 'tsconfig-paths/register',
|
||||
// Add environment setup for tests
|
||||
environment: 'node',
|
||||
}
|
||||
}
|
||||
|
||||
// console.log( 'vitestConfig', vitestConfig )
|
||||
|
||||
export default defineConfig( vitestConfig )
|
||||
export default defineConfig(vitestConfig)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue