Skip to content

Commit

Permalink
fix: use specific dist TS config
Browse files Browse the repository at this point in the history
Instead of a specific config just for tests.
  • Loading branch information
jamestelfer committed Jan 23, 2024
1 parent 8f0d78a commit 6f59c0c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 24 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"build": "tsc",
"clean": "tsc --build --clean && (rm __integration__/*.d.ts __integration__/*.js src/*.d.ts src/*.js || true)",
"test": "jest",
"test-integration": "pnpm run -s clean && pnpm run -s build --project tsconfig.integ.json && pnpm run run-integration; pnpm run -s clean",
"test-integration": "pnpm run -s clean && pnpm run -s build && pnpm run run-integration; pnpm run -s clean",
"run-integration": "integ-runner --parallel-regions us-west-2 --verbose --directory ./__integration__/",
"update-integration": "pnpm run -s clean && pnpm run -s build --project tsconfig.integ.json && pnpm run run-integration --update-on-failed; pnpm run -s clean",
"update-integration": "pnpm run -s clean && pnpm run -s build && pnpm run run-integration --update-on-failed; pnpm run -s clean",
"integ": "integ-runner",
"eslint": "eslint . --ext .ts,.tsx",
"prettier": "prettier --check '**/*'",
Expand Down
4 changes: 4 additions & 0 deletions tsconfig.dist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": "./tsconfig.json",
"include": ["src/**/*"],
}
20 changes: 0 additions & 20 deletions tsconfig.integ.json

This file was deleted.

3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
"declaration": true,
"inlineSourceMap": true,
"inlineSources": true,
"outDir": "dist",

// implicit types
"types": ["node", "jest"]
},
"include": ["src/**/*"],
"include": ["src/**/*","__integration__/**/*"],
}

0 comments on commit 6f59c0c

Please sign in to comment.