Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
fix(next-image-snapshot): Add exports.types to package.json (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 authored Aug 24, 2023
1 parent 3e8c760 commit 7d65b82
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/jest-expect-image/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jest-expect-image",
"packageManager": "[email protected]",
"version": "0.1.2",
"version": "0.1.3",
"description": "",
"main": "lib/index.js",
"scripts": {
Expand Down
9 changes: 8 additions & 1 deletion packages/next-image-snapshot/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "next-image-snapshot",
"packageManager": "[email protected]",
"version": "0.1.2",
"version": "0.1.3",
"description": "",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -38,5 +38,12 @@
"jest-expect-image": "link:../jest-expect-image",
"selenium-webdriver": "^4.11.1",
"wait-port": "^1.0.4"
},
"exports": {
".": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"./package.json": "./package.json"
}
}

0 comments on commit 7d65b82

Please sign in to comment.