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

Providers - Railway / deployment only #1157

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions waspc/packages/deploy/.prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
Copy link
Sponsor Contributor

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 from npx eslint src. I am fine using whatever convention so long as they both align. Thanks! :) 👍🏻

Copy link
Contributor

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. :)

trailingComma: 'all',
tabWidth: 4,
semi: true,
singleQuote: true,
};
4 changes: 3 additions & 1 deletion waspc/packages/deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 ...
Copy link
Sponsor Contributor

Choose a reason for hiding this comment

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

Nice adding to package.json and documenting the two required options, thnx!👍🏻

```

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.
Loading