Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
Remove better-docs and jsdoc dependencies, which are used for building
documentation. The documentation hasn't been updated by upstream and
script to build it is broken anyway. I think it is better to just drop
support for building documentation than maintain it downstream. This
commit also fixes warnings shown by package manager when installing
dependencies.

Explicitly add dependencies required by @rollup/plugin-typescript, which
were previously installed implicitly:
- tslib 2.5.0
- typescript 5.0.4

update rollup to 3.20.5 and its plugins:
- update @rollup/plugin-node-resolve to 15.0.2
- update @rollup/plugin-typescript to 11.1.0
- replace deprecated rollup-plugin-terser with @rollup/plugin-terser 0.4.1

update other dependencies:
- @types/w3c-web-usb to 1.0.6
- eslint to 8.38.0
- eslint-config-prettier to 8.8.0
- prettier to 2.8.7

Also, run 'yarn upgrade` to upgrade dependencies in yarn.lock to their
latest versions, as per ranges specified in package.json.
  • Loading branch information
octocorvus authored and thestinger committed Apr 22, 2023
1 parent e7a9403 commit b21126d
Show file tree
Hide file tree
Showing 4 changed files with 347 additions and 1,702 deletions.
10 changes: 0 additions & 10 deletions jsdoc.json

This file was deleted.

21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,18 @@
"@zip.js/zip.js": "2.2.27"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^11.1.0",
"@rollup/plugin-typescript": "^8.2.1",
"@types/w3c-web-usb": "^1.0.4",
"better-docs": "^2.3.2",
"eslint": "^7.18.0",
"eslint-config-prettier": "^7.2.0",
"jsdoc": "^3.6.6",
"prettier": "^2.2.1",
"rollup": "^2.38.0",
"rollup-plugin-terser": "^7.0.2"
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-terser": "^0.4.1",
"@rollup/plugin-typescript": "^11.1.0",
"@types/w3c-web-usb": "^1.0.6",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"prettier": "^2.8.7",
"rollup": "^3.20.5",
"tslib": "^2.5.0",
"typescript": "^5.0.4"
},
"scripts": {
"doc": "jsdoc -c jsdoc.json",
"build": "rollup -c"
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js → rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { terser } from "rollup-plugin-terser";
import { nodeResolve } from "@rollup/plugin-node-resolve";
import terser from "@rollup/plugin-terser";
import typescript from "@rollup/plugin-typescript";

export default {
Expand Down
Loading

0 comments on commit b21126d

Please sign in to comment.