Skip to content

Commit

Permalink
build: migrate test:build to wireit
Browse files Browse the repository at this point in the history
  • Loading branch information
scolladon committed Jun 21, 2024
1 parent 7049b96 commit 1165869
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,15 @@
"scripts": {
"build": "wireit",
"clean": "wireit",
"clean:yarn": "wireit",
"dependencies:reinstall": "yarn install",
"dependencies:upgrade": "shx rm -rf yarn.lock ; shx touch yarn.lock ; yarn-upgrade-all ; yarn-audit-fix",
"increment:apiversion": "bash ./tooling/incrementApiVersion.sh",
"lint": "wireit",
"lint:dependencies": "wireit",
"lint:fs": "wireit",
"test": "wireit",
"test:build": "yarn clean ; shx rm -rf .yarn/cache node_modules ; yarn && yarn pack && yarn test",
"test:build": "wireit",
"test:mutation": "wireit",
"test:nut": "wireit",
"test:perf": "wireit",
Expand Down Expand Up @@ -85,6 +86,13 @@
"perf-result.txt"
]
},
"clean:yarn": {
"command": "shx rm -rf .yarn/cache node_modules",
"files": [
".yarn/cache/*",
"node_modules/*"
]
},
"compile": {
"command": "tsc -p . --incremental",
"files": [
Expand Down Expand Up @@ -143,6 +151,13 @@
"test:nut"
]
},
"test:build": {
"command": "yarn && yarn pack && yarn test",
"dependencies": [
"clean",
"clean:yarn"
]
},
"test:perf": {
"command": "node __tests__/perf/bench.mjs > perf-result.txt && shx cat perf-result.txt",
"files": [
Expand Down

0 comments on commit 1165869

Please sign in to comment.