stacks 0.49.2 → 0.50.0

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.
Files changed (87) hide show
  1. package/buddy/package.json +3 -3
  2. package/buddy/src/commands/fresh.ts +1 -1
  3. package/buddy/src/commands/lint.ts +2 -2
  4. package/buddy/src/commands/release.ts +8 -0
  5. package/components/vue/package.json +1 -1
  6. package/components/web/package.json +1 -1
  7. package/core/actions/package.json +3 -3
  8. package/core/actions/src/helpers/utils.ts +1 -1
  9. package/core/actions/src/lint-fix.ts +1 -1
  10. package/core/ai/package.json +3 -3
  11. package/core/alias/package.json +3 -3
  12. package/core/arrays/package.json +3 -3
  13. package/core/auth/package.json +3 -3
  14. package/core/build/package.json +3 -3
  15. package/core/cache/package.json +4 -4
  16. package/core/chat/package.json +3 -3
  17. package/core/cli/package.json +3 -3
  18. package/core/cli/src/actions/run.ts +4 -1
  19. package/core/cloud/package.json +3 -3
  20. package/core/collections/package.json +3 -3
  21. package/core/config/package.json +3 -3
  22. package/core/dashboard/package.json +3 -3
  23. package/core/database/package.json +4 -4
  24. package/core/datetime/package.json +3 -3
  25. package/core/desktop/node_modules/.bin/tauri +2 -2
  26. package/core/desktop/package.json +4 -4
  27. package/core/docs/node_modules/.bin/vitepress +2 -2
  28. package/core/docs/package.json +4 -4
  29. package/core/domains/package.json +3 -3
  30. package/core/drivers/package.json +3 -3
  31. package/core/email/package.json +3 -3
  32. package/core/email/src/drivers/sendgrid.ts +6 -6
  33. package/core/error-handling/package.json +3 -3
  34. package/core/events/package.json +3 -3
  35. package/core/git/node_modules/.bin/changelogen +2 -2
  36. package/core/git/node_modules/.bin/commitizen +2 -2
  37. package/core/git/node_modules/.bin/cz +2 -2
  38. package/core/git/node_modules/.bin/git-cz +2 -2
  39. package/core/git/package.json +5 -5
  40. package/core/health/package.json +3 -3
  41. package/core/lint/package.json +3 -3
  42. package/core/logging/package.json +3 -3
  43. package/core/modules/package.json +3 -3
  44. package/core/notifications/README.md +3 -0
  45. package/core/notifications/package.json +6 -5
  46. package/core/objects/package.json +3 -3
  47. package/core/path/package.json +4 -4
  48. package/core/payments/package.json +3 -3
  49. package/core/push/package.json +3 -4
  50. package/core/queue/README.md +59 -0
  51. package/core/{push/node_modules/.bin/maizzle → queue/node_modules/.bin/mkdist} +2 -2
  52. package/core/queue/node_modules/.bin/tsc +17 -0
  53. package/core/queue/node_modules/.bin/tsserver +17 -0
  54. package/core/queue/package.json +54 -0
  55. package/core/queue/src/index.ts +1 -0
  56. package/core/queue/tests/example.test.ts +7 -0
  57. package/core/realtime/package.json +3 -3
  58. package/core/router/package.json +3 -3
  59. package/core/search-engine/package.json +4 -4
  60. package/core/search-engine/src/index.ts +0 -1
  61. package/core/security/package.json +3 -3
  62. package/core/server/package.json +3 -3
  63. package/core/sms/package.json +3 -3
  64. package/core/storage/package.json +3 -3
  65. package/core/strings/package.json +3 -3
  66. package/core/tables/package.json +2 -2
  67. package/core/testing/node_modules/.bin/vitest +2 -2
  68. package/core/testing/package.json +6 -6
  69. package/core/types/node_modules/.bin/vitepress +2 -2
  70. package/core/types/package.json +5 -5
  71. package/core/types/src/cli.ts +1 -1
  72. package/core/types/src/notifications.ts +2 -2
  73. package/core/ui/package.json +3 -3
  74. package/core/utils/node_modules/.bin/rimraf +2 -2
  75. package/core/utils/package.json +7 -7
  76. package/core/utils/src/helpers.ts +4 -2
  77. package/core/validation/README.md +53 -0
  78. package/core/validation/node_modules/.bin/mkdist +17 -0
  79. package/core/validation/node_modules/.bin/tsc +17 -0
  80. package/core/validation/node_modules/.bin/tsserver +17 -0
  81. package/core/validation/package.json +55 -0
  82. package/core/validation/src/index.ts +5 -0
  83. package/core/validation/tests/example.test.ts +7 -0
  84. package/core/x-ray/package.json +3 -3
  85. package/functions/package.json +1 -1
  86. package/package.json +4 -4
  87. package/core/tables/dist/index.html +0 -15
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/buddy",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "Meet Buddy. The Stacks runtime.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -51,7 +51,7 @@
51
51
  ],
