-
Notifications
You must be signed in to change notification settings - Fork 15
chore: update opapi deps #692
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "name": "@bpinternal/opapi", | ||
| "version": "1.0.0", | ||
| "version": "1.0.1", | ||
| "description": "Opapi is a highly opinionated library to generate server, client and documentation from OpenAPI specification using typescript.", | ||
| "main": "./dist/index.js", | ||
| "module": "./dist/index.mjs", | ||
|
|
@@ -17,7 +17,7 @@ | |
| }, | ||
| "scripts": { | ||
| "test": "vitest run", | ||
| "build": "tsup src/index.ts --dts --format cjs,esm --clean", | ||
| "build": "tsdown", | ||
| "check:type": "tsc --noEmit", | ||
| "check:format": "prettier --check .", | ||
| "fix:format": "prettier --write .", | ||
|
|
@@ -35,7 +35,7 @@ | |
| "@types/verror": "1.10.10", | ||
| "prettier": "3.4.1", | ||
| "ts-node": "10.9.2", | ||
| "tsup": "8.3.5", | ||
| "tsdown": "0.22.4", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The new tsdown toolchain pulls in rolldown native bindings with a Node floor of |
||
| "typescript": "5.7.2", | ||
| "vite": "5.4.11", | ||
| "vite-node": "1.6.0", | ||
|
|
@@ -51,7 +51,7 @@ | |
| "json-schema-to-typescript": "13.1.2", | ||
| "json-schema-to-zod": "1.1.1", | ||
| "lodash": "^4.17.21", | ||
| "openapi-typescript": "6.7.6", | ||
| "openapi-typescript": "7.13.0", | ||
| "openapi3-ts": "2.0.2", | ||
| "radash": "12.1.0", | ||
| "tsconfig-paths": "4.2.0", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The old command explicitly built
src/index.tswith CJS, ESM, declarations, and a clean output, but baretsdownnow relies on default discovery. If tsdown does not emit the samedist/index.js,dist/index.mjs, anddist/index.d.tsfiles referenced by this package, the release can build with missing or renamed artifacts and consumers will fail to resolve the package.Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!