@savvy-web/tsdown-plugins 1.1.5 → 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/README.md CHANGED
@@ -57,7 +57,7 @@ export default defineConfig({
57
57
 
58
58
  ## Effect
59
59
 
60
- The package is implemented in [Effect](https://effect.website/), but Effect runs behind the plugin boundary: the catalog wrapper returns a `Promise` and the reporter is rendered with `Effect.runPromise` at the call site. The plugin and helper values you compose are plain rolldown-conformant objects. `effect` is a peer dependency.
60
+ The package is implemented in [Effect](https://effect.website/), but Effect runs behind the plugin boundary: the catalog wrapper returns a `Promise` and the reporter is rendered with `Effect.runPromise` at the call site. The plugin and helper values you compose are plain rolldown-conformant objects. `effect` and its `@effect/*` companions ship as regular dependencies, so you install nothing extra and your project's own Effect versions never affect the plugin pack.
61
61
 
62
62
  ## License
63
63
 
@@ -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 (deepEqual(JSON.parse(readFileSync(path, "utf-8")), config, { strict: true })) return path;
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.5",
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",
@@ -29,20 +29,23 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@changesets/get-release-plan": "^5.0.0-next.7",
32
+ "@effect/cluster": "^0.59.0",
33
+ "@effect/experimental": "^0.60.0",
34
+ "@effect/platform": "^0.96.2",
32
35
  "@effect/platform-node": "^0.107.0",
36
+ "@effect/rpc": "^0.75.1",
37
+ "@effect/sql": "^0.51.1",
38
+ "@effect/workflow": "^0.18.2",
33
39
  "@manypkg/get-packages": "^3.1.0",
34
40
  "@microsoft/api-extractor": "^7.58.9",
35
41
  "@microsoft/tsdoc": "^0.16.0",
36
42
  "@microsoft/tsdoc-config": "^0.18.1",
37
- "deep-equal": "^2.2.3",
43
+ "effect": "^3.21.4",
38
44
  "json-schema-effect": "^0.3.0",
39
45
  "picocolors": "^1.1.1",
40
46
  "sort-package-json": "^4.0.0",
41
47
  "std-env": "^4.1.0",
42
48
  "typescript": "^6.0.3",
43
- "workspaces-effect": "^2.0.1"
44
- },
45
- "peerDependencies": {
46
- "effect": "^3.21.0"
49
+ "workspaces-effect": "^2.0.2"
47
50
  }
48
51
  }