stacks 0.44.12 → 0.45.1
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/README.md +3 -3
- package/buddy/README.md +3 -3
- package/buddy/package.json +4 -4
- package/buddy/src/commands/build.ts +7 -0
- package/buddy/src/commands/fresh.ts +3 -3
- package/buddy/src/commands/lint.ts +21 -3
- package/buddy/src/commands/release.ts +2 -2
- package/core/actions/package.json +2 -2
- package/core/actions/src/build-core.ts +7 -0
- package/core/actions/src/bump.ts +7 -0
- package/core/actions/src/fix-lint-issues.ts +4 -0
- package/core/actions/src/fresh.ts +4 -1
- package/core/actions/src/{generate-package-json.ts → generate-package-jsons.ts} +0 -0
- package/core/actions/src/generate.ts +5 -5
- package/core/actions/src/helpers/lib-entries.ts +1 -1
- package/core/actions/src/helpers/package-json.ts +1 -1
- package/core/actions/src/helpers/utils.ts +30 -6
- package/core/actions/src/lint-fix.ts +8 -0
- package/core/actions/src/lint.ts +6 -30
- package/core/actions/src/make.ts +8 -8
- package/core/actions/src/release.ts +9 -28
- 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/node_modules/.bin/vite +2 -2
- package/core/build/node_modules/.bin/vite-ssg +2 -2
- package/core/build/package.json +3 -3
- package/core/cache/package.json +2 -2
- package/core/cache/tests/Redis.test.ts +0 -1
- package/core/cli/package.json +1 -1
- package/core/cli/src/actions/run.ts +23 -10
- package/core/cli/src/helpers.ts +9 -6
- 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 +2 -2
- package/core/datetime/package.json +1 -1
- package/core/desktop/package.json +1 -1
- package/core/docs/node_modules/.bin/vitepress +2 -2
- 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 +2 -2
- package/core/git/package.json +1 -1
- package/core/health/package.json +1 -1
- package/core/lint/node_modules/.bin/eslint +2 -2
- package/core/lint/package.json +3 -3
- package/core/logging/package.json +1 -1
- package/core/modules/package.json +1 -1
- package/core/modules/src/nprogress.ts +3 -1
- package/core/notifications/README.md +2 -2
- package/core/notifications/package.json +1 -1
- package/core/notifications/src/drivers/chat/slack.ts +1 -1
- package/core/notifications/src/drivers/email/actions/send.ts +1 -1
- package/core/notifications/src/drivers/push/expo.ts +19 -0
- package/core/notifications/src/drivers/push/fcm.ts +19 -0
- package/core/notifications/src/index.ts +17 -22
- package/core/notifications/tests/chat/Slack.test.ts +12 -2
- package/core/notifications/tests/email/Mailgun.test.ts +14 -3
- package/core/notifications/tests/email/Sendgrid.test.ts +15 -4
- package/core/notifications/tests/sms/Twilio.test.ts +13 -2
- package/core/objects/package.json +1 -1
- package/core/path/package.json +1 -1
- package/core/payments/package.json +1 -1
- package/core/realtime/package.json +1 -1
- package/core/router/package.json +1 -1
- package/core/search-engine/package.json +2 -2
- package/core/security/package.json +1 -1
- package/core/server/node_modules/.bin/vite +2 -2
- package/core/server/package.json +2 -2
- package/core/storage/package.json +1 -1
- package/core/strings/package.json +1 -1
- package/core/testing/node_modules/.bin/mkdist +2 -2
- package/core/testing/node_modules/.bin/vitest +2 -2
- package/core/testing/package.json +5 -5
- package/core/types/node_modules/.bin/vitepress +2 -2
- package/core/types/package.json +3 -3
- package/core/types/src/cli.ts +35 -4
- package/core/types/src/notifications.ts +161 -0
- package/core/ui/node_modules/.bin/vue-tsc +2 -2
- package/core/ui/package.json +2 -2
- package/core/utils/package.json +5 -5
- package/core/utils/src/helpers.ts +1 -1
- package/core/x-ray/package.json +1 -1
- package/core/x-ray/src/desktop/app.vue +0 -1
- package/core/x-ray/src/ray.config.js +1 -0
- package/core/x-ray/src/types.ts +1 -0
- package/package.json +4 -4
- package/core/actions/test.ts +0 -10
- package/core/cloud/dist/actions/README.md +0 -53
- package/core/notifications/tests/example.test.ts +0 -7
package/core/router/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/search-engine",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.45.1",
|
|
5
5
|
"packageManager": "pnpm@7.18.2",
|
|
6
6
|
"description": "The Stacks search engine integrations.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@stacksjs/cli": "workspace:*",
|
|
54
54
|
"@stacksjs/config": "workspace:*",
|
|
55
|
-
"@vueuse/core": "^9.
|
|
55
|
+
"@vueuse/core": "^9.8.2",
|
|
56
56
|
"meilisearch": "^0.30.0",
|
|
57
57
|
"vue": "^3.2.45"
|
|
58
58
|
},
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vite@4.0.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vite@4.0.2/node_modules/vite/bin/vite.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/vite@4.0.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/vite@4.0.2/node_modules/vite/bin/vite.js" "$@"
|
|
17
17
|
fi
|
package/core/server/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/server",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.45.1",
|
|
5
5
|
"packageManager": "pnpm@7.18.2",
|
|
6
6
|
"description": "Local development and production-ready.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@stacksjs/config": "workspace:*",
|
|
50
50
|
"@stacksjs/path": "workspace:*",
|
|
51
51
|
"nitropack": "^1.0.0",
|
|
52
|
-
"vite": "^4.0.
|
|
52
|
+
"vite": "^4.0.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@stacksjs/testing": "workspace:*",
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/mkdist@0.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/mkdist@1.0.0_typescript@4.9.4/node_modules/mkdist/dist/cli.cjs" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/mkdist@0.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/mkdist@1.0.0_typescript@4.9.4/node_modules/mkdist/dist/cli.cjs" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vitest@0.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vitest@0.26.1_@vitest+ui@0.26.1/node_modules/vitest/vitest.mjs" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/vitest@0.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/vitest@0.26.1_@vitest+ui@0.26.1/node_modules/vitest/vitest.mjs" "$@"
|
|
17
17
|
fi
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/testing",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.45.1",
|
|
5
5
|
"packageManager": "pnpm@7.18.2",
|
|
6
6
|
"description": "The Stacks way to test.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"typecheck": "tsc --noEmit"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@vitest/coverage-istanbul": "^0.
|
|
50
|
-
"@vitest/ui": "^0.
|
|
51
|
-
"vitest": "^0.
|
|
49
|
+
"@vitest/coverage-istanbul": "^0.26.0",
|
|
50
|
+
"@vitest/ui": "^0.26.1",
|
|
51
|
+
"vitest": "^0.26.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"mkdist": "^0.
|
|
54
|
+
"mkdist": "^1.0.0",
|
|
55
55
|
"typescript": "^4.9.4"
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vitepress@1.0.0-alpha.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vitepress@1.0.0-alpha.32_o4l5fnurgl7shvybs3txghyb5a/node_modules/vitepress/bin/vitepress.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/vitepress@1.0.0-alpha.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/vitepress@1.0.0-alpha.32_o4l5fnurgl7shvybs3txghyb5a/node_modules/vitepress/bin/vitepress.js" "$@"
|
|
17
17
|
fi
|
package/core/types/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/types",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.45.1",
|
|
5
5
|
"packageManager": "pnpm@7.18.2",
|
|
6
6
|
"description": "The Stacks framework types.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@types/fs-extra": "^9.0.13",
|
|
54
54
|
"@types/markdown-it-link-attributes": "^3.0.1",
|
|
55
55
|
"@types/minimatch": "^5.1.2",
|
|
56
|
-
"@types/node": "^18.11.
|
|
56
|
+
"@types/node": "^18.11.17",
|
|
57
57
|
"@types/nprogress": "^0.2.0",
|
|
58
58
|
"@types/pluralize": "^0.0.29",
|
|
59
59
|
"@types/prompts": "^2.4.2",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"typescript": "^4.9.4",
|
|
64
64
|
"unplugin-auto-import": "^0.12.1",
|
|
65
65
|
"unplugin-vue-components": "^0.22.12",
|
|
66
|
-
"vite-plugin-inspect": "^0.7.
|
|
66
|
+
"vite-plugin-inspect": "^0.7.11",
|
|
67
67
|
"vite-plugin-vue-layouts": "^0.7.0",
|
|
68
68
|
"vite-ssg": "^0.22.1",
|
|
69
69
|
"vitepress": "1.0.0-alpha.32"
|
package/core/types/src/cli.ts
CHANGED
|
@@ -50,7 +50,7 @@ export interface CliOptions {
|
|
|
50
50
|
cwd?: string
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
* **
|
|
53
|
+
* **Should show loading animation spinner?**
|
|
54
54
|
*
|
|
55
55
|
* Should the command show a loading animation?
|
|
56
56
|
* Please note, when debug mode is enabled,
|
|
@@ -58,7 +58,32 @@ export interface CliOptions {
|
|
|
58
58
|
*
|
|
59
59
|
* @default true
|
|
60
60
|
*/
|
|
61
|
-
|
|
61
|
+
shouldShowSpinner?: boolean | SpinnerOptions
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* **Spinner Text**
|
|
65
|
+
*
|
|
66
|
+
* The text to show when the spinner is shown.
|
|
67
|
+
*
|
|
68
|
+
* @default 'Executing...'
|
|
69
|
+
*/
|
|
70
|
+
spinnerText?: string
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* **Should the command be run inside a shell?**
|
|
74
|
+
*
|
|
75
|
+
* If `true`, runs `command` inside of a shell. Uses `/bin/sh` on UNIX and `cmd.exe`
|
|
76
|
+
* on Windows. A different shell can be specified as a string. The shell should
|
|
77
|
+
* understand the `-c` switch on UNIX or `/d /s /c` on Windows.
|
|
78
|
+
*
|
|
79
|
+
* We recommend against using this option since it is:
|
|
80
|
+
* - not cross-platform, encouraging shell-specific syntax.
|
|
81
|
+
* - slower, because of the additional shell interpretation.
|
|
82
|
+
* - unsafe, potentially allowing command injection.
|
|
83
|
+
*
|
|
84
|
+
* @default false
|
|
85
|
+
*/
|
|
86
|
+
shell?: boolean
|
|
62
87
|
}
|
|
63
88
|
|
|
64
89
|
export type { Ora as SpinnerOptions } from 'ora'
|
|
@@ -162,7 +187,7 @@ export const enum NpmScript {
|
|
|
162
187
|
UpdatePackageManager = 'update:package-manager',
|
|
163
188
|
UpdateNode = 'pnpm env use',
|
|
164
189
|
Lint = 'eslint .',
|
|
165
|
-
LintFix = '
|
|
190
|
+
LintFix = 'eslint . --fix',
|
|
166
191
|
MakeStack = 'make:stack',
|
|
167
192
|
Test = 'vitest --config .stacks/vitest.config.ts',
|
|
168
193
|
TestUi = 'vitest --config .stacks/vitest.config.ts --ui',
|
|
@@ -190,6 +215,7 @@ export const enum NpmScript {
|
|
|
190
215
|
}
|
|
191
216
|
|
|
192
217
|
export const enum Action {
|
|
218
|
+
Bump = 'bump',
|
|
193
219
|
Release = 'release',
|
|
194
220
|
Prepublish = 'prepublish',
|
|
195
221
|
BuildStacks = 'build-stacks',
|
|
@@ -197,9 +223,14 @@ export const enum Action {
|
|
|
197
223
|
BuildVueComponentLib = 'build-vue-component-lib',
|
|
198
224
|
BuildWebComponentLib = 'build-web-component-lib',
|
|
199
225
|
BuildCli = 'build-cli',
|
|
226
|
+
BuildCore = 'build-core',
|
|
200
227
|
BuildDocs = 'build-docs',
|
|
201
228
|
BuildFunctionLib = 'build-function-lib',
|
|
202
|
-
Fresh = 'fresh',
|
|
229
|
+
Fresh = 'fresh', // wip: spinner missing
|
|
230
|
+
GeneratePackageJsons = 'generate-package-jsons', // wip: loop issue
|
|
231
|
+
Lint = 'lint',
|
|
232
|
+
LintFix = 'lint-fix',
|
|
233
|
+
FixLintIssues = 'fix-lint-issues',
|
|
203
234
|
}
|
|
204
235
|
|
|
205
236
|
export type { CAC as CLI } from 'cac'
|
|
@@ -1,5 +1,130 @@
|
|
|
1
1
|
import type { IChatOptions, IEmailOptions, ISendMessageSuccessResponse, ISmsOptions } from '@novu/stateless'
|
|
2
2
|
|
|
3
|
+
export interface NotificationOptions {
|
|
4
|
+
driver?: string
|
|
5
|
+
|
|
6
|
+
novu: {
|
|
7
|
+
key: string
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
email: {
|
|
11
|
+
sendgrid: {
|
|
12
|
+
key: string
|
|
13
|
+
from: string
|
|
14
|
+
senderName: string
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
emailjs: {
|
|
18
|
+
from: string
|
|
19
|
+
host: string
|
|
20
|
+
user: string
|
|
21
|
+
password: string
|
|
22
|
+
port: number
|
|
23
|
+
secure: boolean
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
mailgun: {
|
|
27
|
+
key: string
|
|
28
|
+
domain: string
|
|
29
|
+
username: string
|
|
30
|
+
from: string
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
mailjet: {
|
|
34
|
+
key: string
|
|
35
|
+
secret: string
|
|
36
|
+
from: string
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
mandrill: {
|
|
40
|
+
key: string
|
|
41
|
+
from: string
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
netcore: {
|
|
45
|
+
key: string
|
|
46
|
+
from: string
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
nodemailer: {
|
|
50
|
+
from: string
|
|
51
|
+
host: string
|
|
52
|
+
user: string
|
|
53
|
+
password: string
|
|
54
|
+
port: number
|
|
55
|
+
secure: boolean
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
postmark: {
|
|
59
|
+
key: string
|
|
60
|
+
from: string
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
ses: {
|
|
64
|
+
region: string
|
|
65
|
+
key: string
|
|
66
|
+
secret: string
|
|
67
|
+
from: string
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
sms: {
|
|
72
|
+
twilio: {
|
|
73
|
+
sid: string
|
|
74
|
+
authToken: string
|
|
75
|
+
from: string
|
|
76
|
+
to: string
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
nexmo: {
|
|
80
|
+
key: string
|
|
81
|
+
secret: string
|
|
82
|
+
from: string
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
gupshup: {
|
|
86
|
+
user: string
|
|
87
|
+
password: string
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
plivo: {
|
|
91
|
+
sid: string
|
|
92
|
+
authToken: string
|
|
93
|
+
from: string
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
sms77: {
|
|
97
|
+
key: string
|
|
98
|
+
from: string
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
sns: {
|
|
102
|
+
region: string
|
|
103
|
+
key: string
|
|
104
|
+
secret: string
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
telnyx: {
|
|
108
|
+
key: string
|
|
109
|
+
messageProfileId: string
|
|
110
|
+
from: string
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
termii: {
|
|
114
|
+
key: string
|
|
115
|
+
from: string
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
chat: {
|
|
120
|
+
slack: {
|
|
121
|
+
appId: string
|
|
122
|
+
clientId: string
|
|
123
|
+
secret: string
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
3
128
|
export type EmailOptions = IEmailOptions
|
|
4
129
|
|
|
5
130
|
export type SendMessageSuccessResponse = ISendMessageSuccessResponse
|
|
@@ -7,3 +132,39 @@ export type SendMessageSuccessResponse = ISendMessageSuccessResponse
|
|
|
7
132
|
export type ChatOptions = IChatOptions
|
|
8
133
|
|
|
9
134
|
export type SmsOptions = ISmsOptions
|
|
135
|
+
export interface FCMPushNotificationOptions {
|
|
136
|
+
eventName: string
|
|
137
|
+
to: {
|
|
138
|
+
subscriberId: string
|
|
139
|
+
}
|
|
140
|
+
payload: {
|
|
141
|
+
deviceTokens: Array<string>
|
|
142
|
+
badge: boolean
|
|
143
|
+
clickAction: string
|
|
144
|
+
color: string
|
|
145
|
+
icon: string
|
|
146
|
+
sound: string
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export interface ExpoPushNotificationOptions {
|
|
151
|
+
eventName: string
|
|
152
|
+
to: {
|
|
153
|
+
subscriberId: string
|
|
154
|
+
}
|
|
155
|
+
payload: {
|
|
156
|
+
to: string[]
|
|
157
|
+
data: Object
|
|
158
|
+
title: string
|
|
159
|
+
body: string
|
|
160
|
+
ttl: number
|
|
161
|
+
expiration: number
|
|
162
|
+
priority: 'default' | 'normal' | 'high'
|
|
163
|
+
subtitle: string
|
|
164
|
+
sound: 'default' | null
|
|
165
|
+
badge: number
|
|
166
|
+
channelId: string
|
|
167
|
+
categoryId: string
|
|
168
|
+
mutableContent: boolean
|
|
169
|
+
}
|
|
170
|
+
}
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vue-tsc@1.0.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vue-tsc@1.0.16_typescript@4.9.4/node_modules/vue-tsc/bin/vue-tsc.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/vue-tsc@1.0.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/vue-tsc@1.0.16_typescript@4.9.4/node_modules/vue-tsc/bin/vue-tsc.js" "$@"
|
|
17
17
|
fi
|
package/core/ui/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.45.1",
|
|
5
5
|
"packageManager": "pnpm@7.18.2",
|
|
6
6
|
"description": "The Stacks atomic UI engine, powered by UnoCSS.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"pinia": "^2.0.28",
|
|
57
57
|
"unocss": "^0.47.6",
|
|
58
58
|
"vue": "^3.2.45",
|
|
59
|
-
"vue-tsc": "^1.0.
|
|
59
|
+
"vue-tsc": "^1.0.16"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@stacksjs/testing": "workspace:*",
|
package/core/utils/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/utils",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.45.1",
|
|
5
5
|
"packageManager": "pnpm@7.18.2",
|
|
6
6
|
"description": "The Stacks helper functions.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
"@stacksjs/path": "workspace:*",
|
|
55
55
|
"@stacksjs/storage": "workspace:*",
|
|
56
56
|
"@stacksjs/types": "workspace:*",
|
|
57
|
-
"@vueuse/core": "^9.
|
|
57
|
+
"@vueuse/core": "^9.8.2",
|
|
58
58
|
"@vueuse/head": "^1.0.22",
|
|
59
|
-
"@vueuse/math": "^9.
|
|
60
|
-
"@vueuse/shared": "^9.
|
|
59
|
+
"@vueuse/math": "^9.8.2",
|
|
60
|
+
"@vueuse/shared": "^9.8.2",
|
|
61
61
|
"defu": "^6.1.1",
|
|
62
62
|
"detect-indent": "^7.0.1",
|
|
63
63
|
"detect-newline": "^4.0.0",
|
|
64
|
-
"dinero.js": "2.0.0-alpha.
|
|
64
|
+
"dinero.js": "2.0.0-alpha.13",
|
|
65
65
|
"esno": "^0.16.3",
|
|
66
66
|
"fast-glob": "^3.2.12",
|
|
67
67
|
"kolorist": "1.6.0",
|
|
@@ -109,7 +109,7 @@ export async function setEnvValue(key: string, value: string) {
|
|
|
109
109
|
export async function runNpmScript(script: NpmScript, options?: CliOptions) {
|
|
110
110
|
const { data: manifest } = await storage.readJsonFile('package.json', frameworkPath())
|
|
111
111
|
|
|
112
|
-
if (isManifest(manifest) && hasScript(manifest, script))
|
|
112
|
+
if (isManifest(manifest) && hasScript(manifest, script)) // simple, yet effective check to see if the script exists
|
|
113
113
|
return await runCommand(`pnpm run ${script}`, options)
|
|
114
114
|
|
|
115
115
|
log.error(`The specified npm script "${script}" does not exist in the package.json file.`)
|
package/core/x-ray/package.json
CHANGED
package/core/x-ray/src/types.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stacks",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.45.1",
|
|
5
5
|
"packageManager": "pnpm@7.18.2",
|
|
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.
|
|
68
|
+
"@stacksjs/buddy": "0.45.1"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|
|
71
71
|
"buddy": "esno ./buddy/src/cli.ts",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"build:docs": "npx vitepress build ../apps/docs",
|
|
97
97
|
"build:pages": "npx vite-ssg build ./pages -c ./core/build/src/pages.ts",
|
|
98
98
|
"build:cli": "pnpm buddy build:cli",
|
|
99
|
-
"build:core": "pnpm
|
|
99
|
+
"build:core": "pnpm buddy build:core",
|
|
100
100
|
"build:stacks": "pnpm buddy build:stacks",
|
|
101
101
|
"build:all": "wip",
|
|
102
102
|
"prod": "pnpm run build",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"key": "pnpm buddy key",
|
|
133
133
|
"key:generate": "pnpm buddy key:generate",
|
|
134
134
|
"commit": "git cz",
|
|
135
|
-
"release": "
|
|
135
|
+
"release": "pnpm buddy release",
|
|
136
136
|
"changelog": "cd .. && conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
|
137
137
|
"generate": "pnpm buddy generate",
|
|
138
138
|
"generate:entries": "pnpm buddy generate:entries",
|
package/core/actions/test.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# Actions
|
|
2
|
-
|
|
3
|
-
Placeholder for the "On-The-Fly API."
|
|
4
|
-
|
|
5
|
-
## ☘️ Features
|
|
6
|
-
|
|
7
|
-
- ⚡️
|
|
8
|
-
|
|
9
|
-
## 🤖 Usage
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
pnpm i -D @stacksjs/cloud
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
Now, you can use it in your project:
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
import { actions } from '@stacksjs/cloud'
|
|
19
|
-
|
|
20
|
-
// wip
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Learn more in the docs.
|
|
24
|
-
|
|
25
|
-
## 🧪 Testing
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
pnpm test
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## 📈 Changelog
|
|
32
|
-
|
|
33
|
-
Please see our [releases](https://github.com/stacksjs/stacks/releases) page for more information on what has changed recently.
|
|
34
|
-
|
|
35
|
-
## 💪🏼 Contributing
|
|
36
|
-
|
|
37
|
-
Please review the [Contributing Guide](https://github.com/stacksjs/contributing) for details.
|
|
38
|
-
|
|
39
|
-
## 🏝 Community
|
|
40
|
-
|
|
41
|
-
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
|
|
42
|
-
|
|
43
|
-
[Discussions on GitHub](https://github.com/stacksjs/stacks/discussions)
|
|
44
|
-
|
|
45
|
-
For casual chit-chat with others using this package:
|
|
46
|
-
|
|
47
|
-
[Join the Stacks Discord Server](https://discord.ow3.org)
|
|
48
|
-
|
|
49
|
-
## 📄 License
|
|
50
|
-
|
|
51
|
-
The MIT License (MIT). Please see [LICENSE](https://github.com/stacksjs/stacks/tree/main/LICENSE.md) for more information.
|
|
52
|
-
|
|
53
|
-
Made with ❤️
|