stacks 0.47.1 → 0.47.4
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/ai/package.json +1 -1
- package/core/alias/package.json +1 -1
- package/core/alias/src/index.ts +8 -0
- 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 +4 -5
- 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 +10 -2
- package/core/email/src/{drivers/actions → actions}/send.ts +1 -1
- package/core/email/src/drivers/emailjs.ts +1 -1
- package/core/email/src/drivers/mailgun.ts +1 -1
- package/core/email/src/drivers/mailjet.ts +1 -1
- package/core/email/src/drivers/mandrill.ts +1 -1
- package/core/email/src/drivers/netcore.ts +1 -1
- package/core/email/src/drivers/nodemailer.ts +1 -1
- package/core/email/src/drivers/postmark.ts +1 -1
- package/core/email/src/drivers/sendgrid.ts +1 -1
- package/core/email/src/drivers/ses.ts +1 -1
- package/core/{notifications/src/drivers/email → email/src}/tailwind.config.ts +3 -1
- package/core/email/src/utils/config.ts +3 -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 +5 -1
- package/core/notifications/src/drivers/chat.ts +1 -0
- package/core/notifications/src/drivers/email.ts +1 -0
- package/core/notifications/src/drivers/push.ts +1 -0
- package/core/notifications/src/drivers/sms.ts +1 -0
- package/core/notifications/src/tailwind.config.ts +39 -0
- package/core/notifications/src/utils/config.ts +2 -2
- package/core/objects/package.json +1 -1
- package/core/path/package.json +1 -1
- package/core/path/src/index.ts +20 -0
- 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 +10 -4
- package/core/storage/package.json +1 -1
- package/core/strings/package.json +1 -1
- package/core/testing/package.json +1 -1
- package/core/types/package.json +1 -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/core/notifications/src/drivers/chat/discord.ts +0 -15
- package/core/notifications/src/drivers/chat/index.ts +0 -2
- package/core/notifications/src/drivers/chat/slack.ts +0 -22
- package/core/notifications/src/drivers/email/actions/send.ts +0 -36
- package/core/notifications/src/drivers/email/emailjs.ts +0 -21
- package/core/notifications/src/drivers/email/index.ts +0 -9
- package/core/notifications/src/drivers/email/mailgun.ts +0 -19
- package/core/notifications/src/drivers/email/mailjet.ts +0 -18
- package/core/notifications/src/drivers/email/mandrill.ts +0 -17
- package/core/notifications/src/drivers/email/netcore.ts +0 -17
- package/core/notifications/src/drivers/email/nodemailer.ts +0 -21
- package/core/notifications/src/drivers/email/postmark.ts +0 -17
- package/core/notifications/src/drivers/email/sendgrid.ts +0 -18
- package/core/notifications/src/drivers/email/ses.ts +0 -19
- package/core/notifications/src/drivers/push/expo.ts +0 -19
- package/core/notifications/src/drivers/push/fcm.ts +0 -19
- package/core/notifications/src/drivers/sms/gupshup.ts +0 -21
- package/core/notifications/src/drivers/sms/index.ts +0 -8
- package/core/notifications/src/drivers/sms/nexmo.ts +0 -22
- package/core/notifications/src/drivers/sms/plivo.ts +0 -22
- package/core/notifications/src/drivers/sms/sms77.ts +0 -21
- package/core/notifications/src/drivers/sms/sns.ts +0 -22
- package/core/notifications/src/drivers/sms/telnyx.ts +0 -22
- package/core/notifications/src/drivers/sms/termii.ts +0 -21
- package/core/notifications/src/drivers/sms/twilio.ts +0 -22
package/buddy/package.json
CHANGED
package/core/ai/package.json
CHANGED
package/core/alias/package.json
CHANGED
package/core/alias/src/index.ts
CHANGED
|
@@ -19,6 +19,8 @@ const alias: Record<string, string> = {
|
|
|
19
19
|
'@stacksjs/build/*': p.buildPath('src/*'),
|
|
20
20
|
'@stacksjs/cache': p.cachePath('src/index.ts'),
|
|
21
21
|
'@stacksjs/cache/*': p.cachePath('src/*'),
|
|
22
|
+
'@stacksjs/chat': p.chatPath('src/index.ts'),
|
|
23
|
+
'@stacksjs/chat/*': p.chatPath('src/*'),
|
|
22
24
|
'@stacksjs/cli': p.cliPath('src/index.ts'),
|
|
23
25
|
'@stacksjs/cli/*': p.cliPath('src/*'),
|
|
24
26
|
'@stacksjs/collections': p.collectionsPath('src/index.ts'),
|
|
@@ -35,6 +37,8 @@ const alias: Record<string, string> = {
|
|
|
35
37
|
'@stacksjs/domains/*': p.domainsPath('src/*'),
|
|
36
38
|
'@stacksjs/drivers': p.driversPath('src/index.ts'),
|
|
37
39
|
'@stacksjs/drivers/*': p.driversPath('src/*'),
|
|
40
|
+
'@stacksjs/email': p.emailPath('src/index.ts'),
|
|
41
|
+
'@stacksjs/email/*': p.emailPath('src/*'),
|
|
38
42
|
'@stacksjs/error-handling': p.errorHandlingPath('src/index.ts'),
|
|
39
43
|
'@stacksjs/error-handling/*': p.errorHandlingPath('src/*'),
|
|
40
44
|
'@stacksjs/storage': p.fsPath('src/index.ts'),
|
|
@@ -54,6 +58,8 @@ const alias: Record<string, string> = {
|
|
|
54
58
|
'@stacksjs/objects/*': p.objectsPath('src/*'),
|
|
55
59
|
'@stacksjs/path': p.pathPath('src/index.ts'), // 🤦🏼♂️
|
|
56
60
|
'@stacksjs/path/*': p.pathPath('src/*'),
|
|
61
|
+
'@stacksjs/push': p.pushPath('src/index.ts'),
|
|
62
|
+
'@stacksjs/push/*': p.pushPath('src/*'),
|
|
57
63
|
'@stacksjs/router': p.routerPath('src/index.ts'),
|
|
58
64
|
'@stacksjs/router/*': p.routerPath('src/*'),
|
|
59
65
|
'@stacksjs/search-engine': p.searchEnginePath('src/index.ts'),
|
|
@@ -64,6 +70,8 @@ const alias: Record<string, string> = {
|
|
|
64
70
|
'@stacksjs/server/*': p.serverPath('src/*'),
|
|
65
71
|
'@stacksjs/serverless': p.serverlessPath('src/index.ts'),
|
|
66
72
|
'@stacksjs/serverless/*': p.serverlessPath('src/*'),
|
|
73
|
+
'@stacksjs/sms': p.smsPath('src/index.ts'),
|
|
74
|
+
'@stacksjs/sms/*': p.smsPath('src/*'),
|
|
67
75
|
'@stacksjs/strings': p.stringsPath('src/index.ts'),
|
|
68
76
|
'@stacksjs/strings/*': p.stringsPath('src/*'),
|
|
69
77
|
'@stacksjs/testing/*': p.testingPath('*'),
|
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/chat",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
4
|
+
"version": "0.47.4",
|
|
5
5
|
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks Chat Integration. Easy sending of messages for chat services",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -18,10 +18,9 @@
|
|
|
18
18
|
},
|
|
19
19
|
"keywords": [
|
|
20
20
|
"chat",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"stacks"
|
|
21
|
+
"stacks",
|
|
22
|
+
"discord",
|
|
23
|
+
"slack"
|
|
25
24
|
],
|
|
26
25
|
"main": "dist/index.mjs",
|
|
27
26
|
"module": "dist/index.mjs",
|
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.47.
|
|
4
|
+
"version": "0.47.4",
|
|
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",
|
|
@@ -21,7 +21,15 @@
|
|
|
21
21
|
"ses",
|
|
22
22
|
"aws",
|
|
23
23
|
"maizzle",
|
|
24
|
-
"stacks"
|
|
24
|
+
"stacks",
|
|
25
|
+
"emailjs",
|
|
26
|
+
"mailgun",
|
|
27
|
+
"mailjet",
|
|
28
|
+
"mandrill",
|
|
29
|
+
"netcore",
|
|
30
|
+
"nodemailer",
|
|
31
|
+
"postmark",
|
|
32
|
+
"sendgrid"
|
|
25
33
|
],
|
|
26
34
|
"main": "dist/index.mjs",
|
|
27
35
|
"module": "dist/index.mjs",
|
|
@@ -3,7 +3,7 @@ import { italic } from '@stacksjs/cli'
|
|
|
3
3
|
import { log } from '@stacksjs/logging'
|
|
4
4
|
import { ResultAsync } from '@stacksjs/error-handling'
|
|
5
5
|
import * as Maizzle from '@maizzle/framework'
|
|
6
|
-
import * as maizzleConfig from '
|
|
6
|
+
import * as maizzleConfig from '../utils/config'
|
|
7
7
|
import { config } from '../tailwind.config'
|
|
8
8
|
|
|
9
9
|
export async function send(options: EmailOptions, provider: any, providerName: string, css?: string) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EmailJsProvider } from '@novu/emailjs'
|
|
2
2
|
import type { EmailOptions } from '@stacksjs/types'
|
|
3
3
|
import { notification } from '@stacksjs/config'
|
|
4
|
-
import { send as sendEmail } from '
|
|
4
|
+
import { send as sendEmail } from '../actions/send'
|
|
5
5
|
|
|
6
6
|
const env = notification.email.emailjs
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MailgunEmailProvider } from '@novu/mailgun'
|
|
2
2
|
import type { EmailOptions } from '@stacksjs/types'
|
|
3
3
|
import { notification } from '@stacksjs/config'
|
|
4
|
-
import { send as sendEmail } from '
|
|
4
|
+
import { send as sendEmail } from '../actions/send'
|
|
5
5
|
|
|
6
6
|
const env = notification.email.mailgun
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MailjetEmailProvider } from '@novu/mailjet'
|
|
2
2
|
import type { EmailOptions } from '@stacksjs/types'
|
|
3
3
|
import { notification } from '@stacksjs/config'
|
|
4
|
-
import { send as sendEmail } from '
|
|
4
|
+
import { send as sendEmail } from '../actions/send'
|
|
5
5
|
|
|
6
6
|
const env = notification.email.mailjet
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MandrillProvider } from '@novu/mandrill'
|
|
2
2
|
import type { EmailOptions } from '@stacksjs/types'
|
|
3
3
|
import { notification } from '@stacksjs/config'
|
|
4
|
-
import { send as sendEmail } from '
|
|
4
|
+
import { send as sendEmail } from '../actions/send'
|
|
5
5
|
|
|
6
6
|
const env = notification.email.mandrill
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NetCoreProvider } from '@novu/netcore'
|
|
2
2
|
import type { EmailOptions } from '@stacksjs/types'
|
|
3
3
|
import { notification } from '@stacksjs/config'
|
|
4
|
-
import { send as sendEmail } from '
|
|
4
|
+
import { send as sendEmail } from '../actions/send'
|
|
5
5
|
|
|
6
6
|
const env = notification.email.netcore
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NodemailerProvider } from '@novu/nodemailer'
|
|
2
2
|
import type { EmailOptions } from '@stacksjs/types'
|
|
3
3
|
import { notification } from '@stacksjs/config'
|
|
4
|
-
import { send as sendEmail } from '
|
|
4
|
+
import { send as sendEmail } from '../actions/send'
|
|
5
5
|
|
|
6
6
|
const env = notification.email.nodemailer
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PostmarkEmailProvider } from '@novu/postmark'
|
|
2
2
|
import type { EmailOptions } from '@stacksjs/types'
|
|
3
3
|
import { notification } from '@stacksjs/config'
|
|
4
|
-
import { send as sendEmail } from '
|
|
4
|
+
import { send as sendEmail } from '../actions/send'
|
|
5
5
|
|
|
6
6
|
const env = notification.email.postmark
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SendgridEmailProvider } from '@novu/sendgrid'
|
|
2
2
|
import type { EmailOptions } from '@stacksjs/types'
|
|
3
3
|
import { notification } from '@stacksjs/config'
|
|
4
|
-
import { send as sendEmail } from '
|
|
4
|
+
import { send as sendEmail } from '../actions/send'
|
|
5
5
|
|
|
6
6
|
const env = notification.email.sendgrid
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SESEmailProvider } from '@novu/ses'
|
|
2
2
|
import type { EmailOptions } from '@stacksjs/types'
|
|
3
3
|
import { notification } from '@stacksjs/config'
|
|
4
|
-
import { send as sendEmail } from '
|
|
4
|
+
import { send as sendEmail } from '../actions/send'
|
|
5
5
|
|
|
6
6
|
const env = notification.email.ses
|
|
7
7
|
|
package/core/events/package.json
CHANGED
package/core/git/package.json
CHANGED
package/core/health/package.json
CHANGED
package/core/lint/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/notifications",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
4
|
+
"version": "0.47.4",
|
|
5
5
|
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks notifications integration.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -74,9 +74,13 @@
|
|
|
74
74
|
"@novu/telnyx": "^0.10.0",
|
|
75
75
|
"@novu/termii": "^0.10.0",
|
|
76
76
|
"@novu/twilio": "^0.10.0",
|
|
77
|
+
"@stacksjs/chat": "workspace:*",
|
|
77
78
|
"@stacksjs/cli": "workspace:*",
|
|
78
79
|
"@stacksjs/config": "workspace:*",
|
|
80
|
+
"@stacksjs/email": "workspace:*",
|
|
79
81
|
"@stacksjs/error-handling": "workspace:*",
|
|
82
|
+
"@stacksjs/push": "workspace:*",
|
|
83
|
+
"@stacksjs/sms": "workspace:*",
|
|
80
84
|
"@stacksjs/types": "workspace:*"
|
|
81
85
|
},
|
|
82
86
|
"devDependencies": {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as chat from '@stacksjs/chat'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as email from '@stacksjs/email'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as push from '@stacksjs/push'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as sms from '@stacksjs/sms'
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { notification } from '@stacksjs/config'
|
|
2
|
+
|
|
3
|
+
const email = notification.email
|
|
4
|
+
|
|
5
|
+
export const config = {
|
|
6
|
+
...email.build,
|
|
7
|
+
theme: {
|
|
8
|
+
screens: {
|
|
9
|
+
sm: '480px',
|
|
10
|
+
md: '768px',
|
|
11
|
+
lg: '976px',
|
|
12
|
+
xl: '1440px',
|
|
13
|
+
},
|
|
14
|
+
colors: {
|
|
15
|
+
'blue': '#1fb6ff',
|
|
16
|
+
'purple': '#7e5bef',
|
|
17
|
+
'pink': '#ff49db',
|
|
18
|
+
'orange': '#ff7849',
|
|
19
|
+
'green': '#13ce66',
|
|
20
|
+
'yellow': '#ffc82c',
|
|
21
|
+
'gray-dark': '#273444',
|
|
22
|
+
'gray': '#8492a6',
|
|
23
|
+
'gray-light': '#d3dce6',
|
|
24
|
+
},
|
|
25
|
+
fontFamily: {
|
|
26
|
+
sans: ['Graphik', 'sans-serif'],
|
|
27
|
+
serif: ['Merriweather', 'serif'],
|
|
28
|
+
},
|
|
29
|
+
extend: {
|
|
30
|
+
spacing: {
|
|
31
|
+
128: '32rem',
|
|
32
|
+
144: '36rem',
|
|
33
|
+
},
|
|
34
|
+
borderRadius: {
|
|
35
|
+
'4xl': '2rem',
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
}
|