@0xsarwagya/ontoly-diagnostics 0.1.0-alpha.18 → 1.0.0-rc.2

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.
Files changed (2) hide show
  1. package/README.md +19 -6
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -1,9 +1,5 @@
1
1
  # @0xsarwagya/ontoly-diagnostics
2
2
 
3
- Shared diagnostic constructors for Ontoly.
4
-
5
- This package is part of [Ontoly](https://github.com/0xsarwagya/ontoly), a TypeScript-native software intelligence engine that builds a deterministic Software Graph.
6
-
7
3
  ## Responsibility
8
4
 
9
5
  `@0xsarwagya/ontoly-diagnostics` keeps diagnostic construction and diagnostic
@@ -19,12 +15,29 @@ boundaries.
19
15
  pnpm add @0xsarwagya/ontoly-diagnostics
20
16
  ```
21
17
 
18
+ ## API
19
+
20
+ - Diagnostic constructors shared across packages.
21
+ - Stable diagnostic severity, code, and provenance helpers.
22
+
23
+ ## Example
24
+
25
+ ```ts
26
+ import { createDiagnostic } from "@0xsarwagya/ontoly-diagnostics";
27
+
28
+ const diagnostic = createDiagnostic({
29
+ severity: "warning",
30
+ code: "EXAMPLE_WARNING",
31
+ message: "Example graph warning.",
32
+ });
33
+ ```
34
+
22
35
  ## Status
23
36
 
24
- Public Preview package for Ontoly v0.1.0-alpha.18. The public API is versioned with the Software Graph and RFC process.
37
+ Release Candidate package for Ontoly v1.0.0-rc.2. Public contracts are governed by the Software Graph specification and RFC process.
25
38
 
26
39
  ## Links
27
40
 
28
41
  - [Repository](https://github.com/0xsarwagya/ontoly)
29
- - [Documentation](https://ontoly.sarwagya.wtf)
42
+ - [Documentation](https://oss.sarwagya.wtf/ontoly)
30
43
  - [Issues](https://github.com/0xsarwagya/ontoly/issues)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xsarwagya/ontoly-diagnostics",
3
- "version": "0.1.0-alpha.18",
3
+ "version": "1.0.0-rc.2",
4
4
  "description": "Shared diagnostic constructors for Ontoly.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -9,7 +9,7 @@
9
9
  "url": "git+https://github.com/0xsarwagya/ontoly.git",
10
10
  "directory": "packages/diagnostics"
11
11
  },
12
- "homepage": "https://ontoly.sarwagya.wtf",
12
+ "homepage": "https://oss.sarwagya.wtf/ontoly",
13
13
  "sideEffects": false,
14
14
  "exports": {
15
15
  ".": {
@@ -23,7 +23,7 @@
23
23
  "LICENSE"
24
24
  ],
25
25
  "dependencies": {
26
- "@0xsarwagya/ontoly-core": "0.1.0-alpha.18"
26
+ "@0xsarwagya/ontoly-core": "1.0.0-rc.2"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public"
@@ -41,8 +41,8 @@
41
41
  "url": "https://github.com/sponsors/0xsarwagya"
42
42
  },
43
43
  "engines": {
44
- "node": ">=22.0.0",
45
- "pnpm": ">=11.0.0"
44
+ "node": ">=20.0.0",
45
+ "pnpm": ">=10.0.0"
46
46
  },
47
47
  "main": "./dist/index.js",
48
48
  "types": "./dist/index.d.ts",