| ▲ | turadg 6 hours ago | |
The new *deno pack* command is a nice addition for safe and simple packaging. For those using Node.js, a similar single command is available with https://www.npmjs.com/package/ts-node-pack Now that Node.js supports importing .ts modules, more repos can use them without a build step or putting any build artifacts in the checkout. | ||
| ▲ | notnullorvoid an hour ago | parent | next [-] | |
It sounds a lot like DNT (https://github.com/denoland/dnt) which has existed for a long time, but having it in Deno cli does bring significant visibility. | ||
| ▲ | WorldMaker 5 hours ago | parent | prev [-] | |
Yeah, that's my immediate debate in reading this blog post: `deno pack` might be a great replacement to my existing `npm publish` workflow for my open source packages and continue shifting my work to Deno-first/Deno-mostly, but on the flipside, with Node's growing TS support I'm also considering switching to Typescript-only npm packages as a (tiny) message to the ecosystem. Though I'm also happy that JSR exists as that (mostly) cleaner ecosystem. | ||