stacks 0.59.2 → 0.59.4

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 (43) hide show
  1. package/buddy/package.json +2 -2
  2. package/buddy/src/commands/cloud.ts +1 -1
  3. package/package.json +1 -1
  4. package/buddy/dist/chunk-970e033f764e29fc.js +0 -19
  5. package/buddy/dist/chunk-d2428b387d843985.js +0 -2016
  6. package/buddy/dist/cli.d.ts +0 -1
  7. package/buddy/dist/cli.js +0 -107
  8. package/buddy/dist/commands/build.d.ts +0 -2
  9. package/buddy/dist/commands/changelog.d.ts +0 -2
  10. package/buddy/dist/commands/clean.d.ts +0 -2
  11. package/buddy/dist/commands/cloud.d.ts +0 -2
  12. package/buddy/dist/commands/commit.d.ts +0 -2
  13. package/buddy/dist/commands/configure.d.ts +0 -2
  14. package/buddy/dist/commands/create.d.ts +0 -2
  15. package/buddy/dist/commands/deploy.d.ts +0 -2
  16. package/buddy/dist/commands/dev.d.ts +0 -3
  17. package/buddy/dist/commands/dns.d.ts +0 -2
  18. package/buddy/dist/commands/domains.d.ts +0 -2
  19. package/buddy/dist/commands/fresh.d.ts +0 -2
  20. package/buddy/dist/commands/generate.d.ts +0 -2
  21. package/buddy/dist/commands/http.d.ts +0 -2
  22. package/buddy/dist/commands/index.d.ts +0 -31
  23. package/buddy/dist/commands/install.d.ts +0 -2
  24. package/buddy/dist/commands/key.d.ts +0 -2
  25. package/buddy/dist/commands/lint.d.ts +0 -2
  26. package/buddy/dist/commands/list.d.ts +0 -2
  27. package/buddy/dist/commands/make.d.ts +0 -2
  28. package/buddy/dist/commands/migrate.d.ts +0 -2
  29. package/buddy/dist/commands/ports.d.ts +0 -2
  30. package/buddy/dist/commands/prepublish.d.ts +0 -2
  31. package/buddy/dist/commands/projects.d.ts +0 -2
  32. package/buddy/dist/commands/release.d.ts +0 -2
  33. package/buddy/dist/commands/seed.d.ts +0 -2
  34. package/buddy/dist/commands/setup.d.ts +0 -4
  35. package/buddy/dist/commands/test.d.ts +0 -2
  36. package/buddy/dist/commands/tinker.d.ts +0 -2
  37. package/buddy/dist/commands/types.d.ts +0 -2
  38. package/buddy/dist/commands/upgrade.d.ts +0 -2
  39. package/buddy/dist/commands/version.d.ts +0 -2
  40. package/buddy/dist/index.d.ts +0 -1
  41. package/buddy/dist/index.js +0 -74
  42. package/buddy/dist/stacks +0 -0
  43. package/buddy/tsconfig.tsbuildinfo +0 -1
