build(conform-validator): lint published package (#1044)

pull/1071/head
Jonathan Haines 2025-03-27 12:55:22 +11:00 committed by GitHub
parent f4e4b8a2ee
commit bf4d315e5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 16 additions and 54 deletions

View File

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

View File

@ -10,10 +10,10 @@
"dist"
],
"scripts": {
"test": "vitest --run",
"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/conform-validator"
},
"homepage": "https://github.com/honojs/middleware",
"peerDependencies": {
@ -42,12 +43,14 @@
"hono": ">=4.5.1"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.4",
"@conform-to/dom": "^1.1.5",
"@conform-to/yup": "^1.1.5",
"@conform-to/zod": "^1.1.5",
"conform-to-valibot": "^1.10.0",
"hono": "^4.5.1",
"tsup": "^8.2.3",
"publint": "^0.3.9",
"tsup": "^8.4.0",
"valibot": "^0.36.0",
"vitest": "^3.0.8",
"yup": "^1.4.0",

View File

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

View File

@ -2531,12 +2531,14 @@ __metadata:
version: 0.0.0-use.local
resolution: "@hono/conform-validator@workspace:packages/conform-validator"
dependencies:
"@arethetypeswrong/cli": "npm:^0.17.4"
"@conform-to/dom": "npm:^1.1.5"
"@conform-to/yup": "npm:^1.1.5"
"@conform-to/zod": "npm:^1.1.5"
conform-to-valibot: "npm:^1.10.0"
hono: "npm:^4.5.1"
tsup: "npm:^8.2.3"
publint: "npm:^0.3.9"
tsup: "npm:^8.4.0"
valibot: "npm:^0.36.0"
vitest: "npm:^3.0.8"
yup: "npm:^1.4.0"
@ -18184,47 +18186,6 @@ __metadata:
languageName: node
linkType: hard
"tsup@npm:^8.2.3":
version: 8.2.3
resolution: "tsup@npm:8.2.3"
dependencies:
bundle-require: "npm:^5.0.0"
cac: "npm:^6.7.14"
chokidar: "npm:^3.6.0"
consola: "npm:^3.2.3"
debug: "npm:^4.3.5"
esbuild: "npm:^0.23.0"
execa: "npm:^5.1.1"
globby: "npm:^11.1.0"
joycon: "npm:^3.1.1"
picocolors: "npm:^1.0.1"
postcss-load-config: "npm:^6.0.1"
resolve-from: "npm:^5.0.0"
rollup: "npm:^4.19.0"
source-map: "npm:0.8.0-beta.0"
sucrase: "npm:^3.35.0"
tree-kill: "npm:^1.2.2"
peerDependencies:
"@microsoft/api-extractor": ^7.36.0
"@swc/core": ^1
postcss: ^8.4.12
typescript: ">=4.5.0"
peerDependenciesMeta:
"@microsoft/api-extractor":
optional: true
"@swc/core":
optional: true
postcss:
optional: true
typescript:
optional: true
bin:
tsup: dist/cli-default.js
tsup-node: dist/cli-node.js
checksum: 4a6fba80b441b400e44633db7e52d383cfd502119e6bdf7680ac07d5110eab2473d8b980a664c1564d0418d89c0e680b24a9f43d2d7da1193ce72259a863725a
languageName: node
linkType: hard
"tsup@npm:^8.3.0":
version: 8.3.0
resolution: "tsup@npm:8.3.0"