-
Notifications
You must be signed in to change notification settings - Fork 0
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
Dev playground with monaco-editor #1
Merged
Merged
Conversation
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
- `pnpm play` will run the playground locally - it will be published on github pages automatically too
the `https://typescript.azureedge.net/cdn/4.0.5/monaco/min/vs` one hasn't been updated more than 2 years.
gdamjan
had a problem deploying
to
github-pages
December 28, 2023 19:23
— with
GitHub Actions
Failure
gdamjan
had a problem deploying
to
github-pages
December 28, 2023 19:25
— with
GitHub Actions
Failure
TODO:
|
now it knows the type of CouchDB had to change the uri of the model so it looks for files in the virtual file:/// path
instead of the separate files generated with `tsc`. also use `@irclogs/api` as the module name everywhere, as is the package name
gdamjan
commented
Jan 11, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The playground should work both locally (
pnpm play
) and on github pages. Currently published at https://irclogs.github.io/api/. Based on monaco-editor, loads the types of the api and the library, so that you can write typescript and it will run in the browser.The CouchDB database will allow cross-origin access from the
https://irclogs.github.io
andhttp://localhost:8000
Origins.ps.
don't use the snippet here:
https://www.typescriptlang.org/dev/sandbox/
gives you millennia old monaco and typescript.