Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Astro 4 #105

Merged
merged 8 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Expose Astro dependencies for `pnpm` users
shamefully-hoist=true
enable-pre-post-scripts=truep
74 changes: 37 additions & 37 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,60 +10,60 @@
"update-contributors": "node ./automation/update-contributors.js",
"prebuild": "node ./scripts/pre-run",
"predev": "node ./scripts/pre-run",
"test": "pnpm exec playwright test --project=chromium",
"codegen": "pnpm exec playwright codegen"
"test": "playwright test",
"codegen": "playwright codegen"
},
"dependencies": {
"@astrojs/mdx": "^1.0.0",
"@astrojs/rss": "^3.0.0",
"@astrojs/sitemap": "^3.0.0",
"@astrojs/mdx": "^2.0.0",
"@astrojs/rss": "^4.0.0",
"@astrojs/sitemap": "^3.0.3",
"@directus/sdk": "^10.3.5",
"@heroicons/vue": "^2.0.18",
"@nanostores/persistent": "^0.9.1",
"@nanostores/vue": "^0.10.0",
"@supabase/supabase-js": "^2.32.0",
"@vueuse/core": "^10.3.0",
"astro": "^3.0.13",
"@supabase/supabase-js": "^2.39.0",
"@vueuse/core": "^10.7.0",
"astro": "^4.0.2",
"date-fns": "^2.30.0",
"nanostores": "^0.9.3",
"nanostores": "^0.9.5",
"sharp": "^0.31.3",
"vanilla-tilt": "^1.8.0",
"vanilla-tilt": "^1.8.1",
"vanilla-tilt-vue": "^0.1.3"
},
"devDependencies": {
"@astrojs/vue": "^3.0.0",
"@headlessui/vue": "^1.7.15",
"@iconify-json/carbon": "^1.1.19",
"@iconify-json/emojione-monotone": "^1.1.4",
"@iconify-json/eos-icons": "^1.1.6",
"@iconify-json/fa6-solid": "^1.1.13",
"@iconify-json/fluent": "^1.1.29",
"@iconify-json/fluent-emoji-high-contrast": "^1.1.9",
"@iconify-json/fxemoji": "^1.1.4",
"@iconify-json/game-icons": "^1.1.2",
"@iconify-json/ic": "^1.1.13",
"@iconify-json/icon-park-twotone": "^1.1.9",
"@iconify-json/iconoir": "^1.1.30",
"@iconify-json/logos": "^1.1.34",
"@iconify-json/material-symbols": "^1.1.53",
"@iconify-json/mdi": "^1.1.53",
"@iconify-json/ph": "^1.1.6",
"@iconify-json/radix-icons": "^1.1.10",
"@iconify-json/solar": "^1.1.2",
"@iconify-json/system-uicons": "^1.1.9",
"@astrojs/vue": "^4.0.2",
"@headlessui/vue": "^1.7.16",
"@iconify-json/carbon": "^1.1.24",
"@iconify-json/emojione-monotone": "^1.1.7",
"@iconify-json/eos-icons": "^1.1.9",
"@iconify-json/fa6-solid": "^1.1.19",
"@iconify-json/fluent": "^1.1.43",
"@iconify-json/fluent-emoji-high-contrast": "^1.1.13",
"@iconify-json/fxemoji": "^1.1.7",
"@iconify-json/game-icons": "^1.1.6",
"@iconify-json/ic": "^1.1.16",
"@iconify-json/icon-park-twotone": "^1.1.13",
"@iconify-json/iconoir": "^1.1.36",
"@iconify-json/logos": "^1.1.40",
"@iconify-json/material-symbols": "^1.1.65",
"@iconify-json/mdi": "^1.1.59",
"@iconify-json/ph": "^1.1.8",
"@iconify-json/radix-icons": "^1.1.13",
"@iconify-json/solar": "^1.1.8",
"@iconify-json/system-uicons": "^1.1.11",
"@playwright/test": "^1.40.1",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/line-clamp": "^0.4.4",
"@tailwindcss/typography": "^0.5.9",
"@tailwindcss/typography": "^0.5.10",
"@types/node": "^20.10.3",
"autoprefixer": "^10.4.14",
"autoprefixer": "^10.4.16",
"daisyui": "^4.4.19",
"postcss": "^8.4.27",
"postcss": "^8.4.32",
"postcss-import": "^15.1.0",
"slugify": "^1.6.6",
"tailwindcss": "^3.3.3",
"unplugin-icons": "^0.16.5",
"vue": "^3.3.4",
"web-vitals": "^3.4.0"
"tailwindcss": "^3.3.6",
"unplugin-icons": "^0.18.1",
"vue": "^3.3.10",
"web-vitals": "^3.5.0"
}
}
28 changes: 14 additions & 14 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default defineConfig({
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Base URL to use in actions like `await page.goto('/')`. */
// baseURL: 'http://127.0.0.1:3000',
baseURL: 'http://localhost:3000/',

/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',
Expand All @@ -37,15 +37,15 @@ export default defineConfig({
use: { ...devices['Desktop Chrome'] },
},

{
name: 'firefox',
use: { ...devices['Desktop Firefox'] },
},
// {
// name: 'firefox',
// use: { ...devices['Desktop Firefox'] },
// },

{
name: 'webkit',
use: { ...devices['Desktop Safari'] },
},
// {
// name: 'webkit',
// use: { ...devices['Desktop Safari'] },
// },

/* Test against mobile viewports. */
// {
Expand All @@ -69,9 +69,9 @@ export default defineConfig({
],

/* Run your local dev server before starting the tests */
// webServer: {
// command: 'npm run start',
// url: 'http://127.0.0.1:3000',
// reuseExistingServer: !process.env.CI,
// },
webServer: {
command: 'pnpm run dev',
url: 'http://localhost:3000',
reuseExistingServer: !process.env.CI,
},
});
Loading
Loading