52
52
  "engines": {
53
53
  "node": ">=v18.13.0",
54
- "pnpm": ">=7.25.0"
54
+ "pnpm": ">=7.25.1"
55
55
  },
56
56
  "scripts": {
57
57
  "buddy": "esno ./src/cli.ts",
@@ -14,7 +14,7 @@ async function fresh(buddy: CLI) {
14
14
  .option('--debug', descriptions.debug, { default: false })
15
15
  .action(async (options: FreshOptions) => {
16
16
  const perf = await intro('buddy fresh')
17
- const result = await runAction(Action.Fresh, { ...options, shouldShowSpinner: true, spinnerText: 'Reinstalling dependencies...' })
17
+ const result = await runAction(Action.Fresh, { ...options, showSpinner: true, spinnerText: 'Freshly installing dependencies...' })
18
18
 
19
19
  if (result.isErr()) {
20
20
  outro('While running the fresh command, there was an issue', { startTime: perf, useSeconds: true, isError: true }, result.error)
@@ -16,7 +16,7 @@ async function lint(buddy: CLI) {
16
16
  .option('--debug', descriptions.debug, { default: false })
17
17
  .action(async (options: LintOptions) => {
18
18
  const perf = await intro('buddy lint')
19
- const result = await runAction(Action.Lint, { ...options, shouldShowSpinner: true, spinnerText: 'Linting...' })
19
+ const result = await runAction(Action.Lint, { ...options, showSpinner: true, spinnerText: 'Linting...' })
20
20
 
21
21
  if (result.isErr()) {
22
22
  outro('While running `buddy lint`, there was an issue', { startTime: perf, useSeconds: true, isError: true }, result.error)
@@ -31,7 +31,7 @@ async function lint(buddy: CLI) {
31
31
  .option('--debug', descriptions.debug, { default: false })
32
32
  .action(async (options: LintOptions) => {
33
33
  log.info('Fixing lint errors...')
34
- const result = await runAction(Action.LintFix, { ...options, shouldShowSpinner: true, spinnerText: 'Linting...' })
34
+ const result = await runAction(Action.LintFix, { ...options, showSpinner: true, spinnerText: 'Linting...' })
35
35
 
36
36
  if (result.isErr()) {
37
37
  log.error('There was an error lint fixing your code.', result.error)
@@ -16,6 +16,14 @@ async function release(buddy: CLI) {
16
16
  const startTime = await intro('buddy release')
17
17
  const result = await runAction(Action.Release, options)
18
18
 
19
+ console.log('result', result)
20
+
21
+ // check if any element of the array is an error
22
+ if (Array.isArray(result) && result.some(r => r.isErr())) {
23
+ log.error('Failed to trigger the CI/CD release workflow.', result)
24
+ process.exit()
25
+ }
26
+
19
27
  if (result.isErr()) {
20
28
  log.error('Failed to trigger the CI/CD release workflow.', result.error)
21
29
  process.exit()
@@ -2,7 +2,7 @@
2
2
  "name": "hello-world-vue",
3
3
  "type": "module",
4
4
  "version": "",
5
- "packageManager": "pnpm@7.25.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "Your Vue component library description",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -2,7 +2,7 @@
2
2
  "name": "hello-world-elements",
3
3
  "type": "module",
4
4
  "version": "",
5
- "packageManager": "pnpm@7.25.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "Your framework agnostic web component library description.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/actions",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "The Stacks actions.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -37,7 +37,7 @@
37
37
  ],
38
38
  "engines": {
39
39
  "node": ">=v18.13.0",
40
- "pnpm": ">=7.25.0"
40
+ "pnpm": ">=7.25.1"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "mkdist -d",
@@ -48,7 +48,7 @@ export async function runAction(action: string, options?: CliOptions): Promise<
48
48
  if (options?.debug)
49
49
  log.info('Running command:', cmd, options)
50
50
 
51
- return options?.shouldShowSpinner
51
+ return options?.showSpinner
52
52
  ? await runCommands([cmd], options)
53
53
  : await runCommand(cmd, options)
54
54
  }
@@ -2,4 +2,4 @@ import { runCommands } from '@stacksjs/cli'
2
2
  import { projectPath } from '@stacksjs/path'
3
3
  import { NpmScript } from '@stacksjs/types'
4
4
 
5
- await runCommands([NpmScript.LintFix], { cwd: projectPath(), shouldShowSpinner: true, spinnerText: 'Auto-fixing lint issues...' })
5
+ await runCommands([NpmScript.LintFix], { cwd: projectPath(), showSpinner: true, spinnerText: 'Auto-fixing lint issues...' })
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/ai",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "Stacks Artificial Intelligence.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -35,7 +35,7 @@
35
35
  ],
36
36
  "engines": {
37
37
  "node": ">=v18.13.0",
38
- "pnpm": ">=7.25.0"
38
+ "pnpm": ">=7.25.1"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "mkdist -d",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/alias",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "The Stacks aliases.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -32,7 +32,7 @@
32
32
  ],
33
33
  "engines": {
34
34
  "node": ">=v18.13.0",
35
- "pnpm": ">=7.25.0"
35
+ "pnpm": ">=7.25.1"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "mkdist -d",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/arrays",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "The Stacks array utilities.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -36,7 +36,7 @@
36
36
  ],
37
37
  "engines": {
38
38
  "node": ">=v18.13.0",
39
- "pnpm": ">=7.25.0"
39
+ "pnpm": ">=7.25.1"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "mkdist -d",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/auth",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "A more simplistic way to authenticate.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -33,7 +33,7 @@
33
33
  ],
34
34
  "engines": {
35
35
  "node": ">=v18.13.0",
36
- "pnpm": ">=7.25.0"
36
+ "pnpm": ">=7.25.1"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "mkdist -d",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/build",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "The Stacks framework build tools and configurations.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -35,7 +35,7 @@
35
35
  ],
36
36
  "engines": {
37
37
  "node": ">=v18.13.0",
38
- "pnpm": ">=7.25.0"
38
+ "pnpm": ">=7.25.1"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "mkdist -d",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/cache",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "The Stacks way of caching.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -38,7 +38,7 @@
38
38
  ],
39
39
  "engines": {
40
40
  "node": ">=v18.13.0",
41
- "pnpm": ">=7.25.0"
41
+ "pnpm": ">=7.25.1"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "mkdist -d",
@@ -47,7 +47,7 @@
47
47
  "typecheck": "tsc --noEmit"
48
48
  },
49
49
  "peerDependencies": {
50
- "@aws-sdk/client-dynamodb": "^3.245.0",
50
+ "@aws-sdk/client-dynamodb": "^3.254.0",
51
51
  "@stacksjs/config": "workspace:*",
52
52
  "@types/memjs": "^1.2.5",
53
53
  "memcached": "^2.2.2",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/chat",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "The Stacks Chat Integration. Easy sending of messages for chat services",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  ],
35
35
  "engines": {
36
36
  "node": ">=v18.13.0",
37
- "pnpm": ">=7.25.0"
37
+ "pnpm": ">=7.25.1"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "mkdist -d",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/cli",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "The simple way to create beautiful CLIs.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -41,7 +41,7 @@
41
41
  ],
42
42
  "engines": {
43
43
  "node": ">=v18.13.0",
44
- "pnpm": ">=7.25.0"
44
+ "pnpm": ">=7.25.1"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "mkdist -d",
@@ -60,8 +60,11 @@ export async function runCommands(commands: string[], options?: CliOptions): Pro
60
60
  results.push(result)
61
61
 
62
62
  if (result?.isErr()) {
63
- if (spinner)
63
+ if (spinner) {
64
64
  spinner.fail('Failed to run command.')
65
+ err(result.error)
66
+ process.exit()
67
+ }
65
68
 
66
69
  results.push(result)
67
70
  break
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/cloud",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "The Stacks cloud/serverless integration & implementation.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -37,7 +37,7 @@
37
37
  ],
38
38
  "engines": {
39
39
  "node": ">=v18.13.0",
40
- "pnpm": ">=7.25.0"
40
+ "pnpm": ">=7.25.1"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "mkdist -d",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/collections",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "The Stacks collections.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -37,7 +37,7 @@
37
37
  ],
38
38
  "engines": {
39
39
  "node": ">=v18.13.0",
40
- "pnpm": ">=7.25.0"
40
+ "pnpm": ">=7.25.1"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "mkdist -d",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/config",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "The Stacks configuration.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -32,7 +32,7 @@
32
32
  ],
33
33
  "engines": {
34
34
  "node": ">=v18.13.0",
35
- "pnpm": ">=7.25.0"
35
+ "pnpm": ">=7.25.1"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "unbuild",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/dashboard",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "The Stacks Dashboard.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -37,7 +37,7 @@
37
37
  ],
38
38
  "engines": {
39
39
  "node": ">=v18.13.0",
40
- "pnpm": ">=7.25.0"
40
+ "pnpm": ">=7.25.1"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "mkdist -d",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/database",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "The Stacks database integration.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -39,7 +39,7 @@
39
39
  ],
40
40
  "engines": {
41
41
  "node": ">=v18.13.0",
42
- "pnpm": ">=7.25.0"
42
+ "pnpm": ">=7.25.1"
43
43
  },
44
44
  "scripts": {
45
45
  "build": "mkdist -d",
@@ -48,7 +48,7 @@
48
48
  "typecheck": "tsc --noEmit"
49
49
  },
50
50
  "peerDependencies": {
51
- "@prisma/client": "^4.8.1",
51
+ "@prisma/client": "^4.9.0",
52
52
  "@stacksjs/utils": "workspace:*"
53
53
  },
54
54
  "devDependencies": {
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/datetime",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "The Stacks datetime helpers.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -36,7 +36,7 @@
36
36
  ],
37
37
  "engines": {
38
38
  "node": ">=v18.13.0",
39
- "pnpm": ">=7.25.0"
39
+ "pnpm": ">=7.25.1"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "mkdist -d",
@@ -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/@tauri-apps+cli@1.2.2/node_modules/@tauri-apps/cli/tauri.js" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/@tauri-apps+cli@1.2.3/node_modules/@tauri-apps/cli/tauri.js" "$@"
15
15
  else
16
- exec node "$basedir/../../../../../node_modules/.pnpm/@tauri-apps+cli@1.2.2/node_modules/@tauri-apps/cli/tauri.js" "$@"
16
+ exec node "$basedir/../../../../../node_modules/.pnpm/@tauri-apps+cli@1.2.3/node_modules/@tauri-apps/cli/tauri.js" "$@"
17
17
  fi
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/desktop",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "The Stacks Desktop engine.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -43,7 +43,7 @@
43
43
  ],
44
44
  "engines": {
45
45
  "node": ">=v18.13.0",
46
- "pnpm": ">=7.25.0"
46
+ "pnpm": ">=7.25.1"
47
47
  },
48
48
  "scripts": {
49
49
  "build": "mkdist -d",
@@ -55,7 +55,7 @@
55
55
  "@stacksjs/build": "workspace:*",
56
56
  "@stacksjs/server": "workspace:*",
57
57
  "@tauri-apps/api": "1.2.0",
58
- "@tauri-apps/cli": "1.2.2",
58
+ "@tauri-apps/cli": "1.2.3",
59
59
  "unified-network": "0.6.2",
60
60
  "unstorage": "^1.0.1",
61
61
  "vue": "3.2.45",
@@ -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.36_2r467mdhb7mblpaox4bg7fatdi/node_modules/vitepress/bin/vitepress.js" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vitepress@1.0.0-alpha.40_2r467mdhb7mblpaox4bg7fatdi/node_modules/vitepress/bin/vitepress.js" "$@"
15
15
  else
16
- exec node "$basedir/../../../../../node_modules/.pnpm/vitepress@1.0.0-alpha.36_2r467mdhb7mblpaox4bg7fatdi/node_modules/vitepress/bin/vitepress.js" "$@"
16
+ exec node "$basedir/../../../../../node_modules/.pnpm/vitepress@1.0.0-alpha.40_2r467mdhb7mblpaox4bg7fatdi/node_modules/vitepress/bin/vitepress.js" "$@"
17
17
  fi
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/docs",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "The Stacks way to document.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  ],
35
35
  "engines": {
36
36
  "node": ">=v18.13.0",
37
- "pnpm": ">=7.25.0"
37
+ "pnpm": ">=7.25.1"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "mkdist -d",
@@ -43,7 +43,7 @@
43
43
  "typecheck": "tsc --noEmit"
44
44
  },
45
45
  "peerDependencies": {
46
- "vitepress": "1.0.0-alpha.36"
46
+ "vitepress": "1.0.0-alpha.40"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@stacksjs/testing": "workspace:*",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/domains",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "Easily manage your domains.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -35,7 +35,7 @@
35
35
  ],
36
36
  "engines": {
37
37
  "node": ">=v18.13.0",
38
- "pnpm": ">=7.25.0"
38
+ "pnpm": ">=7.25.1"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "mkdist -d",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/drivers",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "Easily create a driver-based system.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -33,7 +33,7 @@
33
33
  ],
34
34
  "engines": {
35
35
  "node": ">=v18.13.0",
36
- "pnpm": ">=7.25.0"
36
+ "pnpm": ">=7.25.1"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "mkdist -d",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/email",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "The Stacks Email integration. Painlessly create & manage your inboxes, templates, and send emails.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -43,7 +43,7 @@
43
43
  ],
44
44
  "engines": {
45
45
  "node": ">=v18.13.0",
46
- "pnpm": ">=7.25.0"
46
+ "pnpm": ">=7.25.1"
47
47
  },
48
48
  "scripts": {
49
49
  "build": "mkdist -d",
@@ -3,16 +3,16 @@ import type { EmailOptions } from '@stacksjs/types'
3
3
  import { notification } from '@stacksjs/config'
4
4
  import { send as sendEmail } from '../actions/send'
5
5
 
6
- const env = notification.email.sendgrid
6
+ const config = notification.email.sendgrid
7
7
 
8
- const provider = new SendgridEmailProvider({
9
- apiKey: env.key,
10
- from: env.from,
11
- senderName: env.senderName,
8
+ const driver = new SendgridEmailProvider({
9
+ apiKey: config.key,
10
+ from: config.from,
11
+ senderName: config.senderName,
12
12
  })
13
13
 
14
14
  async function send(options: EmailOptions, css?: string) {
15
- return sendEmail(options, provider, 'Sendgrid', css)
15
+ return sendEmail(options, driver, 'Sendgrid', css)
16
16
  }
17
17
 
18
18
  export { send as Send, send }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/error-handling",
3
3
  "type": "module",
4
- "version": "0.49.2",
5
- "packageManager": "pnpm@7.25.0",
4
+ "version": "0.50.0",
5
+ "packageManager": "pnpm@7.25.1",
6
6
  "description": "Type safe error handling.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -35,7 +35,7 @@
35
35
  ],
36
36
  "engines": {
37
37
  "node": ">=v18.13.0",
38
- "pnpm": ">=7.25.0"
38
+ "pnpm": ">=7.25.1"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "mkdist -d",