@pipelab/plugin-construct 1.0.0-beta.10 → 1.0.0-beta.11

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/dist/index.mjs CHANGED
@@ -1,11 +1,11 @@
1
- import { a as __require, i as __reExport, o as __toESM, r as __exportAll, t as __commonJSMin } from "./chunk-kImr3pkf.mjs";
1
+ import { a as __require, i as __reExport, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./chunk-kImr3pkf.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import { hostname } from "os";
4
4
  import { normalize } from "path";
5
5
  import { formatWithOptions, types } from "util";
6
6
  import path, { delimiter, dirname, join } from "node:path";
7
- import { constants, homedir, tmpdir } from "node:os";
8
7
  import { fileURLToPath } from "node:url";
8
+ import { constants, homedir, tmpdir } from "node:os";
9
9
  import { appendFileSync, createReadStream, createWriteStream, existsSync, readFileSync, readdirSync, statSync, writeFileSync } from "node:fs";
10
10
  import http from "node:http";
11
11
  import { webcrypto } from "node:crypto";
@@ -45207,7 +45207,16 @@ object({
45207
45207
  pipelines: optional(array(SaveLocationValidator), [])
45208
45208
  });
45209
45209
  //#endregion
45210
+ //#region ../../node_modules/tsdown/esm-shims.js
45211
+ var getFilename, getDirname, __dirname;
45212
+ var init_esm_shims = __esmMin((() => {
45213
+ getFilename = () => fileURLToPath(import.meta.url);
45214
+ getDirname = () => path.dirname(getFilename());
45215
+ __dirname = /* @__PURE__ */ getDirname();
45216
+ }));
45217
+ //#endregion
45210
45218
  //#region ../../packages/core-node/src/context.ts
45219
+ init_esm_shims();
45211
45220
  const _dirname = typeof __dirname !== "undefined" ? __dirname : typeof import.meta !== "undefined" && import.meta.url ? dirname(fileURLToPath(import.meta.url)) : process.cwd();
45212
45221
  const isDev = process.env.NODE_ENV === "development";
45213
45222
  /**
@@ -111081,6 +111090,7 @@ var require_lib$9 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
111081
111090
  //#endregion
111082
111091
  //#region ../../node_modules/@npmcli/run-script/lib/set-path.js
111083
111092
  var require_set_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
111093
+ init_esm_shims();
111084
111094
  const { log } = require_lib$29();
111085
111095
  const { resolve: resolve$4, dirname: dirname$2, delimiter: delimiter$1 } = __require("path");
111086
111096
  const nodeGypPath = resolve$4(__dirname, "../lib/node-gyp-bin");