stacks 0.52.0 → 0.52.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/auto-imports.d.ts +1595 -651
- package/components.d.ts +4 -2
- package/core/actions/build.config.ts +2 -0
- package/core/actions/package.json +14 -2
- package/core/actions/src/clean.ts +9 -12
- package/core/actions/src/deploy/domains.ts +1 -1
- package/core/actions/src/helpers/package-json.ts +1 -2
- package/core/actions/src/helpers/utils.ts +1 -2
- package/core/actions/src/release.ts +1 -1
- package/core/actions/src/tinker.ts +1 -0
- package/core/ai/build.config.ts +2 -0
- package/core/ai/package.json +1 -1
- package/core/alias/build.config.ts +2 -0
- package/core/alias/package.json +1 -2
- package/core/analytics/build.config.ts +2 -0
- package/core/analytics/package.json +1 -1
- package/core/arrays/build.config.ts +2 -0
- package/core/arrays/package.json +1 -1
- package/core/auth/build.config.ts +2 -0
- package/core/auth/package.json +1 -1
- package/core/auth/src/index.ts +1 -3
- package/core/buddy/README.md +1 -1
- package/core/buddy/package.json +1 -1
- package/core/buddy/src/commands/build.ts +8 -11
- package/core/buddy/src/commands/changelog.ts +4 -5
- package/core/buddy/src/commands/clean.ts +2 -3
- package/core/buddy/src/commands/deploy.ts +4 -5
- package/core/buddy/src/commands/dev.ts +2 -1
- package/core/buddy/src/commands/fresh.ts +2 -2
- package/core/buddy/src/commands/inspire.ts +4 -5
- package/core/buddy/src/commands/key.ts +4 -5
- package/core/buddy/src/commands/lint.ts +8 -10
- package/core/buddy/src/commands/make.ts +4 -5
- package/core/buddy/src/commands/migrate.ts +4 -5
- package/core/buddy/src/commands/onboarding.ts +4 -5
- package/core/buddy/src/commands/release.ts +4 -12
- package/core/buddy/src/commands/seed.ts +14 -14
- package/core/buddy/src/commands/setting.ts +4 -5
- package/core/buddy/src/commands/test.ts +29 -34
- package/core/buddy/src/commands/upgrade.ts +13 -16
- package/core/buddy/src/commands/version.ts +25 -16
- package/core/build/build.config.ts +2 -0
- package/core/build/node_modules/.bin/vite +4 -4
- package/core/build/node_modules/.bin/vite-ssg +4 -4
- package/core/build/node_modules/.bin/vue-docgen-web-types +4 -4
- package/core/build/package.json +5 -5
- package/core/build/src/stacks.ts +8 -14
- package/core/build/src/vue-components.ts +6 -4
- package/core/cache/build.config.ts +2 -0
- package/core/cache/package.json +2 -2
- package/core/chat/build.config.ts +2 -0
- package/core/chat/package.json +6 -6
- package/core/cli/package.json +1 -1
- package/core/cli/src/actions/install.ts +20 -2
- package/core/cli/src/helpers.ts +6 -1
- package/core/cli/src/run.ts +5 -8
- package/core/cloud/build.config.ts +2 -0
- package/core/cloud/package.json +1 -1
- package/core/collections/build.config.ts +2 -0
- package/core/collections/package.json +1 -1
- package/core/config/package.json +1 -1
- package/core/config/src/defaults.ts +0 -2
- package/core/config/src/stacks.ts +9 -2
- package/core/database/package.json +1 -1
- package/core/database/src/migrations/index.ts +2 -1
- package/core/datetime/package.json +1 -1
- package/core/desktop/build.config.ts +2 -0
- package/core/desktop/package.json +2 -2
- package/core/development/build.config.ts +2 -0
- package/core/development/package.json +6 -6
- package/core/docs/build.config.ts +1 -0
- package/core/docs/node_modules/.bin/vitepress +4 -4
- package/core/docs/package.json +2 -2
- package/core/domains/build.config.ts +2 -0
- package/core/domains/package.json +1 -1
- package/core/email/package.json +12 -12
- package/core/email/src/drivers/mailjet.ts +1 -0
- package/core/email/src/tailwind.config.ts +1 -1
- package/core/error-handling/package.json +2 -2
- package/core/events/package.json +1 -1
- package/core/faker/build.config.ts +2 -0
- package/core/faker/package.json +1 -1
- package/core/git/build.config.ts +2 -0
- package/core/git/package.json +1 -1
- package/core/health/build.config.ts +2 -0
- package/core/health/package.json +1 -1
- package/core/lint/build.config.ts +2 -0
- package/core/lint/node_modules/.bin/eslint +4 -4
- package/core/lint/package.json +3 -3
- package/core/lint/src/index.ts +1 -1
- package/core/logging/package.json +5 -5
- package/core/modules/build.config.ts +2 -0
- package/core/modules/package.json +1 -1
- package/core/notifications/package.json +22 -22
- package/core/notifications/src/index.ts +5 -8
- package/core/objects/build.config.ts +2 -0
- package/core/objects/package.json +1 -1
- package/core/orm/package.json +1 -1
- package/core/pages/build.config.ts +2 -0
- package/core/pages/package.json +1 -1
- package/core/path/build.config.ts +1 -0
- package/core/path/package.json +1 -1
- package/core/payments/build.config.ts +2 -0
- package/core/payments/package.json +2 -2
- package/core/push/build.config.ts +2 -0
- package/core/push/package.json +3 -3
- package/core/query-builder/build.config.ts +2 -0
- package/core/query-builder/package.json +1 -1
- package/core/queue/build.config.ts +2 -0
- package/core/queue/package.json +1 -1
- package/core/realtime/build.config.ts +2 -0
- package/core/realtime/package.json +1 -1
- package/core/router/build.config.ts +2 -0
- package/core/router/package.json +2 -2
- package/core/router/src/index.ts +114 -11
- package/core/scheduler/build.config.ts +2 -0
- package/core/scheduler/package.json +1 -1
- package/core/search-engine/build.config.ts +1 -0
- package/core/search-engine/package.json +1 -1
- package/core/search-engine/src/index.ts +1 -22
- package/core/security/build.config.ts +2 -0
- package/core/security/package.json +1 -1
- package/core/server/build.config.ts +2 -0
- package/core/server/node_modules/.bin/nitro +4 -4
- package/core/server/node_modules/.bin/nitropack +4 -4
- package/core/server/node_modules/.bin/vite +4 -4
- package/core/server/package.json +3 -3
- package/core/signals/build.config.ts +2 -0
- package/core/signals/package.json +1 -1
- package/core/slug/build.config.ts +2 -0
- package/core/slug/package.json +1 -1
- package/core/sms/build.config.ts +2 -0
- package/core/sms/package.json +11 -11
- package/core/storage/build.config.ts +2 -0
- package/core/storage/package.json +1 -1
- package/core/storage/src/index.ts +11 -1
- package/core/strings/package.json +1 -1
- package/core/strings/src/index.ts +0 -1
- package/core/testing/build.config.ts +2 -0
- package/core/testing/node_modules/.bin/vitest +4 -4
- package/core/testing/package.json +4 -4
- package/core/testing/src/index.ts +1 -0
- package/core/tinker/package.json +1 -1
- package/core/types/build.config.ts +2 -0
- package/core/types/node_modules/.bin/vite +4 -4
- package/core/types/node_modules/.bin/vite-ssg +4 -4
- package/core/types/node_modules/.bin/vitepress +4 -4
- package/core/types/package.json +7 -7
- package/core/types/src/cli.ts +10 -9
- package/core/types/src/fs.ts +8 -0
- package/core/types/src/router.ts +22 -0
- package/core/types/src/stacks.ts +3 -3
- package/core/ui/build.config.ts +2 -0
- package/core/ui/package.json +3 -3
- package/core/ui/src/index.ts +1 -1
- package/core/utils/build.config.ts +2 -0
- package/core/utils/node_modules/.bin/rimraf +4 -4
- package/core/utils/package.json +3 -3
- package/core/utils/src/base.ts +6 -5
- package/core/utils/src/config.ts +2 -3
- package/core/utils/src/currency.ts +26 -0
- package/core/utils/src/delete.ts +3 -0
- package/core/utils/src/helpers.ts +2 -2
- package/core/utils/src/index.ts +7 -9
- package/core/utils/src/math.ts +30 -0
- package/core/utils/src/throttle.ts +3 -6
- package/core/utils/src/vendors.ts +221 -0
- package/core/utils/src/versions.ts +1 -0
- package/core/validation/build.config.ts +2 -0
- package/core/validation/package.json +1 -1
- package/core/validation/src/index.ts +2 -29
- package/core/{strings/src/validation.ts → validation/src/is.ts} +83 -8
- package/core/validation/src/validate.ts +29 -0
- package/docs/node_modules/.bin/rimraf +4 -4
- package/docs/node_modules/.bin/vitepress +4 -4
- package/docs/package.json +2 -2
- package/package.json +93 -46
- package/vitest.config.ts +25 -17
- package/core/utils/src/is.ts +0 -83
- package/tests/feature/example.spec.ts +0 -20
- package/tests/unit/example.test.ts +0 -7
package/core/config/package.json
CHANGED
|
@@ -18,5 +18,3 @@ export { default as searchEngine } from '../../../../config/search-engine'
|
|
|
18
18
|
export { default as services } from '../../../../config/services'
|
|
19
19
|
export { default as storage } from '../../../../config/storage'
|
|
20
20
|
export { default as ui } from '../../../../config/ui'
|
|
21
|
-
|
|
22
|
-
// export { default as cloud } from '../../../../config/cloud'
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { loadConfig } from 'c12'
|
|
2
|
-
import
|
|
2
|
+
import { readPackageJson } from '@stacksjs/storage'
|
|
3
|
+
import { frameworkPath } from '@stacksjs/path'
|
|
4
|
+
import type { ResolvedStacksOptions, StacksOptions } from '@stacksjs/types'
|
|
3
5
|
import { app, cache, cdn, cli, database, debug, dns, docs, email, events, git, hashing, library, notification, payment, searchEngine, services, storage, ui } from './defaults'
|
|
4
6
|
|
|
7
|
+
export async function packageManager() {
|
|
8
|
+
const { packageManager } = await readPackageJson(frameworkPath('package.json'))
|
|
9
|
+
return packageManager
|
|
10
|
+
}
|
|
11
|
+
|
|
5
12
|
export const stacksConfigDefaults = {
|
|
6
13
|
app,
|
|
7
14
|
cache,
|
|
@@ -21,7 +28,7 @@ export const stacksConfigDefaults = {
|
|
|
21
28
|
searchEngine,
|
|
22
29
|
services,
|
|
23
30
|
storage,
|
|
24
|
-
ui
|
|
31
|
+
ui,
|
|
25
32
|
} satisfies ResolvedStacksOptions
|
|
26
33
|
|
|
27
34
|
export async function loadStacksConfig(overrides?: Partial<StacksOptions>, cwd = process.cwd()) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/desktop",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.52.
|
|
4
|
+
"version": "0.52.2",
|
|
5
5
|
"packageManager": "pnpm@8.5.1",
|
|
6
6
|
"description": "The Stacks Desktop engine.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@tauri-apps/cli": "1.3.1",
|
|
60
60
|
"unified-network": "0.6.4",
|
|
61
61
|
"unstorage": "^1.6.0",
|
|
62
|
-
"vue": "3.3.
|
|
62
|
+
"vue": "3.3.4",
|
|
63
63
|
"vue3-highlightjs": "^1.0.5"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/development",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.52.
|
|
4
|
+
"version": "0.52.2",
|
|
5
5
|
"packageManager": "pnpm@8.5.1",
|
|
6
6
|
"description": "The Stacks development dependencies.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"funding": "https://github.com/sponsors/chrisbbreuer",
|
|
10
|
-
"module": "dist/index.mjs",
|
|
11
|
-
"types": "dist/index.d.ts",
|
|
12
10
|
"homepage": "https://github.com/stacksjs/stacks/tree/main/.stacks/core/development#readme",
|
|
13
11
|
"repository": {
|
|
14
12
|
"type": "git",
|
|
@@ -27,15 +25,17 @@
|
|
|
27
25
|
"ts-reset",
|
|
28
26
|
"javascript"
|
|
29
27
|
],
|
|
30
|
-
"contributors": [
|
|
31
|
-
"Chris Breuer <chris@ow3.org>"
|
|
32
|
-
],
|
|
33
28
|
"exports": {
|
|
34
29
|
".": {
|
|
35
30
|
"types": "./dist/index.d.ts",
|
|
36
31
|
"import": "./dist/index.mjs"
|
|
37
32
|
}
|
|
38
33
|
},
|
|
34
|
+
"module": "dist/index.mjs",
|
|
35
|
+
"types": "dist/index.d.ts",
|
|
36
|
+
"contributors": [
|
|
37
|
+
"Chris Breuer <chris@ow3.org>"
|
|
38
|
+
],
|
|
39
39
|
"files": [
|
|
40
40
|
"README.md"
|
|
41
41
|
],
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/stacks/stacks/node_modules/.pnpm/vitepress@1.0.0-alpha.
|
|
9
|
+
export NODE_PATH="/home/runner/work/stacks/stacks/node_modules/.pnpm/vitepress@1.0.0-alpha.76_@algolia+client-search@4.17.0_@types+node@18.16.13/node_modules/vitepress/bin/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/vitepress@1.0.0-alpha.76_@algolia+client-search@4.17.0_@types+node@18.16.13/node_modules/vitepress/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/vitepress@1.0.0-alpha.76_@algolia+client-search@4.17.0_@types+node@18.16.13/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/stacks/stacks/node_modules/.pnpm/vitepress@1.0.0-alpha.
|
|
11
|
+
export NODE_PATH="/home/runner/work/stacks/stacks/node_modules/.pnpm/vitepress@1.0.0-alpha.76_@algolia+client-search@4.17.0_@types+node@18.16.13/node_modules/vitepress/bin/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/vitepress@1.0.0-alpha.76_@algolia+client-search@4.17.0_@types+node@18.16.13/node_modules/vitepress/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/vitepress@1.0.0-alpha.76_@algolia+client-search@4.17.0_@types+node@18.16.13/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
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.76_@algolia+client-search@4.17.0_@types+node@18.16.13/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.76_@algolia+client-search@4.17.0_@types+node@18.16.13/node_modules/vitepress/bin/vitepress.js" "$@"
|
|
17
17
|
fi
|
package/core/docs/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/docs",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.52.
|
|
4
|
+
"version": "0.52.2",
|
|
5
5
|
"packageManager": "pnpm@8.5.1",
|
|
6
6
|
"description": "The Stacks way to document.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"typecheck": "tsc --noEmit"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"vitepress": "1.0.0-alpha.
|
|
47
|
+
"vitepress": "1.0.0-alpha.76"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@stacksjs/alias": "workspace:*",
|
package/core/email/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/email",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.52.
|
|
4
|
+
"version": "0.52.2",
|
|
5
5
|
"packageManager": "pnpm@8.5.1",
|
|
6
6
|
"description": "The Stacks Email integration. Painlessly create & manage your inboxes, templates, and send emails.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -54,17 +54,17 @@
|
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"@maizzle/framework": "^4.4.4",
|
|
57
|
-
"@novu/emailjs": "^0.
|
|
58
|
-
"@novu/mailgun": "^0.
|
|
59
|
-
"@novu/mailjet": "^0.
|
|
60
|
-
"@novu/mandrill": "^0.
|
|
61
|
-
"@novu/netcore": "^0.
|
|
62
|
-
"@novu/node": "^0.
|
|
63
|
-
"@novu/nodemailer": "^0.
|
|
64
|
-
"@novu/postmark": "^0.
|
|
65
|
-
"@novu/sendgrid": "^0.
|
|
66
|
-
"@novu/ses": "^0.
|
|
67
|
-
"@novu/stateless": "^0.
|
|
57
|
+
"@novu/emailjs": "^0.15.0",
|
|
58
|
+
"@novu/mailgun": "^0.15.0",
|
|
59
|
+
"@novu/mailjet": "^0.15.0",
|
|
60
|
+
"@novu/mandrill": "^0.15.0",
|
|
61
|
+
"@novu/netcore": "^0.15.0",
|
|
62
|
+
"@novu/node": "^0.15.0",
|
|
63
|
+
"@novu/nodemailer": "^0.15.0",
|
|
64
|
+
"@novu/postmark": "^0.15.0",
|
|
65
|
+
"@novu/sendgrid": "^0.15.0",
|
|
66
|
+
"@novu/ses": "^0.15.0",
|
|
67
|
+
"@novu/stateless": "^0.15.0",
|
|
68
68
|
"@stacksjs/cli": "workspace:*",
|
|
69
69
|
"@stacksjs/config": "workspace:*",
|
|
70
70
|
"@stacksjs/error-handling": "workspace:*",
|
|
@@ -11,6 +11,7 @@ const provider = new MailjetEmailProvider({
|
|
|
11
11
|
apiKey: service?.key || '',
|
|
12
12
|
apiSecret: service?.secret || '',
|
|
13
13
|
from: env?.from || '',
|
|
14
|
+
senderName: env?.from || '', // look into what exactly this stands for
|
|
14
15
|
})
|
|
15
16
|
|
|
16
17
|
async function send(options: EmailOptions, css?: string): Promise<ResultAsync<any, Error>> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/error-handling",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.52.
|
|
4
|
+
"version": "0.52.2",
|
|
5
5
|
"packageManager": "pnpm@8.5.1",
|
|
6
6
|
"description": "Type safe error handling.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"typecheck": "tsc --noEmit"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@ow3/eslint-config": "^0.42.
|
|
49
|
+
"@ow3/eslint-config": "^0.42.2"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"neverthrow": "^6.0.0"
|
package/core/events/package.json
CHANGED
package/core/faker/package.json
CHANGED
package/core/git/build.config.ts
CHANGED
package/core/git/package.json
CHANGED
package/core/health/package.json
CHANGED
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/stacks/stacks/node_modules/.pnpm/eslint@8.
|
|
9
|
+
export NODE_PATH="/home/runner/work/stacks/stacks/node_modules/.pnpm/eslint@8.41.0/node_modules/eslint/bin/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/eslint@8.41.0/node_modules/eslint/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/eslint@8.41.0/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/stacks/stacks/node_modules/.pnpm/eslint@8.
|
|
11
|
+
export NODE_PATH="/home/runner/work/stacks/stacks/node_modules/.pnpm/eslint@8.41.0/node_modules/eslint/bin/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/eslint@8.41.0/node_modules/eslint/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/eslint@8.41.0/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/eslint@8.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/eslint@8.41.0/node_modules/eslint/bin/eslint.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/eslint@8.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/eslint@8.41.0/node_modules/eslint/bin/eslint.js" "$@"
|
|
17
17
|
fi
|
package/core/lint/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/lint",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.52.
|
|
4
|
+
"version": "0.52.2",
|
|
5
5
|
"packageManager": "pnpm@8.5.1",
|
|
6
6
|
"description": "The Stacks way to lint.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"typecheck": "tsc --noEmit"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@ow3/eslint-config": "^0.42.
|
|
49
|
+
"@ow3/eslint-config": "^0.42.2",
|
|
50
50
|
"@types/eslint": "^8.37.0",
|
|
51
|
-
"eslint": "^8.
|
|
51
|
+
"eslint": "^8.41.0",
|
|
52
52
|
"lint-staged": "^13.2.2",
|
|
53
53
|
"publint": "^0.1.11"
|
|
54
54
|
},
|
package/core/lint/src/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/logging",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.52.
|
|
4
|
+
"version": "0.52.2",
|
|
5
5
|
"packageManager": "pnpm@8.5.1",
|
|
6
6
|
"description": "The Stacks logging system.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"consola": "^3.1.0",
|
|
50
|
-
"node-ray": "
|
|
51
|
-
"vue-ray": "^1.17.
|
|
50
|
+
"node-ray": "1.20.7",
|
|
51
|
+
"vue-ray": "^1.17.4"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"node-ray": "
|
|
55
|
-
"vue-ray": "^1.17.
|
|
54
|
+
"node-ray": "1.20.7",
|
|
55
|
+
"vue-ray": "^1.17.4"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@stacksjs/testing": "workspace:*",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/notifications",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.52.
|
|
4
|
+
"version": "0.52.2",
|
|
5
5
|
"packageManager": "pnpm@8.5.1",
|
|
6
6
|
"description": "The Stacks notifications integration.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -65,27 +65,27 @@
|
|
|
65
65
|
"@maizzle/framework": "^4.4.4"
|
|
66
66
|
},
|
|
67
67
|
"optionalDependencies": {
|
|
68
|
-
"@novu/discord": "^0.
|
|
69
|
-
"@novu/emailjs": "^0.
|
|
70
|
-
"@novu/gupshup": "^0.
|
|
71
|
-
"@novu/mailgun": "^0.
|
|
72
|
-
"@novu/mailjet": "^0.
|
|
73
|
-
"@novu/mandrill": "^0.
|
|
74
|
-
"@novu/netcore": "^0.
|
|
75
|
-
"@novu/nexmo": "^0.
|
|
76
|
-
"@novu/node": "^0.
|
|
77
|
-
"@novu/nodemailer": "^0.
|
|
78
|
-
"@novu/plivo": "^0.
|
|
79
|
-
"@novu/postmark": "^0.
|
|
80
|
-
"@novu/sendgrid": "^0.
|
|
81
|
-
"@novu/ses": "^0.
|
|
82
|
-
"@novu/slack": "^0.
|
|
83
|
-
"@novu/sms77": "^0.
|
|
84
|
-
"@novu/sns": "^0.
|
|
85
|
-
"@novu/stateless": "^0.
|
|
86
|
-
"@novu/telnyx": "^0.
|
|
87
|
-
"@novu/termii": "^0.
|
|
88
|
-
"@novu/twilio": "^0.
|
|
68
|
+
"@novu/discord": "^0.15.0",
|
|
69
|
+
"@novu/emailjs": "^0.15.0",
|
|
70
|
+
"@novu/gupshup": "^0.15.0",
|
|
71
|
+
"@novu/mailgun": "^0.15.0",
|
|
72
|
+
"@novu/mailjet": "^0.15.0",
|
|
73
|
+
"@novu/mandrill": "^0.15.0",
|
|
74
|
+
"@novu/netcore": "^0.15.0",
|
|
75
|
+
"@novu/nexmo": "^0.15.0",
|
|
76
|
+
"@novu/node": "^0.15.0",
|
|
77
|
+
"@novu/nodemailer": "^0.15.0",
|
|
78
|
+
"@novu/plivo": "^0.15.0",
|
|
79
|
+
"@novu/postmark": "^0.15.0",
|
|
80
|
+
"@novu/sendgrid": "^0.15.0",
|
|
81
|
+
"@novu/ses": "^0.15.0",
|
|
82
|
+
"@novu/slack": "^0.15.0",
|
|
83
|
+
"@novu/sms77": "^0.15.0",
|
|
84
|
+
"@novu/sns": "^0.15.0",
|
|
85
|
+
"@novu/stateless": "^0.15.0",
|
|
86
|
+
"@novu/telnyx": "^0.15.0",
|
|
87
|
+
"@novu/termii": "^0.15.0",
|
|
88
|
+
"@novu/twilio": "^0.15.0"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@stacksjs/development": "workspace:*"
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { err } from '@stacksjs/error-handling'
|
|
2
2
|
import { notification as config } from '@stacksjs/config'
|
|
3
|
+
import { log } from '@stacksjs/cli'
|
|
4
|
+
import { ExitCode } from '@stacksjs/types'
|
|
3
5
|
import { email } from './drivers/email'
|
|
4
6
|
import { chat } from './drivers/chat'
|
|
5
7
|
import { sms } from './drivers/sms'
|
|
6
|
-
import { ExitCode } from '@stacksjs/types'
|
|
7
8
|
|
|
8
9
|
function useChat(driver = 'slack') {
|
|
9
10
|
return chat[driver as keyof typeof chat]
|
|
@@ -38,15 +39,11 @@ function useNotification(typeParam = 'email', driverParam = 'mailtrap') {
|
|
|
38
39
|
}
|
|
39
40
|
}
|
|
40
41
|
|
|
41
|
-
function notification() {
|
|
42
|
-
|
|
43
|
-
}
|
|
42
|
+
// function notification() {
|
|
43
|
+
// return useNotification()
|
|
44
|
+
// }
|
|
44
45
|
|
|
45
46
|
export {
|
|
46
|
-
email,
|
|
47
|
-
chat,
|
|
48
|
-
sms,
|
|
49
|
-
notification,
|
|
50
47
|
useEmail,
|
|
51
48
|
useChat,
|
|
52
49
|
useSMS,
|