-
Notifications
You must be signed in to change notification settings - Fork 11
New injections for forked elm packages, and add hot reloading #65
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
Open
lydell
wants to merge
65
commits into
lamdera-next
Choose a base branch
from
lydell-upgrade-native
base: lamdera-next
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 47 commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
43f9b29
New injections for forked elm packages
lydell 99c307e
Remove lamdera/containers injection
lydell 329e5aa
Add Browser.Navigation.Key support for serialization and migration li…
lydell 2434d1c
Make Browser.Navigation.Key work
lydell a41a5e6
Make the <pre> go away in `lamdera live`
lydell da2f7ad
As far as I understand, the code is correct, remove @TODO
lydell a0e1a5a
Merge branch 'lamdera-next' into lydell-upgrade-native
lydell 147a7c0
First step towards switcheroo
lydell aee782d
We have to use ~/.elm/0.19.2/ for IDE support
lydell d634ef8
Wire in maps of package replacements
lydell 2fd94a7
Add package replacement submodules
lydell 6b1b76a
Add TODO comments
lydell e27b140
First step towards TemplateHaskell via ChatGPT
lydell f4406bb
No need to have separate maps for Elm and Kernel
lydell 827678f
Parse module names
lydell 5c66e78
Add new files to elm.cabal
lydell 0d03884
Merge branch 'lamdera-next' into lydell-upgrade-native
lydell ebe8647
Update lydell/core commit
lydell 56f6e67
First test with real replacements seems to work!
lydell 9336eeb
Ugly code for generating the versions map
lydell ab308f4
Validate versions
lydell 68d539c
Start cleaning code
lydell 34fde80
errorHandler has moved to lydell/core#lamdera
lydell 957e27e
Generate a versions comment
lydell 5ad59b1
More cleanups
lydell 865d276
Sort for stability
lydell 570198c
Qualify imports
lydell 12edf6b
Remove unused language extension
lydell c0291ba
Revert "Make Browser.Navigation.Key work"
lydell 9ab60d4
Revert "Add Browser.Navigation.Key support for serialization and migr…
lydell 507e65d
Remove trailing whitespace
lydell ea9bdf8
Update lydell/browser commit
lydell a46e267
Cache bust and docs
lydell dd91a62
Finish cleaning up Template Haskell code
lydell 51cb67b
Restore Test.hs
lydell 10426fa
Add missing language extension
lydell 3a94bf2
Make sure `lamdera init` uses compatible versions
lydell b605d2e
Remove the word “default” from virtualDom variables
lydell 301971c
Update lydell/virtual-dom commit
lydell 494c2f7
Update lydell/browser commit
lydell d8edf90
Fix spurious plus sign in lock.txt
lydell cfaeda0
init does not need to know which packages to supply another version for
lydell 328ffdf
Handle init virtual-dom version in a simpler way
lydell 0df4105
Make it more clear that elm/virtual-dom is an indirect constraint, no…
lydell f442869
Merge branch 'lamdera-next' into lydell-upgrade-native
lydell b2f4502
Use Data.FileEmbed.bsToExp for embedding files
lydell c1cdf7b
This makes the REPL work again at least
lydell 2443b54
Use Lamdera.replaceInFile instead of Perl (and use variables for file…
lydell 487e6fa
Update extra/dist/repl-worker.js
lydell abd76b4
`lamdera make` HTML generation needs data-elm too
lydell 095173c
First step towards hot reloading
lydell 0153bf4
Only do hot reloads in freeze mode
lydell 0ff0258
Refresh if BackendModel changed
lydell 237627f
Refresh if FrontendModel changed
lydell 1280ca2
OMG WE HAVE HOT RELOADING NOW
lydell d9e0237
Make the "FrontendModel changed!" message go away after seen
lydell d25dc1c
Remove outdated TODO comment
lydell 1184ee1
const instead of var
lydell 4120a93
Update extra/readme.md
lydell 554e6c0
Refer to github.com/lamdera/elm-* repos
lydell bfce918
Update branch names in .gitmodules
lydell 393b0f1
Fix current vs initial model in `_Lamdera_inject`
lydell 369cacb
Update to latest elm-core commit
lydell c83e76d
Fix error when hot reloading with no backend model (not leader)
lydell 55be0f9
Remove hardcoded paths
supermario 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 hidden or 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 |
|---|---|---|
|
|
@@ -4,3 +4,19 @@ | |
| [submodule "vendor/elm-format"] | ||
| path = vendor/elm-format | ||
| url = [email protected]:lamdera/elm-format.git | ||
| [submodule "extra/package-replacements/elm/virtual-dom"] | ||
| path = extra/package-replacements/elm/virtual-dom | ||
| url = [email protected]:lydell/virtual-dom.git | ||
| branch = hot-reload-stop | ||
| [submodule "extra/package-replacements/elm/browser"] | ||
| path = extra/package-replacements/elm/browser | ||
| url = [email protected]:lydell/browser.git | ||
| branch = lamdera | ||
| [submodule "extra/package-replacements/elm/html"] | ||
| path = extra/package-replacements/elm/html | ||
| url = [email protected]:lydell/html.git | ||
| branch = safe | ||
| [submodule "extra/package-replacements/elm/core"] | ||
| path = extra/package-replacements/elm/core | ||
| url = [email protected]:lydell/core.git | ||
| branch = lamdera | ||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -31,6 +31,7 @@ module Elm.Package | |
| , lamderaContainers | ||
| , time | ||
| , bytes | ||
| , toName | ||
| ) | ||
| where | ||
|
|
||
|
|
||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.