-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade playground to OCaml 5 (#759)
- Separate the playground into its own opam package and move it under the `playground/` subdirectory - Update the pin of `js_top_worker` and `merlin-js` to versions that are compatible with OCaml 5 - Promote the generated JavaScript files for the top-level in the source tree and commit them to the repo under `playground/asset` - Add a router rule that serves (from the filesystem) the files in `playground/asset/` as `/play/**` - Hardcode a suffix (`-v1`) in the name of the playground assets so we can easily invalidate the cache when we update them - Update the welcome message and code examples of the playground (the example is a parallel version of the Fibonacci sequence) - Add documentation `HACKING.md` on how to re-generate the playground assets - Update the docker file to copy the files from `playground/asset`
- Loading branch information
Showing
28 changed files
with
124,622 additions
and
82 deletions.
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
!asset/ | ||
!data/ | ||
!src/ | ||
!playground/asset/ | ||
!tool/ | ||
!dune | ||
!dune-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
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
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
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
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
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,9 +1,3 @@ | ||
pin-depends: [ | ||
["esbuild.dev" "git+https://github.com/tmattio/opam-esbuild#7738af5912cc9f554d31da81d2334e88052102fb"] | ||
["tailwindcss.dev" "git+https://github.com/tmattio/opam-tailwindcss#7ef5bebbf48958370051b2368a4dd57b69627cf6"] | ||
["code-mirror.dev" "git+https://github.com/patricoferris/jsoo-code-mirror#8fe48910e265ff87f9fc94ceb7b3d19fac102a96"] | ||
["merlin-js.dev" "git+https://github.com/tmattio/merlin-js#916752d353dc98a079525494b7bf86c86095cbb1"] | ||
["js_top_worker-rpc.dev" "git+https://github.com/tmattio/js_top_worker#93822c2df1af9df36e6d02e2ce2dc81a810a1865"] | ||
["js_top_worker.dev" "git+https://github.com/tmattio/js_top_worker#93822c2df1af9df36e6d02e2ce2dc81a810a1865"] | ||
["js_top_worker-client.dev" "git+https://github.com/tmattio/js_top_worker#93822c2df1af9df36e6d02e2ce2dc81a810a1865"] | ||
] |
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 @@ | ||
asset/*.js filter=lfs diff=lfs merge=lfs -text |
Oops, something went wrong.