cadl/packages/playground-website
Christopher Radek 52beb60a6b
add missing packages to upload-bundler (#4681)
#4678 ended up not working on account of the imports being incorrect.
Unfortunately updating to use the dist directory still causes problems
with ESM resolution (it attempts to import monaco editor since the
playground website is bundled into a single file), so reverting to the
hard-coded list for now to fix #4674

---------

Co-authored-by: Christopher Radek <Christopher.Radek@microsoft.com>
2024-10-10 18:16:07 +00:00
..
e2e Fix playground blank screen and formatter (#4549) 2024-09-26 20:02:34 +00:00
samples Fix playground wrong copy (#3126) 2024-04-06 00:24:04 +00:00
src add missing packages to upload-bundler (#4681) 2024-10-10 18:16:07 +00:00
test Import openapi3 document in playground (#3750) 2024-07-08 18:20:12 +00:00
.env Clean up capitalization, parentheses, and phrasing in docs (#2817) 2024-01-25 10:40:16 -08:00
.gitignore
README.md Clean up capitalization, parentheses, and phrasing in docs (#2817) 2024-01-25 10:40:16 -08:00
index.html Update prettier config to format trailing commas to `all` (Default) (#4457) 2024-09-16 20:20:57 +00:00
package.json add missing packages to upload-bundler (#4681) 2024-10-10 18:16:07 +00:00
tsconfig.config.json Vitest improvements: vitest-ui, watch mode for deps, debug config (#2791) 2024-01-22 09:56:55 -08:00
tsconfig.json Import openapi3 document in playground (#3750) 2024-07-08 18:20:12 +00:00
vite.config.ts Update prettier config to format trailing commas to `all` (Default) (#4457) 2024-09-16 20:20:57 +00:00
vite.lib.config.ts Import openapi3 document in playground (#3750) 2024-07-08 18:20:12 +00:00
vitest.config.ts Update prettier config to format trailing commas to `all` (Default) (#4457) 2024-09-16 20:20:57 +00:00

README.md

TypeSpec Playground Website

A self contained website for the TypeSpec Playground.

Use

  • npm start to start in dev mode
  • npm run preview to build and preview prod mode
  • npm run build to build for production

Configuration

To change the default configuration add a .env.local file in the root of this package.

The following environment variables are available:

# Bundle and use local version of TypeSpec libraries
VITE_USE_LOCAL_LIBRARIES=true