build(conform-validator): lint published package (#1044)
parent
f4e4b8a2ee
commit
bf4d315e5a
|
@ -19,6 +19,7 @@ jobs:
|
||||||
node-version: 20.x
|
node-version: 20.x
|
||||||
- run: yarn workspaces focus hono-middleware @hono/conform-validator
|
- run: yarn workspaces focus hono-middleware @hono/conform-validator
|
||||||
- run: yarn workspace @hono/conform-validator build
|
- run: yarn workspace @hono/conform-validator build
|
||||||
|
- run: yarn workspace @hono/conform-validator publint
|
||||||
- run: yarn test --coverage --project @hono/conform-validator
|
- run: yarn test --coverage --project @hono/conform-validator
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -10,10 +10,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",
|
||||||
"prerelease": "yarn build && yarn test",
|
"publint": "attw --pack && publint",
|
||||||
"release": "yarn publish"
|
"test": "vitest"
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
|
@ -34,7 +34,8 @@
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"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",
|
"homepage": "https://github.com/honojs/middleware",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
@ -42,12 +43,14 @@
|
||||||
"hono": ">=4.5.1"
|
"hono": ">=4.5.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@arethetypeswrong/cli": "^0.17.4",
|
||||||
"@conform-to/dom": "^1.1.5",
|
"@conform-to/dom": "^1.1.5",
|
||||||
"@conform-to/yup": "^1.1.5",
|
"@conform-to/yup": "^1.1.5",
|
||||||
"@conform-to/zod": "^1.1.5",
|
"@conform-to/zod": "^1.1.5",
|
||||||
"conform-to-valibot": "^1.10.0",
|
"conform-to-valibot": "^1.10.0",
|
||||||
"hono": "^4.5.1",
|
"hono": "^4.5.1",
|
||||||
"tsup": "^8.2.3",
|
"publint": "^0.3.9",
|
||||||
|
"tsup": "^8.4.0",
|
||||||
"valibot": "^0.36.0",
|
"valibot": "^0.36.0",
|
||||||
"vitest": "^3.0.8",
|
"vitest": "^3.0.8",
|
||||||
"yup": "^1.4.0",
|
"yup": "^1.4.0",
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"rootDir": "./src",
|
"outDir": "./dist"
|
||||||
},
|
}
|
||||||
"include": [
|
}
|
||||||
"src/**/*.ts"
|
|
||||||
],
|
|
||||||
}
|
|
||||||
|
|
45
yarn.lock
45
yarn.lock
|
@ -2531,12 +2531,14 @@ __metadata:
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@hono/conform-validator@workspace:packages/conform-validator"
|
resolution: "@hono/conform-validator@workspace:packages/conform-validator"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
"@arethetypeswrong/cli": "npm:^0.17.4"
|
||||||
"@conform-to/dom": "npm:^1.1.5"
|
"@conform-to/dom": "npm:^1.1.5"
|
||||||
"@conform-to/yup": "npm:^1.1.5"
|
"@conform-to/yup": "npm:^1.1.5"
|
||||||
"@conform-to/zod": "npm:^1.1.5"
|
"@conform-to/zod": "npm:^1.1.5"
|
||||||
conform-to-valibot: "npm:^1.10.0"
|
conform-to-valibot: "npm:^1.10.0"
|
||||||
hono: "npm:^4.5.1"
|
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"
|
valibot: "npm:^0.36.0"
|
||||||
vitest: "npm:^3.0.8"
|
vitest: "npm:^3.0.8"
|
||||||
yup: "npm:^1.4.0"
|
yup: "npm:^1.4.0"
|
||||||
|
@ -18184,47 +18186,6 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
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":
|
"tsup@npm:^8.3.0":
|
||||||
version: 8.3.0
|
version: 8.3.0
|
||||||
resolution: "tsup@npm:8.3.0"
|
resolution: "tsup@npm:8.3.0"
|
||||||
|
|
Loading…
Reference in New Issue