@lifo-sh/core 0.4.0 → 0.4.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.
Files changed (47) hide show
  1. package/dist/{awk-CI8X5kVy.js → awk-C6CYe7-Y.js} +1 -1
  2. package/dist/{basename-D8VowKZK.js → basename-DWmNG86a.js} +1 -1
  3. package/dist/{cat-BPj_LHfi.js → cat-CJGzb2e3.js} +1 -1
  4. package/dist/{chmod-pNQSdBnq.js → chmod-jxQWlanu.js} +1 -1
  5. package/dist/{chown-BzpeyVqg.js → chown-B1-u84Sk.js} +1 -1
  6. package/dist/commands/registry.d.ts +1 -0
  7. package/dist/commands/registry.d.ts.map +1 -1
  8. package/dist/commands/system/lifo.d.ts +1 -1
  9. package/dist/commands/system/lifo.d.ts.map +1 -1
  10. package/dist/commands/system/npm.d.ts +7 -0
  11. package/dist/commands/system/npm.d.ts.map +1 -1
  12. package/dist/{cp-_rhci8W9.js → cp-DfLycDOs.js} +1 -1
  13. package/dist/{cut-Q5nQyrUo.js → cut-Cx3rJJBs.js} +1 -1
  14. package/dist/{diff-Dvc96Xgm.js → diff-BNTf3WBA.js} +1 -1
  15. package/dist/{dirname-B9Rm-O9I.js → dirname-BAkBrBEd.js} +1 -1
  16. package/dist/{du-Cv4zAsqm.js → du-z_BgTafK.js} +1 -1
  17. package/dist/{file-Cxgmm1Vo.js → file-BcMiRsYy.js} +1 -1
  18. package/dist/{find-BJNOna6S.js → find-CnuafYlN.js} +1 -1
  19. package/dist/{grep-vdjjGK6g.js → grep-CRKDa1ht.js} +1 -1
  20. package/dist/{gunzip-AmY9PUj2.js → gunzip-CQPu5wlU.js} +1 -1
  21. package/dist/{gzip-C_08tX3p.js → gzip-5Z4ubCZY.js} +1 -1
  22. package/dist/{head-DGXxKqPE.js → head-CHtqgY7i.js} +1 -1
  23. package/dist/{index-CvsPTm3-.js → index-CfhPq6Ru.js} +703 -655
  24. package/dist/index.js +1 -1
  25. package/dist/{ls-BOMe19Ls.js → ls-KhZ3RDtV.js} +1 -1
  26. package/dist/{mkdir-DE5ZBdl1.js → mkdir-CyaDOAjy.js} +1 -1
  27. package/dist/{mktemp-De1K5WCb.js → mktemp-BdOMKqeO.js} +1 -1
  28. package/dist/{mv-Cw8pg9wR.js → mv-BKse5fAw.js} +1 -1
  29. package/dist/{nl-C-osPl2N.js → nl-CR1TwNHf.js} +1 -1
  30. package/dist/{realpath-BSWdZLjf.js → realpath-Bn-E4jFG.js} +1 -1
  31. package/dist/{rev-3C5MtCkc.js → rev-zIT5u7gK.js} +1 -1
  32. package/dist/{rm-CR560cHz.js → rm-CwcGV_yP.js} +1 -1
  33. package/dist/{rmdir-BO4Jz3r5.js → rmdir-C0n1UKoB.js} +1 -1
  34. package/dist/{sed-DCUgJWcA.js → sed-Dpeoa9n0.js} +1 -1
  35. package/dist/{sort-or-F_iEY.js → sort-B0CyoWxT.js} +1 -1
  36. package/dist/{stat-MGHvbiS7.js → stat-CRPxoOhV.js} +1 -1
  37. package/dist/{tail-DheqHGe2.js → tail-X6H5EAuw.js} +1 -1
  38. package/dist/{tar-DhLtWtBV.js → tar-B8rlvBTm.js} +1 -1
  39. package/dist/{tee-D47GOzfR.js → tee-BNSgK_iU.js} +1 -1
  40. package/dist/{touch-D7Xd2vNM.js → touch-BePpbvnW.js} +1 -1
  41. package/dist/{tree-CRpLFDhe.js → tree-CgYdJHGr.js} +1 -1
  42. package/dist/{uniq-DwHCe--v.js → uniq-BCe-YCgo.js} +1 -1
  43. package/dist/{unzip-DPEg74Aq.js → unzip-ByMOFz0R.js} +1 -1
  44. package/dist/{wc-BUIoLfSN.js → wc-BoOwcYXR.js} +1 -1
  45. package/dist/{wget-BwmpusXQ.js → wget-D9TxbSi0.js} +1 -1
  46. package/dist/{zip-B4jRyQ7B.js → zip-ZGFNiBLk.js} +1 -1
  47. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as e, B as r, n as o, o as n, q as m, s as t, t as d, u as i, v as c, C as l, w as E, x as C, y as B, z as T, D as L, E as R, G as I, H, I as N, A as g, F as M, J as b, K as k, M as y, L as D, N as G, O as P, P as S, Q as f, S as _, R as A, T as p, U as u, W as x, X as U, V as h, Y as v, Z as F, b as K, _ as O, $ as W, a0 as Y, a1 as V, a2 as j, a3 as q, a4 as w, a5 as z, a6 as J, a7 as Z, a8 as Q, a9 as X, aa as $, ab as aa, ac as sa, ad as ea, ae as ra, k as oa, e as na, af as ma, c as ta, ag as da, ah as ia, i as ca, ai as la, aj as Ea, ak as Ca, al as Ba, am as Ta, an as La, ao as Ra, r as Ia, ap as Ha, aq as Na } from "./index-CvsPTm3-.js";
