@savvy-web/tsdown-plugins 1.1.6 → 1.1.7
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/meta/tsdoc-config.js +2 -2
- package/package.json +1 -2
package/meta/tsdoc-config.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { existsSync, readFileSync, writeFileSync } from "node:fs";
|
|
2
2
|
import { join } from "node:path";
|
|
3
|
+
import { isDeepStrictEqual } from "node:util";
|
|
3
4
|
import { StandardTags } from "@microsoft/tsdoc";
|
|
4
|
-
import deepEqual from "deep-equal";
|
|
5
5
|
|
|
6
6
|
//#region src/meta/tsdoc-config.ts
|
|
7
7
|
const TSDOC_SCHEMA = "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json";
|
|
@@ -37,7 +37,7 @@ function writeTsdocConfig(cwd, tsdoc) {
|
|
|
37
37
|
tagDefinitions: tsdoc.tagDefinitions ?? []
|
|
38
38
|
});
|
|
39
39
|
if (existsSync(path)) try {
|
|
40
|
-
if (
|
|
40
|
+
if (isDeepStrictEqual(JSON.parse(readFileSync(path, "utf-8")), config)) return path;
|
|
41
41
|
} catch {}
|
|
42
42
|
writeFileSync(path, `${JSON.stringify(config, null, " ")}\n`, "utf-8");
|
|
43
43
|
return path;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@savvy-web/tsdown-plugins",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Interface-only tsdown/rolldown plugin pack powering @savvy-web/bundler",
|
|
6
6
|
"homepage": "https://github.com/savvy-web/systems/tree/main/packages/tsdown-plugins",
|
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
"@microsoft/api-extractor": "^7.58.9",
|
|
41
41
|
"@microsoft/tsdoc": "^0.16.0",
|
|
42
42
|
"@microsoft/tsdoc-config": "^0.18.1",
|
|
43
|
-
"deep-equal": "^2.2.3",
|
|
44
43
|
"effect": "^3.21.4",
|
|
45
44
|
"json-schema-effect": "^0.3.0",
|
|
46
45
|
"picocolors": "^1.1.1",
|