sheridan-typespec-aspnet 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/package.json +12 -2
package/README.md
CHANGED
|
@@ -4,6 +4,12 @@ A [TypeSpec](https://typespec.io) emitter that will generate ASP.NET Core server
|
|
|
4
4
|
|
|
5
5
|
**Status: early development.** The emitter does not generate a server yet; it writes C# models, enums and unions, with JSON converters, one JSON setup and validation attributes, and service interfaces with result types for your code to implement, with a context that gives it the request. It also creates a solution with a host project that builds, and a stub implementing each service interface, registered with dependency injection. See the [architecture](docs/architecture.md), the [plan](docs/plan.md) and [issues](https://github.com/two4suited/Sheridan.Typespec.Aspnet/issues).
|
|
6
6
|
|
|
7
|
+
Install it from npm (links to files and issues here need access to the repository):
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install --save-dev sheridan-typespec-aspnet
|
|
11
|
+
```
|
|
12
|
+
|
|
7
13
|

|
|
8
14
|
|
|
9
15
|
## Options
|
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sheridan-typespec-aspnet",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "TypeSpec emitter that generates ASP.NET Core servers in C#",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/two4suited/Sheridan.Typespec.Aspnet.git"
|
|
9
|
+
},
|
|
6
10
|
"type": "module",
|
|
7
11
|
"engines": {
|
|
8
12
|
"node": ">=22.0.0"
|
|
@@ -51,5 +55,11 @@
|
|
|
51
55
|
"prettier": "^3.10.1",
|
|
52
56
|
"typescript": "~6.0.3",
|
|
53
57
|
"vitest": "^5.1.2"
|
|
54
|
-
}
|
|
58
|
+
},
|
|
59
|
+
"keywords": [
|
|
60
|
+
"typespec",
|
|
61
|
+
"aspnet",
|
|
62
|
+
"csharp",
|
|
63
|
+
"emitter"
|
|
64
|
+
]
|
|
55
65
|
}
|