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", "pngjs": "7.0.0",
"prettier": "3.0.3", "prettier": "3.0.3",
"puppeteer": "file:packages/puppeteer", "puppeteer": "file:packages/puppeteer",
"rimraf": "5.0.1",
"rollup": "3.28.1", "rollup": "3.28.1",
"rollup-plugin-polyfill-node": "0.12.0", "rollup-plugin-polyfill-node": "0.12.0",
"semver": "7.5.4", "semver": "7.5.4",
@ -9523,24 +9522,6 @@
"node": ">=0.10.0" "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": { "node_modules/rollup": {
"version": "3.28.1", "version": "3.28.1",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.1.tgz", "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.1.tgz",
@ -17726,15 +17707,6 @@
"version": "1.0.4", "version": "1.0.4",
"dev": true "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": { "rollup": {
"version": "3.28.1", "version": "3.28.1",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.1.tgz", "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.1.tgz",

View File

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

View File

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

View File

@ -4,12 +4,12 @@
"description": "Puppeteer Angular schematics", "description": "Puppeteer Angular schematics",
"scripts": { "scripts": {
"build": "wireit", "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:test": "npm run test --watch",
"dev": "npm run build --watch", "dev": "npm run build --watch",
"test": "wireit", "sandbox:test": "node tools/sandbox.js --test",
"sandbox": "node tools/sandbox.js", "sandbox": "node tools/sandbox.js",
"sandbox:test": "node tools/sandbox.js --test" "test": "wireit"
}, },
"wireit": { "wireit": {
"build": { "build": {

View File

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

View File

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

View File

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

View File

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

View File

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