Skip to content

Commit 446fd90

Browse files
committed
Merge remote-tracking branch 'origin/main' into analytics-module
2 parents 90c2b7f + 78f97f3 commit 446fd90

File tree

120 files changed

+5681
-2473
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+5681
-2473
lines changed

.github/FUNDING.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# These are supported funding model platforms
2+
3+
github: [wxt-dev] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
12+
polar: # Replace with a single Polar username
13+
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
14+
thanks_dev: # Replace with a single thanks.dev username
15+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.github/actions/setup/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ inputs:
44
install:
55
default: 'true'
66
description: Whether or not to run 'pnpm install'
7+
installArgs:
8+
default: ''
9+
description: Additional args to append to "pnpm install"
710
runs:
811
using: composite
912
steps:
@@ -17,4 +20,4 @@ runs:
1720
- name: Install Dependencies
1821
if: ${{ inputs.install == 'true' }}
1922
shell: bash
20-
run: pnpm install
23+
run: pnpm install ${{ inputs.installArgs }}

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- module-solid
1414
- module-svelte
1515
- module-vue
16+
- storage
1617
- unocss
1718
- wxt
1819

.github/workflows/sync-releases.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,23 @@ on:
77
default: wxt
88
type: choice
99
options:
10-
- wxt
11-
- module-react
12-
- module-vue
13-
- module-svelte
14-
- module-solid
1510
- auto-icons
1611
- i18n
12+
- module-react
13+
- module-solid
14+
- module-svelte
15+
- module-vue
16+
- storage
17+
- wxt
1718

1819
jobs:
1920
sync:
2021
runs-on: ubuntu-22.04
2122
steps:
2223
- uses: actions/checkout@v4
2324
- uses: ./.github/actions/setup
25+
with:
26+
installArgs: --ignore-scripts
2427
- run: pnpm tsx scripts/sync-releases.ts ${{ inputs.package }}
2528
env:
2629
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- uses: oven-sh/setup-bun@v2
3737
- name: pnpm test:coverage
3838
run: pnpm test:coverage -- --reporter=default --reporter=hanging-process
39-
- uses: codecov/codecov-action@v4
39+
- uses: codecov/codecov-action@v5
4040
env:
4141
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4242
windows-tests:

