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:auth-js": "yarn workspace @hono/auth-js build",
|
||||||
"build:bun-transpiler": "yarn workspace @hono/bun-transpiler build",
|
"build:bun-transpiler": "yarn workspace @hono/bun-transpiler build",
|
||||||
"build:prometheus": "yarn workspace @hono/prometheus build",
|
"build:prometheus": "yarn workspace @hono/prometheus build",
|
||||||
|
"build:oidc-auth": "yarn workspace @hono/oidc-auth build",
|
||||||
"build": "run-p 'build:*'",
|
"build": "run-p 'build:*'",
|
||||||
"lint": "eslint 'packages/**/*.{ts,tsx}'",
|
"lint": "eslint 'packages/**/*.{ts,tsx}'",
|
||||||
"lint:fix": "eslint --fix 'packages/**/*.{ts,tsx}'",
|
"lint:fix": "eslint --fix 'packages/**/*.{ts,tsx}'",
|
||||||
|
|
|
@ -4,22 +4,22 @@
|
||||||
"description": "OpenID Connect Authentication middleware for Hono",
|
"description": "OpenID Connect Authentication middleware for Hono",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"module": "dist/index.js",
|
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "NODE_OPTIONS=--experimental-vm-modules jest --verbose --coverage",
|
"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",
|
"prerelease": "yarn build && yarn test",
|
||||||
"release": "yarn publish"
|
"release": "yarn prerelease && yarn npm publish"
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"types": "./dist/index.d.ts",
|
"import": {
|
||||||
"import": "./dist/index.js",
|
"types": "./dist/index.d.ts",
|
||||||
"require": "./dist/index.cjs"
|
"default": "./dist/index.js"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
Loading…
Reference in New Issue