skir 1.2.14 → 1.2.15
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 +2 -2
- package/dist/project_initializer.js +1 -1
- package/package.json +1 -1
- package/src/project_initializer.ts +1 -1
package/README.md
CHANGED
|
@@ -27,8 +27,8 @@ Write your schema once in a `.skir` file and generate idiomatic, type-safe code
|
|
|
27
27
|
- 📦 **GitHub imports** - Import types directly from GitHub repositories to share data structures across projects.
|
|
28
28
|
- 🔁 **Serialization modes** - Dense JSON for APIs/DBs, readable JSON for debugging, and binary for raw performance.
|
|
29
29
|
- 🕰️ **Safe schema evolution** - Built-in checks and clear rules so old and new data remain deserializable.
|
|
30
|
-
- 🧬 **
|
|
31
|
-
- 🔒 **
|
|
30
|
+
- 🧬 **Polymorphism done right** - Sum types let variants be constants or carry typed payloads for clean, explicit polymorphism.
|
|
31
|
+
- 🔒 **Prioritizes immutability** - Skir generates deeply immutable types with all fields required at construction time.
|
|
32
32
|
- 🗂️ **Key-indexed arrays** - Declare arrays like `[User|user_id]` and get fast key-based lookup APIs.
|
|
33
33
|
- 🛠️ **First-class tooling** - VS Code extension + LSP with validation, completion, and auto-formatting.
|
|
34
34
|
- 🧱 **Easy to extend** - Generators are regular NPM modules, so custom generators plug in cleanly.
|
|
@@ -66,7 +66,7 @@ generators:
|
|
|
66
66
|
# # --------------------------------------------------------------------------
|
|
67
67
|
# # C# code generator
|
|
68
68
|
# # Home: https://github.com/gepheum/skir-csharp-gen
|
|
69
|
-
# # To install runtime dependencies:
|
|
69
|
+
# # To install runtime dependencies: dotnet add package skir_client
|
|
70
70
|
# # --------------------------------------------------------------------------
|
|
71
71
|
# - mod: skir-csharp-gen
|
|
72
72
|
# outDir: ./skirout
|
package/package.json
CHANGED
|
@@ -80,7 +80,7 @@ generators:
|
|
|
80
80
|
# # --------------------------------------------------------------------------
|
|
81
81
|
# # C# code generator
|
|
82
82
|
# # Home: https://github.com/gepheum/skir-csharp-gen
|
|
83
|
-
# # To install runtime dependencies:
|
|
83
|
+
# # To install runtime dependencies: dotnet add package skir_client
|
|
84
84
|
# # --------------------------------------------------------------------------
|
|
85
85
|
# - mod: skir-csharp-gen
|
|
86
86
|
# outDir: ./skirout
|