diff options
Diffstat (limited to 'packages/integrations/prefetch')
-rw-r--r-- | packages/integrations/prefetch/CHANGELOG.md | 12 | ||||
-rw-r--r-- | packages/integrations/prefetch/package.json | 10 | ||||
-rw-r--r-- | packages/integrations/prefetch/playwright.config.js | 2 | ||||
-rw-r--r-- | packages/integrations/prefetch/tsconfig.json | 2 |
4 files changed, 17 insertions, 9 deletions
diff --git a/packages/integrations/prefetch/CHANGELOG.md b/packages/integrations/prefetch/CHANGELOG.md index 959c28677..d268c398c 100644 --- a/packages/integrations/prefetch/CHANGELOG.md +++ b/packages/integrations/prefetch/CHANGELOG.md @@ -1,5 +1,17 @@ # @astrojs/prefetch +## 0.4.0-rc.1 + +### Minor Changes + +- [#8179](https://github.com/withastro/astro/pull/8179) [`6011d52d3`](https://github.com/withastro/astro/commit/6011d52d38e43c3e3d52bc3bc41a60e36061b7b7) Thanks [@matthewp](https://github.com/matthewp)! - Astro 3.0 Release Candidate + +## 0.4.0-beta.0 + +### Minor Changes + +- [`1eae2e3f7`](https://github.com/withastro/astro/commit/1eae2e3f7d693c9dfe91c8ccfbe606d32bf2fb81) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + ## 0.3.0 ### Minor Changes diff --git a/packages/integrations/prefetch/package.json b/packages/integrations/prefetch/package.json index 1a1a9258b..c97006ff9 100644 --- a/packages/integrations/prefetch/package.json +++ b/packages/integrations/prefetch/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/prefetch", "description": "Prefetch page navigations in your Astro site", - "version": "0.3.0", + "version": "0.4.0-rc.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -34,13 +34,9 @@ "test:match": "playwright test -g" }, "devDependencies": { - "@playwright/test": "^1.29.2", - "@types/chai": "^4.3.5", - "@types/chai-as-promised": "^7.1.5", - "@types/mocha": "^9.1.1", + "@playwright/test": "^1.37.1", "astro": "workspace:*", - "astro-scripts": "workspace:*", - "playwright": "^1.29.2" + "astro-scripts": "workspace:*" }, "dependencies": { "throttles": "^1.0.1" diff --git a/packages/integrations/prefetch/playwright.config.js b/packages/integrations/prefetch/playwright.config.js index d9600393e..7fb92ae0c 100644 --- a/packages/integrations/prefetch/playwright.config.js +++ b/packages/integrations/prefetch/playwright.config.js @@ -25,7 +25,7 @@ const config = { /* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */ actionTimeout: 0, /* Base URL to use in actions like `await page.goto('/')`. */ - baseURL: process.env.PLAYWRIGHT_TEST_BASE_URL || 'http://localhost:3000', + baseURL: process.env.PLAYWRIGHT_TEST_BASE_URL || 'http://localhost:4321', /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ trace: 'on-first-retry', diff --git a/packages/integrations/prefetch/tsconfig.json b/packages/integrations/prefetch/tsconfig.json index 194a092ff..6457dfe8c 100644 --- a/packages/integrations/prefetch/tsconfig.json +++ b/packages/integrations/prefetch/tsconfig.json @@ -5,6 +5,6 @@ "allowJs": true, "module": "ES2022", "outDir": "./dist", - "target": "ES2021" + "target": "ES2022" } } |