Skip to content

Commit

Permalink
packages/js 0.1.1: add missing "exports" to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
merlindru committed Nov 23, 2023
1 parent 493cff1 commit 4d942bb
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
Binary file modified packages/js/passkeys-next-auth-provider/bun.lockb
Binary file not shown.
12 changes: 11 additions & 1 deletion packages/js/passkeys-next-auth-provider/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
{
"name": "@teamhanko/passkeys-next-auth-provider",
"private": false,
"version": "0.1.0",
"version": "0.1.1",
"type": "module",
"module": "src/index.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js"
},
"./client": {
"import": "./dist/client.js",
"require": "./dist/client.js"
}
},
"scripts": {
"build": "bun run build:js & bun run build:dts",
"build:js": "bun build --target=node ./src/index.ts --outfile=dist/index.js",
Expand Down
8 changes: 7 additions & 1 deletion packages/js/passkeys-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@
"name": "@teamhanko/passkeys-sdk",
"private": false,
"type": "module",
"version": "0.1.0",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js"
}
},
"version": "0.1.1",
"module": "src/index.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 4d942bb

Please sign in to comment.