lamsal-kit 1.0.0 → 1.0.2

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.
@@ -26829,13 +26829,13 @@ var init_compare_deps = __esm({
26829
26829
  var require_package = __commonJS({
26830
26830
  "package.json"(exports, module) {
26831
26831
  module.exports = {
26832
- name: "@lamsal-dev/lamsal-kit",
26832
+ name: "lamsal-kit",
26833
26833
  bin: {
26834
26834
  "lamsal-kit": "build/lamsal-kit.js"
26835
26835
  },
26836
26836
  repository: "romanlamsal/lamsal-kit",
26837
26837
  type: "module",
26838
- version: "1.0.0",
26838
+ version: "1.0.1",
26839
26839
  description: "",
26840
26840
  main: "build/lamsal-kit.js",
26841
26841
  types: "build/lamsal-kit.d.ts",
@@ -26876,7 +26876,7 @@ import { randomUUID } from "node:crypto";
26876
26876
  import { existsSync as existsSync2, mkdirSync, readFileSync as readFileSync2, rmSync, statSync } from "node:fs";
26877
26877
  import { readFile } from "node:fs/promises";
26878
26878
  import * as os from "node:os";
26879
- import { dirname, join as join2 } from "node:path";
26879
+ import { basename, dirname, join as join2 } from "node:path";
26880
26880
  import process6 from "node:process";
26881
26881
  async function getRegistry() {
26882
26882
  if (process6.env["REGISTRY_JSON"]) {
@@ -26958,14 +26958,14 @@ ${conflictsString}`
26958
26958
  if (!existsSync2(outputDir)) {
26959
26959
  mkdirSync(outputDir, { recursive: true });
26960
26960
  }
26961
- const outputPath = join2(outputDir, copyTo ?? config3.entry.replace("/registry/", ""));
26961
+ const outputPath = join2(outputDir, basename(copyTo ?? config3.entry));
26962
26962
  console.log(`Copying ${regEntryName} to ${outputPath}`);
26963
26963
  if (statSync(outputLocation).isFile()) {
26964
- execSync(`mv ${outputLocation} ${outputPath}`);
26964
+ execSync(`mv ${outputLocation} ${outputPath}`, { stdio: "inherit" });
26965
26965
  return;
26966
26966
  }
26967
26967
  const copySource = existsSync2(outputPath) && statSync(outputLocation).isDirectory() ? join2(outputLocation, "*") : outputLocation;
26968
- execSync(`mv ${copySource} ${outputPath}`);
26968
+ execSync(`mv ${copySource} ${outputPath}`, { stdio: "inherit" });
26969
26969
  return;
26970
26970
  }).then(() => {
26971
26971
  console.log("Done.");
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "repository": "romanlamsal/lamsal-kit",
7
7
  "type": "module",
8
- "version": "1.0.0",
8
+ "version": "1.0.2",
9
9
  "description": "",
10
10
  "main": "build/lamsal-kit.js",
11
11
  "types": "build/lamsal-kit.d.ts",