-
Notifications
You must be signed in to change notification settings - Fork 20
fix: updated Remix framework info that was missing #836
Conversation
✅ Deploy Preview for framework-info ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
@@ -3,12 +3,14 @@ | |||
"name": "Remix", | |||
"category": "static_site_generator", | |||
"detect": { | |||
"npmDependencies": ["remix", "@remix-run/netlify"], | |||
"npmDependencies": ["remix", "@remix-run/netlify", "@remix-run/netlify-edge"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"@remix-run/netlify-edge"
does not exist yet, but it will soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, quick question about npmDependencies
. It means it needs to include all of them correct? So since we'll have a netlify-edge dep soon, should I create a remix-edge.json or just have npmDependencies
contain only remix
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, so in the ReadME, I confirmed that only one of them needs to be present to be considered the framework. https://github.com/netlify/framework-info#npmdependencies
npmDependencies
Type: string[]
Framework's npm packages. Any project with one of those packages in their package.json (dependencies or devDependencies) will be considered as using the framework.
If empty, this is ignored.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if/where this is documented, but this must not have a port set
🎉 Thanks for submitting a pull request! 🎉
Summary
Adds missing framework info for Remix.
Fixes #835
Relates to remix-run/remix#3104
For us to review and ship your PR efficiently, please perform the following steps:
ensures we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a
typo or something that`s on fire 🔥 (e.g. incident related), you can skip this step.
passes our tests.
A picture of a cute animal (not mandatory, but encouraged)