Skip to content

Commit

Permalink
fix: remove tests from dist
Browse files Browse the repository at this point in the history
  • Loading branch information
lucgagan committed Nov 12, 2023
1 parent 2815501 commit c9bd9c5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"main"
]
},
"types": "./dist/src/index.d.ts",
"types": "./dist/index.d.ts",
"name": "auto-playwright",
"main": "./dist/src/index.js",
"main": "./dist/index.js",
"sideEffects": false,
"description": "Automate Playwright tests using ChatGPT.",
"repository": {
Expand All @@ -50,7 +50,7 @@
},
"scripts": {
"start": "tsx ./tests/bin/startServer.ts",
"build": "tsc --noEmit false",
"build": "tsc --project tsconfig.build.json",
"format": "prettier --write ./src",
"lint": "prettier --check ./src && knip",
"semantic-release": "semantic-release",
Expand Down
8 changes: 8 additions & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": false,
"outDir": "dist"
},
"include": ["src"]
}
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": false,
"outDir": "dist",
"strict": true,
"target": "ES2022",
"useUnknownInCatchVariables": false
Expand Down

0 comments on commit c9bd9c5

Please sign in to comment.