@fedify/vocab-tools 2.0.0-dev.241 → 2.0.0-dev.279

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/deno.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/vocab-tools",
3
- "version": "2.0.0-dev.241+58c8126c",
3
+ "version": "2.0.0-dev.279+ce1bdc22",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./src/mod.ts"
@@ -21,7 +21,8 @@
21
21
  ],
22
22
  "publish": {
23
23
  "exclude": [
24
- "**/*.test.ts"
24
+ "**/*.test.ts",
25
+ "tsdown.config.ts"
25
26
  ]
26
27
  },
27
28
  "tasks": {
@@ -1,5 +1,5 @@
1
1
  import "./fs-B12zeNxV.js";
2
- import { hasSingularAccessor, isNonFunctionalProperty, loadSchemaFiles } from "./schema-s8NE7Bb_.js";
2
+ import { hasSingularAccessor, isNonFunctionalProperty, loadSchemaFiles } from "./schema-l9aQ4MB4.js";
3
3
  import { deepStrictEqual } from "node:assert";
4
4
  import { basename, dirname, extname, join } from "node:path";
5
5
  import { test } from "node:test";
@@ -8,7 +8,7 @@ import { pascalCase } from "es-toolkit";
8
8
 
9
9
  //#region deno.json
10
10
  var name = "@fedify/vocab-tools";
11
- var version = "2.0.0-dev.241+58c8126c";
11
+ var version = "2.0.0-dev.279+ce1bdc22";
12
12
  var license = "MIT";
13
13
  var exports = { ".": "./src/mod.ts" };
14
14
  var author = {
@@ -25,7 +25,7 @@ var exclude = [
25
25
  "node_modules",
26
26
  "src/schema.yaml"
27
27
  ];
28
- var publish = { "exclude": ["**/*.test.ts"] };
28
+ var publish = { "exclude": ["**/*.test.ts", "tsdown.config.ts"] };
29
29
  var tasks = {
30
30
  "check": "deno fmt --check && deno lint && deno check src/*.ts",
31
31
  "test": "deno test -A"
package/dist/mod.cjs CHANGED
@@ -31,7 +31,7 @@ const es_toolkit = __toESM(require("es-toolkit"));
31
31
 
32
32
  //#region deno.json
33
33
  var name = "@fedify/vocab-tools";
34
- var version = "2.0.0-dev.241+58c8126c";
34
+ var version = "2.0.0-dev.279+ce1bdc22";
35
35
  var license = "MIT";
36
36
  var exports$1 = { ".": "./src/mod.ts" };
37
37
  var author = {
@@ -48,7 +48,7 @@ var exclude = [
48
48
  "node_modules",
49
49
  "src/schema.yaml"
50
50
  ];
51
- var publish = { "exclude": ["**/*.test.ts"] };
51
+ var publish = { "exclude": ["**/*.test.ts", "tsdown.config.ts"] };
52
52
  var tasks = {
53
53
  "check": "deno fmt --check && deno lint && deno check src/*.ts",
54
54
  "test": "deno test -A"
@@ -675,7 +675,7 @@ async function loadSchema(path) {
675
675
  /**
676
676
  * Loads all schema files in the directory.
677
677
  * @param dir The path of the directory to load schema files from.
678
- * @returns A map from the qualified URI of a type to its {@link SchemaFile}.
678
+ * @returns A map from the qualified URI of a type to its {@link TypeSchema}.
679
679
  * @throws {@link AggregateError} if any schema file is invalid. It contains
680
680
  * all {@link SchemaError}s of the invalid schema files.
681
681
  */
package/dist/mod.d.cts CHANGED
@@ -178,7 +178,7 @@ type TermDefinition = Uri | Record<string, Uri | "@id">;
178
178
  /**
179
179
  * Loads all schema files in the directory.
180
180
  * @param dir The path of the directory to load schema files from.
181
- * @returns A map from the qualified URI of a type to its {@link SchemaFile}.
181
+ * @returns A map from the qualified URI of a type to its {@link TypeSchema}.
182
182
  * @throws {@link AggregateError} if any schema file is invalid. It contains
183
183
  * all {@link SchemaError}s of the invalid schema files.
184
184
  */
package/dist/mod.d.ts CHANGED
@@ -178,7 +178,7 @@ type TermDefinition = Uri | Record<string, Uri | "@id">;
178
178
  /**
179
179
  * Loads all schema files in the directory.
180
180
  * @param dir The path of the directory to load schema files from.
181
- * @returns A map from the qualified URI of a type to its {@link SchemaFile}.
181
+ * @returns A map from the qualified URI of a type to its {@link TypeSchema}.
182
182
  * @throws {@link AggregateError} if any schema file is invalid. It contains
183
183
  * all {@link SchemaError}s of the invalid schema files.
184
184
  */
package/dist/mod.js CHANGED
@@ -8,7 +8,7 @@ import { pascalCase } from "es-toolkit";
8
8
 
9
9
  //#region deno.json
10
10
  var name = "@fedify/vocab-tools";
11
- var version = "2.0.0-dev.241+58c8126c";
11
+ var version = "2.0.0-dev.279+ce1bdc22";
12
12
  var license = "MIT";
13
13
  var exports = { ".": "./src/mod.ts" };
14
14
  var author = {
@@ -25,7 +25,7 @@ var exclude = [
25
25
  "node_modules",
26
26
  "src/schema.yaml"
27
27
  ];
28
- var publish = { "exclude": ["**/*.test.ts"] };
28
+ var publish = { "exclude": ["**/*.test.ts", "tsdown.config.ts"] };
29
29
  var tasks = {
30
30
  "check": "deno fmt --check && deno lint && deno check src/*.ts",
31
31
  "test": "deno test -A"
@@ -652,7 +652,7 @@ async function loadSchema(path) {
652
652
  /**
653
653
  * Loads all schema files in the directory.
654
654
  * @param dir The path of the directory to load schema files from.
655
- * @returns A map from the qualified URI of a type to its {@link SchemaFile}.
655
+ * @returns A map from the qualified URI of a type to its {@link TypeSchema}.
656
656
  * @throws {@link AggregateError} if any schema file is invalid. It contains
657
657
  * all {@link SchemaError}s of the invalid schema files.
658
658
  */
@@ -62,7 +62,7 @@ async function loadSchema(path) {
62
62
  /**
63
63
  * Loads all schema files in the directory.
64
64
  * @param dir The path of the directory to load schema files from.
65
- * @returns A map from the qualified URI of a type to its {@link SchemaFile}.
65
+ * @returns A map from the qualified URI of a type to its {@link TypeSchema}.
66
66
  * @throws {@link AggregateError} if any schema file is invalid. It contains
67
67
  * all {@link SchemaError}s of the invalid schema files.
68
68
  */
@@ -1,5 +1,5 @@
1
1
  import "./fs-B12zeNxV.js";
2
- import { hasSingularAccessor, isNonFunctionalProperty } from "./schema-s8NE7Bb_.js";
2
+ import { hasSingularAccessor, isNonFunctionalProperty } from "./schema-l9aQ4MB4.js";
3
3
  import { deepStrictEqual, ok } from "node:assert";
4
4
  import { test } from "node:test";
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/vocab-tools",
3
- "version": "2.0.0-dev.241+58c8126c",
3
+ "version": "2.0.0-dev.279+ce1bdc22",
4
4
  "description": "Code generator for Activity Vocabulary APIs",
5
5
  "homepage": "https://fedify.dev/",
6
6
  "repository": {
@@ -63,6 +63,7 @@
63
63
  "build:self": "tsdown",
64
64
  "build": "pnpm --filter @fedify/vocab-tools... run build:self",
65
65
  "prepublish": "pnpm build",
66
- "test": "pnpm build && cd dist/ && node --test"
66
+ "pretest": "pnpm build",
67
+ "test": "cd dist/ && node --test"
67
68
  }
68
69
  }
package/src/schema.ts CHANGED
@@ -283,7 +283,7 @@ async function loadSchema(path: string): Promise<TypeSchema> {
283
283
  /**
284
284
  * Loads all schema files in the directory.
285
285
  * @param dir The path of the directory to load schema files from.
286
- * @returns A map from the qualified URI of a type to its {@link SchemaFile}.
286
+ * @returns A map from the qualified URI of a type to its {@link TypeSchema}.
287
287
  * @throws {@link AggregateError} if any schema file is invalid. It contains
288
288
  * all {@link SchemaError}s of the invalid schema files.
289
289
  */