-
Notifications
You must be signed in to change notification settings - Fork 50
Update to 0.15.0 PureScript #274
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
Closed
JordanMartinez
wants to merge
24
commits into
purescript:master
from
JordanMartinez:update-to-0.15-purs
Closed
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
00ed3da
Update changelog for last release
JordanMartinez 098fb42
Update purescript deps for 0.15.0; drop cst dep
JordanMartinez 905d54d
Upgrade to latest pkg set; install entire set
JordanMartinez 3880074
Get server code to compile
JordanMartinez 37cf79a
Migrated FFI to ES modules via 'lebab'
JordanMartinez db55540
Removed '"use strict";' in FFI files
JordanMartinez 479619b
Remove redundant import
JordanMartinez 52dc624
Update to 0.15.0 for client
JordanMartinez 473ca20
Migrate FFI in client to ES modules
JordanMartinez b8debc4
Account for breaking changes
JordanMartinez 32c52a7
Fix spago transitive deps error
JordanMartinez c534443
Add changelog entry
JordanMartinez 7c2b46e
Update spago to 0.20.9
JordanMartinez 683e658
Support shims via es-module-shims
JordanMartinez c6d0300
Update package set to latest one; drop debug override
JordanMartinez 958b736
Move setup/teardown iframe fns to FFI file
JordanMartinez b3f5009
Add jquery a dependency
JordanMartinez 173330b
Just send JS code to iframe
JordanMartinez a431f57
Add http-server as dev dep
JordanMartinez 0074fbd
Update package set to latest version
JordanMartinez 022095c
Refactor scripts; include ace-builds as dev dep
JordanMartinez ee85437
Ignore vscode settings
JordanMartinez 8c35d23
Fix API decoder
JordanMartinez 7d599d9
Fix import sort
JordanMartinez 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
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 |
---|---|---|
|
@@ -8,3 +8,4 @@ | |
/.stack* | ||
/public/js/index.js | ||
.spago/ | ||
.vscode/ |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { main } from "./public/js/output/Main/index.js"; | ||
|
||
main(); |
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 |
---|---|---|
@@ -1,22 +1,5 @@ | ||
let upstream = | ||
https://github.com/purescript/package-sets/releases/download/psc-0.13.6-20200404/packages.dhall sha256:f239f2e215d0cbd5c203307701748581938f74c4c78f4aeffa32c11c131ef7b6 | ||
https://github.com/purescript/package-sets/releases/download/psc-0.15.0-20220513/packages.dhall | ||
sha256:1ed784f37ae6131d99acd542d058d5ce39954ccaacc3adba5cc7cf1549d2bffa | ||
|
||
let additions = | ||
{ ace = | ||
{ repo = "https://github.com/purescript-contrib/purescript-ace.git" | ||
, version = "v7.0.0" | ||
, dependencies = | ||
[ "arrays" | ||
, "console" | ||
, "effect" | ||
, "foreign" | ||
, "nullable" | ||
, "prelude" | ||
, "refs" | ||
, "web-html" | ||
, "web-uievents" | ||
] | ||
} | ||
} | ||
|
||
in upstream // additions | ||
in upstream |
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 |
---|---|---|
|
@@ -5,7 +5,59 @@ | |
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"> | ||
<meta content="utf-8" http-equiv="encoding"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script src="js/frame.js"></script> | ||
<script> | ||
window.esmsInitOptions = { | ||
// -- Hooks -- | ||
// Module load error | ||
onerror: (e) => { | ||
console.log("Error while loading module: "); | ||
console.log(e); | ||
throw e; | ||
}, | ||
}; | ||
</script> | ||
<!-- | ||
JSPM Generator Import Map | ||
Edit URL: https://generator.jspm.io/#Y2NnYGCzD80rySzJSU1hSMpM183MK0lNTy1yMNQz0zM1ZEhJTc7MTczRyyp2MDTQM9YzZChKTUwu0U3Jz3UwNNMzxCqiX5xaVJZaBJGAKystzUxxsACaYQQAoBlP83cA | ||
--> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"big-integer": "https://ga.jspm.io/npm:[email protected]/BigInteger.js", | ||
"decimal.js": "https://ga.jspm.io/npm:[email protected]/decimal.js", | ||
"react": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"react-dom": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"react-dom/server": "https://ga.jspm.io/npm:[email protected]/server.browser.js", | ||
"uuid": "https://ga.jspm.io/npm:[email protected]/dist/esm-browser/index.js" | ||
}, | ||
"scopes": { | ||
"https://ga.jspm.io/": { | ||
"object-assign": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"react": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"scheduler": "https://ga.jspm.io/npm:[email protected]/index.js" | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<!-- ES Module Shims: Import maps polyfill for modules browsers without import maps support (all except Chrome 89+) --> | ||
<script async src="https://ga.jspm.io/npm:[email protected]/dist/es-module-shims.js" integrity="sha384-ZGtUNdKMtA2sSrO9dN9d2TOeiSlXlDSrOrasgO9YoKR4LsDV7RLdUvvX1M0gCkl2" crossorigin="anonymous"></script> | ||
|
||
<link rel="modulepreload" href="https://ga.jspm.io/npm:[email protected]/BigInteger.js" integrity="sha384-Lxn1K4ox8//F5O+uihYrTIJvbfM+UJaRL2SdFA2s/z0v6i5TrWg9B8RzfjM60R9y"/> | ||
<link rel="modulepreload" href="https://ga.jspm.io/npm:[email protected]/decimal.js" integrity="sha384-camBDJB1KoavtyRdQfdzzR4mj+uAKnNlvseJIwqKYOaHWnjZmnXR+1vyBP1WlZd0"/> | ||
<link rel="modulepreload" href="https://ga.jspm.io/npm:[email protected]/index.js" integrity="sha384-iQp1zoaqIhfUYyYkz3UNk1QeFfmBGgt1Ojq0kZD5Prql1g7fgJVzVgsjDoR65lv8"/> | ||
<link rel="modulepreload" href="https://ga.jspm.io/npm:[email protected]/cjs/react-dom-server.browser.production.min.js" integrity="sha384-XL5bjsaJ5UPjTIPsyzUfscq41OFbVXsLojl53DCgFfdzKNNUL2MOSd0WM/upjd53"/> | ||
<link rel="modulepreload" href="https://ga.jspm.io/npm:[email protected]/cjs/react-dom.production.min.js" integrity="sha384-HDQjgsF+F2j5XuiiDtCiuLA1vgyHr9ONiNrBhKmJEVa43KqIZdAB7VN2+QjUGwvq"/> | ||
<link rel="modulepreload" href="https://ga.jspm.io/npm:[email protected]/index.js" integrity="sha384-zAu0L7n/xnRAG7+D/qd1K4E1/2tYK4hL3puH/5YEliHNnO3OOt5jUhnnemFTHmIG"/> | ||
<link rel="modulepreload" href="https://ga.jspm.io/npm:[email protected]/server.browser.js" integrity="sha384-dsW+4a3rjWELxqtR1rVEIeLNHGyMjRFwdBVz6OG30oBLs8tO2/dYUIxEvc515PSZ"/> | ||
<link rel="modulepreload" href="https://ga.jspm.io/npm:[email protected]/index.js" integrity="sha384-T0mNrKFgmKBye+m7XrpShrh+7kfix2zQd9qrR8xytnppcxESpgzrb4IJXvE+uJcl"/> | ||
<link rel="modulepreload" href="https://ga.jspm.io/npm:[email protected]/cjs/react.production.min.js" integrity="sha384-pTMZhybzHZ+1G029kWUmoGvTrBp1C+2oJAkZV48BBq7+e6Hk3bGuXtvxT2vQfBqj"/> | ||
<link rel="modulepreload" href="https://ga.jspm.io/npm:[email protected]/index.js" integrity="sha384-jVagjV+2YtlseazU2byX6gMLPHaA5Ps2c6HhvsGDlWjn45YCCoU1q+QtQTOb1MjT"/> | ||
<link rel="modulepreload" href="https://ga.jspm.io/npm:[email protected]/index.js" integrity="sha384-HIW1B3OQdGPkUEgh29MiYoUKQp+mFTjw50hRVvGhZgUaNYrUFYN07a+3CqC0/I7L"/> | ||
<link rel="modulepreload" href="https://ga.jspm.io/npm:[email protected]/dist/esm-browser/index.js" integrity="sha384-y7UmGnwe+/V/S4AD5T6MLU9dHjA3PLvuVGNhrqZApiNbq9Lf8s3aNRrcnzOa+qtR"/> | ||
|
||
|
||
<script type="module" src="js/frame.js"></script> | ||
</head> | ||
<body> | ||
<main id="main"></main> | ||
|
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.
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.
Perhaps we should use 3
spago.dhall
files: a shared one, one for dev and one for prod?