Skip to content

Commit f584917

Browse files
authored
Upgrade NPM packages (#53)
* Upgrade NPM packages * Try to fix build * Don't lint generated code * Fix line endings
1 parent c7cf620 commit f584917

File tree

10 files changed

+2152
-7733
lines changed

10 files changed

+2152
-7733
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/addon/**/*.js

.eslintrc.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
{
2-
"env": {
3-
"browser": true,
4-
"es6": true,
5-
"amd": true,
6-
"webextensions": true
7-
},
8-
"parserOptions": {
9-
"sourceType": "module"
10-
}
11-
}
1+
{
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"amd": true,
6+
"webextensions": true
7+
},
8+
"parserOptions": {
9+
"sourceType": "module"
10+
}
11+
}

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
node-version: [12.x, 14.x, 16.x]
17+
node-version: [16.x, 18.x, 19.x]
1818

1919
steps:
2020
- uses: actions/checkout@v2

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2
13-
- name: Use Node.js 16.x
13+
- name: Use Node.js 18.x
1414
uses: actions/setup-node@v1
1515
with:
16-
node-version: 16.x
16+
node-version: 18.x
1717
- run: npm ci
1818
- run: npm run lint
1919
- run: npm run build

BUILDING.md

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
1-
# Building
2-
3-
## Prerequisites
4-
5-
- Install [Node 14](https://nodejs.org/en/download/)
6-
7-
## Build
8-
9-
- Run `npm install`
10-
- Run `npm run build`
11-
12-
The extension root is the [addon](addon/) directory which can be packaged/tested
13-
as appropriate. A package is output in the `web-ext-artifacts` directory for
14-
upload.
15-
16-
## Lint
17-
18-
- Run `npm run lint`
19-
20-
If there are errors:
21-
22-
- Run `npm run lint-fix`
23-
24-
Fixable errors will be resolved and unfixable ones will be output for manual
25-
fixes.
26-
27-
## Test
28-
29-
### Firefox
30-
31-
- `npm start`
32-
33-
### Chrome
34-
35-
Enable developer mode and load the `addon` directory as an unpacked extension.
1+
# Building
2+
3+
## Prerequisites
4+
5+
- Install [Node 14](https://nodejs.org/en/download/)
6+
7+
## Build
8+
9+
- Run `npm install`
10+
- Run `npm run build`
11+
12+
The extension root is the [addon](addon/) directory which can be packaged/tested
13+
as appropriate. A package is output in the `web-ext-artifacts` directory for
14+
upload.
15+
16+
## Lint
17+
18+
- Run `npm run lint`
19+
20+
If there are errors:
21+
22+
- Run `npm run lint-fix`
23+
24+
Fixable errors will be resolved and unfixable ones will be output for manual
25+
fixes.
26+
27+
## Test
28+
29+
### Firefox
30+
31+
- `npm start`
32+
33+
### Chrome
34+
35+
Enable developer mode and load the `addon` directory as an unpacked extension.

0 commit comments

Comments
 (0)