cadl/packages/playground-website
Timothee Guerin cda7ccf4d9
Playground: Migrate from swagger-ui-react to swagger-ui-dist (#3089)
swagger-ui-react pull in all the swagger ui dependencies which is a bit
anyoing as they are mostly optional and with pnpm requires you to build
native dependencies.
2024-04-01 17:13:08 -07:00
..
e2e update playwright (#2606) 2023-10-30 19:47:46 +00:00
samples Validate playground samples and fix docs to deprecated version (#2977) 2024-03-04 23:35:17 +00:00
src playground more generic file bug mechanism (#2807) 2024-01-19 14:56:43 -08:00
test Validate playground samples and fix docs to deprecated version (#2977) 2024-03-04 23:35:17 +00:00
.env Clean up capitalization, parentheses, and phrasing in docs (#2817) 2024-01-25 10:40:16 -08:00
.eslintignore Split playground package (#1965) 2023-05-31 08:49:16 -07:00
.eslintrc.cjs Vitest improvements: vitest-ui, watch mode for deps, debug config (#2791) 2024-01-22 09:56:55 -08:00
.gitignore Split playground package (#1965) 2023-05-31 08:49:16 -07:00
README.md Clean up capitalization, parentheses, and phrasing in docs (#2817) 2024-01-25 10:40:16 -08:00
index.html Playground bundle storage (#2587) 2023-10-31 15:04:48 -07:00
package.json Playground: Migrate from swagger-ui-react to swagger-ui-dist (#3089) 2024-04-01 17:13:08 -07: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 Migrate test framework to vitest (#2769) 2024-01-02 11:40:29 -08:00
vite.config.ts Rename references from microsoft.github.io/typespec to typespec.io (#2858) 2024-01-30 12:58:42 -08:00
vitest.config.ts Validate playground samples and fix docs to deprecated version (#2977) 2024-03-04 23:35:17 +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