-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
Dynamic port switching #516
Changes from all commits
ed8ea2e
bd985de
5a3b73b
56cf7ab
cc24015
4e92c42
50296ed
0dc1ace
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
"url": "https://github.com/facebook/Docusaurus.git" | ||
}, | ||
"scripts": { | ||
"ci-check": "yarn prettier:diff", | ||
"ci-check": "yarn prettier && yarn prettier:diff", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @InternetExplorer7 This should not be added here. The check for whether the code has been prettified is essentially rendered ineffective by this change as even if submitted code has been prettified, this command will fix it and pass the CI but the changes are not committed to the branch. I'll submit a PR to revert this line. cc @JoelMarcey |
||
"format:source": "prettier --config .prettierrc --write \"lib/**/*.js\"", | ||
"format:examples": "prettier --config .prettierrc --write \"examples/**/*.js\"", | ||
"nit:source": "prettier --config .prettierrc --list-different \"lib/**/*.js\"", | ||
|
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.
This changes the behavior from listening to the --port argument on the command line to use the PORT environment variable.
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'll revert this line.
EDIT: Just saw #588