Skip to content

Commit

Permalink
test: Emit artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Quramy committed Mar 12, 2024
1 parent 2108dd7 commit 9def4b8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions packages/artifact-testing/.gitignore
@@ -1,2 +1,3 @@
fixtures/*/__generated__/client
dmmf.json
built/
2 changes: 1 addition & 1 deletion packages/artifact-testing/package.json
Expand Up @@ -3,7 +3,7 @@
"name": "artifact-testing",
"version": "2.1.0",
"scripts": {
"clean": "rimraf \"fixtures/*/__generated__/client\" \"fixtures/*/dmmf.json\"",
"clean": "rimraf -g \"fixtures/*/__generated__/client\" \"fixtures/*/dmmf.json\" built \"*.tsbuildinfo\"",
"pretest:compile": "ts-node scripts/generateFixtures.ts",
"pretest:compile:ci": "ts-node scripts/generateFixtures.ts",
"test": "npm run test:compile && npm run test:functions",
Expand Down
6 changes: 4 additions & 2 deletions packages/artifact-testing/tsconfig.json
@@ -1,6 +1,8 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"noEmit": true
}
"noEmit": false,
"outDir": "built"
},
"exclude": ["built"]
}
2 changes: 1 addition & 1 deletion packages/prisma-fabbrica/package.json
Expand Up @@ -31,7 +31,7 @@
}
},
"scripts": {
"clean": "rimraf \"*.tsbuildinfo\" \"lib/**/*.{js,ts}\" coverage",
"clean": "rimraf -g \"*.tsbuildinfo\" \"lib/**/*.{js,ts}\" coverage",
"test": "NODE_ENV=development jest",
"test:ci": "NODE_ENV=development jest --coverage",
"prepublishOnly": "cp ../../README.md ."
Expand Down

0 comments on commit 9def4b8

Please sign in to comment.