build(zod-validator): lint published package (#1070)

pull/1073/head
Jonathan Haines 2025-03-27 17:09:49 +11:00 committed by GitHub
parent ff2c1cd2fc
commit c39d47d6f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 16 additions and 18 deletions

View File

@ -19,6 +19,7 @@ jobs:
node-version: 18.x
- run: yarn workspaces focus hono-middleware @hono/zod-validator
- run: yarn workspace @hono/zod-validator build
- run: yarn workspace @hono/zod-validator publint
- run: yarn test --coverage --project @hono/zod-validator
- uses: codecov/codecov-action@v5
with:

View File

@ -16,11 +16,10 @@
"dist"
],
"scripts": {
"test": "vitest --run",
"build": "tsup ./src/index.ts --format esm,cjs --dts",
"publint": "publint",
"prerelease": "yarn build && yarn test",
"release": "yarn publish"
"build": "tsup ./src/index.ts",
"prepack": "yarn build",
"publint": "attw --pack && publint",
"test": "vitest"
},
"license": "MIT",
"publishConfig": {
@ -29,7 +28,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/honojs/middleware.git"
"url": "git+https://github.com/honojs/middleware.git",
"directory": "packages/zod-validator"
},
"homepage": "https://github.com/honojs/middleware",
"peerDependencies": {
@ -37,10 +37,10 @@
"zod": "^3.19.1"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.4",
"hono": "^4.0.10",
"publint": "^0.2.7",
"tsup": "^8.1.0",
"typescript": "^5.3.3",
"publint": "^0.3.9",
"tsup": "^8.4.0",
"vitest": "^3.0.8",
"zod": "^3.22.4"
}

View File

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

View File

@ -2999,10 +2999,10 @@ __metadata:
version: 0.0.0-use.local
resolution: "@hono/zod-validator@workspace:packages/zod-validator"
dependencies:
"@arethetypeswrong/cli": "npm:^0.17.4"
hono: "npm:^4.0.10"
publint: "npm:^0.2.7"
tsup: "npm:^8.1.0"
typescript: "npm:^5.3.3"
publint: "npm:^0.3.9"
tsup: "npm:^8.4.0"
vitest: "npm:^3.0.8"
zod: "npm:^3.22.4"
peerDependencies: