build(clerk-auth): lint published package (#1042)

pull/1071/head
Jonathan Haines 2025-03-27 12:48:09 +11:00 committed by GitHub
parent aad0ec86b3
commit 243a73c41c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 15 additions and 22 deletions

View File

@ -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:

View File

@ -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,16 +43,16 @@
"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": {
"node": ">=16.x.x"
}
}
}

View File

@ -1,9 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"types": ["vitest/globals"]
},
"include": ["src/**/*.ts"]
}
}

View File

@ -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"