![]() This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [smol-toml](https://redirect.github.com/squirrelchat/smol-toml) | [`1.3.4` -> `1.4.0`](https://renovatebot.com/diffs/npm/smol-toml/1.3.4/1.4.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>squirrelchat/smol-toml (smol-toml)</summary> ### [`v1.4.0`](https://redirect.github.com/squirrelchat/smol-toml/releases/tag/v1.4.0) [Compare Source](https://redirect.github.com/squirrelchat/smol-toml/compare/v1.3.4...v1.4.0) This release introduces better support for integers, courtesy of [@​Gouvernathor](https://redirect.github.com/Gouvernathor)! It is now possible to parse integers that are larger than 53 bits as BigInts. It is also possible to parse all integers as BigInts, enabling full type preservation of TOML documents. The project is now tested against Node 24 as well, ensuring stability on the latest versions of Node.js. ##### What's Changed - Use more detailed TOML types by [@​Gouvernathor](https://redirect.github.com/Gouvernathor) in [https://github.com/squirrelchat/smol-toml/pull/40](https://redirect.github.com/squirrelchat/smol-toml/pull/40) - Serialize all numbers as floats by [@​Gouvernathor](https://redirect.github.com/Gouvernathor) in [https://github.com/squirrelchat/smol-toml/pull/42](https://redirect.github.com/squirrelchat/smol-toml/pull/42) - Use bigint for large numbers by [@​Gouvernathor](https://redirect.github.com/Gouvernathor) in [https://github.com/squirrelchat/smol-toml/pull/41](https://redirect.github.com/squirrelchat/smol-toml/pull/41) ##### New Contributors - [@​Gouvernathor](https://redirect.github.com/Gouvernathor) made their first contribution in [https://github.com/squirrelchat/smol-toml/pull/40](https://redirect.github.com/squirrelchat/smol-toml/pull/40) **Full Changelog**: https://github.com/squirrelchat/smol-toml/compare/v1.3.4...v1.4.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
api | ||
ruff | ||
shared | ||
ty | ||
.gitignore | ||
.prettierignore | ||
eslint.config.mjs | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json | ||
tsconfig.node.json |
playground
In-browser playground for Ruff. Available https://play.ruff.rs/.
Getting started
Install the NPM dependencies with npm install
, and run the development server with
npm start --workspace ruff-playground
or npm start --workspace ty-playground
.
You may need to restart the server after making changes to Ruff or ty to re-build the WASM
module.
To run the datastore, which is based
on Workers KV,
install the Wrangler CLI,
then run npx wrangler dev --local
from the ./playground/api
directory. Note that the datastore
is
only required to generate shareable URLs for code snippets. The development datastore does not
require Cloudflare authentication or login, but in turn only persists data locally.
Architecture
The playground is implemented as a single-page React application powered by Vite, with the editor experience itself powered by Monaco.
The playground stores state in localStorage
, but supports persisting code snippets to
a persistent datastore based
on Workers KV
and exposed via
a Cloudflare Worker.
The playground design is originally based on Tailwind Play, with additional inspiration from the Biome Playground.
Known issues
Stack overflows
If you see stack overflows in the playground, build the WASM module in release mode:
npm run --workspace ty-playground build:wasm
.