example tsp project

This commit is contained in:
2025-03-11 09:14:34 -04:00
commit 9f77150784
10 changed files with 6957 additions and 0 deletions

27
package.json Normal file
View File

@@ -0,0 +1,27 @@
{
"name": "@foo/cms",
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "multiview [npm run compile -- --watch] [npm run serve]",
"compile": "npm run clean && tsp compile src",
"serve": "counterfact ./openapi.json server --prefix api/",
"clean": "echo foo"
},
"exports": {
"./crud": "./src/crud.tsp"
},
"peerDependencies": {
"@typespec/compiler": "latest",
"@typespec/http": "latest",
"@typespec/openapi3": "latest"
},
"devDependencies": {
"@pojagi/http-server-drf": "../http-server-drf",
"@typespec/compiler": "latest",
"@typespec/http": "latest",
"@typespec/openapi3": "latest",
"counterfact": "^0.25.5",
"multiview": "^3.0.1"
}
}