-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
v10
is for Gisberta Salce Júnior
#864
Conversation
import * as z from "./extend-zod"; | ||
import createHttpError from "http-errors"; | ||
export { z } from "zod"; | ||
export { ez } from "./ez-namespace"; |
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.
ez
now
}, | ||
"peerDependencies": { | ||
"@types/jest": "*", | ||
"jest": ">=25 <30", | ||
"typescript": "^4.1" | ||
"typescript": "^4.1", | ||
"zod": "^3.21.4" |
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.
zod
becomes a peer dependency
"@types/jest": "*", | ||
"express": "^4.18.2", |
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.
express
becomes a peer dependency
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.
@types/express is an optional peer
"express-fileupload": "1.4.0", | ||
"http-errors": "2.0.0", | ||
"mime": "3.0.0", | ||
"openapi3-ts": "3.2.0", | ||
"ramda": "0.28.0", | ||
"triple-beam": "1.3.0", | ||
"typescript": "4.9.5", |
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.
* Installing tsup and including the sample configuration. * Changing the build approach. * Changing paths in package.json. * Changing path to the ESM package in the ESM package generator. * Removing the deleted folder from ignores. * Moving the ESM package tool to onSuccess of the tsup config. * Using minify. * Preserving DTS split by tsc. * Fix int and esm tests. * Min Node version 14.18.0. * Upgrading tsup. * No need for the cleanup command. * Using the DTS generator of TSUP (finally). * Validate types in test command. * Shorten commands. * More advanced esm test preparation and details. * Revert "More advanced esm test preparation and details." This reverts commit 32c6539.
}, | ||
"engines": { | ||
"node": "^14.17.0 || ^16.10.0 || ^18.0.0 || ^19.0.0" | ||
"node": "^14.18.0 || ^16.10.0 || ^18.0.0 || ^19.0.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.
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.
Btw, 14th is about to be EOL in April...
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.
But I'll keep it as the LTS as long and possible
"jest": ">=25 <30", | ||
"typescript": "^4.1" | ||
"typescript": "^4.9.3", |
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.
🚀 Released 10.0.0-beta1 There is a couple issues with the types declaration made by First one
Second
|
both errors caused by "insufficient exports". |
Fixed by removing redundant |
✅ Tested on a real deployment — operational. |
* Using SWC for tests. * Fixing express mocking. * Easier express mock. * Removing redundant beforeEach and export of mocker. * Easier mock (2). * Removing ts-jest. * Enabling SWC for ts-node. * Minor adjustments. * Fix unused export. * Exclude index.ts from coverage evaluation. * Fixed another unused export. * Testing the exports of index entrypoint. * ESLint: allow all imports in tests. * Ref: better implementation for index test.
Something is broken in Node 19.8 for |
🚀 v10.0.0-beta5 released |
The 19.8 Node's bug was fixed. New version should come shortly. |
This reverts commit 0a2b228.
The issue reported to be fixed, but the release package 19.8.1 is still having some troubles. |
This reverts commit b77a9b7.
Ok. Now it's another issue — of actions/setup-node this time |
Generally ready |
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.
Ready
Gisberta Salce Júnior was a trans woman, a Brazilian immigrant who did sex work, lived with HIV/AIDS and was homeless in the city of Porto in Portugal. She left Brazil for France at the age of 18 to escape a wave of hate crime homicides against transgender people in São Paulo and, at the age of 20, arrived in Portugal. In 2006, after several days of physical and sexual assaults motivated by transphobia and perpetrated by a group of 14 boys between 12 and 16 years old, she was found dead in a well, in Porto, at the age of 45
https://resistadotblog.wordpress.com/2018/02/22/uma-sentenca-de-morte-para-gisberta/
Here is what included
express
,zod
andtypescript
to be peer dependencies.ez
, Detachingez
namespace for proprietary schemas #850zod
, For v10: Stop re-exportingzod
#865zod
a peerexpress
a peer, For v10: Makeexpress
peer #866typescript
an optional peer (needed for client generation only), For v10: Makingtypescript
a dev and optional peer dependency #867tsup
for building packagestsup
, Switching totsup
#584withMeta
immutable, ImmutablewithMeta
#852Consider making the zod version in integration test matching the peer(no need)Consider testing against differentFind the min version of TStypescript
versions