@revstackhq/cli 0.0.0-dev-20260227103607 → 0.0.0-dev-20260228060138

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 (56) hide show
  1. package/.turbo/turbo-build.log +51 -42
  2. package/CHANGELOG.md +11 -0
  3. package/dist/cli.js +622 -49
  4. package/dist/cli.js.map +1 -1
  5. package/dist/commands/init.d.ts +0 -7
  6. package/dist/commands/init.js +443 -24
  7. package/dist/commands/init.js.map +1 -1
  8. package/dist/commands/login.d.ts +0 -6
  9. package/dist/commands/login.js.map +1 -1
  10. package/dist/commands/logout.d.ts +0 -5
  11. package/dist/commands/logout.js.map +1 -1
  12. package/dist/commands/pull.d.ts +0 -7
  13. package/dist/commands/pull.js +120 -11
  14. package/dist/commands/pull.js.map +1 -1
  15. package/dist/commands/push.js +59 -14
  16. package/dist/commands/push.js.map +1 -1
  17. package/dist/commands/templates/ai-agent-platform.d.ts +5 -0
  18. package/dist/commands/templates/ai-agent-platform.js +119 -0
  19. package/dist/commands/templates/ai-agent-platform.js.map +1 -0
  20. package/dist/commands/templates/b2b-saas.js +23 -10
  21. package/dist/commands/templates/b2b-saas.js.map +1 -1
  22. package/dist/commands/templates/developer-tools.d.ts +5 -0
  23. package/dist/commands/templates/developer-tools.js +131 -0
  24. package/dist/commands/templates/developer-tools.js.map +1 -0
  25. package/dist/commands/templates/ecommerce-platform.d.ts +5 -0
  26. package/dist/commands/templates/ecommerce-platform.js +144 -0
  27. package/dist/commands/templates/ecommerce-platform.js.map +1 -0
  28. package/dist/commands/templates/index.js +437 -23
  29. package/dist/commands/templates/index.js.map +1 -1
  30. package/dist/commands/templates/starter.d.ts +1 -0
  31. package/dist/commands/templates/starter.js +13 -8
  32. package/dist/commands/templates/starter.js.map +1 -1
  33. package/dist/commands/templates/usage-based.js +18 -4
  34. package/dist/commands/templates/usage-based.js.map +1 -1
  35. package/dist/utils/auth.d.ts +0 -5
  36. package/dist/utils/auth.js.map +1 -1
  37. package/dist/utils/config-loader.d.ts +0 -6
  38. package/dist/utils/config-loader.js +4 -0
  39. package/dist/utils/config-loader.js.map +1 -1
  40. package/package.json +2 -2
  41. package/src/commands/init.ts +6 -8
  42. package/src/commands/login.ts +0 -6
  43. package/src/commands/logout.ts +0 -5
  44. package/src/commands/pull.ts +148 -60
  45. package/src/commands/push.ts +67 -16
  46. package/src/commands/templates/ai-agent-platform.ts +114 -0
  47. package/src/commands/templates/b2b-saas.ts +23 -10
  48. package/src/commands/templates/developer-tools.ts +126 -0
  49. package/src/commands/templates/ecommerce-platform.ts +139 -0
  50. package/src/commands/templates/index.ts +6 -0
  51. package/src/commands/templates/starter.ts +14 -8
  52. package/src/commands/templates/usage-based.ts +18 -4
  53. package/src/utils/auth.ts +0 -6
  54. package/src/utils/config-loader.ts +6 -7
  55. package/tests/integration/pull.test.ts +6 -0
  56. package/tests/integration/push.test.ts +3 -0
@@ -1,48 +1,57 @@
1
- [?9001h[?1004h[?25l> @revstackhq/cli@0.0.0-dev-20260227103607 build C:\Users\flava\OneDrive\Desktop\Work\revstack-os\packages\cli
2
- > tsup]0;C:\WINDOWS\system32\cmd.exe[?25hCLI Building entry: src/cli.ts, src/commands/init.ts, src/commands/login.ts, src/commands/logout.ts, src/commands/pull.ts, src/commands/push.ts, src/utils/auth.ts, src/utils/config-loader.ts, src/commands/templates/b2b-saas.ts, src/commands/templates/index.ts, src/commands/templates/starter.ts, src/commands/templates/usage-based.ts
1
+ [?9001h[?1004h[?25l> @revstackhq/cli@0.0.0-dev-20260228060138 build C:\Users\flava\OneDrive\Desktop\Work\revstack-os\packages\cli
2
+ > tsup]0;C:\WINDOWS\system32\cmd.exe[?25hCLI Building entry: src/cli.ts, src/commands/init.ts, src/commands/login.ts, src/commands/logout.ts, src/commands/pull.ts, src/commands/push.ts, src/utils/auth.ts, src/utils/config-loader.ts, src/commands/templates/ai-agent-platform.ts, src/commands/templates/b2b-saas.ts, src/commands/templates/developer-tools.ts, src/commands/templates/ecommerce-platform.ts, src/commands/templates/index.ts, src/commands/templates/starter.ts, src/commands/templates/usage-based.ts
3
3
  CLI Using tsconfig: tsconfig.json
4
4
  CLI tsup v8.5.1
5
- CLI Using tsup config: C:\Users\flava\OneDrive\Desktop\Work\revstack-os\packages\cli\tsup.config.ts
6
- CLI Target: node18
5
+ CLI Using tsup config: C:\Users\flava\OneDrive\Desktop\Work\revstack-os\packages\cli\tsup.config.ts
6
+ CLI Target: node18
7
7
  CLI Cleaning output folder
8
8
  ESM Build start
9
- ESM dist\cli.js 25.99 KB
10
- ESM dist\commands\logout.js 1.17 KB
11
- ESM dist\commands\templates\b2b-saas.js 2.85 KB
12
- ESM dist\utils\auth.js 971.00 B
13
- ESM dist\commands\init.js 11.79 KB
14
- ESM dist\utils\config-loader.js 1.05 KB
15
- ESM dist\commands\templates\index.js 7.34 KB
16
- ESM dist\commands\login.js 1.42 KB
17
- ESM dist\commands\push.js 6.27 KB
18
- ESM dist\commands\pull.js 6.22 KB
19
- ESM dist\commands\templates\starter.js 2.27 KB
20
- ESM dist\commands\templates\usage-based.js 2.27 KB
21
- ESM dist\commands\templates\index.js.map 10.46 KB
22
- ESM dist\cli.js.map 51.20 KB
23
- ESM dist\commands\logout.js.map 3.03 KB
24
- ESM dist\commands\templates\b2b-saas.js.map 3.84 KB
25
- ESM dist\commands\init.js.map 19.57 KB
26
- ESM dist\utils\config-loader.js.map 2.55 KB
27
- ESM dist\commands\login.js.map 3.70 KB
28
- ESM dist\commands\push.js.map 14.83 KB
29
- ESM dist\commands\pull.js.map 14.06 KB
30
- ESM dist\commands\templates\usage-based.js.map 3.06 KB
31
- ESM dist\commands\templates\starter.js.map 3.21 KB
32
- ESM dist\utils\auth.js.map 2.24 KB
33
- ESM ⚡️ Build success in 1007ms
9
+ ESM dist\cli.js 43.70 KB
10
+ ESM dist\commands\init.js 24.07 KB
11
+ ESM dist\commands\login.js 1.42 KB
12
+ ESM dist\commands\pull.js 10.13 KB
13
+ ESM dist\utils\auth.js 971.00 B
14
+ ESM dist\commands\templates\ai-agent-platform.js 3.63 KB
15
+ ESM dist\utils\config-loader.js 1.28 KB
16
+ ESM dist\commands\templates\ecommerce-platform.js 3.89 KB
17
+ ESM dist\commands\logout.js 1.17 KB
18
+ ESM dist\commands\push.js 7.75 KB
19
+ ESM dist\commands\templates\b2b-saas.js 3.13 KB
20
+ ESM dist\commands\templates\developer-tools.js 4.13 KB
21
+ ESM dist\commands\templates\index.js 19.52 KB
22
+ ESM dist\commands\templates\starter.js 2.38 KB
23
+ ESM dist\commands\templates\usage-based.js 2.57 KB
24
+ ESM dist\cli.js.map 75.84 KB
25
+ ESM dist\commands\init.js.map 36.04 KB
26
+ ESM dist\commands\templates\ai-agent-platform.js.map 4.75 KB
27
+ ESM dist\utils\auth.js.map 2.03 KB
28
+ ESM dist\commands\login.js.map 3.30 KB
29
+ ESM dist\commands\pull.js.map 20.07 KB
30
+ ESM dist\commands\templates\ecommerce-platform.js.map 5.21 KB
31
+ ESM dist\utils\config-loader.js.map 2.69 KB
32
+ ESM dist\commands\logout.js.map 2.73 KB
33
+ ESM dist\commands\templates\developer-tools.js.map 5.35 KB
34
+ ESM dist\commands\templates\b2b-saas.js.map 4.24 KB
35
+ ESM dist\commands\push.js.map 17.03 KB
36
+ ESM dist\commands\templates\index.js.map 26.96 KB
37
+ ESM dist\commands\templates\starter.js.map 3.40 KB
38
+ ESM dist\commands\templates\usage-based.js.map 3.49 KB
39
+ ESM ⚡️ Build success in 197ms
34
40
  DTS Build start
35
- DTS ⚡️ Build success in 8142ms
36
- DTS dist\cli.d.ts 13.00 B
37
- DTS dist\commands\init.d.ts 353.00 B
38
- DTS dist\commands\login.d.ts 288.00 B
39
- DTS dist\commands\logout.d.ts 192.00 B
40
- DTS dist\commands\pull.d.ts 334.00 B
41
- DTS dist\commands\push.d.ts 328.00 B
42
- DTS dist\utils\auth.d.ts 637.00 B
43
- DTS dist\utils\config-loader.d.ts 566.00 B
44
- DTS dist\commands\templates\b2b-saas.d.ts 108.00 B
45
- DTS dist\commands\templates\index.d.ts 144.00 B
46
- DTS dist\commands\templates\usage-based.d.ts 114.00 B
47
- DTS dist\commands\templates\starter.d.ts 208.00 B
41
+ DTS ⚡️ Build success in 5841ms
42
+ DTS dist\cli.d.ts 13.00 B
43
+ DTS dist\commands\init.d.ts 99.00 B
44
+ DTS dist\commands\login.d.ts 101.00 B
45
+ DTS dist\commands\logout.d.ts 103.00 B
46
+ DTS dist\commands\pull.d.ts 99.00 B
47
+ DTS dist\commands\push.d.ts 328.00 B
48
+ DTS dist\utils\auth.d.ts 427.00 B
49
+ DTS dist\utils\config-loader.d.ts 305.00 B
50
+ DTS dist\commands\templates\ai-agent-platform.d.ts 124.00 B
51
+ DTS dist\commands\templates\b2b-saas.d.ts 108.00 B
52
+ DTS dist\commands\templates\developer-tools.d.ts 122.00 B
53
+ DTS dist\commands\templates\ecommerce-platform.d.ts 128.00 B
54
+ DTS dist\commands\templates\index.d.ts 144.00 B
55
+ DTS dist\commands\templates\usage-based.d.ts 114.00 B
56
+ DTS dist\commands\templates\starter.d.ts 229.00 B
48
57
  [?9001l[?1004l
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @revstackhq/cli
2
2
 
3
+ ## 0.0.0-dev-20260228060138
4
+
5
+ ### Minor Changes
6
+
7
+ - Refactored core data models with robust Zod validation, introduced two-tier CLI pushing, and added 3 new advanced CLI starting templates.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @revstackhq/core@0.0.0-dev-20260228060138
13
+
3
14
  ## 0.0.0-dev-20260227103607
4
15
 
5
16
  ### Minor Changes