Skip to content

Commit 64b52ba

Browse files
authored
Merge branch 'main' into all-contributors/add-pinjasaur
2 parents 2781fd0 + 4d9f60a commit 64b52ba

22 files changed

+6300
-3728
lines changed

.all-contributorsrc

Lines changed: 87 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,88 @@
11
{
2-
"badgeTemplate": "<img alt=\"All Contributors: <%= contributors.length %> 👪\" src=\"https://img.shields.io/badge/all_contributors-<%= contributors.length %>_👪-21bb42.svg\" />",
3-
"commit": false,
4-
"commitConvention": "angular",
5-
"contributors": [
6-
{
7-
"login": "ad0ran",
8-
"name": "Adrian Simbulan",
9-
"avatar_url": "https://avatars.githubusercontent.com/u/1423613?v=4",
10-
"profile": "https://github.com/ad0ran",
11-
"contributions": [
12-
"bug",
13-
"code"
14-
]
15-
},
16-
{
17-
"login": "DanielXing1103",
18-
"name": "danielxing1103",
19-
"avatar_url": "https://avatars.githubusercontent.com/u/112993709?v=4",
20-
"profile": "https://github.com/DanielXing1103",
21-
"contributions": [
22-
"code"
23-
]
24-
},
25-
{
26-
"login": "estevezluis",
27-
"name": "Luis Estevez",
28-
"avatar_url": "https://avatars.githubusercontent.com/u/128345934?v=4",
29-
"profile": "https://luisestevez.me/",
30-
"contributions": [
31-
"bug",
32-
"code"
33-
]
34-
},
35-
{
36-
"login": "Jolg42",
37-
"name": "Joël Galeran",
38-
"avatar_url": "https://avatars.githubusercontent.com/u/1328733?v=4",
39-
"profile": "https://twitter.com/Jolg42",
40-
"contributions": [
41-
"code"
42-
]
43-
},
44-
{
45-
"login": "JoshuaKGoldberg",
46-
"name": "Josh Goldberg ✨",
47-
"avatar_url": "https://avatars.githubusercontent.com/u/3335181?v=4",
48-
"profile": "http://www.joshuakgoldberg.com/",
49-
"contributions": [
50-
"bug",
51-
"tool",
52-
"code",
53-
"doc",
54-
"maintenance"
55-
]
56-
},
57-
{
58-
"login": "Pinjasaur",
59-
"name": "Paul Esch-Laurent",
60-
"avatar_url": "https://avatars.githubusercontent.com/u/6335792?v=4",
61-
"profile": "https://paulisaweso.me/",
62-
"contributions": [
63-
"doc"
64-
]
65-
},
66-
{
67-
"login": "keithamus",
68-
"name": "Keith Cirkel",
69-
"avatar_url": "https://avatars.githubusercontent.com/u/118266?v=4",
70-
"profile": "https://www.keithcirkel.co.uk",
71-
"contributions": [
72-
"review"
73-
]
74-
}
75-
],
76-
"contributorsPerLine": 7,
77-
"contributorsSortAlphabetically": true,
78-
"files": [
79-
"README.md"
80-
],
81-
"imageSize": 100,
82-
"projectName": "refined-saved-replies",
83-
"projectOwner": "JoshuaKGoldberg",
84-
"repoHost": "https://github.com",
85-
"repoType": "github",
86-
"commitType": "docs"
87-
}
2+
"badgeTemplate": "<img alt=\"All Contributors: <%= contributors.length %> 👪\" src=\"https://img.shields.io/badge/all_contributors-<%= contributors.length %>_👪-21bb42.svg\" />",
3+
"commit": false,
4+
"commitConvention": "angular",
5+
"contributors": [
6+
{
7+
"login": "ad0ran",
8+
"name": "Adrian Simbulan",
9+
"avatar_url": "https://avatars.githubusercontent.com/u/1423613?v=4",
10+
"profile": "https://github.com/ad0ran",
11+
"contributions": [
12+
"bug",
13+
"code"
14+
]
15+
},
16+
{
17+
"login": "DanielXing1103",
18+
"name": "danielxing1103",
19+
"avatar_url": "https://avatars.githubusercontent.com/u/112993709?v=4",
20+
"profile": "https://github.com/DanielXing1103",
21+
"contributions": [
22+
"code"
23+
]
24+
},
25+
{
26+
"login": "estevezluis",
27+
"name": "Luis Estevez",
28+
"avatar_url": "https://avatars.githubusercontent.com/u/128345934?v=4",
29+
"profile": "https://luisestevez.me/",
30+
"contributions": [
31+
"bug",
32+
"code"
33+
]
34+
},
35+
{
36+
"login": "Jolg42",
37+
"name": "Joël Galeran",
38+
"avatar_url": "https://avatars.githubusercontent.com/u/1328733?v=4",
39+
"profile": "https://twitter.com/Jolg42",
40+
"contributions": [
41+
"code"
42+
]
43+
},
44+
{
45+
"login": "JoshuaKGoldberg",
46+
"name": "Josh Goldberg ✨",
47+
"avatar_url": "https://avatars.githubusercontent.com/u/3335181?v=4",
48+
"profile": "http://www.joshuakgoldberg.com/",
49+
"contributions": [
50+
"maintenance",
51+
"doc"
52+
]
53+
},
54+
{
55+
"login": "Pinjasaur",
56+
"name": "Paul Esch-Laurent",
57+
"avatar_url": "https://avatars.githubusercontent.com/u/24680042?v=4",
58+
"profile": "https://paulisaweso.me/",
59+
"contributions": [
60+
"tool",
61+
"doc",
62+
"code",
63+
"maintenance"
64+
]
65+
},
66+
{
67+
"login": "azuresphere7",
68+
"name": "Dustin Lee",
69+
"avatar_url": "https://avatars.githubusercontent.com/u/24680042?v=4",
70+
"profile": "https://azuresphere.dev",
71+
"contributions": [
72+
"code",
73+
"review"
74+
]
75+
}
76+
],
77+
"contributorsPerLine": 7,
78+
"contributorsSortAlphabetically": true,
79+
"files": [
80+
"README.md"
81+
],
82+
"imageSize": 100,
83+
"projectName": "refined-saved-replies",
84+
"projectOwner": "azuresphere7",
85+
"repoHost": "https://github.com",
86+
"repoType": "github",
87+
"commitType": "docs"
88+
}

