@okfit/core 0.11.3 → 0.11.5
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/Actor.js +1 -2
- package/AttestedComputation.js +1 -2
- package/Bundle.js +3 -4
- package/Concept.js +1 -2
- package/ConceptId.js +1 -2
- package/Derive.js +1 -2
- package/Diagnostic.js +5 -5
- package/Generated.js +1 -2
- package/Graph.js +1 -2
- package/IndexDocument.js +1 -2
- package/Integrity.js +1 -2
- package/LogDocument.js +1 -2
- package/OkfitConfig.js +1 -2
- package/Source.js +1 -2
- package/Status.js +1 -2
- package/Timestamp.js +1 -2
- package/Validate.js +1 -2
- package/Verification.js +1 -2
- package/index.d.ts +1 -39
- package/index.js +1 -2
- package/internal/conceptDecode.js +1 -2
- package/internal/fence.js +1 -2
- package/internal/frontmatter.js +5 -3
- package/internal/links.js +3 -3
- package/internal/lintRules.js +4 -5
- package/internal/position.js +1 -2
- package/internal/posixPath.js +1 -2
- package/internal/reserved.js +3 -4
- package/internal/templates.js +1 -2
- package/internal/walk.js +1 -2
- package/internal/yamlPathSpan.js +1 -2
- package/package.json +9 -9
package/Actor.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/Actor.ts
|
|
4
4
|
const ACTOR_RE = /^(?:[^\s/:]+\/[^\s]+|[A-Za-z][A-Za-z0-9_-]*:[^\s]+)$/u;
|
|
5
5
|
const isHuman = (actor) => actor.startsWith("human:");
|
|
6
6
|
const form = (actor) => {
|
|
@@ -46,5 +46,4 @@ const ActorPattern = Schema.String.pipe(Schema.check(Schema.isPattern(ACTOR_RE,
|
|
|
46
46
|
examples: ["human:spencer", "human:spencer*"]
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
//#endregion
|
|
50
49
|
export { Actor, ActorPattern };
|
package/AttestedComputation.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Effect, Schema } from "effect";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/AttestedComputation.ts
|
|
4
4
|
/**
|
|
5
5
|
* One declared input of an attested computation.
|
|
6
6
|
* @public
|
|
@@ -36,5 +36,4 @@ var AttestedComputation = class extends Schema.Class("AttestedComputation")({
|
|
|
36
36
|
attester: Schema.optionalKey(ComputationAttester)
|
|
37
37
|
}) {};
|
|
38
38
|
|
|
39
|
-
//#endregion
|
|
40
39
|
export { AttestedComputation, ComputationAttester, ComputationExecutor, ComputationParameter };
|
package/Bundle.js
CHANGED
|
@@ -14,7 +14,7 @@ import { FrontmatterDecodeError, MarkdownDocument, YamlFrontmatter } from "@effe
|
|
|
14
14
|
import { DescendError } from "@effected/walker";
|
|
15
15
|
import { YamlParseError } from "@effected/yaml";
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
// src/Bundle.ts
|
|
18
18
|
/**
|
|
19
19
|
* The bundle root does not exist or is not a directory (D-9).
|
|
20
20
|
*
|
|
@@ -141,7 +141,7 @@ const loadMarkdown = (file, text) => Effect.gen(function* () {
|
|
|
141
141
|
log: result.document
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
|
-
const node = document.frontmatter;
|
|
144
|
+
const node = Option.getOrUndefined(document.frontmatter);
|
|
145
145
|
const decoded = node === void 0 ? {
|
|
146
146
|
raw: Option.none(),
|
|
147
147
|
diagnostics: []
|
|
@@ -175,7 +175,7 @@ const loadMarkdown = (file, text) => Effect.gen(function* () {
|
|
|
175
175
|
path: file,
|
|
176
176
|
frontmatter: result.concept.value,
|
|
177
177
|
document,
|
|
178
|
-
computationBody:
|
|
178
|
+
computationBody: Option.map(computation, (section) => section.body)
|
|
179
179
|
})
|
|
180
180
|
};
|
|
181
181
|
});
|
|
@@ -259,5 +259,4 @@ var Bundle = class {
|
|
|
259
259
|
});
|
|
260
260
|
};
|
|
261
261
|
|
|
262
|
-
//#endregion
|
|
263
262
|
export { Bundle, BundleDepthExceededError, BundleReadError, BundleRootNotFoundError, LoadedBundle, LoadedConcept };
|
package/Concept.js
CHANGED
|
@@ -7,7 +7,7 @@ import { Status } from "./Status.js";
|
|
|
7
7
|
import { Verification } from "./Verification.js";
|
|
8
8
|
import { Schema } from "effect";
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
// src/Concept.ts
|
|
11
11
|
/**
|
|
12
12
|
* The exact `type` value that enables the computation family (D-20).
|
|
13
13
|
* @public
|
|
@@ -42,5 +42,4 @@ var Concept = class extends Schema.Class("Concept")({
|
|
|
42
42
|
raw: Schema.Record(Schema.String, Schema.Unknown)
|
|
43
43
|
}) {};
|
|
44
44
|
|
|
45
|
-
//#endregion
|
|
46
45
|
export { ATTESTED_COMPUTATION_TYPE, Concept };
|
package/ConceptId.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { basename } from "./internal/posixPath.js";
|
|
2
2
|
import { Option, Schema } from "effect";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/ConceptId.ts
|
|
5
5
|
const RESERVED_BASENAMES = /* @__PURE__ */ new Set(["index.md", "log.md"]);
|
|
6
6
|
const isReservedFile = (path) => RESERVED_BASENAMES.has(basename(path));
|
|
7
7
|
const fromPath = (path) => {
|
|
@@ -26,5 +26,4 @@ const ConceptId = Object.assign(Schema.String.pipe(Schema.brand("ConceptId")), {
|
|
|
26
26
|
isReservedFile
|
|
27
27
|
});
|
|
28
28
|
|
|
29
|
-
//#endregion
|
|
30
29
|
export { ConceptId };
|
package/Derive.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Actor } from "./Actor.js";
|
|
|
2
2
|
import { indexEntry, indexFrontmatter, indexSection, logEntry } from "./internal/templates.js";
|
|
3
3
|
import { DateTime, Schema } from "effect";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/Derive.ts
|
|
6
6
|
/** Trust tier from `verified` (OKF 0.2 §5.3): none maps to unverified; only non-human maps to machine-confirmed; any `human:` maps to human-reviewed. @public */
|
|
7
7
|
const TrustTier = Schema.Literals([
|
|
8
8
|
"unverified",
|
|
@@ -129,5 +129,4 @@ var Derive = class Derive {
|
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
131
|
|
|
132
|
-
//#endregion
|
|
133
132
|
export { Derive, Staleness, TrustTier };
|
package/Diagnostic.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { lineCharacter } from "./internal/position.js";
|
|
2
2
|
import { frontmatterPathSpan } from "./internal/yamlPathSpan.js";
|
|
3
|
-
import { Schema } from "effect";
|
|
3
|
+
import { Option, Schema } from "effect";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/Diagnostic.ts
|
|
6
6
|
/** @public */
|
|
7
7
|
const DiagnosticSeverity = Schema.Literals([
|
|
8
8
|
"error",
|
|
@@ -85,8 +85,9 @@ var DiagnosticRange = class DiagnosticRange extends Schema.Class("DiagnosticRang
|
|
|
85
85
|
* @public
|
|
86
86
|
*/
|
|
87
87
|
static forFrontmatterPath = (document, path) => {
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
const node = Option.getOrUndefined(document.frontmatter);
|
|
89
|
+
if (node === void 0) return void 0;
|
|
90
|
+
const span = frontmatterPathSpan(document.source, node, path);
|
|
90
91
|
return DiagnosticRange.fromOffset(document.source, span.offset, span.length);
|
|
91
92
|
};
|
|
92
93
|
};
|
|
@@ -106,5 +107,4 @@ var Diagnostic = class extends Schema.Class("Diagnostic")({
|
|
|
106
107
|
static isConformance = (diagnostic) => CONFORMANCE_CODES.has(diagnostic.code);
|
|
107
108
|
};
|
|
108
109
|
|
|
109
|
-
//#endregion
|
|
110
110
|
export { ConformanceCode, Diagnostic, DiagnosticCode, DiagnosticRange, DiagnosticSeverity, LintCode };
|
package/Generated.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Actor } from "./Actor.js";
|
|
|
2
2
|
import { Timestamp } from "./Timestamp.js";
|
|
3
3
|
import { Schema } from "effect";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/Generated.ts
|
|
6
6
|
/**
|
|
7
7
|
* Who last generated a concept's content, and when.
|
|
8
8
|
* @public
|
|
@@ -21,5 +21,4 @@ var Generated = class extends Schema.Class("Generated")({
|
|
|
21
21
|
static LEGACY_BY = "process:legacy-timestamp";
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
//#endregion
|
|
25
24
|
export { Generated };
|
package/Graph.js
CHANGED
|
@@ -2,7 +2,7 @@ import { DiagnosticRange } from "./Diagnostic.js";
|
|
|
2
2
|
import { frontmatterFieldSpan, pathFieldsOf, resolvePathField, resolveTarget } from "./internal/links.js";
|
|
3
3
|
import { Graph, Option, Schema } from "effect";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/Graph.ts
|
|
6
6
|
/**
|
|
7
7
|
* Kind of a graph node: a loaded concept, an existing non-concept file (including reserved
|
|
8
8
|
* `index.md`/`log.md`), or a placeholder for a target that does not exist (D-25).
|
|
@@ -174,5 +174,4 @@ var Graph$1 = class {
|
|
|
174
174
|
};
|
|
175
175
|
};
|
|
176
176
|
|
|
177
|
-
//#endregion
|
|
178
177
|
export { Graph$1 as Graph, GraphNodeKind, LinkGraph };
|
package/IndexDocument.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DiagnosticRange } from "./Diagnostic.js";
|
|
2
2
|
import { Schema } from "effect";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/IndexDocument.ts
|
|
5
5
|
/** One `index.md` list item. @public */
|
|
6
6
|
var IndexEntry = class extends Schema.Class("IndexEntry")({
|
|
7
7
|
title: Schema.String,
|
|
@@ -26,5 +26,4 @@ var IndexDocument = class extends Schema.Class("IndexDocument")({
|
|
|
26
26
|
sections: Schema.Array(IndexSection)
|
|
27
27
|
}) {};
|
|
28
28
|
|
|
29
|
-
//#endregion
|
|
30
29
|
export { IndexDocument, IndexEntry, IndexSection };
|
package/Integrity.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Actor } from "./Actor.js";
|
|
|
2
2
|
import { Timestamp } from "./Timestamp.js";
|
|
3
3
|
import { Schema } from "effect";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/Integrity.ts
|
|
6
6
|
const DIGEST_RE = /^[0-9a-f]{16}$/u;
|
|
7
7
|
/**
|
|
8
8
|
* An okfit digest: the first 16 lowercase hex characters (64 bits) of SHA-256 over the
|
|
@@ -36,5 +36,4 @@ var Integrity = class extends Schema.Class("Integrity")({
|
|
|
36
36
|
verified: Schema.optionalKey(IntegrityVerified)
|
|
37
37
|
}) {};
|
|
38
38
|
|
|
39
|
-
//#endregion
|
|
40
39
|
export { Digest, Integrity, IntegrityGenerated, IntegrityVerified };
|
package/LogDocument.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DiagnosticRange } from "./Diagnostic.js";
|
|
2
2
|
import { Schema } from "effect";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/LogDocument.ts
|
|
5
5
|
/** One `log.md` list item. @public */
|
|
6
6
|
var LogItem = class extends Schema.Class("LogItem")({
|
|
7
7
|
text: Schema.String,
|
|
@@ -24,5 +24,4 @@ var LogDocument = class extends Schema.Class("LogDocument")({
|
|
|
24
24
|
groups: Schema.Array(LogGroup)
|
|
25
25
|
}) {};
|
|
26
26
|
|
|
27
|
-
//#endregion
|
|
28
27
|
export { LogDocument, LogGroup, LogItem };
|
package/OkfitConfig.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Duration, Effect, Option, Schema, SchemaGetter, SchemaIssue, SchemaTran
|
|
|
3
3
|
import { ConfigFile, TomlCodec } from "@effected/config-file";
|
|
4
4
|
import { HostedSchema } from "@effected/schemastore";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/OkfitConfig.ts
|
|
7
7
|
/**
|
|
8
8
|
* Severity a lint rule is configured to. `"info"` extends spec 4.2's
|
|
9
9
|
* `off | warn | error` so the D-34 `info` defaults are expressible.
|
|
@@ -579,5 +579,4 @@ const OkfitConfig = Object.assign(OkfitConfigWire, {
|
|
|
579
579
|
*/
|
|
580
580
|
var OkfitConfigFile = class extends ConfigFile.Service()("@okfit/core/OkfitConfigFile") {};
|
|
581
581
|
|
|
582
|
-
//#endregion
|
|
583
582
|
export { CONFIG_SCHEMA_VERSION, FieldDeclaration, LintLevel, LintTable, OkfitConfig, OkfitConfigFile, SCHEMA_DIRECTIVE, StaleAfterDuration, TagDeclaration, TypeDeclaration, okfitConfigDocumentFields, okfitConfigFields, okfitConfigSchemaHost };
|
package/Source.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Actor } from "./Actor.js";
|
|
|
2
2
|
import { Timestamp } from "./Timestamp.js";
|
|
3
3
|
import { Schema } from "effect";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/Source.ts
|
|
6
6
|
/**
|
|
7
7
|
* A closed interval of use, on a concept or on one of its sources.
|
|
8
8
|
* @public
|
|
@@ -25,5 +25,4 @@ var Source = class extends Schema.Class("Source")({
|
|
|
25
25
|
usage_window: Schema.optionalKey(UsageWindow)
|
|
26
26
|
}) {};
|
|
27
27
|
|
|
28
|
-
//#endregion
|
|
29
28
|
export { Source, UsageWindow };
|
package/Status.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/Status.ts
|
|
4
4
|
/**
|
|
5
5
|
* Concept lifecycle status. Absent on a concept means `stable` (`Derive.status`).
|
|
6
6
|
* @public
|
|
@@ -11,5 +11,4 @@ const Status = Schema.Literals([
|
|
|
11
11
|
"deprecated"
|
|
12
12
|
]);
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { Status };
|
package/Timestamp.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Function, Schema, SchemaTransformation } from "effect";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/Timestamp.ts
|
|
4
4
|
const OFFSET_RE = /(?:Z|[+-]\d{2}:\d{2})$/u;
|
|
5
5
|
const ZERO_MILLIS = /\.000(?=Z$)/;
|
|
6
6
|
/**
|
|
@@ -14,5 +14,4 @@ const Timestamp = Schema.String.pipe(Schema.check(Schema.isPattern(OFFSET_RE, {
|
|
|
14
14
|
encode: (iso) => iso.replace(ZERO_MILLIS, "")
|
|
15
15
|
})), Schema.decodeTo(Schema.DateTimeUtcFromString));
|
|
16
16
|
|
|
17
|
-
//#endregion
|
|
18
17
|
export { Timestamp };
|
package/Validate.js
CHANGED
|
@@ -4,7 +4,7 @@ import { OkfitConfig } from "./OkfitConfig.js";
|
|
|
4
4
|
import { LINT_RULES } from "./internal/lintRules.js";
|
|
5
5
|
import { Schema } from "effect";
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
// src/Validate.ts
|
|
8
8
|
const isLintCode = Schema.is(LintCode);
|
|
9
9
|
/** Conformance and lint tiers over a {@link LoadedBundle}; pure (D-35). @public */
|
|
10
10
|
var Validate = class Validate {
|
|
@@ -40,5 +40,4 @@ var Validate = class Validate {
|
|
|
40
40
|
});
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
-
//#endregion
|
|
44
43
|
export { Validate };
|
package/Verification.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Actor } from "./Actor.js";
|
|
|
2
2
|
import { Timestamp } from "./Timestamp.js";
|
|
3
3
|
import { Array, Function, Schema, SchemaTransformation } from "effect";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/Verification.ts
|
|
6
6
|
/**
|
|
7
7
|
* One verification attestation: who verified and when.
|
|
8
8
|
* @public
|
|
@@ -25,5 +25,4 @@ var Verification = class Verification extends Schema.Class("Verification")({
|
|
|
25
25
|
})));
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
//#endregion
|
|
29
28
|
export { Verification };
|
package/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { Brand, DateTime, Duration, Effect, FileSystem, Graph as Graph$1, Option
|
|
|
2
2
|
import { MarkdownDocument } from "@effected/markdown";
|
|
3
3
|
import { ConfigReadError } from "@effected/config-file";
|
|
4
4
|
import { HostedSchema } from "@effected/schemastore";
|
|
5
|
-
//#region src/Actor.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* An OKF actor string: `<producer>/<version>`, `human:<id>`, `process:<id>`,
|
|
8
7
|
* or any other `<prefix>:<id>` (the spec's `team:` examples).
|
|
@@ -40,8 +39,6 @@ export type ActorPattern = string & Brand.Brand<"ActorPattern">;
|
|
|
40
39
|
* @public
|
|
41
40
|
*/
|
|
42
41
|
export declare const ActorPattern: Schema.Codec<ActorPattern, string>;
|
|
43
|
-
//#endregion
|
|
44
|
-
//#region src/AttestedComputation.d.ts
|
|
45
42
|
declare const ComputationParameter_base: Schema.Class<ComputationParameter, Schema.Struct<{
|
|
46
43
|
readonly name: Schema.String;
|
|
47
44
|
readonly type: Schema.String;
|
|
@@ -82,8 +79,6 @@ declare const AttestedComputation_base: Schema.Class<AttestedComputation, Schema
|
|
|
82
79
|
* @public
|
|
83
80
|
*/
|
|
84
81
|
export declare class AttestedComputation extends AttestedComputation_base {}
|
|
85
|
-
//#endregion
|
|
86
|
-
//#region src/Generated.d.ts
|
|
87
82
|
declare const Generated_base: Schema.Class<Generated, Schema.Struct<{
|
|
88
83
|
readonly by: Schema.Codec<Actor, string, never, never> & {
|
|
89
84
|
readonly isHuman: (actor: string) => boolean;
|
|
@@ -108,8 +103,6 @@ export declare class Generated extends Generated_base {
|
|
|
108
103
|
/** The `by` used when a legacy v0.1 `timestamp` is folded into `generated.at` (D-15); v0.1 has no actor. */
|
|
109
104
|
static readonly LEGACY_BY: Actor;
|
|
110
105
|
}
|
|
111
|
-
//#endregion
|
|
112
|
-
//#region src/Integrity.d.ts
|
|
113
106
|
/**
|
|
114
107
|
* An okfit digest: the first 16 lowercase hex characters (64 bits) of SHA-256 over the
|
|
115
108
|
* input bytes `@okfit/profiles` defines. A signal, not a tamper seal. Core holds the
|
|
@@ -157,8 +150,6 @@ declare const Integrity_base: Schema.Class<Integrity, Schema.Struct<{
|
|
|
157
150
|
* @public
|
|
158
151
|
*/
|
|
159
152
|
export declare class Integrity extends Integrity_base {}
|
|
160
|
-
//#endregion
|
|
161
|
-
//#region src/Source.d.ts
|
|
162
153
|
declare const UsageWindow_base: Schema.Class<UsageWindow, Schema.Struct<{
|
|
163
154
|
readonly from: Schema.Codec<import("effect/DateTime").Utc, string, never, never>;
|
|
164
155
|
readonly to: Schema.Codec<import("effect/DateTime").Utc, string, never, never>;
|
|
@@ -188,8 +179,6 @@ declare const Source_base: Schema.Class<Source, Schema.Struct<{
|
|
|
188
179
|
* @public
|
|
189
180
|
*/
|
|
190
181
|
export declare class Source extends Source_base {}
|
|
191
|
-
//#endregion
|
|
192
|
-
//#region src/Verification.d.ts
|
|
193
182
|
declare const Verification_base: Schema.Class<Verification, Schema.Struct<{
|
|
194
183
|
readonly by: Schema.Codec<Actor, string, never, never> & {
|
|
195
184
|
readonly isHuman: (actor: string) => boolean;
|
|
@@ -215,8 +204,6 @@ export declare class Verification extends Verification_base {
|
|
|
215
204
|
*/
|
|
216
205
|
static readonly List: Schema.decodeTo<Schema.$Array<Schema.toType<typeof Verification>>, Schema.Union<readonly [typeof Verification, Schema.$Array<typeof Verification>]>, never, never>;
|
|
217
206
|
}
|
|
218
|
-
//#endregion
|
|
219
|
-
//#region src/Concept.d.ts
|
|
220
207
|
/**
|
|
221
208
|
* The exact `type` value that enables the computation family (D-20).
|
|
222
209
|
* @public
|
|
@@ -251,8 +238,6 @@ declare const Concept_base: Schema.Class<Concept, Schema.Struct<{
|
|
|
251
238
|
* @public
|
|
252
239
|
*/
|
|
253
240
|
export declare class Concept extends Concept_base {}
|
|
254
|
-
//#endregion
|
|
255
|
-
//#region src/ConceptId.d.ts
|
|
256
241
|
/** A posix bundle-relative path with `.md` stripped and no leading slash (D-12). @public */
|
|
257
242
|
export type ConceptId = string & Brand.Brand<"ConceptId">;
|
|
258
243
|
/**
|
|
@@ -266,8 +251,6 @@ export declare const ConceptId: Schema.Codec<ConceptId, string> & {
|
|
|
266
251
|
readonly normalize: (input: string) => Option.Option<ConceptId>;
|
|
267
252
|
readonly isReservedFile: (path: string) => boolean;
|
|
268
253
|
};
|
|
269
|
-
//#endregion
|
|
270
|
-
//#region src/Diagnostic.d.ts
|
|
271
254
|
/** @public */
|
|
272
255
|
export declare const DiagnosticSeverity: Schema.Literals<readonly ["error", "warning", "info"]>;
|
|
273
256
|
/** @public */
|
|
@@ -327,8 +310,6 @@ export declare class Diagnostic extends Diagnostic_base {
|
|
|
327
310
|
/** True when `code` is one of `ConformanceCode`'s always-error members. */
|
|
328
311
|
static readonly isConformance: (diagnostic: Diagnostic) => boolean;
|
|
329
312
|
}
|
|
330
|
-
//#endregion
|
|
331
|
-
//#region src/IndexDocument.d.ts
|
|
332
313
|
declare const IndexEntry_base: Schema.Class<IndexEntry, Schema.Struct<{
|
|
333
314
|
readonly title: Schema.String;
|
|
334
315
|
readonly target: Schema.String;
|
|
@@ -355,8 +336,6 @@ declare const IndexDocument_base: Schema.Class<IndexDocument, Schema.Struct<{
|
|
|
355
336
|
* @public
|
|
356
337
|
*/
|
|
357
338
|
export declare class IndexDocument extends IndexDocument_base {}
|
|
358
|
-
//#endregion
|
|
359
|
-
//#region src/LogDocument.d.ts
|
|
360
339
|
declare const LogItem_base: Schema.Class<LogItem, Schema.Struct<{
|
|
361
340
|
readonly text: Schema.String;
|
|
362
341
|
readonly range: typeof DiagnosticRange;
|
|
@@ -381,8 +360,6 @@ declare const LogDocument_base: Schema.Class<LogDocument, Schema.Struct<{
|
|
|
381
360
|
* @public
|
|
382
361
|
*/
|
|
383
362
|
export declare class LogDocument extends LogDocument_base {}
|
|
384
|
-
//#endregion
|
|
385
|
-
//#region src/Bundle.d.ts
|
|
386
363
|
declare const BundleRootNotFoundError_base: Schema.Class<BundleRootNotFoundError, Schema.TaggedStruct<"BundleRootNotFoundError", {
|
|
387
364
|
readonly root: Schema.String;
|
|
388
365
|
}>, import("effect/Cause").YieldableError>;
|
|
@@ -502,8 +479,6 @@ export declare class Bundle {
|
|
|
502
479
|
*/
|
|
503
480
|
static readonly load: (options: BundleLoadOptions) => Effect.Effect<LoadedBundle, BundleLoadError, FileSystem.FileSystem | Path.Path>;
|
|
504
481
|
}
|
|
505
|
-
//#endregion
|
|
506
|
-
//#region src/Status.d.ts
|
|
507
482
|
/**
|
|
508
483
|
* Concept lifecycle status. Absent on a concept means `stable` (`Derive.status`).
|
|
509
484
|
* @public
|
|
@@ -514,8 +489,6 @@ export declare const Status: Schema.Literals<readonly ["draft", "stable", "depre
|
|
|
514
489
|
* @public
|
|
515
490
|
*/
|
|
516
491
|
export type Status = typeof Status.Type;
|
|
517
|
-
//#endregion
|
|
518
|
-
//#region src/Derive.d.ts
|
|
519
492
|
/** Trust tier from `verified` (OKF 0.2 §5.3): none maps to unverified; only non-human maps to machine-confirmed; any `human:` maps to human-reviewed. @public */
|
|
520
493
|
export declare const TrustTier: Schema.Literals<readonly ["unverified", "machine-confirmed", "human-reviewed"]>;
|
|
521
494
|
/** @public */
|
|
@@ -586,8 +559,6 @@ export declare class Derive {
|
|
|
586
559
|
/** Index text for `dir` from the concepts directly in it plus its immediate child directories; no frontmatter. */
|
|
587
560
|
static readonly synthesizeIndex: (bundle: LoadedBundle, dir: string) => string;
|
|
588
561
|
}
|
|
589
|
-
//#endregion
|
|
590
|
-
//#region src/Graph.d.ts
|
|
591
562
|
/**
|
|
592
563
|
* Kind of a graph node: a loaded concept, an existing non-concept file (including reserved
|
|
593
564
|
* `index.md`/`log.md`), or a placeholder for a target that does not exist (D-25).
|
|
@@ -683,8 +654,6 @@ export declare class Graph {
|
|
|
683
654
|
*/
|
|
684
655
|
static readonly fromBundle: (bundle: LoadedBundle) => LinkGraph;
|
|
685
656
|
}
|
|
686
|
-
//#endregion
|
|
687
|
-
//#region src/OkfitConfig.d.ts
|
|
688
657
|
/**
|
|
689
658
|
* Severity a lint rule is configured to. `"info"` extends spec 4.2's
|
|
690
659
|
* `off | warn | error` so the D-34 `info` defaults are expressible.
|
|
@@ -1051,7 +1020,7 @@ declare const OkfitConfigFile_base: import("effect/Context").ServiceClass<OkfitC
|
|
|
1051
1020
|
readonly extensions: {
|
|
1052
1021
|
readonly [x: string]: unknown;
|
|
1053
1022
|
};
|
|
1054
|
-
}>>;
|
|
1023
|
+
}, import("@effected/config-file").ConfigCodecError>>;
|
|
1055
1024
|
/**
|
|
1056
1025
|
* The only service in core: the config-file service tag for okfit's TOML
|
|
1057
1026
|
* config (D-7). Core exports the tag so `@okfit/cli` and `@okfit/mcp` share
|
|
@@ -1065,8 +1034,6 @@ declare const OkfitConfigFile_base: import("effect/Context").ServiceClass<OkfitC
|
|
|
1065
1034
|
* @public
|
|
1066
1035
|
*/
|
|
1067
1036
|
export declare class OkfitConfigFile extends OkfitConfigFile_base {}
|
|
1068
|
-
//#endregion
|
|
1069
|
-
//#region src/Timestamp.d.ts
|
|
1070
1037
|
/**
|
|
1071
1038
|
* A decoded OKF timestamp: always a UTC instant.
|
|
1072
1039
|
* @public
|
|
@@ -1079,8 +1046,6 @@ export type Timestamp = DateTime.Utc;
|
|
|
1079
1046
|
* @public
|
|
1080
1047
|
*/
|
|
1081
1048
|
export declare const Timestamp: Schema.Codec<DateTime.Utc, string>;
|
|
1082
|
-
//#endregion
|
|
1083
|
-
//#region src/Validate.d.ts
|
|
1084
1049
|
/** Options for {@link Validate.lint}; `stale` fires only when `now` is supplied (D-34). @public */
|
|
1085
1050
|
interface ValidateOptions {
|
|
1086
1051
|
readonly now?: DateTime.Utc;
|
|
@@ -1100,14 +1065,11 @@ export declare class Validate {
|
|
|
1100
1065
|
/** Runs both tiers (D-35). */
|
|
1101
1066
|
static readonly all: (bundle: LoadedBundle, config: OkfitConfig, options?: ValidateOptions) => ValidationReport;
|
|
1102
1067
|
}
|
|
1103
|
-
//#endregion
|
|
1104
|
-
//#region src/index.d.ts
|
|
1105
1068
|
/**
|
|
1106
1069
|
* The OKF specification version this package implements.
|
|
1107
1070
|
*
|
|
1108
1071
|
* @public
|
|
1109
1072
|
*/
|
|
1110
1073
|
export declare const OKF_SPEC_VERSION: "0.2";
|
|
1111
|
-
//#endregion
|
|
1112
1074
|
export type { ActorForm, BundleLoadError, BundleLoadOptions, GraphEdge, GraphLink, GraphNode, LinkResolution, LogEntry, OkfitConfigFields, PathField, RenderIndexOptions, StaleConcept, ValidateOptions, ValidationReport };
|
|
1113
1075
|
//# sourceMappingURL=index.d.ts.map
|
package/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import { Graph, GraphNodeKind, LinkGraph } from "./Graph.js";
|
|
|
17
17
|
import { CONFIG_SCHEMA_VERSION, FieldDeclaration, LintLevel, LintTable, OkfitConfig, OkfitConfigFile, SCHEMA_DIRECTIVE, StaleAfterDuration, TagDeclaration, TypeDeclaration, okfitConfigDocumentFields, okfitConfigSchemaHost } from "./OkfitConfig.js";
|
|
18
18
|
import { Validate } from "./Validate.js";
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
// src/index.ts
|
|
21
21
|
/**
|
|
22
22
|
* The OKF specification version this package implements.
|
|
23
23
|
*
|
|
@@ -25,5 +25,4 @@ import { Validate } from "./Validate.js";
|
|
|
25
25
|
*/
|
|
26
26
|
const OKF_SPEC_VERSION = "0.2";
|
|
27
27
|
|
|
28
|
-
//#endregion
|
|
29
28
|
export { ATTESTED_COMPUTATION_TYPE, Actor, ActorPattern, AttestedComputation, Bundle, BundleDepthExceededError, BundleReadError, BundleRootNotFoundError, CONFIG_SCHEMA_VERSION, ComputationAttester, ComputationExecutor, ComputationParameter, Concept, ConceptId, ConformanceCode, Derive, Diagnostic, DiagnosticCode, DiagnosticRange, DiagnosticSeverity, Digest, FieldDeclaration, Generated, Graph, GraphNodeKind, IndexDocument, IndexEntry, IndexSection, Integrity, IntegrityGenerated, IntegrityVerified, LinkGraph, LintCode, LintLevel, LintTable, LoadedBundle, LoadedConcept, LogDocument, LogGroup, LogItem, OKF_SPEC_VERSION, OkfitConfig, OkfitConfigFile, SCHEMA_DIRECTIVE, Source, StaleAfterDuration, Staleness, Status, TagDeclaration, Timestamp, TrustTier, TypeDeclaration, UsageWindow, Validate, Verification, okfitConfigDocumentFields, okfitConfigSchemaHost };
|
|
@@ -8,7 +8,7 @@ import { Verification } from "../Verification.js";
|
|
|
8
8
|
import { ATTESTED_COMPUTATION_TYPE, Concept } from "../Concept.js";
|
|
9
9
|
import { Result, Schema, SchemaIssue } from "effect";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// src/internal/conceptDecode.ts
|
|
12
12
|
/** Top-level keys that form the computation family when `type` is `Attested Computation`.
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
@@ -120,5 +120,4 @@ const decodeConcept = (value) => {
|
|
|
120
120
|
};
|
|
121
121
|
};
|
|
122
122
|
|
|
123
|
-
//#endregion
|
|
124
123
|
export { COMPUTATION_KEYS, decodeConcept };
|
package/internal/fence.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/internal/fence.ts
|
|
2
2
|
const LINE_BREAK = /\r\n|\r|\n/;
|
|
3
3
|
/**
|
|
4
4
|
* Core's own fence check, run before the markdown parser because the parser treats an
|
|
@@ -14,5 +14,4 @@ const detectFence = (text) => {
|
|
|
14
14
|
return "unclosed";
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
//#endregion
|
|
18
17
|
export { detectFence };
|
package/internal/frontmatter.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Diagnostic, DiagnosticRange } from "../Diagnostic.js";
|
|
|
3
3
|
import { decodeConcept as decodeConcept$1 } from "./conceptDecode.js";
|
|
4
4
|
import { Option } from "effect";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/internal/frontmatter.ts
|
|
7
7
|
/** D-34 default severities for a `FamilyIssue`'s lint code; `type-missing` (D-33) is always "error". */
|
|
8
8
|
const FAMILY_ISSUE_SEVERITY = {
|
|
9
9
|
"family-invalid": "error",
|
|
@@ -25,7 +25,10 @@ const spanToRange = (text, path, node) => {
|
|
|
25
25
|
*
|
|
26
26
|
* @internal
|
|
27
27
|
*/
|
|
28
|
-
const frontmatterPathRange = (document, path) =>
|
|
28
|
+
const frontmatterPathRange = (document, path) => Option.match(document.frontmatter, {
|
|
29
|
+
onNone: () => void 0,
|
|
30
|
+
onSome: (node) => spanToRange(document.source, path, node)
|
|
31
|
+
});
|
|
29
32
|
const rangeFor = (context, path) => spanToRange(context.text, path, context.node);
|
|
30
33
|
const toDiagnostic = (context, issue) => Diagnostic.make({
|
|
31
34
|
file: context.file,
|
|
@@ -59,5 +62,4 @@ const decodeConcept = (raw, context) => {
|
|
|
59
62
|
};
|
|
60
63
|
};
|
|
61
64
|
|
|
62
|
-
//#endregion
|
|
63
65
|
export { decodeConcept, frontmatterPathRange };
|
package/internal/links.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { basename, dirname, join, normalize } from "./posixPath.js";
|
|
2
|
+
import { Option } from "effect";
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
// src/internal/links.ts
|
|
4
5
|
const SCHEME_RE = /^[a-z][a-z0-9+.-]+:/i;
|
|
5
6
|
/** RFC 3986 scheme or `://` anywhere (D-24). @internal */
|
|
6
7
|
const isUrl = (raw) => raw.includes("://") || SCHEME_RE.test(raw);
|
|
@@ -116,7 +117,7 @@ const pathFieldsOf = (concept) => {
|
|
|
116
117
|
};
|
|
117
118
|
/** File span of the first occurrence of `raw` in the frontmatter block: `fenceLine.length + terminator.length + indexInValue`. @internal */
|
|
118
119
|
const frontmatterFieldSpan = (document, raw) => {
|
|
119
|
-
const node = document.frontmatter;
|
|
120
|
+
const node = Option.getOrUndefined(document.frontmatter);
|
|
120
121
|
if (node === void 0) return void 0;
|
|
121
122
|
const at = node.value.indexOf(raw);
|
|
122
123
|
if (at < 0) return void 0;
|
|
@@ -128,5 +129,4 @@ const frontmatterFieldSpan = (document, raw) => {
|
|
|
128
129
|
};
|
|
129
130
|
};
|
|
130
131
|
|
|
131
|
-
//#endregion
|
|
132
132
|
export { frontmatterFieldSpan, isUrl, pathFieldsOf, resolvePathField, resolveTarget };
|
package/internal/lintRules.js
CHANGED
|
@@ -2,9 +2,9 @@ import { Actor } from "../Actor.js";
|
|
|
2
2
|
import { Diagnostic, DiagnosticRange } from "../Diagnostic.js";
|
|
3
3
|
import { frontmatterPathRange } from "./frontmatter.js";
|
|
4
4
|
import { Derive } from "../Derive.js";
|
|
5
|
-
import { DateTime } from "effect";
|
|
5
|
+
import { DateTime, Option } from "effect";
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
// src/internal/lintRules.ts
|
|
8
8
|
const FOOTNOTE_RE = /\[\^([^\]\s]+)\]/g;
|
|
9
9
|
/** A footnote definition: the label at a line start, followed by a colon. */
|
|
10
10
|
const FOOTNOTE_DEFINITION_RE = /^\[\^([^\]\s]+)\]:/gm;
|
|
@@ -132,7 +132,7 @@ const footnoteSourceUnknown = rule("footnote-source-unknown", (context, severity
|
|
|
132
132
|
const ids = new Set((concept.frontmatter.sources ?? []).flatMap((s) => s.id === void 0 ? [] : [s.id]));
|
|
133
133
|
if (ids.size === 0) continue;
|
|
134
134
|
const source = concept.document.source;
|
|
135
|
-
const start = concept.document.frontmatter?.position.end.offset ?? 0;
|
|
135
|
+
const start = Option.getOrUndefined(concept.document.frontmatter)?.position.end.offset ?? 0;
|
|
136
136
|
const code = codeSpansOf(concept);
|
|
137
137
|
const seen = /* @__PURE__ */ new Set();
|
|
138
138
|
for (const match of source.slice(start).matchAll(FOOTNOTE_RE)) {
|
|
@@ -149,7 +149,7 @@ const footnoteUndefined = rule("footnote-undefined", (context, severity) => {
|
|
|
149
149
|
const out = [];
|
|
150
150
|
for (const concept of context.bundle.concepts.values()) {
|
|
151
151
|
const source = concept.document.source;
|
|
152
|
-
const start = concept.document.frontmatter?.position.end.offset ?? 0;
|
|
152
|
+
const start = Option.getOrUndefined(concept.document.frontmatter)?.position.end.offset ?? 0;
|
|
153
153
|
const body = source.slice(start);
|
|
154
154
|
const code = codeSpansOf(concept);
|
|
155
155
|
const defined = new Set([...body.matchAll(FOOTNOTE_DEFINITION_RE)].flatMap((m) => m[1] === void 0 || insideAny(code, start + m.index) ? [] : [m[1]]));
|
|
@@ -280,5 +280,4 @@ const LINT_RULES = [
|
|
|
280
280
|
stale
|
|
281
281
|
];
|
|
282
282
|
|
|
283
|
-
//#endregion
|
|
284
283
|
export { LINT_RULES, actorEmail, actorPrefixUnknown, brokenLinks, configUnknownKey, fieldValueUnknown, footnoteSourceUnknown, footnoteUndefined, generatedMissing, missingIndex, requireVerifiedUnmet, requiredKeyMissing, stale, statusMissing, unknownType, verifiedActorUnknown };
|
package/internal/position.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/internal/position.ts
|
|
2
2
|
const LF = 10;
|
|
3
3
|
const CR = 13;
|
|
4
4
|
/** Line and character of `offset` within `text`; `\n`, `\r` and `\r\n` each count as one line break. @public */
|
|
@@ -36,5 +36,4 @@ const frontmatterValueStart = (text) => {
|
|
|
36
36
|
/** Map a `YamlDiagnostic.offset` or `YamlNode.offset` inside the frontmatter value to a whole-file offset. @public */
|
|
37
37
|
const toFileOffset = (text, yamlOffset) => frontmatterValueStart(text) + yamlOffset;
|
|
38
38
|
|
|
39
|
-
//#endregion
|
|
40
39
|
export { frontmatterValueStart, lineCharacter, toFileOffset };
|
package/internal/posixPath.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/internal/posixPath.ts
|
|
2
2
|
const SLASH = 47;
|
|
3
3
|
/**
|
|
4
4
|
* Collapse `.`/`..` and repeated slashes. Relative input keeps leading `..`
|
|
@@ -49,5 +49,4 @@ const basename = (path) => {
|
|
|
49
49
|
return trimmed.slice(trimmed.lastIndexOf("/") + 1);
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
//#endregion
|
|
53
52
|
export { basename, dirname, join, normalize };
|
package/internal/reserved.js
CHANGED
|
@@ -4,7 +4,7 @@ import { LogDocument, LogGroup, LogItem } from "../LogDocument.js";
|
|
|
4
4
|
import { Option } from "effect";
|
|
5
5
|
import { MarkdownParseOptions } from "@effected/markdown";
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
// src/internal/reserved.ts
|
|
8
8
|
/**
|
|
9
9
|
* The one parse configuration every OKF file uses: GFM with frontmatter capture
|
|
10
10
|
* (effected-markdown.md section 1; `Markdown.ts:60-62`).
|
|
@@ -62,7 +62,7 @@ const parseIndex = (input) => {
|
|
|
62
62
|
const text = document.source;
|
|
63
63
|
const diagnostics = [];
|
|
64
64
|
let okfVersion;
|
|
65
|
-
const node = document.frontmatter;
|
|
65
|
+
const node = Option.getOrUndefined(document.frontmatter);
|
|
66
66
|
if (node !== void 0 && Option.isSome(input.frontmatter)) {
|
|
67
67
|
const raw = input.frontmatter.value;
|
|
68
68
|
const record = raw !== null && typeof raw === "object" && !Array.isArray(raw) ? raw : void 0;
|
|
@@ -132,7 +132,7 @@ const parseLog = (input) => {
|
|
|
132
132
|
const { file, dir, document } = input;
|
|
133
133
|
const text = document.source;
|
|
134
134
|
const diagnostics = [];
|
|
135
|
-
if (document.frontmatter
|
|
135
|
+
if (Option.isSome(document.frontmatter)) diagnostics.push(diagnostic(file, "log-frontmatter", "warning", "log.md carries frontmatter; the spec defines none", rangeOf(text, document.frontmatter.value.position)));
|
|
136
136
|
let title;
|
|
137
137
|
const groups = [];
|
|
138
138
|
let current;
|
|
@@ -201,5 +201,4 @@ const parseLog = (input) => {
|
|
|
201
201
|
};
|
|
202
202
|
};
|
|
203
203
|
|
|
204
|
-
//#endregion
|
|
205
204
|
export { OPTIONS, parseIndex, parseLog, phrasingText };
|
package/internal/templates.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/internal/templates.ts
|
|
2
2
|
/**
|
|
3
3
|
* Backslash-escape markdown-active characters (`\`, `<`, `>`, `*`, `_`, `` ` ``,
|
|
4
4
|
* `[`, `]`) so plain text round-trips through a generated `index.md` as
|
|
@@ -20,5 +20,4 @@ const logEntry = (date, items) => `${[
|
|
|
20
20
|
...items.map((item) => `* ${item}`)
|
|
21
21
|
].join("\n")}\n`;
|
|
22
22
|
|
|
23
|
-
//#endregion
|
|
24
23
|
export { indexEntry, indexFrontmatter, indexSection, logEntry };
|
package/internal/walk.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Effect } from "effect";
|
|
|
2
2
|
import { descend } from "@effected/walker";
|
|
3
3
|
import { GlobPattern, GlobPatternOptions } from "@effected/glob";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/internal/walk.ts
|
|
6
6
|
/**
|
|
7
7
|
* Walker's default prune list (`walker/src/Descend.ts:64`), kept for D-8.
|
|
8
8
|
*
|
|
@@ -38,5 +38,4 @@ const walk = (options) => Effect.gen(function* () {
|
|
|
38
38
|
};
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
//#endregion
|
|
42
41
|
export { DEFAULT_PRUNE, walk };
|
package/internal/yamlPathSpan.js
CHANGED
|
@@ -2,7 +2,7 @@ import { toFileOffset } from "./position.js";
|
|
|
2
2
|
import { Effect, Option, Result } from "effect";
|
|
3
3
|
import { YamlDocument } from "@effected/yaml";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/internal/yamlPathSpan.ts
|
|
6
6
|
const blockSpan = (node) => ({
|
|
7
7
|
offset: node.position.start.offset,
|
|
8
8
|
length: node.position.end.offset - node.position.start.offset
|
|
@@ -44,5 +44,4 @@ const frontmatterPathSpan = (text, node, path) => {
|
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
-
//#endregion
|
|
48
47
|
export { frontmatterPathSpan };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okfit/core",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Spec-level Open Knowledge Format (OKF) v0.2 schemas, bundle loading, graph, derivation, and validation for Effect.",
|
|
6
6
|
"keywords": [
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
"./package.json": "./package.json"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@effected/config-file": "^0.
|
|
41
|
-
"@effected/glob": "^0.
|
|
42
|
-
"@effected/jsonc": "^0.
|
|
43
|
-
"@effected/markdown": "^0.
|
|
44
|
-
"@effected/schemastore": "^0.
|
|
45
|
-
"@effected/toml": "^0.
|
|
46
|
-
"@effected/walker": "^0.
|
|
47
|
-
"@effected/yaml": "^0.
|
|
40
|
+
"@effected/config-file": "^0.19.0",
|
|
41
|
+
"@effected/glob": "^0.14.0",
|
|
42
|
+
"@effected/jsonc": "^0.20.0",
|
|
43
|
+
"@effected/markdown": "^0.22.0",
|
|
44
|
+
"@effected/schemastore": "^0.26.0",
|
|
45
|
+
"@effected/toml": "^0.16.0",
|
|
46
|
+
"@effected/walker": "^0.19.0",
|
|
47
|
+
"@effected/yaml": "^0.25.0",
|
|
48
48
|
"effect": "^4.0.0"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|