@@ -1 +0,0 @@
1
- export {};
package/buddy/dist/cli.js DELETED
@@ -1,107 +0,0 @@
1
- // @bun
2
- import {
3
- build,
4
- changelog,
5
- clean,
6
- cloud,
7
- commit,
8
- configure,
9
- deploy,
10
- dev,
11
- dns,
12
- domains,
13
- fresh,
14
- generate,
15
- http,
16
- install,
17
- key,
18
- lint,
19
- list,
20
- make,
21
- migrate,
22
- ports,
23
- prepublish,
24
- projects,
25
- release,
26
- seed,
27
- setup,
28
- test,
29
- upgrade,
30
- version
31
- } from "./chunk-d2428b387d843985.js";
32
- import"./chunk-970e033f764e29fc.js";
33
-
34
- // src/cli.ts
35
- import process from "process";
36
- import {cli as cli2, log} from "@stacksjs/cli";
37
- import {ensureProjectIsInitialized} from "@stacksjs/utils";
38
- import {path as p} from "@stacksjs/path";
39
- import {fs} from "@stacksjs/storage";
40
- async function main() {
41
- const buddy = cli2("buddy");
42
- setup(buddy);
43
- key(buddy);
44
- const isAppKeySet = await ensureProjectIsInitialized();
45
- if (isAppKeySet) {
46
- log.info("Project is initialized");
47
- } else {
48
- log.warn("Your `APP_KEY` is not yet");
49
- process.exit(1);
50
- }
51
- build(buddy);
52
- changelog(buddy);
53
- clean(buddy);
54
- cloud(buddy);
55
- commit(buddy);
56
- configure(buddy);
57
- dev(buddy);
58
- domains(buddy);
59
- deploy(buddy);
60
- dns(buddy);
61
- ports(buddy);
62
- projects(buddy);
63
- fresh(buddy);
64
- generate(buddy);
65
- http(buddy);
66
- install(buddy);
67
- lint(buddy);
68
- list(buddy);
69
- make(buddy);
70
- migrate(buddy);
71
- release(buddy);
72
- seed(buddy);
73
- setup(buddy);
74
- test(buddy);
75
- version(buddy);
76
- prepublish(buddy);
77
- upgrade(buddy);
78
- await dynamicImports(buddy);
79
- buddy.help();
80
- buddy.parse();
81
- }
82
- async function dynamicImports(buddy) {
83
- const commandsDir = p.appPath("Commands");
84
- const commandFiles = fs.readdirSync(commandsDir).filter((file) => file.endsWith(".ts"));
85
- for (const file of commandFiles) {
86
- const commandPath = `${commandsDir}/${file}`;
87
- const dynamicImport = await import(commandPath);
88
- if (typeof dynamicImport.default === "function")
89
- dynamicImport.default(buddy);
90
- else
91
- console.error(`Expected a default export function in ${file}, but got:`, dynamicImport.default);
92
- }
93
- const listenerImport = await import(p.listenersPath("Console.ts"));
94
- if (typeof listenerImport.default === "function")
95
- listenerImport.default(buddy);
96
- }
97
- process.on("uncaughtException", (error) => {
98
- log.debug("uncaughtException");
99
- log.error(error);
100
- process.exit(1);
101
- });
102
- process.on("unhandledRejection", (error) => {
103
- log.debug("unhandledRejection");
104
- log.error(error);
105
- process.exit(1);
106
- });
107
- await main();
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function build(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function changelog(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function clean(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function cloud(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function commit(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function configure(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function create(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function deploy(buddy: CLI): void;
@@ -1,3 +0,0 @@
1
- import type { CLI, DevOptions } from '@stacksjs/types';
2
- export declare function dev(buddy: CLI): void;
3
- export declare function startDevelopmentServer(options: DevOptions): Promise<void>;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function dns(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function domains(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function fresh(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import { type CLI } from '@stacksjs/types';
2
- export declare function generate(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function http(buddy: CLI): void;
@@ -1,31 +0,0 @@
1
- export * from './build';
2
- export * from './changelog';
3
- export * from './clean';
4
- export * from './cloud';
5
- export * from './commit';
6
- export * from './configure';
7
- export * from './create';
8
- export * from './deploy';
9
- export * from './dev';
10
- export * from './domains';
11
- export * from './dns';
12
- export * from './fresh';
13
- export * from './generate';
14
- export * from './http';
15
- export * from './lint';
16
- export * from './list';
17
- export * from './install';
18
- export * from './key';
19
- export * from './make';
20
- export * from './migrate';
21
- export * from './ports';
22
- export * from './prepublish';
23
- export * from './projects';
24
- export * from './release';
25
- export * from './seed';
26
- export * from './setup';
27
- export * from './test';
28
- export * from './tinker';
29
- export * from './types';
30
- export * from './upgrade';
31
- export * from './version';
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function install(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function key(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function lint(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function list(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function make(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function migrate(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function ports(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function prepublish(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function projects(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function release(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function seed(buddy: CLI): void;
@@ -1,4 +0,0 @@
1
- import type { CLI, CliOptions } from '@stacksjs/types';
2
- export declare function setup(buddy: CLI): void;
3
- export declare function optimizePkgxDeps(): Promise<void>;
4
- export declare function ensureEnvIsSet(options: CliOptions): Promise<void>;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function test(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function tinker(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function types(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function upgrade(buddy: CLI): void;
@@ -1,2 +0,0 @@
1
- import type { CLI } from '@stacksjs/types';
2
- export declare function version(buddy: CLI): void;
@@ -1 +0,0 @@
1
- export * from './commands';
@@ -1,74 +0,0 @@
1
- // @bun
2
- import {
3
- build,
4
- changelog,
5
- clean,
6
- cloud,
7
- commit,
8
- configure,
9
- create,
10
- deploy,
11
- dev,
12
- dns,
13
- domains,
14
- ensureEnvIsSet,
15
- fresh,
16
- generate,
17
- http,
18
- install,
19
- key,
20
- lint,
21
- list,
22
- make,
23
- migrate,
24
- optimizePkgxDeps,
25
- ports,
26
- prepublish,
27
- projects,
28
- release,
29
- seed,
30
- setup,
31
- startDevelopmentServer,
32
- test,
33
- tinker,
34
- types,
35
- upgrade,
36
- version
37
- } from "./chunk-d2428b387d843985.js";
38
- import"./chunk-970e033f764e29fc.js";
39
- export {
40
- version,
41
- upgrade,
42
- types,
43
- tinker,
44
- test,
45
- startDevelopmentServer,
46
- setup,
47
- seed,
48
- release,
49
- projects,
50
- prepublish,
51
- ports,
52
- optimizePkgxDeps,
53
- migrate,
54
- make,
55
- list,
56
- lint,
57
- key,
58
- install,
59
- http,
60
- generate,
61
- fresh,
62
- ensureEnvIsSet,
63
- domains,
64
- dns,
65
- dev,
66
- deploy,
67
- create,
68
- configure,
69
- commit,
70
- cloud,
71
- clean,
72
- changelog,
73
- build
74
- };
package/buddy/dist/stacks DELETED
Binary file
@@ -1 +0,0 @@
1
- {"version":"5.3.3"}