-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Providers - Railway / deployment only #1157
Open
OlegGulevskyy
wants to merge
18
commits into
wasp-lang:main
Choose a base branch
from
OlegGulevskyy:providers-railway
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
7fd6ad5
extract some logic from fly to shared
OlegGulevskyy 7166c53
basic railway command
OlegGulevskyy 1b40954
add prettier config + refmt railway & shared dirs
OlegGulevskyy da34c2b
package script for running cli
OlegGulevskyy 6b5bd70
global options appliance
OlegGulevskyy dcebdf4
extracted more logic
OlegGulevskyy 522c4fa
install fs-extra
OlegGulevskyy ac8db26
deploy railway
OlegGulevskyy 75343f6
my soul hurts to do this but I am tired to figure out
OlegGulevskyy e6ae2e2
fmt
OlegGulevskyy fcf6ad0
refactor types and deploy server
OlegGulevskyy 771a0a8
update package readme with arguments info
OlegGulevskyy 3420580
remove my own hardcoded stuff from package
OlegGulevskyy f91302f
update fn comments, probably temp
OlegGulevskyy 2da1b4a
refactor railway login prompt to a simple throw out message
OlegGulevskyy f5f1a05
unused imports
OlegGulevskyy 7d6052f
exit if not logged in
OlegGulevskyy 7428ed4
update readme
OlegGulevskyy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
trailingComma: 'all', | ||
tabWidth: 4, | ||
semi: true, | ||
singleQuote: true, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,7 @@ To run the deploy package as a standalone TS project, run: | |
```sh | ||
npm install | ||
npm run build | ||
node dist/index.js fly ... | ||
npm run cli fly ... | ||
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. Nice adding to |
||
``` | ||
|
||
You need to supply `--wasp-exe` and `--wasp-project-dir` arguments to the `npm run cli` command, as those when used within Wasp are supplied directly from Haskell, so it might seem invisible. But for manual trigger of this CLI and local testing, those arguments are base arguments that required for this CLI to work. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Awesome job adding prettier. 🎨 We will want to make sure it plays nicely with the
eslint
config. Check output fromnpx eslint src
. I am fine using whatever convention so long as they both align. Thanks! :) 👍🏻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.
Yes, the current project reports a lot of errors. This article seems to give a good explanation on how to integrate them. :)