1
+ import { a as e, B as r, n as o, o as n, q as m, s as t, t as d, u as i, v as c, C as l, w as E, x as C, y as B, z as T, D as L, E as R, G as I, H, I as N, A as g, F as M, J as b, K as k, M as y, L as D, N as G, O as P, P as S, Q as f, S as _, R as A, T as p, U as u, W as x, X as U, V as h, Y as v, Z as F, b as K, _ as O, $ as W, a0 as Y, a1 as V, a2 as j, a3 as q, a4 as w, a5 as z, a6 as J, a7 as Z, a8 as Q, a9 as X, aa as $, ab as aa, ac as sa, ad as ea, ae as ra, k as oa, e as na, af as ma, c as ta, ag as da, ah as ia, i as ca, ai as la, aj as Ea, ak as Ca, al as Ba, am as Ta, an as La, ao as Ra, r as Ia, ap as Ha, aq as Na } from "./index-CfhPq6Ru.js";
2
2
  export {
3
3
  e as BLUE,
4
4
  r as BOLD,
@@ -1,5 +1,5 @@
1
1
  import { p as h } from "./args-CG6b9cZt.js";
2
- import { r as m, V as d, B as w, a as y, R as $ } from "./index-CvsPTm3-.js";
2
+ import { r as m, V as d, B as w, a as y, R as $ } from "./index-CfhPq6Ru.js";
3
3
  const S = {
4
4
  long: { type: "boolean", short: "l" },
5
5
  all: { type: "boolean", short: "a" },
@@ -1,5 +1,5 @@
1
1
  import { p as i } from "./args-CG6b9cZt.js";
2
- import { r as p, V as m } from "./index-CvsPTm3-.js";
2
+ import { r as p, V as m } from "./index-CfhPq6Ru.js";
3
3
  const d = {
4
4
  parents: { type: "boolean", short: "p" }
5
5
  }, l = async (r) => {
@@ -1,5 +1,5 @@
1
1
  import { p as d } from "./args-CG6b9cZt.js";
2
- import { r as p } from "./index-CvsPTm3-.js";
2
+ import { r as p } from "./index-CfhPq6Ru.js";
3
3
  const f = {
4
4
  directory: { type: "boolean", short: "d" },
5
5
  tmpdir: { type: "string", short: "p" }
@@ -1,4 +1,4 @@
1
- import { r as a, b as n, V as o } from "./index-CvsPTm3-.js";
1
+ import { r as a, b as n, V as o } from "./index-CfhPq6Ru.js";
2
2
  const f = async (r) => {
3
3
  if (r.args.length < 2)
4
4
  return r.stderr.write(`mv: missing operand
@@ -1,5 +1,5 @@
1
1
  import { p } from "./args-CG6b9cZt.js";
2
- import { r as m, i as u, c as h, V as f } from "./index-CvsPTm3-.js";
2
+ import { r as m, i as u, c as h, V as f } from "./index-CfhPq6Ru.js";
3
3
  const w = {
4
4
  "body-numbering": { type: "string", short: "b" },
5
5
  "number-width": { type: "string", short: "w" }
@@ -1,4 +1,4 @@
1
- import { r as o, V as n } from "./index-CvsPTm3-.js";
1
+ import { r as o, V as n } from "./index-CfhPq6Ru.js";
2
2
  const d = async (r) => {
3
3
  if (r.args.length === 0)
4
4
  return r.stderr.write(`realpath: missing operand
@@ -1,4 +1,4 @@
1
- import { r as o, i as a, c as d, V as f } from "./index-CvsPTm3-.js";
1
+ import { r as o, i as a, c as d, V as f } from "./index-CfhPq6Ru.js";
2
2
  function i(e) {
3
3
  return e.split(`
4
4
  `).map((s) => [...s].reverse().join("")).join(`
@@ -1,5 +1,5 @@
1
1
  import { p as f } from "./args-CG6b9cZt.js";
2
- import { r as m, V as p } from "./index-CvsPTm3-.js";
2
+ import { r as m, V as p } from "./index-CfhPq6Ru.js";
3
3
  const l = {
4
4
  recursive: { type: "boolean", short: "r" },
5
5
  Recursive: { type: "boolean", short: "R" },
@@ -1,5 +1,5 @@
1
1
  import { p } from "./args-CG6b9cZt.js";
2
- import { r as m, k as n, V as d } from "./index-CvsPTm3-.js";
2
+ import { r as m, k as n, V as d } from "./index-CfhPq6Ru.js";
3
3
  const f = {
4
4
  parents: { type: "boolean", short: "p" }
5
5
  }, g = async (e) => {
@@ -1,4 +1,4 @@
1
- import { r as c, i as g, c as h, V as m } from "./index-CvsPTm3-.js";
1
+ import { r as c, i as g, c as h, V as m } from "./index-CfhPq6Ru.js";
2
2
  function w(e) {
3
3
  if (e === "d")
4
4
  return { type: "d" };
@@ -1,4 +1,4 @@
1
- import { r as c, i as h, c as m, V as k } from "./index-CvsPTm3-.js";
1
+ import { r as c, i as h, c as m, V as k } from "./index-CfhPq6Ru.js";
2
2
  const y = async (s) => {
3
3
  let f = !1, u = !1, g = !1, a = 0;
4
4
  const l = [];
@@ -1,4 +1,4 @@
1
- import { r as n, V as d } from "./index-CvsPTm3-.js";
1
+ import { r as n, V as d } from "./index-CfhPq6Ru.js";
2
2
  const w = async (t) => {
3
3
  if (t.args.length === 0)
4
4
  return t.stderr.write(`stat: missing operand
@@ -1,4 +1,4 @@
1
- import { r as o, i as f, c as d, V as g } from "./index-CvsPTm3-.js";
1
+ import { r as o, i as f, c as d, V as g } from "./index-CfhPq6Ru.js";
2
2
  const u = async (e) => {
3
3
  let n = 10;
4
4
  const r = [];
@@ -1,4 +1,4 @@
1
- import { r as p, d as b, f as F, h as z, j as y, p as m, k as $, V as C } from "./index-CvsPTm3-.js";
1
+ import { r as p, d as b, f as F, h as z, j as y, p as m, k as $, V as C } from "./index-CfhPq6Ru.js";
2
2
  const D = async (e) => {
3
3
  let f = !1, l = !1, c = !1, n = !1, d = !1, u = "", o = "";
4
4
  const h = [];
@@ -1,4 +1,4 @@
1
- import { r as f } from "./index-CvsPTm3-.js";
1
+ import { r as f } from "./index-CfhPq6Ru.js";
2
2
  const l = async (e) => {
3
3
  let a = !1;
4
4
  const o = [];
@@ -1,4 +1,4 @@
1
- import { r as a, V as n } from "./index-CvsPTm3-.js";
1
+ import { r as a, V as n } from "./index-CfhPq6Ru.js";
2
2
  const f = async (r) => {
3
3
  if (r.args.length === 0)
4
4
  return r.stderr.write(`touch: missing operand
@@ -1,4 +1,4 @@
1
- import { r as v, V as C } from "./index-CvsPTm3-.js";
1
+ import { r as v, V as C } from "./index-CfhPq6Ru.js";
2
2
  const P = async (t) => {
3
3
  let f = 1 / 0, a = !1, o = ".";
4
4
  for (let e = 0; e < t.args.length; e++) {
@@ -1,4 +1,4 @@
1
- import { r as f, i as c, c as g, V as d } from "./index-CvsPTm3-.js";
1
+ import { r as f, i as c, c as g, V as d } from "./index-CfhPq6Ru.js";
2
2
  const h = async (t) => {
3
3
  let o = !1, l = !1, a = !1;
4
4
  const s = [];
@@ -1,4 +1,4 @@
1
- import { r as d, m as f, k as p, V as w } from "./index-CvsPTm3-.js";
1
+ import { r as d, m as f, k as p, V as w } from "./index-CfhPq6Ru.js";
2
2
  const v = async (t) => {
3
3
  let u = !1, a = "", o = "";
4
4
  for (let r = 0; r < t.args.length; r++) {
@@ -1,4 +1,4 @@
1
- import { r as p, i as y, c as b, V as m } from "./index-CvsPTm3-.js";
1
+ import { r as p, i as y, c as b, V as m } from "./index-CfhPq6Ru.js";
2
2
  const v = async (s) => {
3
3
  let i = !1, o = !1, a = !1;
4
4
  const l = [];
@@ -1,4 +1,4 @@
1
- import { r as l } from "./index-CvsPTm3-.js";
1
+ import { r as l } from "./index-CfhPq6Ru.js";
2
2
  const w = async (e) => {
3
3
  let i, n = !1, s;
4
4
  const a = e.args;
@@ -1,4 +1,4 @@
1
- import { r as d, d as c, l as f, V as h } from "./index-CvsPTm3-.js";
1
+ import { r as d, d as c, l as f, V as h } from "./index-CfhPq6Ru.js";
2
2
  const g = async (r) => {
3
3
  if (r.args.length === 0 || r.args[0] === "--help")
4
4
  return r.stdout.write(`Usage: zip archive.zip file1 [file2 ...]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifo-sh/core",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Linux-like OS engine for JavaScript -- kernel, shell, VFS, and 60+ commands",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -35,15 +35,9 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "scripts": {
39
- "build": "vite build",
40
- "typecheck": "tsc --noEmit",
41
- "test": "vitest run",
42
- "test:watch": "vitest"
43
- },
44
38
  "dependencies": {},
45
39
  "peerDependencies": {
46
- "@lifo-sh/ui": "workspace:*"
40
+ "@lifo-sh/ui": "0.4.1"
47
41
  },
48
42
  "peerDependenciesMeta": {
49
43
  "@lifo-sh/ui": {
@@ -55,5 +49,11 @@
55
49
  "vite": "^6.0.0",
56
50
  "vite-plugin-dts": "^4.5.0",
57
51
  "vitest": "^3.0.0"
52
+ },
53
+ "scripts": {
54
+ "build": "vite build",
55
+ "typecheck": "tsc --noEmit",
56
+ "test": "vitest run",
57
+ "test:watch": "vitest"
58
58
  }
59
- }
59
+ }