fix(oidc-auth): Fix "yarn release" for Yarn v4 / Build ESM only (#386)
parent
4d8389a8c7
commit
fda62dea37
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@hono/oidc-auth': patch
|
||||
---
|
||||
|
||||
Fix "yarn release" and fix npm package
|
|
@ -29,6 +29,7 @@
|
|||
"build:auth-js": "yarn workspace @hono/auth-js build",
|
||||
"build:bun-transpiler": "yarn workspace @hono/bun-transpiler build",
|
||||
"build:prometheus": "yarn workspace @hono/prometheus build",
|
||||
"build:oidc-auth": "yarn workspace @hono/oidc-auth build",
|
||||
"build": "run-p 'build:*'",
|
||||
"lint": "eslint 'packages/**/*.{ts,tsx}'",
|
||||
"lint:fix": "eslint --fix 'packages/**/*.{ts,tsx}'",
|
||||
|
|
|
@ -4,22 +4,22 @@
|
|||
"description": "OpenID Connect Authentication middleware for Hono",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "NODE_OPTIONS=--experimental-vm-modules jest --verbose --coverage",
|
||||
"build": "tsup ./src/index.ts --format esm,cjs --dts",
|
||||
"build": "tsup ./src/index.ts --format esm --dts",
|
||||
"prerelease": "yarn build && yarn test",
|
||||
"release": "yarn publish"
|
||||
"release": "yarn prerelease && yarn npm publish"
|
||||
},
|
||||
"exports": {
|
||||
".": {
|
||||
"import": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"import": "./dist/index.js",
|
||||
"require": "./dist/index.cjs"
|
||||
"default": "./dist/index.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
|
|
Loading…
Reference in New Issue