Update @studiometa/playground to 0.3.1#500
Open
titouanmathis wants to merge 6 commits intodevelopfrom
Open
Conversation
96f1a04 to
3b70c0d
Compare
ac70e61 to
0b20201
Compare
5e17f41 to
d0b8d37
Compare
Replace manual CopyPlugin + esbuild + tsgo pipeline with the new `dependencies` option from playground 0.3.1. This simplifies the meta.config.js significantly: - esm.sh: @motionone/easing, deepmerge - Self-hosted (bundled via tsdown): morphdom, @studiometa/js-toolkit - Self-hosted (local TypeScript): @studiometa/ui Also removes obsolete patches for @studiometa/playground@0.2.1 and monaco-editor (replaced by modern-monaco in 0.3.0). Co-authored-by: Claude <claude@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## develop #500 +/- ##
==============================================
- Coverage 67.96% 52.32% -15.65%
Complexity 20 20
==============================================
Files 77 4 -73
Lines 1998 86 -1912
Branches 357 0 -357
==============================================
- Hits 1358 45 -1313
+ Misses 558 41 -517
+ Partials 82 0 -82
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
The dependencies option generates /static/deps/... paths but the playground is served under /play/, so override with importMap to add the /play/ prefix. Co-authored-by: Claude <claude@anthropic.com>
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
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.
Update
@studiometa/playgrounddependency from0.2.1to0.3.1in bothpackages/playgroundandpackages/docs.Changes
0.3.0
monaco-editorwithmodern-monaco(built-in LSP, auto.d.tsfetching, Shiki syntax highlighting)eslintwithoxlinthtmlLanguagepreset option for HTML-superset template languages (Twig, Liquid, etc.).d.tsfiles for@studiometa/uiwith tsgo for TypeScript editor support0.3.1
dependenciesoption for managing script editor packages (esm.sh, self-hosted via tsdown)_headersfile generation forx-typescript-types(Cloudflare Pages / Netlify)Simplifications in this PR
CopyPlugin+esbuild+tsgopipeline with declarativedependenciesoptioncopy-webpack-pluginand@typescript/native-previewdependencies (replaced bytsdown)deepmerge.js,morphdom.js,motionone-easing.js)index.twig(import map URL resolution now handled internally)@studiometa/playground@0.2.1andmonaco-editor