Skip to content

Commit

Permalink
fix(rewrite-imports): incorrect main in package.json (#7021)
Browse files Browse the repository at this point in the history
The `package.jsoon` for `@monocdk-experiment/rewrite-imports` had an incorrect
`main` entry, pointing to the CLI entry point instead of a library endpoint. Additionally,
it was missing a `types` entry.
  • Loading branch information
RomainMuller authored Mar 26, 2020
1 parent 6e61889 commit 2bf85b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/@monocdk-experiment/rewrite-imports/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ dist
*.tsbuildinfo
tsconfig.json
.LAST_BUILD
*.snk
*.snk

*.ts
!*.d.ts
3 changes: 2 additions & 1 deletion packages/@monocdk-experiment/rewrite-imports/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"bin": {
"rewrite-imports": "bin/rewrite-imports"
},
"main": "bin/rewrite-imports.js",
"main": "lib/rewrite.js",
"types": "lib/rewrite.d.ts",
"scripts": {
"build": "cdk-build",
"watch": "cdk-watch",
Expand Down

0 comments on commit 2bf85b3

Please sign in to comment.