@forinda/kickjs-cli 1.4.0 → 1.5.0

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/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { _ as E, a as ee, b as P, c as te, d as oe, f as re, g as S, h as L, i as ne, l as ie, m as se, n as w, o as ae, p as _, r as R, s as ce, u as de, v as M, y as $ } from "./config-11ag0rJc.js";
2
+ import { _ as E, a as ee, b as P, c as te, d as oe, f as re, g as S, h as L, i as ne, l as ie, m as se, n as w, o as ae, p as _, r as R, s as ce, u as de, v as M, y as $ } from "./config-BfcuZ6Xh.js";
3
3
  import { basename as pe, dirname as le, join as g, resolve as m } from "node:path";
4
4
  import { createInterface as N } from "node:readline";
5
5
  import { readFile as B, rm as me, writeFile as W } from "node:fs/promises";
@@ -1,7 +1,7 @@
1
- import { dirname as Q, join as p, resolve as x } from "node:path";
1
+ import { dirname as Q, join as p, resolve as P } from "node:path";
2
2
  import { createInterface as ee } from "node:readline";
3
3
  import { access as F, mkdir as te, readFile as L, writeFile as N } from "node:fs/promises";
4
- import { execSync as w } from "node:child_process";
4
+ import { execSync as R } from "node:child_process";
5
5
  import { readFileSync as re } from "node:fs";
6
6
  import { fileURLToPath as oe } from "node:url";
7
7
  var W = !1;
