plgg-bundle 0.0.2 → 0.0.5

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.
@@ -0,0 +1,15 @@
1
+ /**
2
+ * The path anti-corruption layer for plgg-bundle — the ONLY
3
+ * place the build usecases reach `node:path`. Re-exported to
4
+ * preserve exact node types; confining the import here is what
5
+ * keeps the domain free of `node:` specifiers (the
6
+ * vendor-boundary gate).
7
+ */
8
+ export {
9
+ join,
10
+ dirname,
11
+ relative,
12
+ basename,
13
+ resolve,
14
+ isAbsolute,
15
+ } from "node:path";
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The process/module anti-corruption layer for plgg-bundle —
3
+ * the ONLY place the `.d.ts` emitter reaches `node:child_process`
4
+ * (to spawn the target's own `tsc`) and `node:module` (to
5
+ * resolve it against the target's node_modules). Confined here so
6
+ * the domain stays `node:`-free.
7
+ */
8
+ export { spawnSync } from "node:child_process";
9
+ export {
10
+ createRequire,
11
+ register,
12
+ } from "node:module";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The URL anti-corruption layer for plgg-bundle's dev server —
3
+ * the ONLY place `node:url` is reached (turning a filesystem
4
+ * path into a `file://` URL for the module runner).
5
+ */
6
+ export { pathToFileURL } from "node:url";