Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dedicated lock file support #262

Open
guybedford opened this issue Mar 12, 2023 · 0 comments
Open

Dedicated lock file support #262

guybedford opened this issue Mar 12, 2023 · 0 comments

Comments

@guybedford
Copy link
Member

guybedford commented Mar 12, 2023

Opening to track a dedicated lock file feature, for when the time comes that this is needed.

There may still be some benefits maintaining a dedicated lockfile:

  • The importmap.json no longer gets shoved into this role, which may cause confusion about what that file is when it is in situations playing the role of a lockfile from which individual mappings are extracted
  • Trace integrity
  • env no longer needs to be tracked in the import map
  • Additional metadata can be retained, such as the provider scoping
  • No handling is needed for residual deconstruction, and we avoid deconstruction lossy cases like trailing paths (although these cases should still be fixed)

The main thing is to just work this out from a usability perspective, and ensure it fits into workflows, both CLI-based and running as an API.

That is, we should only implement this when it is really needed and we have not yet reached that point for now.

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

No branches or pull requests

1 participant