@@ -21,7 +21,7 @@ async function B(r) {
21
21
  function h(r) {
22
22
  return r.replace(/[-_\s]+(.)?/g, (e, t) => t ? t.toUpperCase() : "").replace(/^(.)/, (e) => e.toUpperCase());
23
23
  }
24
- function P(r) {
24
+ function T(r) {
25
25
  const e = h(r);
26
26
  return e.charAt(0).toLowerCase() + e.slice(1);
27
27
  }
@@ -303,7 +303,7 @@ export const ${e.toUpperCase()}_QUERY_CONFIG: QueryParamsConfig = {
303
303
  }
304
304
  `;
305
305
  }
306
- function T(r) {
306
+ function O(r) {
307
307
  const { pascal: e, kebab: t } = r;
308
308
  return `import { z } from 'zod'
309
309
 
@@ -323,7 +323,7 @@ export const create${e}Schema = z.object({
323
323
  export type Create${e}DTO = z.infer<typeof create${e}Schema>
324
324
  `;
325
325
  }
326
- function O(r) {
326
+ function I(r) {
327
327
  const { pascal: e, kebab: t } = r;
328
328
  return `import { z } from 'zod'
329
329
 
@@ -334,7 +334,7 @@ export const update${e}Schema = z.object({
334
334
  export type Update${e}DTO = z.infer<typeof update${e}Schema>
335
335
  `;
336
336
  }
337
- function I(r) {
337
+ function S(r) {
338
338
  const { pascal: e, kebab: t } = r;
339
339
  return `export interface ${e}ResponseDTO {
340
340
  id: string
@@ -447,7 +447,7 @@ export class Delete${e}UseCase {
447
447
  }
448
448
  ];
449
449
  }
450
- function S(r) {
450
+ function A(r) {
451
451
  const { pascal: e, kebab: t, dtoPrefix: o = "../../application/dtos" } = r;
452
452
  return `/**
453
453
  * ${e} Repository Interface
@@ -475,7 +475,7 @@ export interface I${e}Repository {
475
475
  export const ${e.toUpperCase()}_REPOSITORY = Symbol('I${e}Repository')
476
476
  `;
477
477
  }
478
- function A(r) {
478
+ function v(r) {
479
479
  const { pascal: e, kebab: t, repoPrefix: o = "../../domain/repositories", dtoPrefix: s = "../../application/dtos" } = r;
480
480
  return `/**
481
481
  * In-Memory ${e} Repository
@@ -1437,7 +1437,7 @@ export class ${e}Controller {
1437
1437
  }
1438
1438
  `);
1439
1439
  }
1440
- async function De(r) {
1440
+ async function xe(r) {
1441
1441
  const { pascal: e, kebab: t, plural: o, pluralPascal: s, repo: i, noTests: n, prismaClientPath: a, write: c } = r;
1442
1442
  await c("index.ts", ce({
1443
1443
  pascal: e,
@@ -1455,16 +1455,16 @@ async function De(r) {
1455
1455
  })), await c(`${t}.service.ts`, he({
1456
1456
  pascal: e,
1457
1457
  kebab: t
1458
- })), await c(`dtos/create-${t}.dto.ts`, T({
1458
+ })), await c(`dtos/create-${t}.dto.ts`, O({
1459
1459
  pascal: e,
1460
1460
  kebab: t
1461
- })), await c(`dtos/update-${t}.dto.ts`, O({
1461
+ })), await c(`dtos/update-${t}.dto.ts`, I({
1462
1462
  pascal: e,
1463
1463
  kebab: t
1464
- })), await c(`dtos/${t}-response.dto.ts`, I({
1464
+ })), await c(`dtos/${t}-response.dto.ts`, S({
1465
1465
  pascal: e,
1466
1466
  kebab: t
1467
- })), await c(`${t}.repository.ts`, S({
1467
+ })), await c(`${t}.repository.ts`, A({
1468
1468
  pascal: e,
1469
1469
  kebab: t,
1470
1470
  dtoPrefix: "./dtos"
@@ -1474,7 +1474,7 @@ async function De(r) {
1474
1474
  drizzle: `drizzle-${t}`,
1475
1475
  prisma: `prisma-${t}`
1476
1476
  }, u = {
1477
- inmemory: () => A({
1477
+ inmemory: () => v({
1478
1478
  pascal: e,
1479
1479
  kebab: t,
1480
1480
  repoPrefix: ".",
@@ -1500,7 +1500,12 @@ async function De(r) {
1500
1500
  repoPrefix: ".",
1501
1501
  dtoPrefix: "./dtos"
1502
1502
  }));
1503
- await c(`${m}.repository.ts`, f()), n || (await c(`__tests__/${t}.controller.test.ts`, E({
1503
+ await c(`${m}.repository.ts`, f()), n || (i !== "inmemory" && await c(`in-memory-${t}.repository.ts`, v({
1504
+ pascal: e,
1505
+ kebab: t,
1506
+ repoPrefix: ".",
1507
+ dtoPrefix: "./dtos"
1508
+ })), await c(`__tests__/${t}.controller.test.ts`, E({
1504
1509
  pascal: e,
1505
1510
  kebab: t,
1506
1511
  plural: o
@@ -1511,7 +1516,7 @@ async function De(r) {
1511
1516
  repoPrefix: `../${d.inmemory ?? `in-memory-${t}`}.repository`
1512
1517
  })));
1513
1518
  }
1514
- async function xe(r) {
1519
+ async function De(r) {
1515
1520
  const { pascal: e, kebab: t, plural: o, pluralPascal: s, repo: i, noTests: n, prismaClientPath: a, write: c } = r;
1516
1521
  await c("index.ts", ge({
1517
1522
  pascal: e,
@@ -1526,13 +1531,13 @@ async function xe(r) {
1526
1531
  kebab: t,
1527
1532
  plural: o,
1528
1533
  pluralPascal: s
1529
- })), await c(`dtos/create-${t}.dto.ts`, T({
1534
+ })), await c(`dtos/create-${t}.dto.ts`, O({
1530
1535
  pascal: e,
1531
1536
  kebab: t
1532
- })), await c(`dtos/update-${t}.dto.ts`, O({
1537
+ })), await c(`dtos/update-${t}.dto.ts`, I({
1533
1538
  pascal: e,
1534
1539
  kebab: t
1535
- })), await c(`dtos/${t}-response.dto.ts`, I({
1540
+ })), await c(`dtos/${t}-response.dto.ts`, S({
1536
1541
  pascal: e,
1537
1542
  kebab: t
1538
1543
  }));
@@ -1553,7 +1558,7 @@ async function xe(r) {
1553
1558
  kebab: t
1554
1559
  });
1555
1560
  for (const $ of m) await c(`events/${$.file}`, $.content);
1556
- await c(`${t}.repository.ts`, S({
1561
+ await c(`${t}.repository.ts`, A({
1557
1562
  pascal: e,
1558
1563
  kebab: t,
1559
1564
  dtoPrefix: "./dtos"
@@ -1562,8 +1567,8 @@ async function xe(r) {
1562
1567
  inmemory: `in-memory-${t}`,
1563
1568
  drizzle: `drizzle-${t}`,
1564
1569
  prisma: `prisma-${t}`
1565
- }, v = {
1566
- inmemory: () => A({
1570
+ }, w = {
1571
+ inmemory: () => v({
1567
1572
  pascal: e,
1568
1573
  kebab: t,
1569
1574
  repoPrefix: ".",
@@ -1582,14 +1587,19 @@ async function xe(r) {
1582
1587
  dtoPrefix: "./dtos",
1583
1588
  prismaClientPath: a
1584
1589
  })
1585
- }, k = f[i] ?? `${y(i)}-${t}`, g = v[i] ?? (() => j({
1590
+ }, k = f[i] ?? `${y(i)}-${t}`, g = w[i] ?? (() => j({
1586
1591
  pascal: e,
1587
1592
  kebab: t,
1588
1593
  repoType: i,
1589
1594
  repoPrefix: ".",
1590
1595
  dtoPrefix: "./dtos"
1591
1596
  }));
1592
- await c(`${k}.repository.ts`, g()), n || (await c(`__tests__/${t}.controller.test.ts`, E({
1597
+ await c(`${k}.repository.ts`, g()), n || (i !== "inmemory" && await c(`in-memory-${t}.repository.ts`, v({
1598
+ pascal: e,
1599
+ kebab: t,
1600
+ repoPrefix: ".",
1601
+ dtoPrefix: "./dtos"
1602
+ })), await c(`__tests__/${t}.controller.test.ts`, E({
1593
1603
  pascal: e,
1594
1604
  kebab: t,
1595
1605
  plural: o
@@ -1618,13 +1628,13 @@ async function Pe(r) {
1618
1628
  kebab: t,
1619
1629
  plural: o,
1620
1630
  pluralPascal: s
1621
- })), await d(`application/dtos/create-${t}.dto.ts`, T({
1631
+ })), await d(`application/dtos/create-${t}.dto.ts`, O({
1622
1632
  pascal: e,
1623
1633
  kebab: t
1624
- })), await d(`application/dtos/update-${t}.dto.ts`, O({
1634
+ })), await d(`application/dtos/update-${t}.dto.ts`, I({
1625
1635
  pascal: e,
1626
1636
  kebab: t
1627
- })), await d(`application/dtos/${t}-response.dto.ts`, I({
1637
+ })), await d(`application/dtos/${t}-response.dto.ts`, S({
1628
1638
  pascal: e,
1629
1639
  kebab: t
1630
1640
  }));
@@ -1635,7 +1645,7 @@ async function Pe(r) {
1635
1645
  pluralPascal: s
1636
1646
  });
1637
1647
  for (const g of u) await d(`application/use-cases/${g.file}`, g.content);
1638
- await d(`domain/repositories/${t}.repository.ts`, S({
1648
+ await d(`domain/repositories/${t}.repository.ts`, A({
1639
1649
  pascal: e,
1640
1650
  kebab: t
1641
1651
  })), await d(`domain/services/${t}-domain.service.ts`, fe({
@@ -1647,7 +1657,7 @@ async function Pe(r) {
1647
1657
  drizzle: `drizzle-${t}`,
1648
1658
  prisma: `prisma-${t}`
1649
1659
  }, f = {
1650
- inmemory: () => A({
1660
+ inmemory: () => v({
1651
1661
  pascal: e,
1652
1662
  kebab: t
1653
1663
  }),
@@ -1660,18 +1670,21 @@ async function Pe(r) {
1660
1670
  kebab: t,
1661
1671
  prismaClientPath: c
1662
1672
  })
1663
- }, v = m[i] ?? `${y(i)}-${t}`, k = f[i] ?? (() => j({
1673
+ }, w = m[i] ?? `${y(i)}-${t}`, k = f[i] ?? (() => j({
1664
1674
  pascal: e,
1665
1675
  kebab: t,
1666
1676
  repoType: i
1667
1677
  }));
1668
- await d(`infrastructure/repositories/${v}.repository.ts`, k()), n || (await d(`domain/entities/${t}.entity.ts`, $e({
1678
+ await d(`infrastructure/repositories/${w}.repository.ts`, k()), n || (await d(`domain/entities/${t}.entity.ts`, $e({
1669
1679
  pascal: e,
1670
1680
  kebab: t
1671
1681
  })), await d(`domain/value-objects/${t}-id.vo.ts`, ye({
1672
1682
  pascal: e,
1673
1683
  kebab: t
1674
- }))), a || (await d(`__tests__/${t}.controller.test.ts`, E({
1684
+ }))), a || (i !== "inmemory" && await d(`infrastructure/repositories/in-memory-${t}.repository.ts`, v({
1685
+ pascal: e,
1686
+ kebab: t
1687
+ })), await d(`__tests__/${t}.controller.test.ts`, E({
1675
1688
  pascal: e,
1676
1689
  kebab: t,
1677
1690
  plural: o
@@ -1699,15 +1712,15 @@ async function at(r) {
1699
1712
  const { name: e, modulesDir: t, noEntity: o, noTests: s, repo: i = "inmemory", force: n, dryRun: a } = r, c = r.pluralize !== !1;
1700
1713
  let d = r.pattern ?? "ddd";
1701
1714
  r.minimal && (d = "minimal");
1702
- const u = y(e), m = h(e), f = c ? Y(u) : u, v = c ? se(m) : m, k = p(t, f), g = [];
1715
+ const u = y(e), m = h(e), f = c ? Y(u) : u, w = c ? se(m) : m, k = p(t, f), g = [];
1703
1716
  let $ = n ?? !1;
1704
1717
  const Z = async (D, X) => {
1705
- const b = p(k, D);
1718
+ const x = p(k, D);
1706
1719
  if (a) {
1707
- g.push(b);
1720
+ g.push(x);
1708
1721
  return;
1709
1722
  }
1710
- if (!$ && await B(b)) {
1723
+ if (!$ && await B(x)) {
1711
1724
  const z = await Te(` File already exists: ${D}
1712
1725
  Overwrite? (y/n/a = yes/no/all) `);
1713
1726
  if (z === "a") $ = !0;
@@ -1716,12 +1729,12 @@ async function at(r) {
1716
1729
  return;
1717
1730
  }
1718
1731
  }
1719
- await l(b, X), g.push(b);
1720
- }, C = {
1732
+ await l(x, X), g.push(x);
1733
+ }, b = {
1721
1734
  kebab: u,
1722
1735
  pascal: m,
1723
1736
  plural: f,
1724
- pluralPascal: v,
1737
+ pluralPascal: w,
1725
1738
  moduleDir: k,
1726
1739
  repo: i,
1727
1740
  noEntity: o ?? !1,
@@ -1732,16 +1745,16 @@ async function at(r) {
1732
1745
  };
1733
1746
  switch (d) {
1734
1747
  case "minimal":
1735
- await be(C);
1748
+ await be(b);
1736
1749
  break;
1737
1750
  case "rest":
1738
- await De(C);
1751
+ await xe(b);
1739
1752
  break;
1740
1753
  case "cqrs":
1741
- await xe(C);
1754
+ await De(b);
1742
1755
  break;
1743
1756
  default:
1744
- await Pe(C);
1757
+ await Pe(b);
1745
1758
  break;
1746
1759
  }
1747
1760
  return a || await Oe(t, m, f), g;
@@ -1888,24 +1901,24 @@ var Ie = {
1888
1901
  query: "queries",
1889
1902
  event: "events"
1890
1903
  };
1891
- function R(r) {
1904
+ function C(r) {
1892
1905
  const { type: e, outDir: t, moduleName: o, modulesDir: s = "src/modules", defaultDir: i, pattern: n = "ddd" } = r;
1893
- if (t) return x(t);
1906
+ if (t) return P(t);
1894
1907
  if (o) {
1895
1908
  const a = n === "ddd" ? Ie : n === "cqrs" ? Ae : Se, c = Y(y(o)), d = a[e] ?? "", u = p(s, c);
1896
- return x(d ? p(u, d) : u);
1909
+ return P(d ? p(u, d) : u);
1897
1910
  }
1898
- return x(i);
1911
+ return P(i);
1899
1912
  }
1900
1913
  async function ct(r) {
1901
- const { name: e, moduleName: t, modulesDir: o, pattern: s } = r, i = R({
1914
+ const { name: e, moduleName: t, modulesDir: o, pattern: s } = r, i = C({
1902
1915
  type: "middleware",
1903
1916
  outDir: r.outDir,
1904
1917
  moduleName: t,
1905
1918
  modulesDir: o,
1906
1919
  defaultDir: "src/middleware",
1907
1920
  pattern: s
1908
- }), n = y(e), a = P(e), c = [], d = p(i, `${n}.middleware.ts`);
1921
+ }), n = y(e), a = T(e), c = [], d = p(i, `${n}.middleware.ts`);
1909
1922
  return await l(d, `import type { Request, Response, NextFunction } from 'express'
1910
1923
 
1911
1924
  export interface ${h(e)}Options {
@@ -1933,14 +1946,14 @@ export function ${a}(options: ${h(e)}Options = {}) {
1933
1946
  `), c.push(d), c;
1934
1947
  }
1935
1948
  async function dt(r) {
1936
- const { name: e, moduleName: t, modulesDir: o, pattern: s } = r, i = R({
1949
+ const { name: e, moduleName: t, modulesDir: o, pattern: s } = r, i = C({
1937
1950
  type: "guard",
1938
1951
  outDir: r.outDir,
1939
1952
  moduleName: t,
1940
1953
  modulesDir: o,
1941
1954
  defaultDir: "src/guards",
1942
1955
  pattern: s
1943
- }), n = y(e), a = P(e), c = h(e), d = [], u = p(i, `${n}.guard.ts`);
1956
+ }), n = y(e), a = T(e), c = h(e), d = [], u = p(i, `${n}.guard.ts`);
1944
1957
  return await l(u, `import { Container, HttpException } from '@forinda/kickjs-core'
1945
1958
  import type { RequestContext } from '@forinda/kickjs-http'
1946
1959
 
@@ -1980,7 +1993,7 @@ export async function ${a}Guard(ctx: RequestContext, next: () => void): Promise<
1980
1993
  `), d.push(u), d;
1981
1994
  }
1982
1995
  async function pt(r) {
1983
- const { name: e, moduleName: t, modulesDir: o, pattern: s } = r, i = R({
1996
+ const { name: e, moduleName: t, modulesDir: o, pattern: s } = r, i = C({
1984
1997
  type: "service",
1985
1998
  outDir: r.outDir,
1986
1999
  moduleName: t,
@@ -2000,7 +2013,7 @@ export class ${a}Service {
2000
2013
  `), c.push(d), c;
2001
2014
  }
2002
2015
  async function lt(r) {
2003
- const { name: e, moduleName: t, modulesDir: o, pattern: s } = r, i = R({
2016
+ const { name: e, moduleName: t, modulesDir: o, pattern: s } = r, i = C({
2004
2017
  type: "controller",
2005
2018
  outDir: r.outDir,
2006
2019
  moduleName: t,
@@ -2028,14 +2041,14 @@ export class ${a}Controller {
2028
2041
  `), c.push(d), c;
2029
2042
  }
2030
2043
  async function ut(r) {
2031
- const { name: e, moduleName: t, modulesDir: o, pattern: s } = r, i = R({
2044
+ const { name: e, moduleName: t, modulesDir: o, pattern: s } = r, i = C({
2032
2045
  type: "dto",
2033
2046
  outDir: r.outDir,
2034
2047
  moduleName: t,
2035
2048
  modulesDir: o,
2036
2049
  defaultDir: "src/dtos",
2037
2050
  pattern: s
2038
- }), n = y(e), a = h(e), c = P(e), d = [], u = p(i, `${n}.dto.ts`);
2051
+ }), n = y(e), a = h(e), c = T(e), d = [], u = p(i, `${n}.dto.ts`);
2039
2052
  return await l(u, `import { z } from 'zod'
2040
2053
 
2041
2054
  export const ${c}Schema = z.object({
@@ -2982,16 +2995,16 @@ async function mt(r) {
2982
2995
  if (console.log(`
2983
2996
  Creating KickJS project: ${e}
2984
2997
  `), await l(p(n, "package.json"), je(e, s, Je)), await l(p(n, "vite.config.ts"), Ee()), await l(p(n, "tsconfig.json"), Ue()), await l(p(n, ".prettierrc"), Me()), await l(p(n, ".editorconfig"), qe()), await l(p(n, ".gitignore"), ze()), await l(p(n, ".gitattributes"), _e()), await l(p(n, ".env"), Ge()), await l(p(n, ".env.example"), Qe()), await l(p(n, "src/index.ts"), Le(e, s, V.version)), await l(p(n, "src/modules/index.ts"), Ne()), s === "graphql" && await l(p(n, "src/resolvers/.gitkeep"), ""), await l(p(n, "kick.config.ts"), We(s, i)), await l(p(n, "vitest.config.ts"), Fe()), await l(p(n, "README.md"), Be(e, s, o)), await l(p(n, "CLAUDE.md"), Ye(e, s, o)), await l(p(n, "AGENTS.md"), He(e, s, o)), r.initGit) try {
2985
- w("git init", {
2998
+ R("git init", {
2986
2999
  cwd: n,
2987
3000
  stdio: "pipe"
2988
- }), w("git branch -M main", {
3001
+ }), R("git branch -M main", {
2989
3002
  cwd: n,
2990
3003
  stdio: "pipe"
2991
- }), w("git add -A", {
3004
+ }), R("git add -A", {
2992
3005
  cwd: n,
2993
3006
  stdio: "pipe"
2994
- }), w('git commit -m "chore: initial commit from kick new"', {
3007
+ }), R('git commit -m "chore: initial commit from kick new"', {
2995
3008
  cwd: n,
2996
3009
  stdio: "pipe"
2997
3010
  }), a("Git repository initialized");
@@ -3003,7 +3016,7 @@ async function mt(r) {
3003
3016
  Installing dependencies with ${o}...
3004
3017
  `);
3005
3018
  try {
3006
- w(`${o} install`, {
3019
+ R(`${o} install`, {
3007
3020
  cwd: n,
3008
3021
  stdio: "inherit"
3009
3022
  }), console.log(`
@@ -3081,7 +3094,7 @@ export {
3081
3094
  at as d,
3082
3095
  it as f,
3083
3096
  y as g,
3084
- P as h,
3097
+ T as h,
3085
3098
  mt as i,
3086
3099
  ct as l,
3087
3100
  se as m,
@@ -1 +1 @@
1
- {"version":3,"file":"cqrs.d.ts","sourceRoot":"","sources":["../../../src/generators/patterns/cqrs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAqB5C,wBAAsB,iBAAiB,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CA6FzE"}
1
+ {"version":3,"file":"cqrs.d.ts","sourceRoot":"","sources":["../../../src/generators/patterns/cqrs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAqB5C,wBAAsB,iBAAiB,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAoGzE"}
@@ -1 +1 @@
1
- {"version":3,"file":"ddd.d.ts","sourceRoot":"","sources":["../../../src/generators/patterns/ddd.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAuB5C,wBAAsB,gBAAgB,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CA8ExE"}
1
+ {"version":3,"file":"ddd.d.ts","sourceRoot":"","sources":["../../../src/generators/patterns/ddd.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAuB5C,wBAAsB,gBAAgB,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAqFxE"}
@@ -1 +1 @@
1
- {"version":3,"file":"rest.d.ts","sourceRoot":"","sources":["../../../src/generators/patterns/rest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAmB5C,wBAAsB,iBAAiB,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CA8EzE"}
1
+ {"version":3,"file":"rest.d.ts","sourceRoot":"","sources":["../../../src/generators/patterns/rest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAmB5C,wBAAsB,iBAAiB,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAqFzE"}
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as a, a as s, c as r, d as t, g as o, h as n, i, l as g, n as l, o as d, p as C, s as c, t as p, u as f } from "./config-11ag0rJc.js";
1
+ import { _ as a, a as s, c as r, d as t, g as o, h as n, i, l as g, n as l, o as d, p as C, s as c, t as p, u as f } from "./config-BfcuZ6Xh.js";
2
2
  export {
3
3
  p as defineConfig,
4
4
  f as generateAdapter,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forinda/kickjs-cli",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "CLI for KickJS — project scaffolding, DDD module generation, dev/build/start",
5
5
  "keywords": [
6
6
  "kickjs",