CODE_OF_CONDUCT.md

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, religion, or sexual identity
10+
and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
14+
15+
## Our Standards
16+
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
19+
20+
- Demonstrating empathy and kindness toward other people
21+
- Being respectful of differing opinions, viewpoints, and experiences
22+
- Giving and gracefully accepting constructive feedback
23+
- Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
- Focusing on what is best not just for us as individuals, but for the
26+
overall community
27+
28+
Examples of unacceptable behavior include:
29+
30+
- The use of sexualized language or imagery, and sexual attention or
31+
advances of any kind
32+
- Trolling, insulting or derogatory comments, and personal or political attacks
33+
- Public or private harassment
34+
- Publishing others' private information, such as a physical or email
35+
address, without their explicit permission
36+
- Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
38+
39+
## Enforcement Responsibilities
40+
41+
Community leaders are responsible for clarifying and enforcing our standards of
42+
acceptable behavior and will take appropriate and fair corrective action in
43+
response to any behavior that they deem inappropriate, threatening, offensive,
44+
or harmful.
45+
46+
Community leaders have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, and will communicate reasons for moderation
49+
decisions when appropriate.
50+
51+
## Scope
52+
53+
This Code of Conduct applies within all community spaces, and also applies when
54+
an individual is officially representing the community in public spaces.
55+
Examples of representing our community include using an official e-mail address,
56+
posting via an official social media account, or acting as an appointed
57+
representative at an online or offline event.
58+
59+
## Enforcement
60+
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported to the community leaders responsible for enforcement at
63+
aaronklinker1@gmail.com.
64+
All complaints will be reviewed and investigated promptly and fairly.
65+
66+
All community leaders are obligated to respect the privacy and security of the
67+
reporter of any incident.
68+
69+
## Enforcement Guidelines
70+
71+
Community leaders will follow these Community Impact Guidelines in determining
72+
the consequences for any action they deem in violation of this Code of Conduct:
73+
74+
### 1. Correction
75+
76+
**Community Impact**: Use of inappropriate language or other behavior deemed
77+
unprofessional or unwelcome in the community.
78+
79+
**Consequence**: A private, written warning from community leaders, providing
80+
clarity around the nature of the violation and an explanation of why the
81+
behavior was inappropriate. A public apology may be requested.
82+
83+
### 2. Warning
84+
85+
**Community Impact**: A violation through a single incident or series
86+
of actions.
87+
88+
**Consequence**: A warning with consequences for continued behavior. No
89+
interaction with the people involved, including unsolicited interaction with
90+
those enforcing the Code of Conduct, for a specified period of time. This
91+
includes avoiding interactions in community spaces as well as external channels
92+
like social media. Violating these terms may lead to a temporary or
93+
permanent ban.
94+
95+
### 3. Temporary Ban
96+
97+
**Community Impact**: A serious violation of community standards, including
98+
sustained inappropriate behavior.
99+
100+
**Consequence**: A temporary ban from any sort of interaction or public
101+
communication with the community for a specified period of time. No public or
102+
private interaction with the people involved, including unsolicited interaction
103+
with those enforcing the Code of Conduct, is allowed during this period.
104+
Violating these terms may lead to a permanent ban.
105+
106+
### 4. Permanent Ban
107+
108+
**Community Impact**: Demonstrating a pattern of violation of community
109+
standards, including sustained inappropriate behavior, harassment of an
110+
individual, or aggression toward or disparagement of classes of individuals.
111+
112+
**Consequence**: A permanent ban from any sort of public interaction within
113+
the community.
114+
115+
## Attribution
116+
117+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118+
version 2.0, available at
119+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120+
121+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122+
enforcement ladder](https://github.com/mozilla/diversity).
123+
124+
[homepage]: https://www.contributor-covenant.org
125+
126+
For answers to common questions about this code of conduct, see the FAQ at
127+
https://www.contributor-covenant.org/faq. Translations are available at
128+
https://www.contributor-covenant.org/translations.

CONTRIBUTING.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Here are some helpful commands:
3232

3333
```sh
3434
# Build WXT package
35+
cd packages/wxt
3536
pnpm build
3637
```
3738

@@ -144,3 +145,24 @@ pnpm dlx taze -r
144145
```
145146

146147
Configuration is in [`taze.config.ts`](./taze.config.ts).
148+
149+
## Install Unreleased Versions
150+
151+
This repo uses https://pkg.pr.new to publish versions of all it's packages for almost every commit. You can install them via:
152+
153+
```sh
154+
npm i https://pkg.pr.new/[package-name]@[ref]
155+
```
156+
157+
Or use one of the shorthands:
158+
159+
```sh
160+
# Install the latest build of `wxt` from a PR:
161+
npm i https://pkg.pr.new/wxt@1283
162+
163+
# Install the latest build of `@wxt-dev/module-react` on the `main` branch
164+
npm i https://pkg.pr.new/@wxt-dev/module-react@main
165+
166+
# Install `@wxt-dev/storage` from a specific commit:
167+
npm i https://pkg.pr.new/@wxt-dev/module-react@426f907
168+
```

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ Or see the [installation guide](https://wxt.dev/guide/installation.html) to get
7575
- 📏 Bundle analysis
7676
- ⬇️ Download and bundle remote URL imports
7777

78+
## Sponsors
79+
80+
WXT is a [MIT-licensed](https://github.com/wxt-dev/wxt/blob/main/LICENSE) open source project with its ongoing development made possible entirely by the support of these awesome backers. If you'd like to join them, please consider [sponsoring WXT's development](https://github.com/sponsors/wxt-dev).
81+
82+
<a href="https://github.com/sponsors/wxt-dev"><img alt="WXT Sponsors" src="https://raw.githubusercontent.com/wxt-dev/static/refs/heads/main/sponsorkit/sponsors.svg"></a>
83+
7884
## Contributors
7985

8086
<!-- automd:contributors author="aklinker1" license="MIT" github="wxt-dev/wxt" -->

docs/.vitepress/components/UsingWxtSection.vue

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,16 @@ import useListExtensionDetails, {
44
ChromeExtension,
55
} from '../composables/useListExtensionDetails';
66
7-
// Add extension IDs here. Order doesn't matter, will be sorted by weekly active users
8-
// During the transition from chrome.google.com/webstore to
9-
// chromewebstore.google.com, queue.wxt.dev might return null for your
10-
// extension. If it does, use "<slug>/<id>" instead of just the ID. The slug
11-
// can be retrieved from the URL of the item on chromewebstore.google.com
7+
// Add extension IDs here. Order doesn't matter, will be sorted by a combination of weekly active users and rating.
8+
// Change the commit message or PR title to: "docs: Added "[extension name]" to the homepage"
129
const chromeExtensionIds = [
1310
'ocfdgncpifmegplaglcnglhioflaimkd', // GitHub: Better Line Counts
1411
'mgmdkjcljneegjfajchedjpdhbadklcf', // Anime Skip Player
1512
'bfbnagnphiehemkdgmmficmjfddgfhpl', // UltraWideo
1613
'elfaihghhjjoknimpccccmkioofjjfkf', // StayFree - Website Blocker & Web Analytics
1714
'okifoaikfmpfcamplcfjkpdnhfodpkil', // Doozy: Ai Made Easy
1815
'lknmjhcajhfbbglglccadlfdjbaiifig', // tl;dv - Record, Transcribe & ChatGPT for Google Meet
19-
'youtube中文配音/oglffgiaiekgeicdgkdlnlkhliajdlja', // Youtube中文配音
16+
'oglffgiaiekgeicdgkdlnlkhliajdlja', // Youtube中文配音
2017
'agjnjboanicjcpenljmaaigopkgdnihi', // PreMiD
2118
'aiakblgmlabokilgljkglggnpflljdgp', // Markdown Sticky Notes
2219
'nomnkbngkijpffepcgbbofhcnafpkiep', // DocVersionRedirector
@@ -50,6 +47,21 @@ const chromeExtensionIds = [
5047
'fcphghnknhkimeagdglkljinmpbagone', // YouTube Auto HD + FPS
5148
'lpomjgbicdemjkgmbnkjncgdebogkhlb', // MultiViewer Companion
5249
'ggiafipgeeaaahnjamgpjcgkdpanhddg', // Sync Watch - Watch videos together on any site
50+
'nmldnjcblcihmegipecakhmnieiofmgl', // Keyword Rank Checker
51+
'gppllamhaciichleihemgilcpledblpn', // YouTube Simple View - Hide distractions & more
52+
'pccbghdfdnnkkbcdcibchpbffdgednkf', // Propbar - Property Data Enhancer
53+
'lfknakglefggmdkjdfhhofkjnnolffkh', // Text Search Pro - Search by case and whole-word match!
54+
'mbenhbocjckkbaojacmaepiameldglij', // Invoice Generator
55+
'phlfhkmdofajnbhgmbmjkbkdgppgoppb', // Monthly Bill Tracker
56+
'macmkmchfoclhpbncclinhjflmdkaoom', // Wandpen - Instantly improve your writing with AI
57+
'lhmgechokhmdekdpgkkemoeecelcaonm', // YouTube Hider - Remove Comments By Keywords, Usernames & Tools
58+
'imgheieooppmahcgniieddodaliodeeg', // QA Compass - Record standardized bug reports easily
59+
'npgghjedpchajflknnbngajkjkdhncdo', // aesthetic Notion, styled
60+
'hmdcmlfkchdmnmnmheododdhjedfccka', // Eye Dropper
61+
'eihpmapodnppeemkhkbhikmggfojdkjd', // Cursorful - Screen Recorder with Auto Zoom
62+
'hjjkgbibknbahijglkffklflidncplkn', // Show IP – Live View of Website IPs for Developers
63+
'ilbikcehnpkmldojkcmlldkoelofnbde', // Strong Password Generator
64+
'ocllfkhcdopiafndigclebelbecaiocp', // ZenGram: Mindful Instagram, Your Way
5365
];
5466
5567
const { data, err, isLoading } = useListExtensionDetails(chromeExtensionIds);

docs/.vitepress/config.ts

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ import { version as wxtVersion } from '../../packages/wxt/package.json';
1313
import { version as i18nVersion } from '../../packages/i18n/package.json';
1414
import { version as autoIconsVersion } from '../../packages/auto-icons/package.json';
1515
import { version as unocssVersion } from '../../packages/unocss/package.json';
16+
import { version as storageVersion } from '../../packages/storage/package.json';
1617

1718
const title = 'Next-gen Web Extension Framework';
1819
const titleSuffix = ' – WXT';
1920
const description =
20-
"WXT provides the best developer experience, making it quick, easy, and fun to develop chrome extensions for all browsers. With built-in utilities for building, zipping, and publishing your extension, it's easy to get started.";
21+
"WXT provides the best developer experience, making it quick, easy, and fun to develop web extensions. With built-in utilities for building, zipping, and publishing your extension, it's easy to get started.";
2122
const ogTitle = `${title}${titleSuffix}`;
2223
const ogUrl = 'https://wxt.dev';
2324
const ogImage = 'https://wxt.dev/social-preview.png';
@@ -61,6 +62,16 @@ export default defineConfig({
6162
alt: 'WXT logo',
6263
},
6364

65+
footer: {
66+
message: [
67+
'<a class="light-netlify" href="https://www.netlify.com"> <img src="https://www.netlify.com/v3/img/components/netlify-color-bg.svg" alt="Deploys by Netlify" style="display: inline;" /></a>',
68+
'<a class="dark-netlify" href="https://www.netlify.com"> <img src="https://www.netlify.com/v3/img/components/netlify-color-accent.svg" alt="Deploys by Netlify" style="display: inline;" /></a>',
69+
'Released under the <a href="https://github.com/wxt-dev/wxt/blob/main/LICENSE">MIT License</a>.',
70+
].join('<br/>'),
71+
copyright:
72+
'Copyright © 2023-present <a href="https://github.com/aklinker1">Aaron Klinker</a>',
73+
},
74+
6475
editLink: {
6576
pattern: 'https://github.com/wxt-dev/wxt/edit/main/docs/:path',
6677
},
@@ -87,7 +98,7 @@ export default defineConfig({
8798
),
8899
]),
89100
navItem('Other Packages', [
90-
navItem(`wxt/storage — ${wxtVersion}`, '/storage'),
101+
navItem(`@wxt-dev/storage — ${storageVersion}`, '/storage'),
91102
navItem(`@wxt-dev/auto-icons — ${autoIconsVersion}`, '/auto-icons'),
92103
navItem(`@wxt-dev/i18n — ${i18nVersion}`, '/i18n'),
93104
navItem(`@wxt-dev/unocss — ${unocssVersion}`, '/unocss'),

0 commit comments

Comments
 (0)