chore: use git clean (#10828)

This commit is contained in:
jrandolf 2023-08-31 16:58:31 +02:00 committed by GitHub
parent 92f38ff5c9
commit 25db3f1188
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 10 additions and 48 deletions

28
package-lock.json generated
View File

@ -66,7 +66,6 @@
"pngjs": "7.0.0",
"prettier": "3.0.3",
"puppeteer": "file:packages/puppeteer",
"rimraf": "5.0.1",
"rollup": "3.28.1",
"rollup-plugin-polyfill-node": "0.12.0",
"semver": "7.5.4",
@ -9523,24 +9522,6 @@
"node": ">=0.10.0"
}
},
"node_modules/rimraf": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.1.tgz",
"integrity": "sha512-OfFZdwtd3lZ+XZzYP/6gTACubwFcHdLRqS9UX3UwpU2dnGQYkPFISRwvM3w9IiB2w7bW5qGo/uAwE4SmXXSKvg==",
"dev": true,
"dependencies": {
"glob": "^10.2.5"
},
"bin": {
"rimraf": "dist/cjs/src/bin.js"
},
"engines": {
"node": ">=14"
},
"funding": {
"url": "https://github.com/sponsors/isaacs"
}
},
"node_modules/rollup": {
"version": "3.28.1",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.1.tgz",
@ -17726,15 +17707,6 @@
"version": "1.0.4",
"dev": true
},
"rimraf": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.1.tgz",
"integrity": "sha512-OfFZdwtd3lZ+XZzYP/6gTACubwFcHdLRqS9UX3UwpU2dnGQYkPFISRwvM3w9IiB2w7bW5qGo/uAwE4SmXXSKvg==",
"dev": true,
"requires": {
"glob": "^10.2.5"
}
},
"rollup": {
"version": "3.28.1",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.1.tgz",

View File

@ -10,7 +10,7 @@
"build:docs": "wireit",
"check:pinned-deps": "tsx tools/ensure-pinned-deps",
"check": "npm run check --workspaces --if-present && run-p check:*",
"clean": "rimraf -g \"./**/.wireit\" && npm run clean --workspaces --if-present",
"clean": "npm run clean --workspaces --if-present",
"debug": "mocha --inspect-brk",
"docs": "run-s build:docs generate:markdown",
"format:eslint": "eslint --ext js --ext ts --fix .",
@ -158,7 +158,6 @@
"pngjs": "7.0.0",
"prettier": "3.0.3",
"puppeteer": "file:packages/puppeteer",
"rimraf": "5.0.1",
"rollup": "3.28.1",
"rollup-plugin-polyfill-node": "0.12.0",
"semver": "7.5.4",

View File

@ -5,8 +5,7 @@
"scripts": {
"build:docs": "wireit",
"build": "wireit",
"build:test": "wireit",
"clean": "tsc --build --clean && rm -rf lib",
"clean": "git clean -Xdf -e '!node_modules' .",
"test": "wireit"
},
"bin": "lib/cjs/main-cli.js",

View File

@ -4,12 +4,12 @@
"description": "Puppeteer Angular schematics",
"scripts": {
"build": "wireit",
"clean": "tsc -b --clean && rm -rf lib && rm -rf test/build",
"clean": "git clean -Xdf -e '!node_modules' .",
"dev:test": "npm run test --watch",
"dev": "npm run build --watch",
"test": "wireit",
"sandbox:test": "node tools/sandbox.js --test",
"sandbox": "node tools/sandbox.js",
"sandbox:test": "node tools/sandbox.js --test"
"test": "wireit"
},
"wireit": {
"build": {

View File

@ -35,13 +35,9 @@
},
"scripts": {
"build:docs": "wireit",
"build:tsc": "wireit",
"build:types": "wireit",
"build": "wireit",
"check": "tsx tools/ensure-correct-devtools-protocol-package",
"clean": "tsc -b --clean && rm -rf lib src/generated",
"generate:package-json": "wireit",
"generate:sources": "wireit",
"clean": "git clean -Xdf -e '!node_modules' .",
"prepack": "wireit",
"unit": "wireit"
},

View File

@ -35,11 +35,8 @@
},
"scripts": {
"build:docs": "wireit",
"build:tsc": "wireit",
"build:types": "wireit",
"build": "wireit",
"clean": "tsc -b --clean && rm -rf lib",
"generate:package-json": "wireit",
"clean": "git clean -Xdf -e '!node_modules' .",
"postinstall": "node install.js",
"prepack": "wireit"
},

View File

@ -5,7 +5,7 @@
"main": "lib/index.js",
"scripts": {
"build": "wireit",
"clean": "tsc -b --clean && rm -rf lib"
"clean": "git clean -Xdf -e '!node_modules' ."
},
"wireit": {
"build": {

View File

@ -5,8 +5,7 @@
"private": true,
"scripts": {
"build": "wireit",
"build:packages": "wireit",
"clean": "tsc -b --clean && rm -rf build",
"clean": "git clean -Xdf -e '!node_modules' .",
"test": "mocha"
},
"wireit": {

View File

@ -4,7 +4,7 @@
"private": true,
"scripts": {
"build": "wireit",
"clean": "tsc -b --clean && rm -rf build"
"clean": "git clean -Xdf -e '!node_modules' ."
},
"wireit": {
"build": {