stacks 0.58.57 → 0.58.59
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/build.js +18 -26
- package/core/actions/dist/src/bump.js +9 -3
- package/core/actions/dist/src/changelog.js +11 -3
- package/core/actions/dist/src/dev/index.js +18 -26
- package/core/actions/dist/src/generate/index.js +18 -26
- package/core/actions/dist/src/helpers/index.js +18 -26
- package/core/actions/dist/src/helpers/utils.js +18 -26
- package/core/actions/dist/src/index.js +35 -37
- package/core/actions/dist/src/lint/fix.js +3 -2
- package/core/actions/dist/src/release.js +39 -38
- package/core/actions/dist/src/upgrade/index.js +18 -26
- package/core/actions/dist/src/upgrade.js +1 -1
- package/core/actions/package.json +1 -1
- package/core/actions/src/action.ts +11 -3
- package/core/actions/src/bump.ts +13 -6
- package/core/actions/src/changelog.ts +14 -4
- package/core/actions/src/helpers/utils.ts +24 -36
- package/core/actions/src/lint/fix.ts +3 -2
- package/core/actions/src/release.ts +4 -1
- package/core/ai/dist/index.js +31 -29
- package/core/ai/package.json +3 -3
- package/core/alias/package.json +1 -1
- package/core/analytics/package.json +1 -1
- package/core/api/dist/index.js +6 -3
- package/core/api/package.json +1 -1
- package/core/arrays/package.json +1 -1
- package/core/auth/package.json +1 -1
- package/core/buddy/dist/chunk-59a9de11428ba763.js +993 -0
- package/core/buddy/dist/{chunk-e9c0ec1a3b7be088.js → chunk-7b24d1e3e585766e.js} +594 -563
- package/core/buddy/dist/cli.js +3916 -19
- package/core/buddy/dist/index.js +2 -5
- package/core/buddy/package.json +1 -1
- package/core/buddy/src/cli.ts +91 -17
- package/core/buddy/src/commands/add.ts +3 -0
- package/core/buddy/src/commands/build.ts +42 -27
- package/core/buddy/src/commands/changelog.ts +13 -6
- package/core/buddy/src/commands/clean.ts +3 -1
- package/core/buddy/src/commands/cloud.ts +14 -2
- package/core/buddy/src/commands/commit.ts +2 -0
- package/core/buddy/src/commands/configure.ts +6 -3
- package/core/buddy/src/commands/create.ts +3 -1
- package/core/buddy/src/commands/deploy.ts +3 -1
- package/core/buddy/src/commands/dev.ts +50 -36
- package/core/buddy/src/commands/dns.ts +7 -1
- package/core/buddy/src/commands/domains.ts +7 -1
- package/core/buddy/src/commands/fresh.ts +4 -2
- package/core/buddy/src/commands/generate.ts +36 -26
- package/core/buddy/src/commands/http.ts +6 -4
- package/core/buddy/src/commands/index.ts +0 -2
- package/core/buddy/src/commands/install.ts +3 -1
- package/core/buddy/src/commands/key.ts +2 -0
- package/core/buddy/src/commands/lint.ts +4 -0
- package/core/buddy/src/commands/list.ts +6 -2
- package/core/buddy/src/commands/make.ts +52 -30
- package/core/buddy/src/commands/migrate.ts +6 -2
- package/core/buddy/src/commands/prepublish.ts +3 -0
- package/core/buddy/src/commands/release.ts +12 -2
- package/core/buddy/src/commands/seed.ts +3 -1
- package/core/buddy/src/commands/setup.ts +16 -8
- package/core/buddy/src/commands/tinker.ts +3 -1
- package/core/buddy/src/commands/types.ts +4 -2
- package/core/buddy/src/commands/upgrade.ts +37 -25
- package/core/buddy/src/commands/version.ts +7 -0
- 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 +8 -8
- package/core/cli/dist/index.js +462 -87
- package/core/cli/package.json +1 -1
- package/core/cli/src/cli.ts +9 -31
- package/core/cli/src/console.ts +1 -1
- package/core/cli/src/exec.ts +28 -14
- package/core/cli/src/helpers.ts +3 -3
- package/core/cli/src/index.ts +1 -1
- package/core/cli/src/parse.ts +95 -17
- package/core/cli/src/run.ts +7 -7
- package/core/cli/src/utils.ts +62 -0
- package/core/cloud/dist/index.js +70 -41
- package/core/cloud/package.json +32 -32
- 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 +96 -55
- 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 +49 -27
- package/core/config/package.json +1 -1
- package/core/config/src/config.ts +1 -1
- package/core/config/src/defaults.ts +28 -14
- package/core/config/src/overrides.ts +2 -0
- package/core/database/package.json +1 -1
- package/core/datetime/package.json +1 -1
- package/core/desktop/package.json +9 -9
- package/core/development/package.json +1 -1
- package/core/dns/package.json +7 -7
- package/core/docs/package.json +1 -1
- package/core/email/package.json +14 -14
- package/core/enums/dist/index.js +2 -2
- package/core/enums/package.json +1 -1
- package/core/enums/src/index.ts +2 -2
- package/core/env/package.json +3 -2
- package/core/env/src/utils.ts +1 -0
- package/core/error-handling/package.json +1 -1
- package/core/eslint-config/package.json +10 -10
- package/core/events/package.json +1 -1
- package/core/faker/package.json +2 -2
- 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/build.ts +1 -1
- package/core/logging/dist/index.js +10932 -1773
- package/core/logging/package.json +1 -1
- package/core/logging/src/index.ts +79 -13
- package/core/notifications/package.json +23 -23
- package/core/objects/package.json +1 -1
- package/core/orm/package.json +1 -1
- package/core/path/dist/index.js +10 -0
- package/core/path/package.json +1 -1
- package/core/path/src/index.ts +10 -0
- package/core/payments/dist/index.js +34 -10
- package/core/payments/package.json +2 -2
- package/core/push/package.json +5 -5
- package/core/query-builder/package.json +1 -1
- package/core/queue/dist/index.js +3 -1
- package/core/queue/package.json +1 -1
- package/core/queue/src/index.ts +3 -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/dist/index.js +517 -14
- package/core/router/package.json +1 -1
- package/core/router/src/router.ts +10 -3
- package/core/scheduler/dist/index.js +4 -0
- package/core/scheduler/package.json +1 -1
- package/core/scheduler/src/index.ts +1 -0
- package/core/scheduler/src/schedule.ts +5 -0
- package/core/search-engine/package.json +1 -1
- package/core/security/package.json +1 -1
- package/core/server/package.json +2 -2
- package/core/signals/package.json +1 -1
- package/core/slug/package.json +1 -1
- package/core/sms/package.json +11 -11
- package/core/storage/package.json +1 -1
- package/core/strings/package.json +1 -1
- package/core/tables/package.json +2 -2
- 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 +1787 -6
- package/core/types/package.json +7 -7
- package/core/types/src/ai.ts +1 -0
- package/core/types/src/binary.ts +1 -0
- package/core/types/src/cli.ts +13 -3
- package/core/types/src/cron-jobs.ts +6 -1
- package/core/types/src/docs.ts +5 -1
- package/core/types/src/index.ts +1 -0
- package/core/types/src/logger.ts +54 -0
- package/core/types/src/router.ts +2 -1
- package/core/types/src/stacks.ts +10 -0
- package/core/types/src/team.ts +1 -1
- package/core/ui/package.json +6 -6
- package/core/utils/dist/index.js +39 -2
- package/core/utils/package.json +2 -2
- package/core/utils/src/hash.ts +10 -1
- package/core/utils/src/index.ts +1 -0
- package/core/utils/src/retry.ts +33 -0
- package/core/validation/package.json +1 -1
- package/core/vite/dist/index.js +1 -1
- package/core/vite/package.json +4 -4
- package/core/whois/package.json +1 -1
- package/core/x-ray/package.json +1 -1
- package/core/zsh-buddy/buddy.plugin.zsh +4 -0
- package/core/zsh-buddy/package.json +1 -1
- package/ide/dictionary.txt +1 -0
- package/ide/vscode/package.json +1 -1
- package/package.json +1 -1
- package/core/buddy/src/commands/example.ts +0 -66
- package/core/buddy/src/commands/inspire.ts +0 -24
- package/core/cli/src/utilities.ts +0 -2
package/core/dns/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/dns",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.59",
|
|
5
5
|
"description": "Easily manage your DNS.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -51,27 +51,27 @@
|
|
|
51
51
|
"prepublishOnly": "bun --bun run build"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@aws-sdk/client-route-53": "^3.
|
|
55
|
-
"@aws-sdk/client-route-53-domains": "^3.
|
|
54
|
+
"@aws-sdk/client-route-53": "^3.511.0",
|
|
55
|
+
"@aws-sdk/client-route-53-domains": "^3.511.0",
|
|
56
56
|
"@stacksjs/actions": "workspace:*",
|
|
57
57
|
"@stacksjs/error-handling": "workspace:*",
|
|
58
58
|
"@stacksjs/path": "workspace:*",
|
|
59
59
|
"@stacksjs/storage": "workspace:*",
|
|
60
60
|
"@stacksjs/whois": "workspace:*",
|
|
61
|
-
"aws-cdk-lib": "^2.
|
|
61
|
+
"aws-cdk-lib": "^2.127.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@aws-sdk/client-route-53": "^3.
|
|
64
|
+
"@aws-sdk/client-route-53": "^3.511.0",
|
|
65
65
|
"@stacksjs/actions": "workspace:*",
|
|
66
66
|
"@stacksjs/error-handling": "workspace:*",
|
|
67
67
|
"@stacksjs/path": "workspace:*",
|
|
68
68
|
"@stacksjs/storage": "workspace:*",
|
|
69
69
|
"@stacksjs/strings": "workspace:*",
|
|
70
70
|
"@stacksjs/whois": "workspace:*",
|
|
71
|
-
"aws-cdk-lib": "^2.
|
|
71
|
+
"aws-cdk-lib": "^2.127.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@stacksjs/development": "workspace:*",
|
|
75
|
-
"aws-cdk-lib": "^2.
|
|
75
|
+
"aws-cdk-lib": "^2.127.0"
|
|
76
76
|
}
|
|
77
77
|
}
|
package/core/docs/package.json
CHANGED
package/core/email/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/email",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.59",
|
|
5
5
|
"description": "The Stacks Email integration. Painlessly create & manage your inboxes, templates, and send emails.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -57,15 +57,15 @@
|
|
|
57
57
|
"prepublishOnly": "bun --bun run build"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
|
-
"@maizzle/framework": "^4.7.
|
|
60
|
+
"@maizzle/framework": "^4.7.6",
|
|
61
61
|
"@stacksjs/cli": "workspace:*",
|
|
62
62
|
"@stacksjs/config": "workspace:*",
|
|
63
63
|
"@stacksjs/error-handling": "workspace:*",
|
|
64
64
|
"@stacksjs/types": "workspace:*"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@maizzle/framework": "^4.7.
|
|
68
|
-
"@novu/stateless": "^0.23.
|
|
67
|
+
"@maizzle/framework": "^4.7.6",
|
|
68
|
+
"@novu/stateless": "^0.23.1",
|
|
69
69
|
"@stacksjs/cli": "workspace:*",
|
|
70
70
|
"@stacksjs/config": "workspace:*",
|
|
71
71
|
"@stacksjs/error-handling": "workspace:*",
|
|
@@ -78,16 +78,16 @@
|
|
|
78
78
|
"uuid": "^9.0.1"
|
|
79
79
|
},
|
|
80
80
|
"optionalDependencies": {
|
|
81
|
-
"@novu/emailjs": "^0.23.
|
|
82
|
-
"@novu/mailgun": "^0.23.
|
|
83
|
-
"@novu/mailjet": "^0.23.
|
|
84
|
-
"@novu/mandrill": "^0.23.
|
|
85
|
-
"@novu/netcore": "^0.23.
|
|
86
|
-
"@novu/node": "^0.23.
|
|
87
|
-
"@novu/nodemailer": "^0.23.
|
|
88
|
-
"@novu/postmark": "^0.23.
|
|
89
|
-
"@novu/sendgrid": "^0.23.
|
|
90
|
-
"@novu/ses": "^0.23.
|
|
81
|
+
"@novu/emailjs": "^0.23.1",
|
|
82
|
+
"@novu/mailgun": "^0.23.1",
|
|
83
|
+
"@novu/mailjet": "^0.23.1",
|
|
84
|
+
"@novu/mandrill": "^0.23.1",
|
|
85
|
+
"@novu/netcore": "^0.23.1",
|
|
86
|
+
"@novu/node": "^0.23.1",
|
|
87
|
+
"@novu/nodemailer": "^0.23.1",
|
|
88
|
+
"@novu/postmark": "^0.23.1",
|
|
89
|
+
"@novu/sendgrid": "^0.23.1",
|
|
90
|
+
"@novu/ses": "^0.23.1"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
93
|
"@stacksjs/development": "workspace:*"
|
package/core/enums/dist/index.js
CHANGED
|
@@ -14,8 +14,8 @@ var NpmScript;
|
|
|
14
14
|
NpmScript2["DevDesktop"] = "dev:desktop";
|
|
15
15
|
NpmScript2["DevFunctions"] = "dev:functions";
|
|
16
16
|
NpmScript2["Fresh"] = "fresh";
|
|
17
|
-
NpmScript2["Lint"] = "eslint .";
|
|
18
|
-
NpmScript2["LintFix"] = "eslint . --fix";
|
|
17
|
+
NpmScript2["Lint"] = "bunx eslint .";
|
|
18
|
+
NpmScript2["LintFix"] = "bunx eslint . --fix";
|
|
19
19
|
NpmScript2["LintPackageJson"] = "publint";
|
|
20
20
|
NpmScript2["MakeStack"] = "make:stack";
|
|
21
21
|
NpmScript2["Test"] = "bun test";
|
package/core/enums/package.json
CHANGED
package/core/enums/src/index.ts
CHANGED
|
@@ -15,8 +15,8 @@ export enum NpmScript {
|
|
|
15
15
|
DevDesktop = 'dev:desktop',
|
|
16
16
|
DevFunctions = 'dev:functions',
|
|
17
17
|
Fresh = 'fresh',
|
|
18
|
-
Lint = 'eslint .',
|
|
19
|
-
LintFix = 'eslint . --fix',
|
|
18
|
+
Lint = 'bunx eslint .',
|
|
19
|
+
LintFix = 'bunx eslint . --fix',
|
|
20
20
|
LintPackageJson = 'publint',
|
|
21
21
|
MakeStack = 'make:stack',
|
|
22
22
|
Test = 'bun test',
|
package/core/env/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/env",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.59",
|
|
5
5
|
"description": "Stacks env helper methods.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -45,7 +45,8 @@
|
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@stacksjs/validation": "workspace:*",
|
|
48
|
-
"fs-extra": "^11.2.0"
|
|
48
|
+
"fs-extra": "^11.2.0",
|
|
49
|
+
"std-env": "^3.7.0"
|
|
49
50
|
},
|
|
50
51
|
"devDependencies": {
|
|
51
52
|
"@stacksjs/development": "workspace:*",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { platform, isCI, hasTTY, hasWindow, isDebug, isMinimal, isWindows, isLinux, isMacOS, isColorSupported, providerInfo, provider, isBun, isNode, runtimeInfo, runtime } from 'std-env'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.59",
|
|
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",
|
|
@@ -67,14 +67,14 @@
|
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@antfu/eslint-define-config": "^1.23.0-2",
|
|
70
|
-
"@eslint-types/jsdoc": "48.0.
|
|
71
|
-
"@eslint-types/typescript-eslint": "^6.
|
|
72
|
-
"@eslint-types/unicorn": "^
|
|
70
|
+
"@eslint-types/jsdoc": "48.0.6",
|
|
71
|
+
"@eslint-types/typescript-eslint": "^6.21.0",
|
|
72
|
+
"@eslint-types/unicorn": "^51.0.1",
|
|
73
73
|
"@stacksjs/cli": "workspace:*",
|
|
74
|
-
"@stylistic/eslint-plugin": "^1.6.
|
|
74
|
+
"@stylistic/eslint-plugin": "^1.6.1",
|
|
75
75
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
76
76
|
"@typescript-eslint/parser": "^6.21.0",
|
|
77
|
-
"eslint-config-flat-gitignore": "^0.1.
|
|
77
|
+
"eslint-config-flat-gitignore": "^0.1.3",
|
|
78
78
|
"eslint-merge-processors": "^0.1.0",
|
|
79
79
|
"eslint-parser-plain": "^0.1.0",
|
|
80
80
|
"eslint-plugin-antfu": "^2.1.2",
|
|
@@ -93,7 +93,7 @@
|
|
|
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",
|
|
96
|
-
"globals": "^
|
|
96
|
+
"globals": "^14.0.0",
|
|
97
97
|
"jsonc-eslint-parser": "^2.4.0",
|
|
98
98
|
"local-pkg": "^0.5.0",
|
|
99
99
|
"parse-gitignore": "^2.0.0",
|
|
@@ -104,9 +104,9 @@
|
|
|
104
104
|
"devDependencies": {
|
|
105
105
|
"@stacksjs/eslint-config": "workspace:*",
|
|
106
106
|
"@stacksjs/utils": "workspace:*",
|
|
107
|
-
"@stylistic/eslint-plugin-migrate": "^1.6.
|
|
107
|
+
"@stylistic/eslint-plugin-migrate": "^1.6.1",
|
|
108
108
|
"@types/eslint": "^8.56.2",
|
|
109
|
-
"@types/node": "^20.11.
|
|
109
|
+
"@types/node": "^20.11.17",
|
|
110
110
|
"@unocss/eslint-plugin": "^0.58.5",
|
|
111
111
|
"eslint": "^8.56.0",
|
|
112
112
|
"eslint-flat-config-viewer": "^0.1.11",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"eslint-ts-patch": "^8.55.0-1",
|
|
115
115
|
"lint-staged": "^15.2.2",
|
|
116
116
|
"rimraf": "^5.0.5",
|
|
117
|
-
"tsup": "^8.0.
|
|
117
|
+
"tsup": "^8.0.2",
|
|
118
118
|
"typescript": "^5.3.3"
|
|
119
119
|
}
|
|
120
120
|
}
|
package/core/events/package.json
CHANGED
package/core/faker/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/faker",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.59",
|
|
5
5
|
"description": "Faker functions.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@stacksjs/config": "workspace:*"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@faker-js/faker": "^8.4.
|
|
55
|
+
"@faker-js/faker": "^8.4.1",
|
|
56
56
|
"@stacksjs/cli": "workspace:*",
|
|
57
57
|
"@stacksjs/config": "workspace:*"
|
|
58
58
|
},
|
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/logging/build.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { log, runCommand } from '../cli/src'
|
|
2
2
|
|
|
3
|
-
const result = await runCommand('bun build ./src/index.ts --outdir dist --format esm --external @stacksjs/types --target bun', {
|
|
3
|
+
const result = await runCommand('bun build ./src/index.ts --outdir dist --format esm --external @stacksjs/types --external @stacksjs/cli --external @stacksjs/path --external consola --target bun', {
|
|
4
4
|
cwd: import.meta.dir,
|
|
5
5
|
})
|
|
6
6
|
|