Skip to content

Release v0.3.3#59

Merged
titouanmathis merged 5 commits intomainfrom
release/0.3.3
Mar 11, 2026
Merged

Release v0.3.3#59
titouanmathis merged 5 commits intomainfrom
release/0.3.3

Conversation

@titouanmathis
Copy link
Contributor

Release v0.3.3

Fixed

  • Fix subpath import resolution for esm.sh URLs (e.g. @studiometa/js-toolkit/utils now correctly resolves to esm.sh/@studiometa/js-toolkit@x.y.z/utils) (#58)
  • Fix version lookup for subpath imports using the package name instead of the full specifier (#58)
  • Reject bare npm package names as source values with a warning and esm.sh fallback — source now only supports local file paths/globs (#58)
  • Fix bundle duplication by auto-externalizing import map specifiers in self-hosted builds (#58)

Full changelog: v0.3.2...release/0.3.3
Closes #57

titouanmathis and others added 4 commits March 10, 2026 22:19
…ndle deduplication

- Add getPackageName/getSubpath helpers to correctly split specifiers
  like '@studiometa/js-toolkit/utils' into package name + subpath
- Fix esm.sh URL format: version goes on package name before subpath
  (e.g. esm.sh/@scope/pkg@1.0/subpath instead of esm.sh/@scope/pkg/subpath@1.0)
- Reject bare npm package names as source values with a warning and
  esm.sh fallback (source only supports local file paths/globs)
- Auto-externalize import map specifiers in self-hosted bundles to
  prevent duplicating shared dependencies at runtime
- Pass merged import map keys from the preset to PlaygroundDependenciesPlugin
- Update tests to cover subpath imports, npm source rejection, and
  importMapKeys constructor parameter
- Update README: document subpath imports, clarify source field
  requirements, add bundle deduplication section, remove duplicated
  and outdated documentation sections

Closes #57

Co-authored-by: Claude <claude@anthropic.com>
…olution

Fix dependency resolution: subpath imports, DTS generation, and bundle deduplication
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
@github-actions
Copy link

Export Size

Unchanged

@studiometa/playground

Name Size Diff
createPlayground 1 B -
unzip 1 B -
zip 1 B -

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 10, 2026

Deploying studiometa-playground with  Cloudflare Pages  Cloudflare Pages

Latest commit: 05bd657
Status: ✅  Deploy successful!
Preview URL: https://2556ed4f.studiometa-playground.pages.dev
Branch Preview URL: https://release-0-3-3.studiometa-playground.pages.dev

View logs

@codecov
Copy link

codecov bot commented Mar 11, 2026

Codecov Report

❌ Patch coverage is 95.65217% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 17.82%. Comparing base (a2966bb) to head (05bd657).
⚠️ Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
...nd/src/lib/plugins/PlaygroundDependenciesPlugin.ts 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #59      +/-   ##
==========================================
+ Coverage   16.04%   17.82%   +1.77%     
==========================================
  Files          53       53              
  Lines         916      937      +21     
  Branches      156      165       +9     
==========================================
+ Hits          147      167      +20     
- Misses        756      757       +1     
  Partials       13       13              
Flag Coverage Δ
unittests 17.82% <95.65%> (+1.77%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Co-authored-by: Claude <claude@anthropic.com>
@titouanmathis titouanmathis merged commit db2aff6 into main Mar 11, 2026
7 checks passed
@titouanmathis titouanmathis deleted the release/0.3.3 branch March 11, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant