chore: fix incremental builds (#9849)

This commit is contained in:
Nikolay Vitkov 2023-03-14 16:10:28 +01:00 committed by GitHub
parent 0ead82e29e
commit 219d248c2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,6 @@
"version": "0.1.0",
"description": "Puppeteer Angular schematics",
"scripts": {
"build:tsc": "wireit",
"build": "wireit",
"clean": "tsc -b --clean && rm -rf lib && rm -rf test/build",
"dev:test": "npm run test --watch",
@ -13,32 +12,17 @@
},
"wireit": {
"build": {
"command": "node tools/copySchemaFiles.js",
"files": [
"src/**/files/**",
"src/**/*.json"
],
"output": [
"lib/**/files/**",
"lib/**/*.json"
],
"dependencies": [
"build:tsc"
]
},
"build:tsc": {
"command": "tsc -b",
"command": "tsc -b && node tools/copySchemaFiles.js",
"clean": "if-file-deleted",
"files": [
"**/tsconfig.*.json",
"**/tsconfig.json",
"src/**/*.ts",
"!src/**/files/**"
"tsconfig.json",
"tsconfig.spec.json",
"src/**",
"test/src/**"
],
"output": [
"lib/**/*.{ts,js}",
"lib/**/*.{ts,js}.map",
"!lib/**/files/**"
"lib/**",
"test/build/**"
]
},
"test": {