stacks 0.58.55 → 0.58.57

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 (101) hide show
  1. package/core/actions/dist/src/upgrade.js +1 -1
  2. package/core/actions/package.json +1 -1
  3. package/core/ai/package.json +1 -1
  4. package/core/alias/package.json +1 -1
  5. package/core/analytics/package.json +1 -1
  6. package/core/api/package.json +1 -1
  7. package/core/arrays/package.json +1 -1
  8. package/core/auth/package.json +1 -1
  9. package/core/buddy/dist/{chunk-d52e40a990b45728.js → chunk-e9c0ec1a3b7be088.js} +120 -92
  10. package/core/buddy/dist/cli.js +1 -1
  11. package/core/buddy/dist/index.js +1 -1
  12. package/core/buddy/package.json +1 -1
  13. package/core/buddy/src/commands/configure.ts +38 -27
  14. package/core/buddy/src/commands/deploy.ts +81 -56
  15. package/core/buddy/src/commands/setup.ts +11 -9
  16. package/core/build/package.json +1 -1
  17. package/core/bun-create/bud/package.json +1 -1
  18. package/core/bun-create/buddy/package.json +1 -1
  19. package/core/bun-create/stack/package.json +1 -1
  20. package/core/bun-create/stacks/package.json +1 -1
  21. package/core/bun-create/stx/package.json +1 -1
  22. package/core/bun-plugin-yaml/package.json +1 -1
  23. package/core/cache/package.json +1 -1
  24. package/core/chat/package.json +1 -1
  25. package/core/cli/dist/index.js +7 -1
  26. package/core/cli/package.json +1 -1
  27. package/core/cli/src/exec.ts +8 -0
  28. package/core/cloud/deploy.ts +3 -2
  29. package/core/cloud/dist/index.js +131 -70
  30. package/core/cloud/package.json +1 -1
  31. package/core/cloud/src/cloud/aws-sdk-layer/nodejs/package.json +1 -1
  32. package/core/cloud/src/cloud/index.ts +76 -50
  33. package/core/cloud/src/cloud/queue.ts +86 -29
  34. package/core/cloud/src/cloud/router-layer/nodejs/package.json +2 -2
  35. package/core/collections/package.json +1 -1
  36. package/core/config/package.json +1 -1
  37. package/core/database/package.json +1 -1
  38. package/core/datetime/package.json +1 -1
  39. package/core/desktop/package.json +1 -1
  40. package/core/development/package.json +1 -1
  41. package/core/dns/package.json +1 -1
  42. package/core/docs/package.json +1 -1
  43. package/core/email/package.json +1 -1
  44. package/core/enums/package.json +1 -1
  45. package/core/env/package.json +1 -1
  46. package/core/env/src/types.ts +1 -1
  47. package/core/error-handling/package.json +1 -1
  48. package/core/eslint-config/package.json +1 -1
  49. package/core/events/package.json +1 -1
  50. package/core/faker/package.json +1 -1
  51. package/core/git/package.json +1 -1
  52. package/core/health/package.json +1 -1
  53. package/core/http/package.json +1 -1
  54. package/core/lint/package.json +1 -1
  55. package/core/logging/dist/index.js +161 -4
  56. package/core/logging/package.json +1 -1
  57. package/core/logging/src/index.ts +55 -12
  58. package/core/notifications/package.json +1 -1
  59. package/core/objects/package.json +1 -1
  60. package/core/orm/package.json +1 -1
  61. package/core/path/dist/index.js +1 -1
  62. package/core/path/package.json +1 -1
  63. package/core/path/src/index.ts +1 -1
  64. package/core/payments/package.json +1 -1
  65. package/core/push/package.json +1 -1
  66. package/core/query-builder/package.json +1 -1
  67. package/core/queue/dist/index.js +3 -1
  68. package/core/queue/package.json +1 -1
  69. package/core/queue/src/index.ts +3 -1
  70. package/core/raycast/package.json +1 -1
  71. package/core/realtime/package.json +1 -1
  72. package/core/repl/package.json +1 -1
  73. package/core/router/package.json +1 -1
  74. package/core/scheduler/package.json +1 -1
  75. package/core/search-engine/package.json +1 -1
  76. package/core/security/package.json +1 -1
  77. package/core/server/package.json +1 -1
  78. package/core/signals/package.json +1 -1
  79. package/core/slug/package.json +1 -1
  80. package/core/sms/package.json +1 -1
  81. package/core/storage/package.json +1 -1
  82. package/core/strings/package.json +1 -1
  83. package/core/tables/package.json +1 -1
  84. package/core/testing/package.json +1 -1
  85. package/core/tinker/package.json +1 -1
  86. package/core/tunnel/package.json +1 -1
  87. package/core/types/dist/index.js +8 -3
  88. package/core/types/package.json +1 -1
  89. package/core/types/src/configure.ts +7 -0
  90. package/core/types/src/cron-jobs.ts +8 -3
  91. package/core/ui/package.json +1 -1
  92. package/core/utils/dist/index.js +1 -1
  93. package/core/utils/package.json +1 -1
  94. package/core/validation/package.json +1 -1
  95. package/core/vite/dist/index.js +1 -1
  96. package/core/vite/package.json +1 -1
  97. package/core/whois/package.json +1 -1
  98. package/core/x-ray/package.json +1 -1
  99. package/core/zsh-buddy/package.json +1 -1
  100. package/ide/vscode/package.json +1 -1
  101. package/package.json +1 -1
