Skip to content

Commit

Permalink
Typecheck shared package
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Jul 11, 2024
1 parent 0bdfaa5 commit 31ffe1a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"watch": "turbo watch build --filter=\"./packages/*\"",
"test": "yarn run test:unit",
"test:unit": "yarn workspaces foreach --all --exclude=. --exclude=examples/create-react-app-typescript --exclude=packages/cypress/example --topological run test",
"typecheck": "turbo run typecheck --filter=\"./packages/*\"",
"typecheck": "turbo run typecheck --filter=\"./packages/*\" --filter=\"./scripts/*\"",
"typecheck:watch": "turbo watch typecheck --filter=\"./packages/*\" --filter=\"./scripts/*\"",
"lint": "prettier --check .",
"changeset": "changeset",
"release": "yarn workspaces foreach --no-private --all --topological npm publish --tolerate-republish --access public && changeset tag",
Expand Down
3 changes: 1 addition & 2 deletions packages/replayio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
"build": "pkg-build",
"lint": "prettier --write .",
"test": "jest --ci",
"typecheck": "tsc --noEmit",
"typecheck:watch": "tsc --noEmit --watch"
"typecheck": "tsc --noEmit"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
},
"scripts": {
"build": "pkg-build",
"test": "jest --ci"
"test": "jest --ci",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"bvaughn-enquirer": "2.4.2",
Expand Down
6 changes: 5 additions & 1 deletion scripts/pkg-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
},
"devDependencies": {
"@replay-cli/tsconfig": "workspace:^",
"@types/normalize-path": "^3.0.2"
"@types/normalize-path": "^3.0.2",
"typescript": "^5.5.2"
},
"scripts": {
"typecheck": "tsc --noEmit"
}
}
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3429,6 +3429,7 @@ __metadata:
normalize-path: "npm:^3.0.0"
rollup: "npm:^4.18.0"
tsx: "npm:^4.15.7"
typescript: "npm:^5.5.2"
bin:
pkg-build: ./bin.js
languageName: unknown
Expand Down

0 comments on commit 31ffe1a

Please sign in to comment.