-
Notifications
You must be signed in to change notification settings - Fork 625
Conversation
I don't know if this is a great idea, other projects may also rely upon the |
The fact that this is a breaking change is actually my biggest concern. Would you mind jotting about how exactly your project uses the json? Perhaps, it might be fixed by dynamically generating files at some point, or something like that (or something completely different 🙂). As for ease of use, I tend to disagree, since a) with importing (or otherwise incorporating) the file you import both value (i.e., JavaScript implementation) and types in one go; b) there's no need to parse/stringify anything, as some systems require; c) third-party contributions to that file are validated earlier; and so on. |
We have a deno.land/x mirror that fetches each package from It's trivial for me to change the download script to support the |
But I think this might become moot as Deno's package registry evolves and doesn't have a |
Ooo, I’m glad they’re thinking this through! The whole approach with npm-ish global scope of unique names updated manually through pull requests seamed flawed from the start. Thanks for the link! |
I think JSON is better suited here and there are very valid usecases for importing this json file externally. I think keeping it as JSON makes more sense because it is more accessible. We have tests to catch style errors in the database anyway. |
I appreciate the patch, but JSON for data seems more versatile to me. |
Add type-safety and IntelliSense (editor suggestions) to database file