- Battle tested and ready for production. Explore chrome extensions made - with WXT. -
-- Loading... -
-- Failed to load extension details. -
-- {{ extension.shortDescription }} -
-- {{ extension.weeklyActiveUsers.toLocaleString() }} users, - {{ extension.rating }} stars - -
-+
Loading...
++ Failed to load extension details. +
++ {{ extension.shortDescription }} +
++ {{ extension.weeklyActiveUsers.toLocaleString() }} users, + {{ extension.rating }} stars +
-+ Open a PR + to add your extension to the list! +
diff --git a/docs/public/_redirects b/docs/public/_redirects index 922e8902..595e8d0e 100644 --- a/docs/public/_redirects +++ b/docs/public/_redirects @@ -2,8 +2,8 @@ # https://docs.netlify.com/routing/redirects/ # Old URLs -> New URLs -/config.html /api/wxt/interfaces/InlineConfig.html -/api/config.html /api/wxt/interfaces/InlineConfig.html +/config.html /api/reference/wxt/interfaces/InlineConfig.html +/api/config.html /api/reference/wxt/interfaces/InlineConfig.html /entrypoints /entrypoints/background.html /get-started/assets.html /guide/assets.html /get-started/build-targets.html /guide/multiple-browsers.html diff --git a/docs/typedoc.json b/docs/typedoc.json index f09aff57..5ac20200 100644 --- a/docs/typedoc.json +++ b/docs/typedoc.json @@ -3,7 +3,7 @@ "entryPointStrategy": "packages", "entryPoints": ["../packages/wxt"], "plugin": ["typedoc-plugin-markdown", "typedoc-vitepress-theme"], - "out": "./api", + "out": "./api/reference", "githubPages": false, "excludePrivate": true, "excludeProtected": true, diff --git a/package.json b/package.json index e3936e18..d285b152 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "typedoc-plugin-markdown": "4.0.0-next.23", "typedoc-vitepress-theme": "1.0.0-next.3", "typescript": "^5.3.2", - "vitepress": "1.0.0-rc.34", + "vitepress": "^1.2.2", "vitest": "^1.5.3", "vitest-mock-extended": "^1.3.1", "vitest-plugin-random-seed": "^1.0.2", diff --git a/packages/wxt-demo/vitest.config.ts b/packages/wxt-demo/vitest.config.ts index bec0c7c2..7bd958d5 100644 --- a/packages/wxt-demo/vitest.config.ts +++ b/packages/wxt-demo/vitest.config.ts @@ -6,5 +6,6 @@ export default defineProject({ mockReset: true, restoreMocks: true, }, + // @ts-expect-error plugins: [WxtVitest()], }); diff --git a/packages/wxt/CHANGELOG.md b/packages/wxt/CHANGELOG.md index 0bc99bdd..ea1cd905 100644 --- a/packages/wxt/CHANGELOG.md +++ b/packages/wxt/CHANGELOG.md @@ -1046,7 +1046,7 @@ Renamed undocumented constants for detecting the build config at runtime in [#38 #### ⚠️ Breaking Changes -- `wxt/storage` no longer relies on [`unstorage`](https://www.npmjs.com/package/unstorage). Some `unstorage` APIs, like `prefixStorage`, have been removed, while others, like `snapshot`, are methods on the new `storage` object. Most of the standard usage remains the same. See https://wxt.dev/guide/storage and https://wxt.dev/api/wxt/storage/ for more details ([#300](https://github.com/wxt-dev/wxt/pull/300)) +- `wxt/storage` no longer relies on [`unstorage`](https://www.npmjs.com/package/unstorage). Some `unstorage` APIs, like `prefixStorage`, have been removed, while others, like `snapshot`, are methods on the new `storage` object. Most of the standard usage remains the same. See https://wxt.dev/guide/storage and https://wxt.dev/api/reference/wxt/storage/ for more details ([#300](https://github.com/wxt-dev/wxt/pull/300)) ## v0.12.5 diff --git a/packages/wxt/src/client/content-scripts/ui/index.ts b/packages/wxt/src/client/content-scripts/ui/index.ts index 62d6a9a4..14e8283d 100644 --- a/packages/wxt/src/client/content-scripts/ui/index.ts +++ b/packages/wxt/src/client/content-scripts/ui/index.ts @@ -17,7 +17,7 @@ export * from './types'; /** * Create a content script UI without any isolation. * - * @see https://wxt.dev/guide/content-script-ui.html#integrated + * @see https://wxt.dev/guide/key-concepts/content-script-ui.html#integrated */ export function createIntegratedUi