@@ -1776,7 +1776,7 @@ var init_consola_36c0034f = __esm(() => {
1776
1776
  });
1777
1777
 
1778
1778
  // src/index.ts
1779
- import process2 from "process";
1779
+ import process3 from "process";
1780
1780
 
1781
1781
  // /home/runner/work/stacks/stacks/node_modules/consola/dist/index.mjs
1782
1782
  init_consola_36c0034f();
@@ -1786,17 +1786,174 @@ init_utils();
1786
1786
 
1787
1787
  // src/index.ts
1788
1788
  import {ExitCode} from "@stacksjs/types";
1789
+
1790
+ // /home/runner/work/stacks/stacks/storage/framework/core/path/src/index.ts
1791
+ import process2 from "process";
1792
+
1793
+ // /home/runner/work/stacks/stacks/node_modules/pathe/dist/shared/pathe.ff20891b.mjs
1794
+ var normalizeWindowsPath = function(input = "") {
1795
+ if (!input) {
1796
+ return input;
1797
+ }
1798
+ return input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r2) => r2.toUpperCase());
1799
+ };
1800
+ var cwd = function() {
1801
+ if (typeof process !== "undefined" && typeof process.cwd === "function") {
1802
+ return process.cwd().replace(/\\/g, "/");
1803
+ }
1804
+ return "/";
1805
+ };
1806
+ var normalizeString = function(path, allowAboveRoot) {
1807
+ let res = "";
1808
+ let lastSegmentLength = 0;
1809
+ let lastSlash = -1;
1810
+ let dots = 0;
1811
+ let char = null;
1812
+ for (let index = 0;index <= path.length; ++index) {
1813
+ if (index < path.length) {
1814
+ char = path[index];
1815
+ } else if (char === "/") {
1816
+ break;
1817
+ } else {
1818
+ char = "/";
1819
+ }
1820
+ if (char === "/") {
1821
+ if (lastSlash === index - 1 || dots === 1)
1822
+ ;
1823
+ else if (dots === 2) {
1824
+ if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
1825
+ if (res.length > 2) {
1826
+ const lastSlashIndex = res.lastIndexOf("/");
1827
+ if (lastSlashIndex === -1) {
1828
+ res = "";
1829
+ lastSegmentLength = 0;
1830
+ } else {
1831
+ res = res.slice(0, lastSlashIndex);
1832
+ lastSegmentLength = res.length - 1 - res.lastIndexOf("/");
1833
+ }
1834
+ lastSlash = index;
1835
+ dots = 0;
1836
+ continue;
1837
+ } else if (res.length > 0) {
1838
+ res = "";
1839
+ lastSegmentLength = 0;
1840
+ lastSlash = index;
1841
+ dots = 0;
1842
+ continue;
1843
+ }
1844
+ }
1845
+ if (allowAboveRoot) {
1846
+ res += res.length > 0 ? "/.." : "..";
1847
+ lastSegmentLength = 2;
1848
+ }
1849
+ } else {
1850
+ if (res.length > 0) {
1851
+ res += `/${path.slice(lastSlash + 1, index)}`;
1852
+ } else {
1853
+ res = path.slice(lastSlash + 1, index);
1854
+ }
1855
+ lastSegmentLength = index - lastSlash - 1;
1856
+ }
1857
+ lastSlash = index;
1858
+ dots = 0;
1859
+ } else if (char === "." && dots !== -1) {
1860
+ ++dots;
1861
+ } else {
1862
+ dots = -1;
1863
+ }
1864
+ }
1865
+ return res;
1866
+ };
1867
+ var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
1868
+ var _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
1869
+ var resolve = function(...arguments_) {
1870
+ arguments_ = arguments_.map((argument) => normalizeWindowsPath(argument));
1871
+ let resolvedPath = "";
1872
+ let resolvedAbsolute = false;
1873
+ for (let index = arguments_.length - 1;index >= -1 && !resolvedAbsolute; index--) {
1874
+ const path = index >= 0 ? arguments_[index] : cwd();
1875
+ if (!path || path.length === 0) {
1876
+ continue;
1877
+ }
1878
+ resolvedPath = `${path}/${resolvedPath}`;
1879
+ resolvedAbsolute = isAbsolute(path);
1880
+ }
1881
+ resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute);
1882
+ if (resolvedAbsolute && !isAbsolute(resolvedPath)) {
1883
+ return `/${resolvedPath}`;
1884
+ }
1885
+ return resolvedPath.length > 0 ? resolvedPath : ".";
1886
+ };
1887
+ var isAbsolute = function(p2) {
1888
+ return _IS_ABSOLUTE_RE.test(p2);
1889
+ };
1890
+ // /home/runner/work/stacks/stacks/storage/framework/core/path/src/index.ts
1891
+ function logsPath(path2) {
1892
+ return projectStoragePath(`logs/${path2 || ""}`);
1893
+ }
1894
+ function projectPath(filePath = "") {
1895
+ let path2 = process2.cwd();
1896
+ while (path2.includes("storage"))
1897
+ path2 = resolve(path2, "..");
1898
+ return resolve(path2, filePath);
1899
+ }
1900
+ function projectStoragePath(path2) {
1901
+ return projectPath(`storage/${path2 || ""}`);
1902
+ }
1903
+
1904
+ // src/index.ts
1905
+ async function writeToLogFile(message) {
1906
+ const formattedMessage = `[${new Date().toISOString()}] ${message}\n`;
1907
+ try {
1908
+ const file = Bun.file(logFilePath);
1909
+ const writer = file.writer();
1910
+ const text2 = await file.text();
1911
+ writer.write(`${text2}\n`);
1912
+ writer.write(`${formattedMessage}\n`);
1913
+ await writer.end();
1914
+ } catch (error) {
1915
+ const file = Bun.file(logFilePath);
1916
+ const writer = file.writer();
1917
+ writer.write(`${formattedMessage}\n`);
1918
+ await writer.end();
1919
+ }
1920
+ }
1789
1921
  function dump(...args) {
1790
- return log.debug(args);
1922
+ args.forEach((arg) => log.debug(arg));
1791
1923
  }
