wxt 0.19.9 → 0.19.10-alpha1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,13 +4,13 @@ export * from './types';
4
4
  /**
5
5
  * Create a content script UI without any isolation.
6
6
  *
7
- * @see https://wxt.dev/guide/key-concepts/content-script-ui.html#integrated
7
+ * @see https://wxt.dev/guide/key-concepts/content-script-ui#integrated
8
8
  */
9
9
  export declare function createIntegratedUi<TMounted>(ctx: ContentScriptContext, options: IntegratedContentScriptUiOptions<TMounted>): IntegratedContentScriptUi<TMounted>;
10
10
  /**
11
11
  * Create a content script UI using an iframe.
12
12
  *
13
- * @see https://wxt.dev/guide/key-concepts/content-script-ui.html#iframe
13
+ * @see https://wxt.dev/guide/key-concepts/content-script-ui#iframe
14
14
  */
15
15
  export declare function createIframeUi<TMounted>(ctx: ContentScriptContext, options: IframeContentScriptUiOptions<TMounted>): IframeContentScriptUi<TMounted>;
16
16
  /**
@@ -18,6 +18,6 @@ export declare function createIframeUi<TMounted>(ctx: ContentScriptContext, opti
18
18
  *
19
19
  * > This function is async because it has to load the CSS via a network call.
20
20
  *
21
- * @see https://wxt.dev/guide/key-concepts/content-script-ui.html#shadowroot
21
+ * @see https://wxt.dev/guide/key-concepts/content-script-ui#shadowroot
22
22
  */
23
23
  export declare function createShadowRootUi<TMounted>(ctx: ContentScriptContext, options: ShadowRootContentScriptUiOptions<TMounted>): Promise<ShadowRootContentScriptUi<TMounted>>;
