-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Update example apps to account for recent changes #809
Merged
Merged
Changes from 61 commits
Commits
Show all changes
87 commits
Select commit
Hold shift + click to select a range
4e09b34
Separate ext code to client and server
sodic 86e70fe
Use skeleton in createNewProject and refactor
sodic bb4107e
Refactor Lib.hs to use ExceptT
sodic cc7f353
Fix formatting
sodic 492f247
Pop up returns
sodic d88e204
Extract liftIO and add a do block
sodic 51b426a
Address some review comments
sodic 789dc8f
Add skeleton comment
sodic 6d29601
Extract common CommandError message
sodic 11846e7
Separate skeleton comment into two rows
sodic 4f834ec
Move server and client dirs into src
sodic 385b35c
Simplify maybeToEither
sodic a7753d2
Further refactor Lib.hs
sodic 53dc889
Further simplify skeleton comment
sodic 8388b0f
Merge branch 'main' into filip-change-project-structure
sodic 40f56d2
Add shared code directory to project structure
sodic 936116b
Update e2e test inputs
sodic 1d4e0d8
Update e2e test outputs
sodic dc753f4
Fix formatting
sodic 281c3cf
Fix bug in compile function
sodic a64832c
Change map to fmap in compile function
sodic b30e3de
Fix formatting
sodic f40a8ce
Force git to include empty directories
sodic ddc8682
Remove extra empty line from .gitkeep files
sodic 94a11a7
Add .jsconfig to enable go-to-definition
sodic eb29d50
Watch shared directory for changes
sodic c85fee3
Merge remote-tracking branch 'origin/filip-change-project-structure' …
sodic efca38a
Add final newline to jsconfigs
sodic 9fa7e9a
Fix regular and e2e tests
sodic fd5d9db
Merge remote-tracking branch 'origin/filip-change-project-structure' …
sodic 661b282
Update e2e tests
sodic 8674887
Fix cli template packaging and update todoApp
sodic 997fe72
Merge remote-tracking branch 'origin/main' into filip-change-project-…
sodic 0cb6369
Add a shared function demo to todoApp
sodic 25a1a54
Merge remote-tracking branch 'origin/filip-change-project-structure' …
sodic 8bb94cc
Update waspc and e2e tests
sodic 5f47855
Fix compiler warnings and rename function
sodic 54e0b02
Rename mkError to mkParserError
sodic 0ae2631
Remove redundant empty line
sodic c5c326e
Merge remote-tracking branch 'origin/main' into filip-change-project-…
sodic fc76fb6
Fix test warnings
sodic dc29140
Fix formatting
sodic 36e5766
Merge remote-tracking branch 'origin/main' into filip-change-project-…
sodic ca662e8
Update waspc.cabal with jsconfigs
sodic b13cd32
Merge remote-tracking branch 'origin/filip-change-project-structure' …
sodic cd101ab
Merge branch 'main' into filip-change-project-structure
sodic d10e877
Minimize jsconfig.json files
sodic cb3351c
Add jsconfigs to waspc todoApp
sodic 48d7e27
Update e2e tests
sodic 0ab3560
Update e2e tests
sodic bed02f1
Merge branch 'main' into filip-change-project-structure
sodic ee84bce
Update docs for new project structure
sodic 313d2b7
Update todoApp example to new structure
sodic bbef734
Update ItWaspsOnMyMachine
sodic 3a93ab4
Update thoughts
sodic 28b841d
Update Waspello to new structure
sodic 42dfff9
Update Waspleau to new structure
sodic 8eb1c76
Update Realworld to new structure, fix warnings
sodic f384d14
Fix directory tree watching on wasp start
sodic 2a214ec
Merge branch 'filip-change-project-structure' into filip-js-go-to-def…
sodic 485190d
Merge branch 'filip-js-go-to-definition' into filip-update-docs-new-s…
sodic d4a4c07
Implement review feedback
sodic 399057c
Fix typo in docs
sodic 96b6b1e
Fix typo in docs
sodic 87c7c71
Fix another typo in docs
sodic 8e88877
Add src prefix to file path in docs
sodic da2eb32
Merge branch 'filip-change-project-structure' into filip-js-go-to-def…
sodic 2c42e99
Merge branch 'filip-js-go-to-definition' into filip-update-docs-new-s…
sodic e9ebd26
Merge branch 'filip-update-docs-new-structure' into filip-update-exam…
sodic d4eaa5e
Merge remote-tracking branch 'origin/filip-update-docs-new-structure'…
sodic 4f68e69
Remove env server file
sodic 06f0b35
Apply suggestions from code review
sodic fe75413
Address code review comments
sodic da45f33
Merge branch 'filip-update-docs-new-structure' into filip-update-exam…
sodic a89df79
Fix incorrect path in docs
sodic 5502285
Fix references to ext in docs
sodic 676fc85
Edit changelog and add migration guide
sodic ccf96ff
Further update docs to new structure
sodic 105b3d8
Merge branch 'filip-update-docs-new-structure' into filip-update-exam…
sodic a2e847e
Update blogs about example apps to new structure
sodic 995d6ea
Fix typo in docs
sodic 145fb46
Update typo on frontpage
sodic 39411d5
Add missing src in docs
sodic 2a592c0
Merge remote-tracking branch 'origin/main' into filip-update-docs-new…
sodic 677e4b5
Merge remote-tracking branch 'origin/filip-update-docs-new-structure'…
sodic 7c3cffa
Merge remote-tracking branch 'origin/filip-update-docs-new-structure'…
sodic fc91e2f
Merge remote-tracking branch 'origin/main' into filip-update-examples…
sodic 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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
/.wasp/ | ||
.env | ||
/.env.server | ||
/.env.client |
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 |
---|---|---|
@@ -1 +1 @@ | ||
File marking the root of Wasp project. | ||
File marking the root of Wasp project. |
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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,27 @@ | ||
{ | ||
"compilerOptions": { | ||
// The following settings enable IDE support in user-provided source files. | ||
// Editing them might break features like import autocompletion and | ||
// definition lookup. Don't change them unless you know what you're doing. | ||
// | ||
// The relative path to the generated web app's root directory. This must be | ||
// set to define the "paths" option. | ||
"baseUrl": "../../.wasp/out/web-app/", | ||
"paths": { | ||
// Resolve all "@wasp" imports to the generated source code. | ||
"@wasp/*": [ | ||
"src/*" | ||
], | ||
// Resolve all non-relative imports to the correct node module. Source: | ||
// https://www.typescriptlang.org/docs/handbook/module-resolution.html#path-mapping | ||
"*": [ | ||
// Start by looking for the definiton inside the node modules root | ||
// directory... | ||
"node_modules/*", | ||
// ... If that fails, try to find it inside definitely-typed type | ||
// definitions. | ||
"node_modules/@types/*" | ||
] | ||
} | ||
} | ||
} |
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
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,27 @@ | ||
{ | ||
"compilerOptions": { | ||
// The following settings enable IDE support in user-provided source files. | ||
// Editing them might break features like import autocompletion and | ||
// definition lookup. Don't change them unless you know what you're doing. | ||
// | ||
// The relative path to the generated web app's root directory. This must be | ||
// set to define the "paths" option. | ||
"baseUrl": "../../.wasp/out/server/", | ||
"paths": { | ||
// Resolve all "@wasp" imports to the generated source code. | ||
"@wasp/*": [ | ||
"src/*" | ||
], | ||
// Resolve all non-relative imports to the correct node module. Source: | ||
// https://www.typescriptlang.org/docs/handbook/module-resolution.html#path-mapping | ||
"*": [ | ||
// Start by looking for the definiton inside the node modules root | ||
// directory... | ||
"node_modules/*", | ||
// ... If that fails, Try to find it inside definitely-typed type | ||
// definitions. | ||
"node_modules/@types/*" | ||
] | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
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,23 @@ | ||
{ | ||
"compilerOptions": { | ||
// The following settings enable IDE support in user-provided source files. | ||
// Editing them might break features like import autocompletion and | ||
// definition lookup. Don't change them unless you know what you're doing. | ||
// | ||
// The relative path to the generated web app's root directory. This must be | ||
// set to define the "paths" option. | ||
"baseUrl": "../../.wasp/out/server", | ||
"paths": { | ||
// Resolve all non-relative imports to the correct node module. Source: | ||
// https://www.typescriptlang.org/docs/handbook/module-resolution.html#path-mapping | ||
"*": [ | ||
// Start by looking for the definiton inside the node modules root | ||
// directory... | ||
"node_modules/*", | ||
// ... If that fails, try to find it inside definitely-typed type | ||
// definitions. | ||
"node_modules/@types/*" | ||
] | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
DATABASE_URL=postgresql://postgres:devpass1234@localhost:5432/thoughts-dev | ||
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
/.wasp/ | ||
/.env.server | ||
/.env.client |
File renamed without changes.
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 |
---|---|---|
@@ -1 +1 @@ | ||
File marking the root of Wasp project. | ||
File marking the root of Wasp project. |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,27 @@ | ||
{ | ||
"compilerOptions": { | ||
// The following settings enable IDE support in user-provided source files. | ||
// Editing them might break features like import autocompletion and | ||
// definition lookup. Don't change them unless you know what you're doing. | ||
// | ||
// The relative path to the generated web app's root directory. This must be | ||
// set to define the "paths" option. | ||
"baseUrl": "../../.wasp/out/web-app/", | ||
"paths": { | ||
// Resolve all "@wasp" imports to the generated source code. | ||
"@wasp/*": [ | ||
"src/*" | ||
], | ||
// Resolve all non-relative imports to the correct node module. Source: | ||
// https://www.typescriptlang.org/docs/handbook/module-resolution.html#path-mapping | ||
"*": [ | ||
// Start by looking for the definiton inside the node modules root | ||
// directory... | ||
"node_modules/*", | ||
// ... If that fails, try to find it inside definitely-typed type | ||
// definitions. | ||
"node_modules/@types/*" | ||
] | ||
} | ||
} | ||
} |
File renamed without changes
File renamed without changes.
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,27 @@ | ||
{ | ||
"compilerOptions": { | ||
// The following settings enable IDE support in user-provided source files. | ||
// Editing them might break features like import autocompletion and | ||
// definition lookup. Don't change them unless you know what you're doing. | ||
// | ||
// The relative path to the generated web app's root directory. This must be | ||
// set to define the "paths" option. | ||
"baseUrl": "../../.wasp/out/server/", | ||
"paths": { | ||
// Resolve all "@wasp" imports to the generated source code. | ||
"@wasp/*": [ | ||
"src/*" | ||
], | ||
// Resolve all non-relative imports to the correct node module. Source: | ||
// https://www.typescriptlang.org/docs/handbook/module-resolution.html#path-mapping | ||
"*": [ | ||
// Start by looking for the definiton inside the node modules root | ||
// directory... | ||
"node_modules/*", | ||
// ... If that fails, Try to find it inside definitely-typed type | ||
// definitions. | ||
"node_modules/@types/*" | ||
] | ||
} | ||
} | ||
} |
File renamed without changes.
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.
We may want to remove this file entirely since it is
.gitignore
'd and the only env file we have committed for examples.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.
Yeah, thought so too. I can remove it.