stacks 0.58.53 → 0.58.55
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/core/actions/dist/src/upgrade.js +1 -1
- package/core/actions/package.json +1 -1
- package/core/ai/package.json +1 -1
- package/core/alias/package.json +1 -1
- package/core/analytics/package.json +1 -1
- package/core/api/package.json +1 -1
- package/core/arrays/package.json +1 -1
- package/core/auth/package.json +1 -1
- package/core/buddy/package.json +1 -1
- package/core/build/package.json +1 -1
- package/core/bun-create/bud/package.json +1 -1
- package/core/bun-create/buddy/package.json +1 -1
- package/core/bun-create/stack/package.json +1 -1
- package/core/bun-create/stacks/package.json +1 -1
- package/core/bun-create/stx/package.json +1 -1
- package/core/bun-plugin-yaml/package.json +1 -1
- package/core/cache/package.json +1 -1
- package/core/chat/package.json +1 -1
- package/core/cli/dist/index.js +1 -1
- package/core/cli/package.json +1 -1
- package/core/cloud/dist/index.js +2 -241
- package/core/cloud/package.json +4 -4
- package/core/cloud/src/cloud/aws-sdk-layer/nodejs/package-lock.json +6 -6
- package/core/cloud/src/cloud/aws-sdk-layer/nodejs/package.json +2 -2
- package/core/cloud/src/cloud/queue.ts +7 -6
- package/core/cloud/src/cloud/router-layer/nodejs/package.json +2 -2
- package/core/cloud/src/index.ts +0 -1
- package/core/collections/package.json +1 -1
- package/core/config/package.json +1 -1
- package/core/database/package.json +1 -1
- package/core/datetime/package.json +1 -1
- package/core/desktop/package.json +1 -1
- package/core/development/package.json +1 -1
- package/core/dns/package.json +1 -1
- package/core/docs/package.json +3 -3
- package/core/email/package.json +1 -1
- package/core/enums/package.json +1 -1
- package/core/env/package.json +1 -1
- package/core/error-handling/package.json +1 -1
- package/core/eslint-config/package.json +4 -4
- package/core/eslint-config/src/globs.ts +0 -1
- package/core/events/package.json +1 -1
- package/core/faker/package.json +1 -1
- package/core/git/package.json +1 -1
- package/core/health/package.json +1 -1
- package/core/http/package.json +1 -1
- package/core/lint/package.json +1 -1
- package/core/logging/package.json +1 -1
- package/core/notifications/package.json +1 -1
- package/core/objects/package.json +1 -1
- package/core/orm/package.json +1 -1
- package/core/path/dist/index.js +5 -0
- package/core/path/package.json +1 -1
- package/core/path/src/index.ts +5 -0
- package/core/payments/package.json +1 -1
- package/core/push/package.json +1 -1
- package/core/query-builder/package.json +1 -1
- package/core/queue/package.json +1 -1
- package/core/raycast/package.json +1 -1
- package/core/realtime/package.json +1 -1
- package/core/repl/package.json +1 -1
- package/core/router/package.json +1 -1
- package/core/scheduler/package.json +1 -1
- package/core/scheduler/src/time.ts +1 -1
- package/core/search-engine/package.json +1 -1
- package/core/security/package.json +1 -1
- package/core/server/package.json +1 -1
- package/core/signals/package.json +1 -1
- package/core/slug/package.json +1 -1
- package/core/sms/package.json +1 -1
- package/core/storage/package.json +1 -1
- package/core/strings/package.json +1 -1
- package/core/tables/package.json +1 -1
- package/core/testing/package.json +1 -1
- package/core/tinker/package.json +1 -1
- package/core/tunnel/package.json +1 -1
- package/core/types/dist/index.js +0 -4
- package/core/types/package.json +3 -3
- package/core/types/src/cli.ts +3 -3
- package/core/types/src/cron-jobs.ts +5 -5
- package/core/ui/package.json +1 -1
- package/core/utils/dist/index.js +1 -1
- package/core/utils/package.json +1 -1
- package/core/validation/package.json +1 -1
- package/core/vite/dist/index.js +1 -1
- package/core/vite/package.json +1 -1
- package/core/whois/package.json +1 -1
- package/core/x-ray/package.json +1 -1
- package/core/zsh-buddy/package.json +1 -1
- package/ide/dictionary.txt +2 -0
- package/ide/vscode/package.json +1 -1
- package/package.json +1 -1
- package/core/cloud/build-server.ts +0 -8
- package/core/cloud/src/runtime/README.md +0 -116
- package/core/cloud/src/runtime/bootstrap +0 -3
- package/core/cloud/src/runtime/example/lambda.ts +0 -36
- package/core/cloud/src/runtime/runtime.ts +0 -830
- package/core/cloud/src/runtime/scripts/build-layer.ts +0 -104
- package/core/cloud/src/runtime/scripts/publish-layer.ts +0 -110
- package/core/cloud/src/runtime/server.ts +0 -39
package/core/dns/package.json
CHANGED
package/core/docs/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/docs",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.55",
|
|
5
5
|
"description": "The Stacks way to document.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@stacksjs/path": "workspace:*",
|
|
53
53
|
"@stacksjs/server": "workspace:*",
|
|
54
54
|
"@stacksjs/vite": "workspace:*",
|
|
55
|
-
"vitepress": "1.0.0-rc.
|
|
55
|
+
"vitepress": "1.0.0-rc.42"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@stacksjs/alias": "workspace:*",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@stacksjs/path": "workspace:*",
|
|
61
61
|
"@stacksjs/server": "workspace:*",
|
|
62
62
|
"@stacksjs/vite": "workspace:*",
|
|
63
|
-
"vitepress": "1.0.0-rc.
|
|
63
|
+
"vitepress": "1.0.0-rc.42",
|
|
64
64
|
"vitepress-plugin-twoslash": "^0.10.2"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
package/core/email/package.json
CHANGED
package/core/enums/package.json
CHANGED
package/core/env/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.55",
|
|
5
5
|
"description": "The Stacks.js ESLint config preset, heavily inspired by Anthony's ESLint config.",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -80,16 +80,16 @@
|
|
|
80
80
|
"eslint-plugin-antfu": "^2.1.2",
|
|
81
81
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
82
82
|
"eslint-plugin-i": "^2.29.1",
|
|
83
|
-
"eslint-plugin-jsdoc": "^48.0.
|
|
83
|
+
"eslint-plugin-jsdoc": "^48.0.6",
|
|
84
84
|
"eslint-plugin-jsonc": "^2.13.0",
|
|
85
85
|
"eslint-plugin-markdown": "^3.0.1",
|
|
86
86
|
"eslint-plugin-n": "^16.6.2",
|
|
87
87
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
88
88
|
"eslint-plugin-perfectionist": "^2.5.0",
|
|
89
89
|
"eslint-plugin-toml": "^0.9.2",
|
|
90
|
-
"eslint-plugin-unicorn": "^
|
|
90
|
+
"eslint-plugin-unicorn": "^51.0.1",
|
|
91
91
|
"eslint-plugin-unused-imports": "^3.0.0",
|
|
92
|
-
"eslint-plugin-vitest": "^0.3.
|
|
92
|
+
"eslint-plugin-vitest": "^0.3.22",
|
|
93
93
|
"eslint-plugin-vue": "^9.21.1",
|
|
94
94
|
"eslint-plugin-yml": "^1.12.2",
|
|
95
95
|
"eslint-processor-vue-blocks": "^0.1.1",
|
package/core/events/package.json
CHANGED
package/core/faker/package.json
CHANGED
package/core/git/package.json
CHANGED
package/core/health/package.json
CHANGED
package/core/http/package.json
CHANGED
package/core/lint/package.json
CHANGED
package/core/orm/package.json
CHANGED
package/core/path/dist/index.js
CHANGED
|
@@ -149,6 +149,9 @@ function lintPath(path) {
|
|
|
149
149
|
function eslintPath(path) {
|
|
150
150
|
return lintPath(`eslint/${path || ""}`);
|
|
151
151
|
}
|
|
152
|
+
function jobsPath(path) {
|
|
153
|
+
return resourcesPath(`jobs/${path || ""}`);
|
|
154
|
+
}
|
|
152
155
|
function loggingPath(path) {
|
|
153
156
|
return corePath(`logging/${path || ""}`);
|
|
154
157
|
}
|
|
@@ -345,6 +348,7 @@ var path = {
|
|
|
345
348
|
libraryEntryPath,
|
|
346
349
|
lintPath,
|
|
347
350
|
loggingPath,
|
|
351
|
+
jobsPath,
|
|
348
352
|
modulesPath,
|
|
349
353
|
ormPath,
|
|
350
354
|
objectsPath,
|
|
@@ -468,6 +472,7 @@ export {
|
|
|
468
472
|
layoutsPath,
|
|
469
473
|
langPath,
|
|
470
474
|
join,
|
|
475
|
+
jobsPath,
|
|
471
476
|
isAbsolute,
|
|
472
477
|
healthPath,
|
|
473
478
|
gitPath,
|
package/core/path/package.json
CHANGED
package/core/path/src/index.ts
CHANGED
|
@@ -242,6 +242,10 @@ export function eslintPath(path?: string) {
|
|
|
242
242
|
return lintPath(`eslint/${path || ''}`)
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
+
export function jobsPath(path?: string) {
|
|
246
|
+
return resourcesPath(`jobs/${path || ''}`)
|
|
247
|
+
}
|
|
248
|
+
|
|
245
249
|
export function loggingPath(path?: string) {
|
|
246
250
|
return corePath(`logging/${path || ''}`)
|
|
247
251
|
}
|
|
@@ -490,6 +494,7 @@ export const path = {
|
|
|
490
494
|
libraryEntryPath,
|
|
491
495
|
lintPath,
|
|
492
496
|
loggingPath,
|
|
497
|
+
jobsPath,
|
|
493
498
|
modulesPath,
|
|
494
499
|
ormPath,
|
|
495
500
|
objectsPath,
|
package/core/push/package.json
CHANGED
package/core/queue/package.json
CHANGED
package/core/repl/package.json
CHANGED
package/core/router/package.json
CHANGED
|
@@ -281,7 +281,7 @@ export class CronTime {
|
|
|
281
281
|
&& Object.keys(this.dayOfMonth).length !== 31
|
|
282
282
|
&& !(
|
|
283
283
|
this._getWeekDay(date) in this.dayOfWeek
|
|
284
|
-
|
|
284
|
+
&& Object.keys(this.dayOfWeek).length !== 7
|
|
285
285
|
)
|
|
286
286
|
) {
|
|
287
287
|
date = date.plus({ days: 1 })
|
package/core/server/package.json
CHANGED
package/core/slug/package.json
CHANGED
package/core/sms/package.json
CHANGED
package/core/tables/package.json
CHANGED
package/core/tinker/package.json
CHANGED
package/core/tunnel/package.json
CHANGED
package/core/types/dist/index.js
CHANGED
|
@@ -398,10 +398,6 @@ var require_pluralize = __commonJS((exports, module) => {
|
|
|
398
398
|
// src/cron-jobs.ts
|
|
399
399
|
var Every;
|
|
400
400
|
(function(Every2) {
|
|
401
|
-
Every2["Second"] = "* * * * * *";
|
|
402
|
-
Every2["FiveSeconds"] = "*/5 * * * * *";
|
|
403
|
-
Every2["TenSeconds"] = "*/10 * * * * *";
|
|
404
|
-
Every2["ThirtySeconds"] = "*/30 * * * * *";
|
|
405
401
|
Every2["Minute"] = "* * * * *";
|
|
406
402
|
Every2["Hour"] = "0 * * * *";
|
|
407
403
|
Every2["HalfHour"] = "0,30 * * * *";
|
package/core/types/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/types",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.55",
|
|
5
5
|
"description": "The Stacks framework types.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@stacksjs/validation": "workspace:*",
|
|
57
57
|
"@types/aws4": "^1.11.6",
|
|
58
58
|
"@types/bcryptjs": "^2.4.6",
|
|
59
|
-
"@types/bun": "^1.0.
|
|
59
|
+
"@types/bun": "^1.0.5",
|
|
60
60
|
"@types/crypto-js": "^4.2.2",
|
|
61
61
|
"@types/eslint": "^8.56.2",
|
|
62
62
|
"@types/fs-extra": "^11.0.4",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"vite-plugin-inspect": "^0.8.3",
|
|
78
78
|
"vite-plugin-pwa": "^0.17.5",
|
|
79
79
|
"vite-ssg": "^0.23.6",
|
|
80
|
-
"vitepress": "1.0.0-rc.
|
|
80
|
+
"vitepress": "1.0.0-rc.42",
|
|
81
81
|
"vue": "^3.4.15"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
package/core/types/src/cli.ts
CHANGED
|
@@ -174,9 +174,9 @@ export type ActionOption = 'types' | 'domains' | 'count'
|
|
|
174
174
|
* The options to pass to the Action.
|
|
175
175
|
*/
|
|
176
176
|
export type ActionOptions = {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
types?: boolean
|
|
178
|
+
domains?: boolean
|
|
179
|
+
count?: number
|
|
180
180
|
} & CliOptions & DomainsOptions
|
|
181
181
|
|
|
182
182
|
export type BuildOption = 'components' | 'vueComponents' | 'webComponents' | 'elements' | 'functions' | 'docs' | 'views' | 'stacks' | 'all' | 'buddy' | 'server'
|
|
@@ -14,7 +14,7 @@ export interface JobOptions {
|
|
|
14
14
|
timezone?: string
|
|
15
15
|
tries?: number
|
|
16
16
|
backoff?: number | number[]
|
|
17
|
-
|
|
17
|
+
rate?: string | Every
|
|
18
18
|
enabled?: boolean
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -30,10 +30,10 @@ export type CronJobs = Jobs
|
|
|
30
30
|
// export type CronJobs = Jobs
|
|
31
31
|
|
|
32
32
|
export enum Every {
|
|
33
|
-
Second = '* * * * * *',
|
|
34
|
-
FiveSeconds = '*/5 * * * * *',
|
|
35
|
-
TenSeconds = '*/10 * * * * *',
|
|
36
|
-
ThirtySeconds = '*/30 * * * * *',
|
|
33
|
+
// Second = '* * * * * *',
|
|
34
|
+
// FiveSeconds = '*/5 * * * * *',
|
|
35
|
+
// TenSeconds = '*/10 * * * * *',
|
|
36
|
+
// ThirtySeconds = '*/30 * * * * *',
|
|
37
37
|
Minute = '* * * * *',
|
|
38
38
|
Hour = '0 * * * *',
|
|
39
39
|
HalfHour = '0,30 * * * *',
|
package/core/ui/package.json
CHANGED
package/core/utils/dist/index.js
CHANGED
package/core/utils/package.json
CHANGED
package/core/vite/dist/index.js
CHANGED
|
@@ -609,7 +609,7 @@ var web_components_default = defineConfig6(({ command }) => {
|
|
|
609
609
|
// src/plugin/docs.ts
|
|
610
610
|
import {kolorist as c2} from "@stacksjs/cli";
|
|
611
611
|
// package.json
|
|
612
|
-
var version = "0.58.
|
|
612
|
+
var version = "0.58.55";
|
|
613
613
|
|
|
614
614
|
// src/plugin/docs.ts
|
|
615
615
|
var docsEngine = {
|