stacks 0.58.65 → 0.58.67
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/index.js +3 -1
- package/core/actions/dist/src/release.js +3 -1
- package/core/actions/dist/src/upgrade/index.js +3 -4
- package/core/actions/dist/src/upgrade.js +1 -1
- package/core/actions/package.json +3 -1
- package/core/actions/src/action.ts +24 -5
- package/core/actions/src/generate/action-types.ts +89 -0
- package/core/actions/src/upgrade/index.ts +6 -5
- package/core/ai/dist/index.js +3898 -3539
- package/core/ai/package.json +3 -3
- 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/arrays/src/helpers.ts +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 +2 -2
- 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 +1 -1
- package/core/cloud/package.json +28 -28
- 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/compute.ts +1 -1
- package/core/cloud/src/cloud/router-layer/nodejs/package.json +2 -2
- package/core/collections/package.json +1 -1
- package/core/config/dist/index.js +2 -0
- package/core/config/package.json +1 -1
- package/core/config/src/defaults.ts +2 -0
- 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 +4 -4
- package/core/docs/package.json +1 -1
- package/core/email/package.json +2 -2
- package/core/enums/dist/index.js +1 -0
- package/core/enums/package.json +1 -1
- package/core/enums/src/index.ts +1 -0
- package/core/env/package.json +1 -1
- package/core/error-handling/package.json +1 -1
- package/core/eslint-config/package.json +1 -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/package.json +1 -1
- 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/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/package.json +1 -1
- package/core/types/src/cloud.ts +16 -0
- package/core/types/src/index.ts +1 -0
- package/core/types/src/request.ts +3 -0
- 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/build.ts +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/vscode/package.json +1 -1
- package/package.json +1 -1
package/core/lint/package.json
CHANGED
package/core/orm/package.json
CHANGED
package/core/path/package.json
CHANGED
package/core/push/package.json
CHANGED
package/core/queue/package.json
CHANGED
package/core/repl/package.json
CHANGED
package/core/router/package.json
CHANGED
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/package.json
CHANGED
package/core/types/src/cloud.ts
CHANGED
|
@@ -28,6 +28,8 @@ export type CountryCode =
|
|
|
28
28
|
| 'YE' | 'YT'
|
|
29
29
|
| 'ZA' | 'ZM' | 'ZW'
|
|
30
30
|
|
|
31
|
+
type Environment = 'development' | 'staging' | 'production'
|
|
32
|
+
|
|
31
33
|
export interface CloudOptions {
|
|
32
34
|
driver: 'aws'
|
|
33
35
|
|
|
@@ -57,6 +59,18 @@ export interface CloudOptions {
|
|
|
57
59
|
*/
|
|
58
60
|
firewall: FirewallConfig
|
|
59
61
|
|
|
62
|
+
/**
|
|
63
|
+
* **Environments**
|
|
64
|
+
*
|
|
65
|
+
* These are the environments that your cloud will deploy.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```ts
|
|
69
|
+
* environments: ['production', 'staging', 'development']
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
environments: Environment[]
|
|
73
|
+
|
|
60
74
|
cdn: {
|
|
61
75
|
allowedMethods: 'GET_HEAD' | 'GET_HEAD_OPTIONS' | 'ALL'
|
|
62
76
|
cachedMethods: 'GET_HEAD' | 'GET_HEAD_OPTIONS'
|
|
@@ -67,11 +81,13 @@ export interface CloudOptions {
|
|
|
67
81
|
priceClass?: 'PriceClass_100' | 'PriceClass_200' | 'PriceClass_All'
|
|
68
82
|
originShieldRegion: string
|
|
69
83
|
cookieBehavior: 'none' | 'allowList' | 'all'
|
|
84
|
+
|
|
70
85
|
allowList: {
|
|
71
86
|
cookies: string[]
|
|
72
87
|
headers: string[]
|
|
73
88
|
queryStrings: string[]
|
|
74
89
|
}
|
|
90
|
+
|
|
75
91
|
realtimeLogs: {
|
|
76
92
|
enabled: boolean
|
|
77
93
|
samplingRate: number
|
package/core/types/src/index.ts
CHANGED
package/core/ui/package.json
CHANGED
package/core/utils/dist/index.js
CHANGED
package/core/utils/package.json
CHANGED
package/core/validation/build.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { runCommand } from '@stacksjs/cli'
|
|
2
2
|
|
|
3
|
-
await runCommand('bun build ./src/index.ts --outdir dist --format esm --external @vinejs/vine --external @stacksjs/vite --external @stacksjs/strings --external @stacksjs/types --external @dinero.js/currencies --external dinero.js --target bun', {
|
|
3
|
+
await runCommand('bun build ./src/index.ts --outdir dist --format esm --external @vinejs/vine --external @stacksjs/vite --external @stacksjs/strings --external @stacksjs/types --external @stacksjs/validation --external @dinero.js/currencies --external dinero.js --target bun', {
|
|
4
4
|
cwd: import.meta.dir,
|
|
5
5
|
})
|
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.67";
|
|
613
613
|
|
|
614
614
|
// src/plugin/docs.ts
|
|
615
615
|
var docsEngine = {
|
package/core/vite/package.json
CHANGED
package/core/whois/package.json
CHANGED
package/core/x-ray/package.json
CHANGED
package/ide/vscode/package.json
CHANGED