@fedify/vocab-tools 2.5.0-dev.2664 → 2.5.0-dev.2710

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.
@@ -1,12 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.node.json",
3
- "include": ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],
4
- "exclude": [
5
- "dist",
6
- "dist-tests",
7
- "node_modules",
8
- // Uses Deno's @std/testing and bun:test snapshots; owned by
9
- // check:types:deno until #1288.
10
- "src/class.test.ts"
11
- ]
12
- }
package/tsdown.config.ts DELETED
@@ -1,28 +0,0 @@
1
- import { cp } from "node:fs/promises";
2
- import { join } from "node:path";
3
- import { defineConfig } from "tsdown";
4
-
5
- // ESM and CJS hooks run concurrently but share the same output directory.
6
- // Serialize schema copies to avoid Windows EBUSY errors on the destination.
7
- let schemaCopy = Promise.resolve();
8
-
9
- export default defineConfig({
10
- entry: ["src/mod.ts"],
11
- dts: { compilerOptions: { isolatedDeclarations: true, declaration: true } },
12
- format: ["esm", "cjs"],
13
- platform: "neutral",
14
- deps: { neverBundle: [/^node:/] },
15
- hooks: {
16
- "build:done": async (ctx) => {
17
- // Each hook reports its own failure; a later watch rebuild can retry.
18
- schemaCopy = schemaCopy.catch(() => {}).then(() =>
19
- cp(
20
- join("src", "schema.yaml"),
21
- join(ctx.options.outDir, "schema.yaml"),
22
- { force: false, errorOnExist: false },
23
- )
24
- );
25
- await schemaCopy;
26
- },
27
- },
28
- });