stacks 0.48.1 → 0.48.2
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/buddy/package.json +1 -1
- package/core/actions/package.json +1 -1
- package/core/actions/src/helpers/utils.ts +10 -4
- package/core/ai/package.json +1 -1
- package/core/alias/package.json +1 -1
- package/core/arrays/package.json +1 -1
- package/core/auth/package.json +1 -1
- package/core/build/package.json +1 -1
- package/core/cache/package.json +1 -1
- package/core/chat/package.json +1 -1
- package/core/cli/package.json +1 -1
- package/core/cloud/package.json +1 -1
- package/core/collections/package.json +1 -1
- package/core/config/package.json +1 -1
- package/core/dashboard/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/docs/package.json +1 -1
- package/core/domains/package.json +1 -1
- package/core/drivers/package.json +1 -1
- package/core/email/package.json +1 -1
- package/core/error-handling/package.json +1 -1
- package/core/events/package.json +1 -1
- package/core/git/package.json +1 -1
- package/core/health/package.json +1 -1
- package/core/lint/package.json +1 -1
- package/core/logging/package.json +1 -1
- package/core/modules/package.json +1 -1
- package/core/notifications/package.json +1 -1
- package/core/objects/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/realtime/package.json +1 -1
- package/core/router/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/sms/package.json +1 -1
- package/core/storage/package.json +1 -1
- package/core/strings/package.json +1 -1
- package/core/tables/package.json +3 -3
- package/core/testing/package.json +1 -1
- package/core/types/package.json +2 -1
- package/core/ui/package.json +1 -1
- package/core/utils/package.json +1 -1
- package/core/x-ray/package.json +1 -1
- package/package.json +2 -2
package/buddy/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import storage from '@stacksjs/storage'
|
|
2
|
-
import { runCommand, runCommands } from '@stacksjs/cli'
|
|
2
|
+
import { log, runCommand, runCommands } from '@stacksjs/cli'
|
|
3
3
|
import { actionsPath, functionsPath } from '@stacksjs/path'
|
|
4
4
|
import type { CliOptions, CommandResult } from '@stacksjs/types'
|
|
5
5
|
import type { Err, Result } from '@stacksjs/error-handling'
|
|
@@ -20,6 +20,12 @@ const parseOptions = (options?: CliOptions) => {
|
|
|
20
20
|
return parsedOptions.join(' ').replace('----=', '')
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
export type ActionResult = Promise<
|
|
24
|
+
Result<CommandResult<string>, Error>
|
|
25
|
+
| Result<CommandResult<string>, Error>[]
|
|
26
|
+
| Err<CommandResult<string>, string>
|
|
27
|
+
>
|
|
28
|
+
|
|
23
29
|
/**
|
|
24
30
|
* Run an Action the Stacks way.
|
|
25
31
|
*
|
|
@@ -27,7 +33,7 @@ const parseOptions = (options?: CliOptions) => {
|
|
|
27
33
|
* @param options The options to pass to the command.
|
|
28
34
|
* @returns The result of the command.
|
|
29
35
|
*/
|
|
30
|
-
export async function runAction(action: string, options?: CliOptions):
|
|
36
|
+
export async function runAction(action: string, options?: CliOptions): ActionResult {
|
|
31
37
|
if (!hasAction(action))
|
|
32
38
|
return err(`The specified action "${action}" does not exist.`)
|
|
33
39
|
|
|
@@ -35,8 +41,8 @@ export async function runAction(action: string, options?: CliOptions): Promise<R
|
|
|
35
41
|
const opts = parseOptions(options)
|
|
36
42
|
const cmd = `npx esno ${actionsPath(`${action}.ts ${opts}`)}`
|
|
37
43
|
|
|
38
|
-
|
|
39
|
-
|
|
44
|
+
if (options?.debug)
|
|
45
|
+
log.info('Running command:', cmd, options)
|
|
40
46
|
|
|
41
47
|
return options?.shouldShowSpinner
|
|
42
48
|
? await runCommands([cmd], options)
|
package/core/ai/package.json
CHANGED
package/core/alias/package.json
CHANGED
package/core/arrays/package.json
CHANGED
package/core/auth/package.json
CHANGED
package/core/build/package.json
CHANGED
package/core/cache/package.json
CHANGED
package/core/chat/package.json
CHANGED
package/core/cli/package.json
CHANGED
package/core/cloud/package.json
CHANGED
package/core/config/package.json
CHANGED
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.48.
|
|
4
|
+
"version": "0.48.2",
|
|
5
5
|
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks Email integration. Painlessly create & manage your inboxes, templates, and send emails.",
|
|
7
7
|
"author": "Chris Breuer",
|
package/core/events/package.json
CHANGED
package/core/git/package.json
CHANGED
package/core/health/package.json
CHANGED
package/core/lint/package.json
CHANGED
package/core/path/package.json
CHANGED
package/core/push/package.json
CHANGED
package/core/router/package.json
CHANGED
package/core/server/package.json
CHANGED
package/core/sms/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/sms",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.48.
|
|
4
|
+
"version": "0.48.2",
|
|
5
5
|
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks SMS integration. Painlessly create & manage your inboxes, templates, and send sms.",
|
|
7
7
|
"author": "Chris Breuer",
|
package/core/tables/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/tables",
|
|
3
|
-
"version": "0.48.
|
|
3
|
+
"version": "0.48.2",
|
|
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",
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"@stacksjs/types": "workspace:*",
|
|
79
79
|
"@stacksjs/utils": "workspace:*",
|
|
80
|
-
"@vueform/multiselect": "^2.
|
|
81
|
-
"meilisearch": "^0.
|
|
80
|
+
"@vueform/multiselect": "^2.5.8",
|
|
81
|
+
"meilisearch": "^0.30.0"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@stacksjs/testing": "workspace:*",
|
package/core/types/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/types",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.48.
|
|
4
|
+
"version": "0.48.2",
|
|
5
5
|
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks framework types.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"@mdit-vue/plugin-component": "^0.11.2",
|
|
47
47
|
"@mdit-vue/plugin-frontmatter": "^0.11.1",
|
|
48
48
|
"@mdit-vue/types": "^0.11.0",
|
|
49
|
+
"@prisma/client": "^4.8.0",
|
|
49
50
|
"@rollup/pluginutils": "^5.0.2",
|
|
50
51
|
"@types/bcryptjs": "^2.4.2",
|
|
51
52
|
"@types/crypto-js": "^4.1.1",
|
package/core/ui/package.json
CHANGED
package/core/utils/package.json
CHANGED
package/core/x-ray/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stacks",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.48.
|
|
4
|
+
"version": "0.48.2",
|
|
5
5
|
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks framework.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
},
|
|
66
66
|
"web-types": "./web-types.json",
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@stacksjs/buddy": "0.48.
|
|
68
|
+
"@stacksjs/buddy": "0.48.2"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|
|
71
71
|
"buddy": "esno ./buddy/src/cli.ts",
|