Skip to content

Commit

Permalink
chore: revert to knip entry instead of package exports
Browse files Browse the repository at this point in the history
  • Loading branch information
dbudzins committed Mar 17, 2024
1 parent 3d92db2 commit 8950ccf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 4 additions & 0 deletions knip.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ const config: KnipConfig = {
'codecept:*',
],
},
'packages/common': {
entry: ['src/**/*']
},
'packages/ui-react': {
entry: ['src/**/*'],
ignoreDependencies: [
'sass', // Used in css
],
Expand Down
3 changes: 0 additions & 3 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"name": "@jwp/ott-common",
"version": "4.30.0",
"private": true,
"exports": {
"./*": "./src/**/*"
},
"scripts": {
"lint:ts": "tsc --pretty --noEmit -p ./",
"test": "TZ=UTC LC_ALL=en_US.UTF-8 vitest run",
Expand Down
3 changes: 0 additions & 3 deletions packages/ui-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
"test-update": "TZ=UTC LC_ALL=en_US.UTF-8 vitest run --update",
"test-watch": "TZ=UTC LC_ALL=en_US.UTF-8 vitest"
},
"exports": {
"./*": "./src/**/*"
},
"dependencies": {
"@adyen/adyen-web": "^5.42.1",
"@inplayer-org/inplayer.js": "^3.13.24",
Expand Down

0 comments on commit 8950ccf

Please sign in to comment.