Skip to content

Prefer npm specifiers over jsr in import map - #7

Merged
cowboyd merged 1 commit into
mainfrom
prefer-npm-deps
Mar 12, 2026
Merged

cowboyd merged 1 commit into
mainfrom
prefer-npm-deps

Conversation

@cowboyd

@cowboyd cowboyd commented Mar 12, 2026 •

Copy link
Copy Markdown
Collaborator

Motivation

DNT bundles dependencies from JSR into the actual tarball that is published to npm which bloats the size unnecessarily.

Approach

This switches the bundled deps to use NPM, gets rid of some unused reps, and then also documents the
convention so AI agents follow it going forward.

@pkg-pr-new

pkg-pr-new Bot commented Mar 12, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/configliere@7

commit: 688c805

@jbolda

jbolda commented Mar 12, 2026

Copy link
Copy Markdown
Member

Is it possible get rid of the assert from the bundle as well? The @std that is bundle is a huge part of the bundle.

Also I wonder if we could go ESM only here? (And we could probably drop src as well.)

Switch @standard-schema/spec to npm, remove unused deps, and document
the npm preference in AGENTS.md.
@cowboyd
cowboyd merged commit 0e16684 into main Mar 12, 2026
2 checks passed
@cowboyd
cowboyd deleted the prefer-npm-deps branch March 12, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants