@swirls/cli 0.0.7 → 0.0.8

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.
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import{a as o,b as s}from"./chunk-TIIEAP67.js";import{proposeCompletions as r}from"@stricli/core";var t=process.argv.slice(3);process.env.COMP_LINE?.endsWith(" ")&&t.push("");await r(o,t,s(process));try{for(let{completion:p}of await r(o,t,s(process)))process.stdout.write(`${p}
2
+ import{a as o,b as s}from"./chunk-MA64OEAX.js";import{proposeCompletions as r}from"@stricli/core";var t=process.argv.slice(3);process.env.COMP_LINE?.endsWith(" ")&&t.push("");await r(o,t,s(process));try{for(let{completion:p}of await r(o,t,s(process)))process.stdout.write(`${p}
3
3
  `)}catch{}
@@ -1 +1 @@
1
- import{buildInstallCommand as y,buildUninstallCommand as v}from"@stricli/auto-complete";import{buildApplication as w,buildRouteMap as x}from"@stricli/core";import{buildCommand as o,buildRouteMap as p}from"@stricli/core";var m=o({loader:async()=>{let{login:e}=await import("./implementation-QPK3NH6Y.js");return e},parameters:{positional:{kind:"tuple",parameters:[]}},docs:{brief:"Log in with an existing account"}}),u=o({loader:async()=>{let{logout:e}=await import("./implementation-QPK3NH6Y.js");return e},parameters:{positional:{kind:"tuple",parameters:[]}},docs:{brief:"Log out of an existing account"}}),i=p({routes:{login:m,logout:u},docs:{brief:"Auth commands"}});import{buildCommand as r,buildRouteMap as d}from"@stricli/core";var f=r({loader:async()=>{let{generateCode:e}=await import("./generate-code-2LPT3ZI6.js");return e},parameters:{positional:{kind:"tuple",parameters:[]}},docs:{brief:"Generate application code and types"}}),b=r({loader:async()=>{let{initializeConfig:e}=await import("./initialize-config-CQ27WZUI.js");return e},parameters:{positional:{kind:"tuple",parameters:[]}},docs:{brief:"Initialize Swirls configuration file"}}),s=d({routes:{gen:f,init:b},docs:{brief:"Developer commands"}});import{buildCommand as g,buildRouteMap as h}from"@stricli/core";var C=g({loader:async()=>{let{createProject:e}=await import("./create-project-ELA4VHQG.js");return e},parameters:{positional:{kind:"tuple",parameters:[{brief:"Project name",parse:String,placeholder:"name"}]}},docs:{brief:"Create a new project"}}),n=h({routes:{create:C},docs:{brief:"Project commands"}});var a="@swirls/cli",c="0.0.7",l="Swirls command line application";var k=x({routes:{auth:i,dev:s,project:n,install:y("cli",{bash:"__cli_bash_complete"}),uninstall:v("cli",{bash:!0})},docs:{brief:l,hideRoute:{install:!0,uninstall:!0}}}),q=w(k,{name:a,versionInfo:{currentVersion:c}});import j from"fs";import R from"fs/promises";import P from"os";import S from"path";function Q(e){return{fs:j,fsPromise:R,os:P,path:S,process:e}}export{q as a,Q as b};
1
+ import{buildInstallCommand as y,buildUninstallCommand as v}from"@stricli/auto-complete";import{buildApplication as w,buildRouteMap as x}from"@stricli/core";import{buildCommand as o,buildRouteMap as p}from"@stricli/core";var m=o({loader:async()=>{let{login:e}=await import("./implementation-QPK3NH6Y.js");return e},parameters:{positional:{kind:"tuple",parameters:[]}},docs:{brief:"Log in with an existing account"}}),u=o({loader:async()=>{let{logout:e}=await import("./implementation-QPK3NH6Y.js");return e},parameters:{positional:{kind:"tuple",parameters:[]}},docs:{brief:"Log out of an existing account"}}),i=p({routes:{login:m,logout:u},docs:{brief:"Auth commands"}});import{buildCommand as r,buildRouteMap as d}from"@stricli/core";var f=r({loader:async()=>{let{generateCode:e}=await import("./generate-code-2LPT3ZI6.js");return e},parameters:{positional:{kind:"tuple",parameters:[]}},docs:{brief:"Generate application code and types"}}),b=r({loader:async()=>{let{initializeConfig:e}=await import("./initialize-config-CQ27WZUI.js");return e},parameters:{positional:{kind:"tuple",parameters:[]}},docs:{brief:"Initialize Swirls configuration file"}}),s=d({routes:{gen:f,init:b},docs:{brief:"Developer commands"}});import{buildCommand as g,buildRouteMap as h}from"@stricli/core";var C=g({loader:async()=>{let{createProject:e}=await import("./create-project-ELA4VHQG.js");return e},parameters:{positional:{kind:"tuple",parameters:[{brief:"Project name",parse:String,placeholder:"name"}]}},docs:{brief:"Create a new project"}}),n=h({routes:{create:C},docs:{brief:"Project commands"}});var a="@swirls/cli",c="0.0.8",l="Swirls command line application";var k=x({routes:{auth:i,dev:s,project:n,install:y("cli",{bash:"__cli_bash_complete"}),uninstall:v("cli",{bash:!0})},docs:{brief:l,hideRoute:{install:!0,uninstall:!0}}}),q=w(k,{name:a,versionInfo:{currentVersion:c}});import j from"fs";import R from"fs/promises";import P from"os";import S from"path";function Q(e){return{fs:j,fsPromise:R,os:P,path:S,process:e}}export{q as a,Q as b};
package/dist/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import{a as r,b as o}from"./chunk-TIIEAP67.js";import{run as i}from"@stricli/core";await i(r,process.argv.slice(2),o(process));
2
+ import{a as r,b as o}from"./chunk-MA64OEAX.js";import{run as i}from"@stricli/core";await i(r,process.argv.slice(2),o(process));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swirls/cli",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Swirls command line application",
5
5
  "author": {
6
6
  "name": "Swirls",
@@ -35,15 +35,18 @@
35
35
  "ink-text-input": "^6.0.0",
36
36
  "jiti": "2.6.1",
37
37
  "open": "10.2.0",
38
- "react": "19.2.1",
39
38
  "zod": "4.3.5"
40
39
  },
40
+ "peerDependencies": {
41
+ "react": ">=18.0.0"
42
+ },
41
43
  "devDependencies": {
42
44
  "@swirls/core": "0.0.1",
43
45
  "@swirls/sdk": "0.0.1",
44
46
  "@types/node": "24.10.0",
45
47
  "@types/react": "19.2.6",
46
48
  "dotenv": "16.4.7",
49
+ "react": "19.2.1",
47
50
  "tsup": "8.5.1",
48
51
  "typescript": "5.9.3"
49
52
  },