Skip to content

Conversation

@jsantell
Copy link
Collaborator

@jsantell jsantell commented Mar 5, 2025

This adds the no-external-import lint flag. This prevents us from writing inline dependencies via URL or jsr/npm directives, and instead relies on importing in deno.json.

Generally, if a dependency is used by more than one package, I put it in the workspace deno.json, otherwise, only in the package deno.json.

A big goal here is to easily inspect dependencies (e.g. all in a deno.json) and avoid importing version X in one package and version Y in another (unless we need to, of course)

@jsantell jsantell force-pushed the no-external-import branch from 3165bd6 to a6056b7 Compare March 5, 2025 18:38
@jsantell jsantell merged commit 99a32e7 into main Mar 5, 2025
6 checks passed
@jsantell jsantell deleted the no-external-import branch March 5, 2025 18:53
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