cadl/packages/samples
Timothee Guerin 0dea649cd7
Update dependencies to resolve vulnerabilities and license issue (#3081)
- Remove unused rollup-plugin-dts dep that had problematic license
- Update dependencies to fix vulnerabilies
2024-03-29 21:22:06 +00:00
..
scratch 1/3 TypeSpec: Find/Replace Content 2023-02-16 13:07:22 -08:00
specs Deprecate `@service` version and allow `@OpenAPI.info` to take all properties allowed by openapi (#2902) 2024-02-28 22:56:09 +00:00
src Feature: `@encodedName` decorator (#2779) 2024-01-12 21:28:31 +00:00
test Deprecate `@service` version and allow `@OpenAPI.info` to take all properties allowed by openapi (#2902) 2024-02-28 22:56:09 +00:00
.eslintrc.cjs Vitest improvements: vitest-ui, watch mode for deps, debug config (#2791) 2024-01-22 09:56:55 -08:00
LICENSE Add @cadl-lang/samples with existing generic samples 2021-10-21 09:24:03 -07:00
README.md Samples as tests (#2215) 2023-08-04 10:19:02 -07:00
package.json Update dependencies to resolve vulnerabilities and license issue (#3081) 2024-03-29 21:22:06 +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 Migrate test framework to vitest (#2769) 2024-01-02 11:40:29 -08:00
tspconfig.yaml 2/3 TypeSpec: Renaming files 2023-02-16 13:07:22 -08:00
vitest.config.ts Migrate test framework to vitest (#2769) 2024-01-02 11:40:29 -08:00

README.md

TypeSpec Samples

This project has a collection of samples used to demonstrate and test various TypeSpec features.

It is not published as an npm package.

npm run test # Check Samples match snapshots
npm run test-official # run test same as CI


npm run test:regen -- -g "<sample-name>" # Regen of this name

npm run regen-samples # Regen all samples.