You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realized that there was significant divergence between jsr:@y0/postegres and the repo master branch.
So I back ported those file onto repo oscar6echo/postegres and deployed to jsr.
Activity
sant123 commentedon Mar 29, 2024
Can this be published on jsr please? 🙏🏼
sant123 commentedon Sep 18, 2024
Bump on this, please 🙏🏼
uncomfyhalomacro commentedon Nov 14, 2024
Hi team. I would also love this package to be added in the JSR.
i18nsite commentedon Feb 12, 2025
+1
https://deno.com/blog/jsr_open_beta
https://jsr.io/
i18nsite commentedon Feb 12, 2025
fix in #1034
https://jsr.io/@y0/postgres
oscar6echo commentedon Mar 20, 2025
Correct me if I'm wrong but the types do not seem to be imported if you do:
But they are if you do:
Cf. denoland/deno#28551 (comment)
Minor
Btw the import in jsr.io seem incorrect. I think it should be
instead of:
oscar6echo commentedon Mar 21, 2025
This is my first attempt to fix (and learn jsr.io): https://jsr.io/@oscar6echo/postgres@3.4.5-a
Cf. Fork | commit
In essence, I changed what
deno publish --dry-run
errors and warnings said until it did not complain:https://denoland/x/.etc
urls withnode:
,npm:
,jsr:
packages.@types/node
topackage.json
// @ts-self-types=
syntax to reference.d.ts
typesexport = postgres
byexport default postgres
NOTE: I don't know how to fix the automatically generated import - image above.
Will test shortly.
EDIT:
versions -b and -c just exlude unecessary files and remove
package.json
in favor ofdeno.jsonc
:https://jsr.io/@oscar6echo/postgres@3.4.5-c
oscar6echo commentedon Mar 21, 2025
Cf. question about autogenerated imports: jsr-io/jsr#767 (comment)
oscar6echo commentedon Mar 25, 2025
Finally it works with version -d (previous ones yanked)
https://jsr.io/@oscar6echo/postgres@3.4.5-d
I realized that there was significant divergence between jsr:@y0/postegres and the repo master branch.
So I back ported those file onto repo oscar6echo/postegres and deployed to jsr.
Now it works fine - runtime and types.