[pve-devel] [PATCH v2 0/3] make linting threaded
Dominik Csapak
d.csapak at proxmox.com
Mon Jul 19 12:31:46 CEST 2021
NOTE: this series will not build until a 'make buildupstream' is
executed (and 'src/lib/eslint.js' should be committed as well). I
did not send it because it would be too big.
this series convert the package into a proper nodejs module
'pve-eslint', and adds threading to the linting binary
changes from v1:
* convert to nodejs module
* split worker code to own file
* drop hacky self-loading script, and use the 'pve-eslint' module instead
Dominik Csapak (3):
ship proper nodejs module 'pve-eslint'
remove unnecessary eslint.js
use worker_threads for linting
Makefile | 2 +-
debian/control | 7 +-
debian/dirs | 1 +
debian/links | 1 +
debian/rules | 5 +-
patches/0001-adapt-webpack-config.patch | 19 +-
src/Makefile | 15 -
src/{ => bin}/app.js | 40 +-
src/eslint.js | 138871 ---------------------
src/index.js | 5 +
src/lib/worker.js | 27 +
src/package.json | 10 +
12 files changed, 92 insertions(+), 138911 deletions(-)
create mode 100644 debian/dirs
create mode 100644 debian/links
delete mode 100644 src/Makefile
rename src/{ => bin}/app.js (92%)
delete mode 100755 src/eslint.js
create mode 100644 src/index.js
create mode 100644 src/lib/worker.js
create mode 100644 src/package.json
--
2.30.2
More information about the pve-devel
mailing list