bpev
Using SolidJS with Deno
fwiw if you're just doing client-side rendering with esbuild and typescript, I have a few projects using that pattern you could check against. mmm I think this is the easiest one to share / simplest to read:
https://github.com/bpevs/japanese.bpev.me
specifically, build.ts is the magic file
14 replies
Writing modules for multiple runtime ( Deno & browser ) + Monorepo setup?
jsr is basically made for distributing for multiple runtimes. However, monorepo structure is still kinda sus until deno 2.0 (p sure there's an issue for is somewhere, but I'd have to look).
deno-std is a monorepo workspace; they keep it inline via scripts (in
_tools
). That might be a good place to look:
https://github.com/denoland/deno_std8 replies
Override npm import dep with import maps?
can you run dep from cdn url (skypack et all)? then maybe could use scopes: https://deno.land/manual@v1.30.0/basics/import_maps#overriding-imports
actually come to think of it, I never actually tried to use with
npm:
, but seems sketchy12 replies
Override npm import dep with import maps?
you mean like npm's package.json "overrides" ya?
https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides
afaik there isn't any equivalent rn. Is the dep public? The couple times I had small updates I needed in deps, I just forked and pointed to a raw github url...
Oh man though this did just remind me of:
https://github.com/ds300/patch-package
this thing saved my butt a few times when i was engulfed in node dep hell...
12 replies