Drop remove-modules

This commit is contained in:
eight 2020-02-12 22:32:01 +08:00
parent 2497e22c1e
commit f8744b0194
3 changed files with 1 additions and 19 deletions

9
package-lock.json generated
View File

@ -6738,15 +6738,6 @@
"integrity": "sha1-52OI0heZLCUnUCQdPTlW/tmNj/Q=", "integrity": "sha1-52OI0heZLCUnUCQdPTlW/tmNj/Q=",
"dev": true "dev": true
}, },
"rimraf": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.1.tgz",
"integrity": "sha512-IQ4ikL8SjBiEDZfk+DFVwqRK8md24RWMEJkdSlgNLkyyAImcjf8SWvU1qFMDOb4igBClbTQ/ugPqXcRwdFTxZw==",
"dev": true,
"requires": {
"glob": "^7.1.3"
}
},
"run-async": { "run-async": {
"version": "2.3.0", "version": "2.3.0",
"resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz",

View File

@ -15,7 +15,6 @@
"jsonlint": "^1.6.3", "jsonlint": "^1.6.3",
"less-bundle": "github:openstyles/less-bundle#v0.1.0", "less-bundle": "github:openstyles/less-bundle#v0.1.0",
"lz-string-unsafe": "^1.4.4-fork-1", "lz-string-unsafe": "^1.4.4-fork-1",
"rimraf": "^3.0.1",
"semver-bundle": "^0.1.1", "semver-bundle": "^0.1.1",
"stylelint-bundle": "^8.0.0", "stylelint-bundle": "^8.0.0",
"stylus-lang-bundle": "^0.54.5", "stylus-lang-bundle": "^0.54.5",
@ -30,7 +29,7 @@
"update-quick": "updates -u && npm update && npm run update-main", "update-quick": "updates -u && npm update && npm run update-main",
"update-locales": "tx pull --all && webext-tx-fix", "update-locales": "tx pull --all && webext-tx-fix",
"update-main": "npm run update-versions && npm run update-vendor", "update-main": "npm run update-versions && npm run update-vendor",
"update-node": "updates -u && node tools/remove-modules.js && npm install", "update-node": "updates -u && npm install",
"update-transifex": "tx push -s", "update-transifex": "tx push -s",
"update-vendor": "node tools/update-libraries.js && node tools/update-codemirror-themes.js", "update-vendor": "node tools/update-libraries.js && node tools/update-codemirror-themes.js",
"update-versions": "node tools/update-versions", "update-versions": "node tools/update-versions",

View File

@ -1,8 +0,0 @@
#!/usr/bin/env node
'use strict';
const fs = require('fs');
const rimraf = require('rimraf');
// See https://github.com/isaacs/rimraf/issues/102#issuecomment-412310309
rimraf('node_modules/!(rimraf|.bin)', fs, () => {});