@cratis/arc 22.4.0 → 22.6.0
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 +33 -1
- package/package.json +15 -2
package/README.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# Cratis Arc
|
|
2
2
|
|
|
3
|
-
Arc is an opinionated CQRS application framework for ASP.NET Core with commands, queries, validation, authorization, and TypeScript proxy generation.
|
|
3
|
+
Arc is an open-source (MIT) opinionated CQRS application framework for ASP.NET Core with commands, queries, validation, authorization, and TypeScript proxy generation. It works without event sourcing, with optional Chronicle integration.
|
|
4
4
|
|
|
5
5
|
Arc hosts application behavior, executes command and query pipelines, exposes recognized contracts over HTTP, and generates TypeScript clients for them. Its packages also cover observable queries, validation, identity and tenancy, React integration, current-state persistence, OpenAPI, analyzers, and testing. Chronicle event sourcing and Cratis Components are optional integrations.
|
|
6
6
|
|
|
7
|
+
Arc reflects a broader Cratis conviction: application plumbing should not be the hard part. Commands, queries, validation, and authorization are written as plain, idiomatic .NET code, designed to reduce friction and boilerplate in service of productivity, quality, and reliability. Arc is part of one deliberately simple ecosystem — AI-friendly by design, with free [AI skills](https://github.com/Cratis/AI) for building with the stack.
|
|
8
|
+
|
|
7
9
|
[](https://www.nuget.org/packages/Cratis.Arc)
|
|
8
10
|
[](https://www.npmjs.com/package/@cratis/arc)
|
|
9
11
|
[](https://github.com/Cratis/Arc/actions/workflows/dotnet-build.yml)
|
|
@@ -12,6 +14,9 @@ Arc hosts application behavior, executes command and query pipelines, exposes re
|
|
|
12
14
|
## Start here
|
|
13
15
|
|
|
14
16
|
- [Browse the Arc documentation](https://www.cratis.io/arc/)
|
|
17
|
+
- [Read why Arc exists](https://github.com/Cratis/Arc/blob/main/Documentation/why-arc.md)
|
|
18
|
+
- [Map familiar concepts when coming from MediatR and MVC](https://github.com/Cratis/Arc/blob/main/Documentation/coming-from-mediatr-and-mvc.md)
|
|
19
|
+
- [Try runnable samples](https://github.com/Cratis/Samples) — including Idea Loom and Library
|
|
15
20
|
- [Choose a documented application path](#choose-a-path)
|
|
16
21
|
- [Understand Arc's independent boundary](#arc-does-not-require-event-sourcing)
|
|
17
22
|
- [Start an Arc host](#start-an-arc-host)
|
|
@@ -54,6 +59,8 @@ Arc.Core does not depend on Chronicle. Commands and queries can use current-stat
|
|
|
54
59
|
|
|
55
60
|
The Chronicle integration is optional and supplies event-sourced behavior when configured. Arc retains its command, query, validation, authorization, and generated-contract boundary.
|
|
56
61
|
|
|
62
|
+
[Chronicle](https://github.com/Cratis/Chronicle) is Cratis's storage-agnostic event-sourcing database and runtime — MIT licensed and free to use; see the [Chronicle documentation](https://www.cratis.io/chronicle/) for its own scope and setup.
|
|
63
|
+
|
|
57
64
|
## Relationship to Components
|
|
58
65
|
|
|
59
66
|
Components is a React component library aligned with Arc application patterns. See the [Components documentation](https://www.cratis.io/components/) for its packages and setup.
|
|
@@ -121,6 +128,13 @@ Repository development currently requires the SDK and toolchain versions declare
|
|
|
121
128
|
|
|
122
129
|
Before submitting documentation-only work, verify its links, anchors, and examples explicitly; current automated documentation checks are path-scoped. Source changes must pass the owning repository's applicable build, specification, TypeScript, and documentation gates.
|
|
123
130
|
|
|
131
|
+
* [.NET SDK 10.0.400+](https://dotnet.microsoft.com/en-us/). Arc's analyzers and source generators are built
|
|
132
|
+
against Roslyn 5.9.0, which ships with .NET SDK 10.0.400 and newer. On an older SDK band the compiler
|
|
133
|
+
refuses to load them (CS9057), silently disabling proxy generation and the ARC*/ARCCHR* analyzers.
|
|
134
|
+
Consuming the `Cratis.Arc` packages carries the same floor. Raising this floor is a minor version bump.
|
|
135
|
+
* [Node 23+](https://nodejs.org/en)
|
|
136
|
+
* [Yarn](https://yarnpkg.com)
|
|
137
|
+
|
|
124
138
|
## Community and repository
|
|
125
139
|
|
|
126
140
|
| Path | Destination |
|
|
@@ -129,5 +143,23 @@ Before submitting documentation-only work, verify its links, anchors, and exampl
|
|
|
129
143
|
| Bugs and feature requests | [GitHub Issues](https://github.com/Cratis/Arc/issues) |
|
|
130
144
|
| Releases | [GitHub Releases](https://github.com/Cratis/Arc/releases) |
|
|
131
145
|
| Documentation | [www.cratis.io/arc](https://www.cratis.io/arc/) |
|
|
146
|
+
| Blog | [blog.cratis.io](https://blog.cratis.io) |
|
|
132
147
|
| Security reports | [Private security reporting](mailto:oss@cratis.io?subject=Security%3A) |
|
|
133
148
|
| License | [`LICENSE`](https://github.com/Cratis/Arc/blob/main/LICENSE) |
|
|
149
|
+
|
|
150
|
+
## The Cratis ecosystem
|
|
151
|
+
|
|
152
|
+
Arc is part of [Cratis](https://www.cratis.io) — free, MIT-licensed tools for building event-sourced and CQRS applications.
|
|
153
|
+
|
|
154
|
+
- **[Chronicle](https://github.com/Cratis/Chronicle)** — event-sourcing database and runtime. Orleans-based kernel, pluggable storage (MongoDB default; PostgreSQL, SQL Server, SQLite, in-memory), language-agnostic gRPC contracts. [Docs](https://www.cratis.io/chronicle/)
|
|
155
|
+
- **Chronicle clients** — first-class [.NET SDK](https://github.com/Cratis/Chronicle), plus [TypeScript](https://github.com/Cratis/Chronicle.TypeScript), [Kotlin/Java](https://github.com/Cratis/Chronicle.Kotlin), and [Elixir](https://github.com/Cratis/Chronicle.Elixir); [Python](https://github.com/Cratis/Chronicle.Python) coming soon (pre-alpha). AI agents connect through the [Chronicle MCP server](https://github.com/Cratis/Chronicle.Mcp).
|
|
156
|
+
- **Arc** (this repository) — opinionated CQRS framework for ASP.NET Core with commands, queries, validation, authorization, and TypeScript proxy generation. Works without event sourcing. [Docs](https://www.cratis.io/arc/)
|
|
157
|
+
- **[Components](https://github.com/Cratis/Components)** — React components aligned with Arc patterns. [Docs](https://www.cratis.io/components/)
|
|
158
|
+
- **[CLI](https://github.com/Cratis/cli) + Workbench** — inspect and diagnose Chronicle from the terminal or the browser. [Docs](https://www.cratis.io/cli/)
|
|
159
|
+
- **Model-first layer (experimental)** — Studio, [Screenplay](https://github.com/Cratis/Screenplay), [Stage](https://github.com/Cratis/Stage), [Scene](https://github.com/Cratis/Scene), [Prologue](https://github.com/Cratis/Prologue)
|
|
160
|
+
- **Supporting** — [Fundamentals](https://github.com/Cratis/Fundamentals), [Specifications](https://github.com/Cratis/Specifications), [Synopsis](https://github.com/Cratis/Synopsis), [Lens](https://github.com/Cratis/Lens), [Narrator](https://github.com/Cratis/Narrator), and free [AI tooling](https://github.com/Cratis/AI) (preview); Ensemble coming soon (pre-release)
|
|
161
|
+
- **[Samples](https://github.com/Cratis/Samples)** — runnable event sourcing and CQRS samples for the whole stack
|
|
162
|
+
|
|
163
|
+
Everything Cratis publishes today is MIT licensed and free to use.
|
|
164
|
+
|
|
165
|
+
Release notes and announcements: the [Cratis blog](https://blog.cratis.io).
|
package/package.json
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cratis/arc",
|
|
3
|
-
"version": "22.
|
|
4
|
-
"description": "",
|
|
3
|
+
"version": "22.6.0",
|
|
4
|
+
"description": "TypeScript command, query, validation, identity, and messaging runtime for Cratis Arc — the CQRS application framework for ASP.NET Core — used by generated proxies.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"cratis",
|
|
7
|
+
"arc",
|
|
8
|
+
"cqrs",
|
|
9
|
+
"commands",
|
|
10
|
+
"queries",
|
|
11
|
+
"typescript",
|
|
12
|
+
"proxy",
|
|
13
|
+
"validation",
|
|
14
|
+
"aspnetcore",
|
|
15
|
+
"event-sourcing"
|
|
16
|
+
],
|
|
17
|
+
"homepage": "https://www.cratis.io/arc/",
|
|
5
18
|
"author": "Cratis",
|
|
6
19
|
"license": "MIT",
|
|
7
20
|
"repository": {
|