Skip to content

Commit

Permalink
Playground bundle storage (#2587)
Browse files Browse the repository at this point in the history
progress for [#2044](#2044)

Bundle every package and upload it to a referencable endpoint.

Also add the ability for the playground to manage it owns importmap or
bundle local libraries automatically.
  • Loading branch information
timotheeguerin authored Oct 31, 2023
1 parent 2fb62e6 commit 7d2ec8b
Show file tree
Hide file tree
Showing 42 changed files with 3,711 additions and 2,838 deletions.
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ celerybeat-schedule
*.sage.py

# Environments
.env
/.env
.env.local
.venv
env/
venv/
Expand Down Expand Up @@ -159,9 +160,6 @@ jspm_packages/
# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# next.js build output
.next

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"changes": [
{
"packageName": "@typespec/bundler",
"comment": "Add a new cli `typespec-bundler`",
"type": "none"
},
{
"packageName": "@typespec/bundler",
"comment": "Expose a bundle manifest with the relative importmap, package name and version.",
"type": "none"
}
],
"packageName": "@typespec/bundler"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"changes": [
{
"packageName": "@typespec/playground",
"comment": "Ability to configure via `createBrowserHost` if library loading should use system `importmap` or the es-module-shim library with `importmap-shim`. This was added due to the lack of support for external source map in browsers.",
"type": "none"
},
{
"packageName": "@typespec/playground",
"comment": "[vite plugin] Provide the ability to configure bundling local libraries with the playground or manage the `importmap` yourself with `skipBundleLibraries` option.",
"type": "none"
}
],
"packageName": "@typespec/playground"
}
Loading

0 comments on commit 7d2ec8b

Please sign in to comment.