build(zod-validator): lint published package (#1070)
parent
ff2c1cd2fc
commit
c39d47d6f0
|
@ -19,6 +19,7 @@ jobs:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
- run: yarn workspaces focus hono-middleware @hono/zod-validator
|
- run: yarn workspaces focus hono-middleware @hono/zod-validator
|
||||||
- run: yarn workspace @hono/zod-validator build
|
- run: yarn workspace @hono/zod-validator build
|
||||||
|
- run: yarn workspace @hono/zod-validator publint
|
||||||
- run: yarn test --coverage --project @hono/zod-validator
|
- run: yarn test --coverage --project @hono/zod-validator
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -16,11 +16,10 @@
|
||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "vitest --run",
|
"build": "tsup ./src/index.ts",
|
||||||
"build": "tsup ./src/index.ts --format esm,cjs --dts",
|
"prepack": "yarn build",
|
||||||
"publint": "publint",
|
"publint": "attw --pack && publint",
|
||||||
"prerelease": "yarn build && yarn test",
|
"test": "vitest"
|
||||||
"release": "yarn publish"
|
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
|
@ -29,7 +28,8 @@
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"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",
|
"homepage": "https://github.com/honojs/middleware",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
@ -37,10 +37,10 @@
|
||||||
"zod": "^3.19.1"
|
"zod": "^3.19.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@arethetypeswrong/cli": "^0.17.4",
|
||||||
"hono": "^4.0.10",
|
"hono": "^4.0.10",
|
||||||
"publint": "^0.2.7",
|
"publint": "^0.3.9",
|
||||||
"tsup": "^8.1.0",
|
"tsup": "^8.4.0",
|
||||||
"typescript": "^5.3.3",
|
|
||||||
"vitest": "^3.0.8",
|
"vitest": "^3.0.8",
|
||||||
"zod": "^3.22.4"
|
"zod": "^3.22.4"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"rootDir": "./src",
|
"types": ["vitest/globals"]
|
||||||
},
|
}
|
||||||
"include": [
|
|
||||||
"src/**/*.ts"
|
|
||||||
],
|
|
||||||
}
|
}
|
|
@ -2999,10 +2999,10 @@ __metadata:
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@hono/zod-validator@workspace:packages/zod-validator"
|
resolution: "@hono/zod-validator@workspace:packages/zod-validator"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
"@arethetypeswrong/cli": "npm:^0.17.4"
|
||||||
hono: "npm:^4.0.10"
|
hono: "npm:^4.0.10"
|
||||||
publint: "npm:^0.2.7"
|
publint: "npm:^0.3.9"
|
||||||
tsup: "npm:^8.1.0"
|
tsup: "npm:^8.4.0"
|
||||||
typescript: "npm:^5.3.3"
|
|
||||||
vitest: "npm:^3.0.8"
|
vitest: "npm:^3.0.8"
|
||||||
zod: "npm:^3.22.4"
|
zod: "npm:^3.22.4"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
|
|
Loading…
Reference in New Issue