Closed greguz closed 1 year ago
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Totals | |
---|---|
Change from base Build 3857247421: | 0.0% |
Covered Lines: | 405 |
Relevant Lines: | 405 |
@climba03003 ;/
Is this a real life? i will finally be able to update TS? LGTM
@Fdawgs @aboutlo PTAL
I've noticed a couple of things:
Prettier
badge is wrong, I see this repo uses Standard
for linting. May I update the badge?files
field inside the package.json
, so all test files (and much more) are packaged and shipped to NPM
. May add this field?Also I've just created a pure-ESM version of this project under the name fluent-json-schema-es where you can use the import S from 'fluent-json-schema-es
syntax freely.
By doing that I saw that a double-module package (bot ESM and CJS code inside the same package) could potentially fix the issue with TypeScript entirely. I suggest rollup
to do the ESM>CJS conversion.
What are your thoughts about It? I will be happy to make this change and deprecate fluent-json-schema-es
.
* The `Prettier` badge is wrong, I see this repo uses `Standard` for linting. May I update the badge?
Sure, please open a separate PR. 😄
* There's no `files` field inside the `package.json`, so all test files (and much more) are packaged and shipped to `NPM`. May add this field?
See https://github.com/fastify/skeleton/issues/42
Also I've just created a pure-ESM version of this project under the name fluent-json-schema-es where you can use the
import S from 'fluent-json-schema-es
syntax freely.By doing that I saw that a double-module package (bot ESM and CJS code inside the same package) could potentially fix the issue with TypeScript entirely. I suggest
rollup
to do che ESM>CJS conversion.What are your thoughts about It? I will be happy to make this change and deprecate
fluent-json-schema-es
.
See https://github.com/fastify/fastify/issues/2847 for ESM discussion.
when's release?
Checklist
npm run test