stacks 0.44.10 → 0.44.12
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 +2 -1
- package/buddy/README.md +2 -1
- package/buddy/art/social.png +0 -0
- package/buddy/package.json +4 -3
- package/buddy/src/commands/add.ts +12 -12
- package/buddy/src/commands/build.ts +48 -31
- package/buddy/src/commands/clean.ts +6 -6
- package/buddy/src/commands/commit.ts +6 -6
- package/buddy/src/commands/create.ts +14 -14
- package/buddy/src/commands/dev.ts +15 -15
- package/buddy/src/commands/example.ts +11 -11
- package/buddy/src/commands/fresh.ts +19 -8
- package/buddy/src/commands/generate.ts +20 -20
- package/buddy/src/commands/key.ts +2 -2
- package/buddy/src/commands/lint.ts +8 -8
- package/buddy/src/commands/make.ts +33 -33
- package/buddy/src/commands/preinstall.ts +6 -6
- package/buddy/src/commands/prepublish.ts +6 -6
- package/buddy/src/commands/release.ts +2 -2
- package/buddy/src/commands/setup.ts +8 -8
- package/buddy/src/commands/test.ts +11 -11
- package/buddy/src/commands/types.ts +8 -8
- package/buddy/src/commands/update.ts +20 -20
- package/buddy/src/index.ts +1 -0
- package/core/actions/package.json +1 -1
- package/core/actions/src/build-component-libs.ts +15 -0
- package/core/actions/src/build-stacks.ts +9 -0
- package/core/actions/src/fresh.ts +3 -26
- package/core/actions/src/helpers/utils.ts +2 -1
- 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/cli/package.json +1 -1
- package/core/cli/src/actions/run.ts +2 -2
- package/core/cli/src/helpers.ts +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/node_modules/.bin/vitepress +2 -2
- package/core/docs/package.json +2 -2
- 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/git/package.json +1 -1
- package/core/health/README.md +56 -0
- package/core/health/node_modules/.bin/mkdist +17 -0
- package/core/health/node_modules/.bin/tsc +17 -0
- package/core/health/node_modules/.bin/tsserver +17 -0
- package/core/health/package.json +54 -0
- package/core/health/src/drivers/ohdear.ts +1 -0
- package/core/health/src/index.ts +1 -0
- package/core/health/src/notifications/index.ts +1 -0
- package/core/health/tests/example.test.ts +7 -0
- package/core/lint/package.json +1 -1
- package/core/logging/package.json +1 -1
- package/core/modules/package.json +1 -1
- package/core/notifications/README.md +205 -30
- 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/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/package.json +1 -1
- package/core/storage/package.json +1 -1
- package/core/strings/package.json +1 -1
- package/core/testing/package.json +1 -1
- package/core/types/node_modules/.bin/vitepress +2 -2
- package/core/types/package.json +2 -2
- package/core/types/src/cli.ts +8 -0
- package/core/ui/package.json +1 -1
- package/core/utils/package.json +4 -4
- package/core/x-ray/package.json +1 -1
- package/package.json +6 -6
- package/tsconfig.json +2 -2
- package/components/vue/dist/.gitkeep +0 -0
- package/components/web/dist/.gitkeep +0 -0
|
@@ -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_tbpndr44ulefs3hehwpi2mkf2y/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_tbpndr44ulefs3hehwpi2mkf2y/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.44.
|
|
4
|
+
"version": "0.44.12",
|
|
5
5
|
"packageManager": "pnpm@7.18.2",
|
|
6
6
|
"description": "The Stacks way to document.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"typecheck": "tsc --noEmit"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"vitepress": "1.0.0-alpha.
|
|
46
|
+
"vitepress": "1.0.0-alpha.32"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@stacksjs/testing": "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.44.
|
|
4
|
+
"version": "0.44.12",
|
|
5
5
|
"packageManager": "pnpm@7.18.2",
|
|
6
6
|
"description": "The Stacks Email integration. Painlessly create & manage your inboxes, templates, and send emails.",
|
|
7
7
|
"author": "Chris Breuer",
|
package/core/git/package.json
CHANGED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Stacks Health Engine
|
|
2
|
+
|
|
3
|
+
The Health Engine is a unified driver system to easily manage health checks for your application.
|
|
4
|
+
|
|
5
|
+
## ☘️ Features
|
|
6
|
+
|
|
7
|
+
- 🚘 Driver based
|
|
8
|
+
- ⚡️ Oh Dear support
|
|
9
|
+
- 💀 Headless functions & components
|
|
10
|
+
|
|
11
|
+
## 🤖 Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
pnpm i -D @stacksjs/health
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
You may now use:
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
import { useHealth } from '@stacksjs/health'
|
|
21
|
+
|
|
22
|
+
const health = useHealth()
|
|
23
|
+
// ...
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Learn more in the docs.
|
|
27
|
+
|
|
28
|
+
## 🧪 Testing
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
pnpm test
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## 📈 Changelog
|
|
35
|
+
|
|
36
|
+
Please see our [releases](https://github.com/stacksjs/stacks/releases) page for more information on what has changed recently.
|
|
37
|
+
|
|
38
|
+
## 💪🏼 Contributing
|
|
39
|
+
|
|
40
|
+
Please review the [Contributing Guide](https://github.com/stacksjs/contributing) for details.
|
|
41
|
+
|
|
42
|
+
## 🏝 Community
|
|
43
|
+
|
|
44
|
+
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
|
|
45
|
+
|
|
46
|
+
[Discussions on GitHub](https://github.com/stacksjs/stacks/discussions)
|
|
47
|
+
|
|
48
|
+
For casual chit-chat with others using this package:
|
|
49
|
+
|
|
50
|
+
[Join the Stacks Discord Server](https://discord.ow3.org)
|
|
51
|
+
|
|
52
|
+
## 📄 License
|
|
53
|
+
|
|
54
|
+
The MIT License (MIT). Please see [LICENSE](https://github.com/stacksjs/stacks/tree/main/LICENSE.md) for more information.
|
|
55
|
+
|
|
56
|
+
Made with ❤️
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
+
esac
|
|
7
|
+
|
|
8
|
+
if [ -z "$NODE_PATH" ]; then
|
|
9
|
+
export NODE_PATH="/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/mkdist@1.0.0_typescript@4.9.4/node_modules/mkdist/dist/cli.cjs" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/mkdist@1.0.0_typescript@4.9.4/node_modules/mkdist/dist/cli.cjs" "$@"
|
|
17
|
+
fi
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
+
esac
|
|
7
|
+
|
|
8
|
+
if [ -z "$NODE_PATH" ]; then
|
|
9
|
+
export NODE_PATH="/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.4/node_modules/typescript/bin/tsc" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.4/node_modules/typescript/bin/tsc" "$@"
|
|
17
|
+
fi
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
+
esac
|
|
7
|
+
|
|
8
|
+
if [ -z "$NODE_PATH" ]; then
|
|
9
|
+
export NODE_PATH="/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.4/node_modules/typescript/bin/tsserver" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.4/node_modules/typescript/bin/tsserver" "$@"
|
|
17
|
+
fi
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@stacksjs/health",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.44.12",
|
|
5
|
+
"packageManager": "pnpm@7.18.2",
|
|
6
|
+
"description": "The Stacks Health services.",
|
|
7
|
+
"author": "Chris Breuer",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"funding": "https://github.com/sponsors/chrisbbreuer",
|
|
10
|
+
"homepage": "https://github.com/stacksjs/stacks/tree/main/.stacks/core/health#readme",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
14
|
+
"directory": "./.stacks/core/health"
|
|
15
|
+
},
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/stacksjs/stacks/issues"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"health",
|
|
21
|
+
"oh dear",
|
|
22
|
+
"stacks",
|
|
23
|
+
"api",
|
|
24
|
+
"headless"
|
|
25
|
+
],
|
|
26
|
+
"main": "dist/index.mjs",
|
|
27
|
+
"module": "dist/index.mjs",
|
|
28
|
+
"types": "dist/index.d.ts",
|
|
29
|
+
"contributors": [
|
|
30
|
+
"Chris Breuer <chris@ow3.org>"
|
|
31
|
+
],
|
|
32
|
+
"files": [
|
|
33
|
+
"dist",
|
|
34
|
+
"README.md"
|
|
35
|
+
],
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=v18.12.1",
|
|
38
|
+
"pnpm": ">=7.18.2"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"build": "mkdist -d",
|
|
42
|
+
"dev": "mkdist -d",
|
|
43
|
+
"prepublishOnly": "pnpm run build",
|
|
44
|
+
"typecheck": "tsc --noEmit"
|
|
45
|
+
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"@stacksjs/notifications": "workspace:*"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@stacksjs/testing": "workspace:*",
|
|
51
|
+
"mkdist": "^1.0.0",
|
|
52
|
+
"typescript": "^4.9.4"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
package/core/lint/package.json
CHANGED
|
@@ -1,60 +1,227 @@
|
|
|
1
1
|
# Stacks Notifications
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Stacks Notifications is a unified driver system for sending messages/notifications. It supports sending emails, SMS messages, and chat messages.
|
|
4
4
|
|
|
5
5
|
## ☘️ Features
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
- 📦 Send Emails
|
|
8
|
+
- 🎨 Email Styling
|
|
9
|
+
- 📱 Send SMS messages
|
|
10
|
+
- 💬 Send Chat messages
|
|
8
11
|
|
|
9
|
-
|
|
12
|
+
## TODO
|
|
10
13
|
|
|
11
|
-
|
|
14
|
+
- [ ] Driver: FCM
|
|
15
|
+
- [ ] Driver: Expo
|
|
16
|
+
- [ ] Driver: SNS (Push)
|
|
17
|
+
- [ ] Driver: Pushwoosh
|
|
12
18
|
|
|
13
19
|
## 🤖 Usage
|
|
14
20
|
|
|
15
|
-
wip
|
|
16
|
-
|
|
17
21
|
```bash
|
|
18
22
|
pnpm i -D @stacksjs/notifications
|
|
19
23
|
```
|
|
20
24
|
|
|
21
|
-
|
|
25
|
+
You may now use it in your project:
|
|
26
|
+
|
|
27
|
+
```ts
|
|
28
|
+
import { notification } from '@stacksjs/notifications'
|
|
22
29
|
|
|
23
|
-
|
|
24
|
-
|
|
30
|
+
notification.send(options)
|
|
31
|
+
```
|
|
25
32
|
|
|
26
|
-
|
|
33
|
+
## 🏎️ Drivers
|
|
34
|
+
|
|
35
|
+
There are different option types for Chat, Email, and SMS drivers. To use any driver, simply configure the notification `options` object.
|
|
36
|
+
|
|
37
|
+
```ts
|
|
38
|
+
interface ChatOptions {
|
|
39
|
+
webhookUrl: string
|
|
40
|
+
content: string
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
interface EmailOptions {
|
|
44
|
+
to: string | string[]
|
|
45
|
+
subject: string
|
|
46
|
+
html: string
|
|
47
|
+
from?: string
|
|
48
|
+
text?: string
|
|
49
|
+
attachments?: IAttachmentOptions[]
|
|
50
|
+
id?: string
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
interface SMSOptions {
|
|
54
|
+
to: string
|
|
55
|
+
content: string
|
|
56
|
+
from?: string
|
|
57
|
+
attachments?: IAttachmentOptions[]
|
|
58
|
+
id?: string
|
|
59
|
+
}
|
|
27
60
|
```
|
|
28
61
|
|
|
29
|
-
|
|
62
|
+
Available drivers are listed below, with the proper variables needed to get started.
|
|
30
63
|
|
|
31
64
|
### Email
|
|
32
65
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
66
|
+
Email drivers are configured with the following environment variables:
|
|
67
|
+
|
|
68
|
+
#### Sendgrid
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
SENDGRID_API_KEY=SG123
|
|
72
|
+
SENDGRID_FROM=from@example.com
|
|
73
|
+
SENDGRID_SENDER_NAME=Sender
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
#### Mailgun
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
MAILGUN_API_KEY=MG123
|
|
80
|
+
MAILGUN_DOMAIN=example.com
|
|
81
|
+
MAILGUN_USERNAME=username
|
|
82
|
+
MAILGUN_FROM=from@example.com
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
#### Mailjet
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
MAILJET_API_KEY=MJ123
|
|
89
|
+
MAILJET_API_SECRET=MJTESTSECRET
|
|
90
|
+
MAILJET_FROM_EMAIL=from@example.com
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
#### Netcore
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
NETCORE_API_KEY=NC123
|
|
97
|
+
NETCORE_FROM=from@example.com
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
#### Nodemailer
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
NODEMAILER_FROM_EMAIL=from@example.com
|
|
104
|
+
NODEMAILER_HOST=example.com
|
|
105
|
+
NODEMAILER_USERNAME=username
|
|
106
|
+
NODEMAILER_PASSWORD=password
|
|
107
|
+
NODEMAILER_PORT=25
|
|
108
|
+
NODEMAILER_SECURE=true
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
#### Postmark
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
POSTMARK_API_KEY=PM123
|
|
115
|
+
POSTMARK_FROM=from@example.com
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
#### AWS SES
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
SES_REGION=US
|
|
122
|
+
SES_ACCESS_KEY_ID=testkey123
|
|
123
|
+
SES_SECRET_ACCESS_KEY=testaccesskey123
|
|
124
|
+
SES_FROM=from@example.com
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
#### Mandrill
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
MANDRILL_API_KEY=Ma123
|
|
131
|
+
MANDRILL_EMAIL=from@example.com
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
#### EmailJS
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
EMAILJS_FROM_EMAIL=from@example.com
|
|
138
|
+
EMAILJS_HOST=example.com
|
|
139
|
+
EMAILJS_USERNAME=username
|
|
140
|
+
EMAILJS_PASSWORD=password
|
|
141
|
+
EMAILJS_PORT=25
|
|
142
|
+
EMAILJS_SECURE=true
|
|
143
|
+
```
|
|
42
144
|
|
|
43
145
|
### SMS
|
|
44
146
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
147
|
+
SMS drivers are configured with the following environment variables:
|
|
148
|
+
|
|
149
|
+
#### Twilio
|
|
150
|
+
|
|
151
|
+
```bash
|
|
152
|
+
TWILIO_ACCOUNT_SID=ACtest
|
|
153
|
+
TWILIO_AUTH_TOKEN=testtoken
|
|
154
|
+
TWILIO_FROM_NUMBER=+112345
|
|
155
|
+
TWILIO_TO_NUMBER=+145678
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
#### Nexmo
|
|
159
|
+
|
|
160
|
+
```bash
|
|
161
|
+
VONAGE_API_KEY=VN123
|
|
162
|
+
VONAGE_API_SECRET=testkey
|
|
163
|
+
VONAGE_FROM_NUMBER=+112345
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
#### Gupshup
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
GUPSHUP_USER_ID=GU123
|
|
170
|
+
GUPSHUP_PASSWORD=password
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
#### Plivo
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
PLIVO_ACCOUNT_ID=PA123
|
|
177
|
+
PLIVO_AUTH_TOKEN=testtoken
|
|
178
|
+
PLIVO_FROM_NUMBER=+112345
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
#### SMS77
|
|
182
|
+
|
|
183
|
+
```bash
|
|
184
|
+
SMS77_API_KEY=SA123
|
|
185
|
+
SMS77_FROM=from@example.com
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
#### SNS
|
|
189
|
+
|
|
190
|
+
```bash
|
|
191
|
+
SMS77_API_KEY=SA123
|
|
192
|
+
SMS77_FROM=from@example.com
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
#### Telnyx
|
|
196
|
+
|
|
197
|
+
```bash
|
|
198
|
+
TELNYX_API_KEY=TA123
|
|
199
|
+
TELNYX_MESSAGE_PROFILE_ID=testprofileid
|
|
200
|
+
TELNYX_FROM=from@example.com
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
#### Termii
|
|
204
|
+
|
|
205
|
+
```bash
|
|
206
|
+
TERMII_API_KEY=TermA123
|
|
207
|
+
TERMII_SENDER=from@example.com
|
|
208
|
+
```
|
|
53
209
|
|
|
54
210
|
### Chat
|
|
55
211
|
|
|
56
|
-
|
|
57
|
-
|
|
212
|
+
Chat drivers are configured with the following environment variables:
|
|
213
|
+
|
|
214
|
+
#### Discord
|
|
215
|
+
|
|
216
|
+
- None
|
|
217
|
+
|
|
218
|
+
#### Slack
|
|
219
|
+
|
|
220
|
+
```
|
|
221
|
+
SLACK_APPLICATION_ID=SAID123
|
|
222
|
+
SLACK_CLIENT_ID=SCID123
|
|
223
|
+
SLACK_SECRET_KEY=SSK123
|
|
224
|
+
```
|
|
58
225
|
|
|
59
226
|
Learn more in the docs.
|
|
60
227
|
|
|
@@ -82,6 +249,14 @@ For casual chit-chat with others using this package:
|
|
|
82
249
|
|
|
83
250
|
[Join the Stacks Discord Server](https://discord.ow3.org)
|
|
84
251
|
|
|
252
|
+
## 🙏🏼 Credits
|
|
253
|
+
|
|
254
|
+
Many thanks to the following core technologies & people who have contributed to this package:
|
|
255
|
+
|
|
256
|
+
- [Chris Breuer](https://github.com/chrisbbreuer)
|
|
257
|
+
- [Novu](https://novu.co/)
|
|
258
|
+
- [All Contributors](../../contributors)
|
|
259
|
+
|
|
85
260
|
## 📄 License
|
|
86
261
|
|
|
87
262
|
The MIT License (MIT). Please see [LICENSE](https://github.com/stacksjs/stacks/tree/main/LICENSE.md) for more information.
|
package/core/path/package.json
CHANGED