@@ -27,7 +27,7 @@ export async function generateManifest(entrypoints, buildOutput) {
27
27
  if (versionName == null) {
28
28
  versionName = "0.0.0";
29
29
  wxt.logger.warn(
30
- 'Extension version not found, defaulting to "0.0.0". Add a version to your `package.json` or `wxt.config.ts` file. For more details, see: https://wxt.dev/guide/key-concepts/manifest.html#version-and-version-name'
30
+ 'Extension version not found, defaulting to "0.0.0". Add a version to your `package.json` or `wxt.config.ts` file. For more details, see: https://wxt.dev/guide/key-concepts/manifest#version-and-version-name'
31
31
  );
32
32
  }
33
33
  const version = wxt.config.manifest.version ?? simplifyVersion(versionName);
package/dist/storage.d.ts CHANGED
@@ -103,7 +103,7 @@ export interface WxtStorage {
103
103
  /**
104
104
  * Define a storage item with a default value, type, or versioning.
105
105
  *
106
- * Read full docs: https://wxt.dev/guide/extension-apis/storage.html#defining-storage-items
106
+ * Read full docs: https://wxt.dev/guide/extension-apis/storage#defining-storage-items
107
107
  */
108
108
  defineItem<TValue, TMetadata extends Record<string, unknown> = {}>(key: StorageItemKey): WxtStorageItem<TValue | null, TMetadata>;
109
109
  defineItem<TValue, TMetadata extends Record<string, unknown> = {}>(key: StorageItemKey, options: WxtStorageItemOptions<TValue>): WxtStorageItem<TValue, TMetadata>;
package/dist/storage.mjs CHANGED
@@ -313,7 +313,7 @@ function createDriver(storageArea) {
313
313
  [
314
314
  "'wxt/storage' must be loaded in a web extension environment",
315
315
  "\n - If thrown during a build, see https://github.com/wxt-dev/wxt/issues/371",
316
- " - If thrown during tests, mock 'wxt/browser' correctly. See https://wxt.dev/guide/go-further/testing.html\n"
316
+ " - If thrown during tests, mock 'wxt/browser' correctly. See https://wxt.dev/guide/go-further/testing\n"
317
317
  ].join("\n")
318
318
  );
319
319
  }
package/dist/types.d.ts CHANGED
@@ -791,7 +791,7 @@ export interface ConfigEnv {
791
791
  browser: TargetBrowser;
792
792
  /**
793
793
  * Manifest version passed in from the CLI via the `--mv2` or `--mv3` flags. When not passed, it depends on the target browser. See
794
- * [the guide](https://wxt.dev/guide/key-concepts/multiple-browsers.html#target-manifest-version) for more
794
+ * [the guide](https://wxt.dev/guide/key-concepts/multiple-browsers#target-manifest-version) for more
795
795
  * details.
796
796
  */
797
797
  manifestVersion: 2 | 3;
package/dist/version.mjs CHANGED
@@ -1 +1 @@
1
- export const version = "0.19.9";
1
+ export const version = "0.19.10-alpha1";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wxt",
3
3
  "type": "module",
4
- "version": "0.19.9",
4
+ "version": "0.19.10-alpha1",
5
5
  "description": "Next gen framework for developing web extensions",
6
6
  "repository": {
7
7
  "type": "git",
package/README.md DELETED
@@ -1,71 +0,0 @@
1
- <h1 align="center">
2
- <img style="vertical-align:middle" width="44" src="https://raw.githubusercontent.com/wxt-dev/wxt/HEAD/docs/public/hero-logo.svg" alt="WXT Logo">
3
- <span>WXT</span>
4
- </h1>
5
-
6
- <p align="center">
7
- <a href="https://www.npmjs.com/package/wxt" target="_blank"><img alt="npm" src="https://img.shields.io/npm/v/wxt?labelColor=black&color=%234fa048"></a>
8
- <span> </span>
9
- <a href="https://www.npmjs.com/package/wxt" target="_blank"><img alt="npm" src="https://img.shields.io/npm/dm/wxt?labelColor=black&color=%234fa048"></a>
10
- <span> </span>
11
- <a href="https://github.com/wxt-dev/wxt/blob/main/LICENSE" target="_blank"><img alt="NPM" src="https://img.shields.io/npm/l/wxt?labelColor=black&color=%234fa048"></a>
12
- <span> </span>
13
- <a href="https://codecov.io/github/wxt-dev/wxt" target="_blank"><img alt="Codecov" src="https://img.shields.io/codecov/c/github/wxt-dev/wxt?labelColor=black&color=%234fa048"></a>
14
- </p>
15
-
16
- <p align="center">
17
- <span>Next-gen framework for developing web extensions.</span>
18
- <br/>
19
- <span>⚡</span>
20
- <br/>
21
- <q><i>It's like Nuxt, but for Chrome Extensions</i></q>
22
- </p>
23
-
24
- <p align="center">
25
- <a href="https://wxt.dev/guide/installation.html" target="_blank">Get Started</a>
26
- &bull;
27
- <a href="https://wxt.dev/api/config.html" target="_blank">Configuration</a>
28
- &bull;
29
- <a href="https://wxt.dev/examples.html" target="_blank">Examples</a>
30
- &bull;
31
- <a href="https://github.com/wxt-dev/wxt/blob/main/packages/wxt/CHANGELOG.md" target="_blank">Changelog</a>
32
- &bull;
33
- <a href="https://discord.gg/ZFsZqGery9" target="_blank">Discord</a>
34
- </p>
35
-
36
- ![Example CLI Output](https://raw.githubusercontent.com/wxt-dev/wxt/HEAD/docs/assets/cli-output.png)
37
-
38
- ## Demo
39
-
40
- https://github.com/wxt-dev/wxt/assets/10101283/4d678939-1bdb-495c-9c36-3aa281d84c94
41
-
42
- ## Quick Start
43
-
44
- Bootstrap a new project:
45
-
46
- ```sh
47
- pnpm dlx wxt@latest init <project-name>
48
- ```
49
-
50
- Or see the [installation guide](https://wxt.dev/guide/installation.html) to get started with WXT.
51
-
52
- ## Features
53
-
54
- - 🌐 Supports all browsers
55
- - ✅ Supports both MV2 and MV3
56
- - ⚡ Dev mode with HMR & fast reload
57
- - 📂 File based entrypoints
58
- - 🚔 TypeScript
59
- - 🦾 Auto-imports
60
- - 🤖 Automated publishing
61
- - 🎨 Frontend framework agnostic: works with Vue, React, Svelte, etc
62
- - 📦 Modular architecture with [WXT modules](https://wxt.dev/guide/go-further/reusable-modules.html#overview)
63
- - 🖍️ Quickly bootstrap a new project
64
- - 📏 Bundle analysis
65
- - ⬇️ Download and bundle remote URL imports
66
-
67
- ## Contributors
68
-
69
- <a href="https://github.com/wxt-dev/wxt/graphs/contributors">
70
- <img src="https://contrib.rocks/image?repo=wxt-dev/wxt" />
71
- </a>