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

[now-static-build][frameworks][examples] Fixes examples and adjust frameworks #3584

Merged
merged 30 commits into from
Jan 15, 2020

Conversation

AndyBitz
Copy link
Contributor

@AndyBitz AndyBitz commented Jan 14, 2020

  • Fixes examples that have been failing since moving them to now
  • Fixes the image path in the README of some examples
  • Replaces file with path in frameworks.json
  • Adjust the detector file system to search for paths as well
  • Ensures that @now/static-build uses the package.json script if present instead of the framework provided one

@vercel
Copy link

vercel bot commented Jan 14, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/zeit/now/lw2ma68gf
✅ Preview: https://now-git-fix-examples.zeit.now.sh

@vercel vercel bot temporarily deployed to Preview January 14, 2020 14:55 Inactive
Copy link
Contributor

@leo leo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it makes sense!

@@ -145,6 +168,7 @@ export const frameworks: Framework[] = [
slug: 'angular',
dependency: '@angular/cli',
minNodeRange: '10.x',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove minNodeRange since it doesn't do anything anymore

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done 👍

getOutputDirName: async () => 'public',
},
{
name: 'Middleman',
slug: 'middleman',
buildCommand: 'bundle exec middleman build',
devCommand: 'bundle exec middleman server -p $PORT',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was the dev command removed for middleman?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@styfle all devCommands were removed since they are part of @now/frameworks`, so they are not really removed, they'll just be added at a later time

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AndyBitz Then why did you add devCommand: 'nuxt', above?

Copy link
Contributor Author

@AndyBitz AndyBitz Jan 15, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@styfle Good catch, that was a mistake

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.

4 participants