@savvy-web/tsdown-plugins 2.11.2 → 2.11.4
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/build/strip-maps.js +2 -2
- package/build/sync-public.js +2 -2
- package/meta/scrub-declaration-maps.js +2 -2
- package/package.json +14 -14
- package/tsdoc-metadata.json +1 -1
package/build/strip-maps.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { rmSync } from "node:fs";
|
|
2
|
-
import { join } from "node:path";
|
|
2
|
+
import { join, resolve } from "node:path";
|
|
3
3
|
import { Result } from "effect";
|
|
4
4
|
import { GlobPattern, GlobPatternOptions } from "@effected/glob";
|
|
5
5
|
import { descendSync } from "@effected/walker";
|
|
@@ -25,7 +25,7 @@ const STRIPPABLE_MAPS = Result.getOrThrow(GlobPattern.compileResult("**/*.d.{ts,
|
|
|
25
25
|
*/
|
|
26
26
|
function removeDeclarationMaps(pkgDir) {
|
|
27
27
|
return Result.getOrThrow(descendSync(STRIPPABLE_MAPS, {
|
|
28
|
-
cwd: pkgDir,
|
|
28
|
+
cwd: resolve(pkgDir),
|
|
29
29
|
prune: ["node_modules"],
|
|
30
30
|
onUnreadable: "skip",
|
|
31
31
|
...nodeWalkerSyncOps
|
package/build/sync-public.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ConfigValidationError } from "../errors.js";
|
|
2
2
|
import { findRelativeSpecifiers } from "../dts/relative-imports.js";
|
|
3
3
|
import { copyFileSync, existsSync, mkdirSync, readFileSync, statSync } from "node:fs";
|
|
4
|
-
import { dirname, join } from "node:path";
|
|
4
|
+
import { dirname, join, resolve } from "node:path";
|
|
5
5
|
import { Result } from "effect";
|
|
6
6
|
import { GlobPattern, GlobPatternOptions } from "@effected/glob";
|
|
7
7
|
import { descendSync } from "@effected/walker";
|
|
@@ -16,7 +16,7 @@ const EVERY_FILE = Result.getOrThrow(GlobPattern.compileResult("**", GlobPattern
|
|
|
16
16
|
*/
|
|
17
17
|
function listFilesRel(dir) {
|
|
18
18
|
return Result.getOrThrow(descendSync(EVERY_FILE, {
|
|
19
|
-
cwd: dir,
|
|
19
|
+
cwd: resolve(dir),
|
|
20
20
|
prune: [],
|
|
21
21
|
...nodeWalkerSyncOps
|
|
22
22
|
}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { readFileSync, writeFileSync } from "node:fs";
|
|
2
|
-
import { join } from "node:path";
|
|
2
|
+
import { join, resolve } from "node:path";
|
|
3
3
|
import { Result } from "effect";
|
|
4
4
|
import { GlobPattern, GlobPatternOptions } from "@effected/glob";
|
|
5
5
|
import { descendSync } from "@effected/walker";
|
|
@@ -49,7 +49,7 @@ function scrubSourcelessMappings(mapPath) {
|
|
|
49
49
|
*/
|
|
50
50
|
function scrubDeclarationMapsUnder(dir) {
|
|
51
51
|
const maps = Result.getOrThrow(descendSync(DECLARATION_MAPS, {
|
|
52
|
-
cwd: dir,
|
|
52
|
+
cwd: resolve(dir),
|
|
53
53
|
prune: [],
|
|
54
54
|
followSymlinks: true,
|
|
55
55
|
onUnreadable: "skip",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@savvy-web/tsdown-plugins",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.4",
|
|
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",
|
|
@@ -30,23 +30,23 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@changesets/get-release-plan": "^5.0.2",
|
|
33
|
-
"@effect/platform-node": "^4.0.
|
|
34
|
-
"@effected/env": "^0.
|
|
35
|
-
"@effected/glob": "^0.
|
|
36
|
-
"@effected/images": "^0.
|
|
37
|
-
"@effected/jsonc": "^0.
|
|
38
|
-
"@effected/npm": "^0.
|
|
39
|
-
"@effected/package-json": "^0.
|
|
40
|
-
"@effected/semver": "^0.
|
|
41
|
-
"@effected/tsconfig-json": "^0.
|
|
42
|
-
"@effected/walker": "^0.
|
|
43
|
-
"@effected/workspaces": "^0.
|
|
33
|
+
"@effect/platform-node": "^4.0.7",
|
|
34
|
+
"@effected/env": "^0.7.0",
|
|
35
|
+
"@effected/glob": "^0.16.0",
|
|
36
|
+
"@effected/images": "^0.7.0",
|
|
37
|
+
"@effected/jsonc": "^0.21.0",
|
|
38
|
+
"@effected/npm": "^0.28.0",
|
|
39
|
+
"@effected/package-json": "^0.27.0",
|
|
40
|
+
"@effected/semver": "^0.19.0",
|
|
41
|
+
"@effected/tsconfig-json": "^0.18.0",
|
|
42
|
+
"@effected/walker": "^0.22.0",
|
|
43
|
+
"@effected/workspaces": "^0.40.0",
|
|
44
44
|
"@jridgewell/sourcemap-codec": "^1.6.0",
|
|
45
45
|
"@microsoft/api-extractor": "^7.59.4",
|
|
46
46
|
"@microsoft/tsdoc": "~0.17.1",
|
|
47
47
|
"@microsoft/tsdoc-config": "~0.18.3",
|
|
48
|
-
"@tsdoctor/manifest": "^0.2.
|
|
49
|
-
"effect": "^4.0.
|
|
48
|
+
"@tsdoctor/manifest": "^0.2.11",
|
|
49
|
+
"effect": "^4.0.7",
|
|
50
50
|
"picocolors": "^1.1.1",
|
|
51
51
|
"tsdown": "^0.23.2",
|
|
52
52
|
"typescript": "7.1.0-beta"
|