Skip to content
This repository was archived by the owner on Dec 8, 2021. It is now read-only.

Commit 85397c9

Browse files
committed
chore: fix build post test by cleaning temp test output
This is a quick workaround. A better solution is to improve test logic so these folders never exist/remain.
1 parent ab41c39 commit 85397c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/graphqlgen/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
"gg": "dist/index.js"
1414
},
1515
"scripts": {
16+
"clean": "rm -rf ./src/tests/**/tmp && rm -rf ./src/tests/**/generated",
1617
"prepublish": "rm -rf example/node_modules && npm test && npm run build",
1718
"benchmarks": "ts-node benchmarks",
18-
"build": "npm run lint && tsc --declaration",
19+
"build": "npm run clean && npm run lint && tsc --declaration",
1920
"watch": "tsc -w",
2021
"lint": "tslint --project tsconfig.json {src,test}/**/*.ts",
2122
"test": "jest",

0 commit comments

Comments
 (0)