Skip to content

Commit

Permalink
Update type-check command to install test dependencies before checkin…
Browse files Browse the repository at this point in the history
…g types
  • Loading branch information
1aron committed Nov 26, 2024
1 parent 9936589 commit caf3729
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/techor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "pnpm run \"/^build:.*/\"",
"dev": "pnpm run \"/^build:.*/\" --watch",
"test": "cd tests && pnpm i && cd ../ && jest",
"type-check": "tsc --noEmit",
"type-check": "cd tests && pnpm i && cd ../ && tsc --noEmit",
"lint": "eslint"
},
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions packages/techor/tests/external/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import extend from '@techor/extend' // deps
import log from '@techor/log' // peerDeps
import { del } from '@techor/log/dist' // wide module path
import distLog from '@techor/log/dist' // wide module path

// @ts-ignore
import 'fake-external-package' // --external fake-external-package

export * from './foo'

console.log(extend, log, del)
console.log(extend, log, distLog)

0 comments on commit caf3729

Please sign in to comment.