1792
1924
  function dd(...args) {
1793
1925
  args.forEach((arg) => log.debug(arg));
1794
- process2.exit(ExitCode.FatalError);
1926
+ process3.exit(ExitCode.FatalError);
1795
1927
  }
1796
1928
  var logger = consola;
1797
- var log = consola;
1929
+ var logFilePath = logsPath("console.log");
1930
+ var log = {
1931
+ info: async (...arg) => {
1932
+ consola.info(...arg);
1933
+ await writeToLogFile(`INFO: ${arg}`);
1934
+ },
1935
+ success: async (msg) => {
1936
+ consola.success(msg);
1937
+ await writeToLogFile(`SUCCESS: ${msg}`);
1938
+ },
1939
+ error: async (err, options) => {
1940
+ handleError(err, options);
1941
+ await writeToLogFile(`ERROR: ${err}`);
1942
+ },
1943
+ warn: async (arg) => {
1944
+ consola.warn(arg);
1945
+ await writeToLogFile(`WARN: ${arg}`);
1946
+ },
1947
+ debug: async (arg) => {
1948
+ consola.debug(arg);
1949
+ await writeToLogFile(`DEBUG: ${arg}`);
1950
+ },
1951
+ dump,
1952
+ dd
1953
+ };
1798
1954
  export {
1799
1955
  logger,
1956
+ logFilePath,
1800
1957
  log,
1801
1958
  dump,
1802
1959
  dd
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/logging",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks logging system.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,22 +1,65 @@
1
1
  import process from 'node:process'
2
2
  import consola from 'consola'
3
3
  import { ExitCode } from '@stacksjs/types'
4
+ import { logsPath } from '@stacksjs/path'
4
5
 
5
6
  export const logger = consola
6
- export const log = consola
7
- // export const log = {
8
- // info: (...args: any[]) => consola.info(...args),
9
- // success: (msg: string) => logger.success(msg),
10
- // error: (err: string | StacksError, options?: any) => handleError(err, options),
11
- // warn: (...args: any[]) => logger.warn(...args),
12
- // debug: (...args: any[]) => logger.debug(...args),
13
- // prompt:
14
- // dump,
15
- // dd,
16
- // }
7
+
8
+ export const logFilePath = logsPath('console.log')
9
+
10
+ async function writeToLogFile(message: string) {
11
+ const formattedMessage = `[${new Date().toISOString()}] ${message}\n`
12
+ try {
13
+ const file = Bun.file(logFilePath)
14
+ const writer = file.writer()
15
+ const text = await file.text()
16
+ writer.write(`${text}\n`)
17
+ writer.write(`${formattedMessage}\n`)
18
+ await writer.end()
19
+ }
20
+ catch (error) {
21
+ // Assuming the error is due to the file not existing
22
+ // Create the file and then write the message
23
+ const file = Bun.file(logFilePath) // Use the create option
24
+ const writer = file.writer()
25
+ writer.write(`${formattedMessage}\n`)
26
+ await writer.end()
27
+ }
28
+ }
29
+
30
+ export const log = {
31
+ info: async (...arg: any) => {
32
+ consola.info(...arg)
33
+ await writeToLogFile(`INFO: ${arg}`)
34
+ },
35
+
36
+ success: async (msg: string) => {
37
+ consola.success(msg)
38
+ await writeToLogFile(`SUCCESS: ${msg}`)
39
+ },
40
+
41
+ error: async (err: string, options?: any) => {
42
+ handleError(err, options) // Assuming handleError logs the error
43
+ await writeToLogFile(`ERROR: ${err}`)
44
+ },
45
+
46
+ warn: async (arg: string) => {
47
+ consola.warn(arg)
48
+ await writeToLogFile(`WARN: ${arg}`)
49
+ },
50
+
51
+ debug: async (arg: string) => {
52
+ consola.debug(arg)
53
+ await writeToLogFile(`DEBUG: ${arg}`)
54
+ },
55
+
56
+ // prompt,
57
+ dump,
58
+ dd,
59
+ }
17
60
 
18
61
  export function dump(...args: any[]) {
19
- return log.debug(args)
62
+ args.forEach(arg => log.debug(arg))
20
63
  }
21
64
 
22
65
  export function dd(...args: any[]) {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/notifications",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks notifications integration.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/objects",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks objects.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/orm",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks ORM integration",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -150,7 +150,7 @@ function eslintPath(path) {
150
150
  return lintPath(`eslint/${path || ""}`);
151
151
  }
152
152
  function jobsPath(path) {
153
- return resourcesPath(`jobs/${path || ""}`);
153
+ return appPath(`Jobs/${path || ""}`);
154
154
  }
155
155
  function loggingPath(path) {
156
156
  return corePath(`logging/${path || ""}`);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/path",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks path.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -243,7 +243,7 @@ export function eslintPath(path?: string) {
243
243
  }
244
244
 
245
245
  export function jobsPath(path?: string) {
246
- return resourcesPath(`jobs/${path || ''}`)
246
+ return appPath(`Jobs/${path || ''}`)
247
247
  }
248
248
 
249
249
  export function loggingPath(path?: string) {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/payments",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks payments package. Currently supporting Stripe.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/push",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks Push integration",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/query-builder",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks Query Builder integration",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -5,12 +5,14 @@ class Job {
5
5
  description;
6
6
  action;
7
7
  handle;
8
+ rate;
8
9
  tries;
9
10
  backoff;
10
- constructor({ name, description, handle, tries, backoff, action }) {
11
+ constructor({ name, description, handle, rate, tries, backoff, action }) {
11
12
  this.name = name;
12
13
  this.description = description;
13
14
  this.handle = handle;
15
+ this.rate = rate;
14
16
  this.action = action;
15
17
  this.tries = tries;
16
18
  this.backoff = backoff;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/queue",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks Queue system.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -5,13 +5,15 @@ export class Job {
5
5
  description: JobOptions['description']
6
6
  action?: JobOptions['action']
7
7
  handle?: JobOptions['handle']
8
+ rate: JobOptions['rate']
8
9
  tries: JobOptions['tries']
9
10
  backoff: JobOptions['backoff']
10
11
 
11
- constructor({ name, description, handle, tries, backoff, action }: JobOptions) {
12
+ constructor({ name, description, handle, rate, tries, backoff, action }: JobOptions) {
12
13
  this.name = name
13
14
  this.description = description
14
15
  this.handle = handle
16
+ this.rate = rate
15
17
  this.action = action
16
18
  this.tries = tries
17
19
  this.backoff = backoff
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stacks-raycast",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks Raycast plugin.",
6
6
  "scripts": {
7
7
  "build": "echo 'No build step required yet.'"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/realtime",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks realtime integration.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/repl",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "A Stacks optimized TS & Vue REPL.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/router",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks framework router.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/scheduler",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks scheduler.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/search-engine",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks search engine integrations.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/security",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks framework security.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/server",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "Local development and production-ready.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/signals",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks signals integration, based on Maverick.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/slug",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks slug functionality.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/sms",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks SMS integration. Painlessly create & manage your inboxes, templates, and send sms.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/storage",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks file system.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/strings",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks string utilities.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stacksjs/tables",
3
- "version": "0.58.55",
3
+ "version": "0.58.57",
4
4
  "description": "The easy & modern way to work with tables. Facet filtering, searching, pagination, ...",
5
5
  "author": "Open Web Labs",
6
6
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/testing",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks way of testing.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/tinker",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "All you need to tinker.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/tunnel",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "Local development tunnel.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -399,14 +399,19 @@ var require_pluralize = __commonJS((exports, module) => {
399
399
  var Every;
400
400
  (function(Every2) {
401
401
  Every2["Minute"] = "* * * * *";
402
+ Every2["TwoMinutes"] = "*/2 * * * *";
403
+ Every2["FiveMinutes"] = "*/5 * * * *";
404
+ Every2["TenMinutes"] = "*/10 * * * *";
405
+ Every2["FifteenMinutes"] = "*/15 * * * *";
406
+ Every2["ThirtyMinutes"] = "*/30 * * * *";
402
407
  Every2["Hour"] = "0 * * * *";
403
408
  Every2["HalfHour"] = "0,30 * * * *";
404
409
  Every2["Day"] = "0 0 * * *";
405
- Every2["Month"] = "0 0 1 * *";
406
410
  Every2["Week"] = "0 0 * * 0";
411
+ Every2["Weekday"] = "0 0 * * 1-5";
412
+ Every2["Weekend"] = "0 0 * * 0,6";
413
+ Every2["Month"] = "0 0 1 * *";
407
414
  Every2["Year"] = "0 0 1 1 *";
408
- Every2["FifthMinute"] = "*/5 * * * *";
409
- Every2["TenthMinute"] = "*/10 * * * *";
410
415
  })(Every || (Every = {}));
411
416
  // src/docs.ts
412
417
  var SocialLinkIcon;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/types",
3
3
  "type": "module",
4
- "version": "0.58.55",
4
+ "version": "0.58.57",
5
5
  "description": "The Stacks framework types.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,6 +1,13 @@
1
1
  export interface ConfigureOptions {
2
2
  aws: boolean
3
+ profile: string
4
+ project: boolean
3
5
  verbose: boolean
6
+ accessKeyId: string
7
+ secretAccessKey: string
8
+ region: string
9
+ output: string
10
+ quiet: boolean
4
11
  }
5
12
 
6
13
  export type ConfigureConfig = Partial<ConfigureOptions>
@@ -35,12 +35,17 @@ export enum Every {
35
35
  // TenSeconds = '*/10 * * * * *',
36
36
  // ThirtySeconds = '*/30 * * * * *',
37
37
  Minute = '* * * * *',
38
+ TwoMinutes = '*/2 * * * *',
39
+ FiveMinutes = '*/5 * * * *',
40
+ TenMinutes = '*/10 * * * *',
41
+ FifteenMinutes = '*/15 * * * *',
42
+ ThirtyMinutes = '*/30 * * * *',
38
43
  Hour = '0 * * * *',
39
44
  HalfHour = '0,30 * * * *',
40
45
  Day = '0 0 * * *',
41
- Month = '0 0 1 * *',
42
46
  Week = '0 0 * * 0',
47
+ Weekday = '0 0 * * 1-5',
48
+ Weekend = '0 0 * * 0,6',
49
+ Month = '0 0 1 * *',
43
50
  Year = '0 0 1 1 *',
44
- FifthMinute = '*/5 * * * *',
45
- TenthMinute = '*/10 * * * *',
46
51
  }