.github/DEVELOPMENT.md

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,35 +11,50 @@ pnpm install
1111
> This repository includes a list of suggested VS Code extensions.
1212
> It's a good idea to use [VS Code](https://code.visualstudio.com) and accept its suggestion to install them, as they'll help with development.
1313
14-
## Building
14+
## Building for Development
1515

1616
Run [ESBuild](https://esbuild.github.io) locally to build source files:
1717

1818
```shell
19-
pnpm build
19+
pnpm dev
2020
```
2121

2222
Add `--watch` to run the builder in a watch mode that continuously re-builds as you save files:
2323

2424
```shell
25-
pnpm build --watch
25+
pnpm dev --watch
2626
```
2727

28-
### Using Local Builds
28+
### Local Development with Chrome
2929

3030
Follow Google Chrome's _[Load an unpacked extension](https://developer.chrome.com/docs/extensions/mv3/getstarted/#unpacked)_ guide to load this repository's directory as an extension locally.
3131

3232
> ♻️ Remember to reload the extension in `chrome://extensions` whenever you make changes locally!
3333
34-
## Publishing
34+
### Local Development with Firefox
35+
36+
Follow Firefox's _[Temporary installation in Firefox](https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/)_ guide to load this repository's directory as an extension locally.
37+
38+
You'll then need to authorize the extension to run on <https://github.com>:
39+
40+
1. Find and select the _Extensions_ icon in the top right of Firefox
41+
2. Select the _"Manage Extension"_ gear icon next to _Refined Saved Replies_
42+
3. Select the _"Always Allow on github.com"_ option
3543

36-
The `zip` command will create a `./refined-saved-replies.zip` file containing relevant `manifest.json`, `assets/`, and `lib/` contents.
44+
> ♻️ Remember to reload the extension in `about:debugging#/runtime/this-firefox` whenever you make changes locally!
45+
46+
## Building for Production
47+
48+
Run [`web-ext`](https://extensionworkshop.com) to build a production-ready `.zip` under `./web-ext-artifacts/`:
3749

3850
```shell
39-
pnpm zip
51+
pnpm build
4052
```
4153

42-
Upload that file to the [Chrome Web Store Developer Dashboard](https://chrome.google.com/webstore/devconsole).
54+
Then upload that `./web-ext-artifacts/refined_saved_replies-*.zip` file to:
55+
56+
- [Chrome Web Store Developer Dashboard](https://chrome.google.com/webstore/devconsole)
57+
- [Firefox Add-ons Developer Hub](https://addons.mozilla.org/en-US/developers/addon/submit/distribution)
4358

4459
## Formatting
4560

@@ -63,6 +78,7 @@ Each should be shown in VS Code, and can be run manually on the command-line:
6378
- `pnpm lint:package-json` ([npm-package-json-lint](https://npmpackagejsonlint.org/)): Lints the `package.json` file
6479
- `pnpm lint:packages` ([pnpm dedupe --check](https://pnpm.io/cli/dedupe)): Checks for unnecessarily duplicated packages in the `pnpm-lock.yml` file
6580
- `pnpm lint:spelling` ([cspell](https://cspell.org)): Spell checks across all source files
81+
- `pnpm lint:web-ext` ([web-ext](https://extensionworkshop.com)): Lints browser extension metadata after `pnpm dev` creates local files
6682

6783
Read the individual documentation for each linter to understand how it can be configured and used best.
6884

.github/actions/prepare/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ name: Prepare
55
runs:
66
steps:
77
- uses: pnpm/action-setup@v2
8+
with:
9+
version: 9
810
- uses: actions/setup-node@v4
911
with:
1012
cache: pnpm

.github/workflows/accessibility-alt-text-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ jobs:
22
accessibility_alt_text_bot:
33
runs-on: ubuntu-latest
44
steps:
5-
- uses: github/accessibility-alt-text-bot@v1.4.0
5+
- uses: github/accessibility-alt-text-bot@v1.5.0
66

77
name: Accessibility Alt Text Bot
88

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ jobs:
55
- uses: actions/checkout@v4
66
- uses: ./.github/actions/prepare
77
- run: pnpm build
8-
- run: pnpm zip
98

109
name: Build
1110

.github/workflows/contributors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- uses: ./.github/actions/prepare
99
- env:
1010
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
11-
uses: JoshuaKGoldberg/all-contributors-auto-action@v0.3.2
11+
uses: JoshuaKGoldberg/all-contributors-auto-action@v0.4.3
1212

1313
name: Contributors
1414

.github/workflows/lint-web-ext.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
jobs:
2+
lint_web_ext:
3+
runs-on: ubuntu-latest
4+
steps:
5+
- uses: actions/checkout@v4
6+
- uses: ./.github/actions/prepare
7+
- run: pnpm dev
8+
- run: pnpm lint:web-ext
9+
10+
name: Lint Web Ext
11+
12+
on:
13+
pull_request: ~
14+
push:
15+
branches:
16+
- main

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
coverage/
33
lib/
44
node_modules/
5+
web-ext-artifacts

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.9.0
1+
20.14.0

.vscode/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
2-
"editor.codeActionsOnSave": { "source.fixAll.eslint": true },
2+
"editor.codeActionsOnSave": {
3+
"source.fixAll.eslint": "explicit"
4+
},
35
"editor.defaultFormatter": "esbenp.prettier-vscode",
46
"editor.formatOnSave": true,
57
"editor.rulers": [80],

0 commit comments

Comments
 (0)