build(clerk-auth): lint published package (#1042)
parent
aad0ec86b3
commit
243a73c41c
|
@ -19,6 +19,7 @@ jobs:
|
|||
node-version: 18.x
|
||||
- run: yarn workspaces focus hono-middleware @hono/clerk-auth
|
||||
- run: yarn workspace @hono/clerk-auth build
|
||||
- run: yarn workspace @hono/clerk-auth publint
|
||||
- run: yarn test --coverage --project @hono/clerk-auth
|
||||
- uses: codecov/codecov-action@v5
|
||||
with:
|
||||
|
|
|
@ -10,10 +10,10 @@
|
|||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "vitest",
|
||||
"build": "tsup ./src/index.ts --format esm,cjs --dts",
|
||||
"prerelease": "yarn build && yarn test",
|
||||
"release": "yarn publish"
|
||||
"build": "tsup ./src/index.ts",
|
||||
"prepack": "yarn build",
|
||||
"publint": "attw --pack && publint",
|
||||
"test": "vitest"
|
||||
},
|
||||
"exports": {
|
||||
".": {
|
||||
|
@ -34,7 +34,8 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/honojs/middleware.git"
|
||||
"url": "git+https://github.com/honojs/middleware.git",
|
||||
"directory": "packages/clerk-auth"
|
||||
},
|
||||
"homepage": "https://github.com/honojs/middleware",
|
||||
"peerDependencies": {
|
||||
|
@ -42,13 +43,13 @@
|
|||
"hono": ">=3.*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@arethetypeswrong/cli": "^0.17.4",
|
||||
"@clerk/backend": "^1.0.0",
|
||||
"@types/react": "^18",
|
||||
"hono": "^3.11.7",
|
||||
"node-fetch-native": "^1.4.0",
|
||||
"publint": "^0.3.9",
|
||||
"react": "^18.2.0",
|
||||
"tsup": "^8.0.1",
|
||||
"typescript": "^5.8.2",
|
||||
"tsup": "^8.4.0",
|
||||
"vitest": "^3.0.8"
|
||||
},
|
||||
"engines": {
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src",
|
||||
"outDir": "./dist",
|
||||
"types": ["vitest/globals"]
|
||||
},
|
||||
"include": ["src/**/*.ts"]
|
||||
}
|
||||
}
|
||||
|
|
13
yarn.lock
13
yarn.lock
|
@ -2499,13 +2499,13 @@ __metadata:
|
|||
version: 0.0.0-use.local
|
||||
resolution: "@hono/clerk-auth@workspace:packages/clerk-auth"
|
||||
dependencies:
|
||||
"@arethetypeswrong/cli": "npm:^0.17.4"
|
||||
"@clerk/backend": "npm:^1.0.0"
|
||||
"@types/react": "npm:^18"
|
||||
hono: "npm:^3.11.7"
|
||||
node-fetch-native: "npm:^1.4.0"
|
||||
publint: "npm:^0.3.9"
|
||||
react: "npm:^18.2.0"
|
||||
tsup: "npm:^8.0.1"
|
||||
typescript: "npm:^5.8.2"
|
||||
tsup: "npm:^8.4.0"
|
||||
vitest: "npm:^3.0.8"
|
||||
peerDependencies:
|
||||
"@clerk/backend": ^1.0.0
|
||||
|
@ -13933,13 +13933,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"node-fetch-native@npm:^1.4.0":
|
||||
version: 1.4.1
|
||||
resolution: "node-fetch-native@npm:1.4.1"
|
||||
checksum: ab298a42ebf3b1b6c6a8cbc53d8ba703895f55171ed743b0828c2a87d461642d8053143864915a69d41cc01013db86406da105fff6c0a05a00d8caf5c279549c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"node-fetch@npm:^2.5.0, node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.7, node-fetch@npm:^2.6.9, node-fetch@npm:^2.7.0":
|
||||
version: 2.7.0
|
||||
resolution: "node-fetch@npm:2.7.0"
|
||||
|
|
Loading…
Reference in New Issue