Replies: 1 comment
-
Hi @balupton! Thanks so much for letting us know that the package.json link was broken. We'll get that fixed! I understand your enthusiasm for I think that what you're doing with Bevry and make-deno-edition is really interesting, and I really appreciate you taking interest in nest.land. With that said, I think that there could be other ways for you to introduce compatibility to the platform. As you know, our system is catered directly towards Deno users, which means that we don't support any sort of "start" commands like what I'm not completely sure how make-deno-edition makes modules compatible with Deno, but I do know that you could figure out all of the required fields in {
"name": "module-name", // Equivalent to "name" in package.json
"description": "Your brief module description", // Equivalent to "description" in package.json
"version": "0.0.1", // Equivalent to "version" in package.json
"entry": "./src/main.ts", // Not completely sure, but this is most likely possible with make-deno-edition
"repository": "https://github.com/your_name/your_project", // Equivalent to "repository.url" in package.json
} Note that I left out the The .eggignore feature support is coming in our next release. You can expect this within the next 3 days! I should also mention that we're trying to be so platform-independent here because we don't want to restrict the user to using some sort of source control or external service for their projects. I'd like to hear your thoughts on this, so feel free to keep the conversation going. |
Beta Was this translation helpful? Give feedback.
-
I've been using make-deno-edition to provide deno compatibility now for 30+ of the bevry packages, which were originally targetting node or web browsers.
Reading https://docs.nest.land/eggs/configuration.html#field-information it seems nest needs an eggs.json file, and when I click the link to find out why it doesn't use package.json, it took me to https://github.com/nestdotland/nest.land/issues/52#issuecomment-643038042 which returns the error:
Tooling like
make-deno-edition
andprojectz
utilise the npm registry, and use unpkg for the deno cdn. I would like to make it so thatmake-deno-edition
also provides publishing to the various deno registries until there is a clear winner.However, it would be a lot easier for me (the author of
make-deno-edition
) if nest just used package.json instead, and did any custom configuration within anest
field inside it.Beta Was this translation helpful? Give feedback.
All reactions