commit 29d60590b3532262a671f598a23f52b2c1e83e18
parent d6e15dc3d2e154615e5f7fa2485d094abfef4977
Author: tongong <tongong@gmx.net>
Date: Fri, 1 Apr 2022 18:12:49 +0200
removed parcel spam dependency
Parcel autoinstalls unneeded (and unwanted) dependencies and I didn't
even realize it. This "feature" can only be disabled with weird
workarounds. Absolute madness.
Diffstat:
3 files changed, 7 insertions(+), 21 deletions(-)
diff --git a/Makefile b/Makefile
@@ -1,9 +1,9 @@
dev:
- npx parcel src/index.html
+ npx parcel src/index.html --no-autoinstall
build:
rm -r dist
- npx parcel build src/index.html
+ npx parcel build src/index.html --no-autoinstall
# abuse of git but whatever i just want github pages
# unstaged changes on master will be lost
diff --git a/package-lock.json b/package-lock.json
@@ -13,8 +13,7 @@
"zustand": "^3.7.1"
},
"devDependencies": {
- "parcel": "^2.0.0-rc.0",
- "process": "^0.11.10"
+ "parcel": "^2.0.0-rc.0"
}
},
"node_modules/@babel/code-frame": {
@@ -2256,15 +2255,6 @@
"node": ">=12"
}
},
- "node_modules/process": {
- "version": "0.11.10",
- "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",
- "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=",
- "dev": true,
- "engines": {
- "node": ">= 0.6.0"
- }
- },
"node_modules/qr-creator": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/qr-creator/-/qr-creator-1.0.0.tgz",
@@ -4082,12 +4072,6 @@
"is-json": "^2.0.1"
}
},
- "process": {
- "version": "0.11.10",
- "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",
- "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=",
- "dev": true
- },
"qr-creator": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/qr-creator/-/qr-creator-1.0.0.tgz",
diff --git a/package.json b/package.json
@@ -8,7 +8,9 @@
"zustand": "^3.7.1"
},
"devDependencies": {
- "parcel": "^2.0.0-rc.0",
- "process": "^0.11.10"
+ "parcel": "^2.0.0-rc.0"
+ },
+ "alias": {
+ "process": false
}
}