@wipcomputer/wip-ldm-os 0.4.54 → 0.4.56
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/SKILL.md +1 -1
- package/bin/ldm.js +3 -3
- package/catalog.json +1 -1
- package/lib/deploy.mjs +1 -1
- package/package.json +1 -1
package/SKILL.md
CHANGED
|
@@ -9,7 +9,7 @@ license: MIT
|
|
|
9
9
|
compatibility: Requires git, npm, node. Node.js 18+.
|
|
10
10
|
metadata:
|
|
11
11
|
display-name: "LDM OS"
|
|
12
|
-
version: "0.4.
|
|
12
|
+
version: "0.4.56"
|
|
13
13
|
homepage: "https://github.com/wipcomputer/wip-ldm-os"
|
|
14
14
|
author: "Parker Todd Brooks"
|
|
15
15
|
category: infrastructure
|
package/bin/ldm.js
CHANGED
|
@@ -693,7 +693,7 @@ async function cmdInstall() {
|
|
|
693
693
|
// Use the repo field to clone from GitHub
|
|
694
694
|
const repoTarget = catalogEntry.repo;
|
|
695
695
|
const repoName = basename(repoTarget);
|
|
696
|
-
const repoPath = join(LDM_TMP,
|
|
696
|
+
const repoPath = join(LDM_TMP, repoName);
|
|
697
697
|
const httpsUrl = `https://github.com/${repoTarget}.git`;
|
|
698
698
|
const sshUrl = `git@github.com:${repoTarget}.git`;
|
|
699
699
|
|
|
@@ -738,7 +738,7 @@ async function cmdInstall() {
|
|
|
738
738
|
if (resolvedTarget.startsWith('@') || (!resolvedTarget.includes('/') && !existsSync(resolve(resolvedTarget)))) {
|
|
739
739
|
// Try npm install to temp dir
|
|
740
740
|
const npmName = resolvedTarget;
|
|
741
|
-
const tempDir = join(LDM_TMP, `
|
|
741
|
+
const tempDir = join(LDM_TMP, `npm-${Date.now()}`);
|
|
742
742
|
console.log('');
|
|
743
743
|
console.log(` Installing ${npmName} from npm...`);
|
|
744
744
|
try {
|
|
@@ -770,7 +770,7 @@ async function cmdInstall() {
|
|
|
770
770
|
? `git@github.com:${resolvedTarget}.git`
|
|
771
771
|
: resolvedTarget.replace(/^https:\/\/github\.com\//, 'git@github.com:');
|
|
772
772
|
const repoName = basename(httpsUrl).replace('.git', '');
|
|
773
|
-
repoPath = join(LDM_TMP,
|
|
773
|
+
repoPath = join(LDM_TMP, repoName);
|
|
774
774
|
|
|
775
775
|
mkdirSync(LDM_TMP, { recursive: true });
|
|
776
776
|
console.log('');
|
package/catalog.json
CHANGED
package/lib/deploy.mjs
CHANGED
|
@@ -1089,4 +1089,4 @@ export function disableExtension(name) {
|
|
|
1089
1089
|
|
|
1090
1090
|
// ── Exports for ldm CLI ──
|
|
1091
1091
|
|
|
1092
|
-
export { loadRegistry, saveRegistry, updateRegistry, readJSON, writeJSON, runBuildIfNeeded,
|
|
1092
|
+
export { loadRegistry, saveRegistry, updateRegistry, readJSON, writeJSON, runBuildIfNeeded, CORE_EXTENSIONS };
|