stacks 0.52.9 → 0.53.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.
Files changed (122) hide show
  1. package/api/nitro.config.ts +2 -2
  2. package/api/routes/index.ts +1 -1
  3. package/auto-imports.d.ts +6 -0
  4. package/core/actions/package.json +1 -5
  5. package/core/actions/src/clean.ts +1 -1
  6. package/core/actions/src/dev/index.ts +0 -9
  7. package/core/actions/src/generate/index.ts +3 -3
  8. package/core/actions/src/generate/settings.ts +3 -3
  9. package/core/actions/src/helpers/lib-entries.ts +11 -12
  10. package/core/actions/src/helpers/utils.ts +1 -1
  11. package/core/actions/src/make.ts +1 -1
  12. package/core/actions/src/release.ts +4 -2
  13. package/core/actions/src/upgrade/framework.ts +29 -29
  14. package/core/actions/src/upgrade/index.ts +13 -15
  15. package/core/actions/src/upgrade/node.ts +4 -4
  16. package/core/actions/src/upgrade/package-manager.ts +4 -4
  17. package/core/actions/src/upgrade.ts +1 -1
  18. package/core/ai/package.json +1 -1
  19. package/core/alias/package.json +1 -1
  20. package/core/analytics/package.json +1 -1
  21. package/core/arrays/package.json +1 -1
  22. package/core/auth/package.json +1 -1
  23. package/core/buddy/package.json +1 -1
  24. package/core/buddy/src/cli.ts +3 -26
  25. package/core/buddy/src/commands/fresh.ts +1 -1
  26. package/core/buddy/src/commands/lint.ts +2 -2
  27. package/core/buddy/src/commands/onboarding.ts +9 -15
  28. package/core/buddy/src/commands/setting.ts +10 -12
  29. package/core/buddy/src/commands/version.ts +7 -19
  30. package/core/buddy/src/index.ts +0 -21
  31. package/core/build/package.json +3 -3
  32. package/core/build/src/functions.ts +3 -3
  33. package/core/build/src/stacks.ts +3 -6
  34. package/core/build/src/web-components.ts +1 -1
  35. package/core/cache/package.json +2 -2
  36. package/core/cache/src/drivers/redis.ts +2 -2
  37. package/core/chat/package.json +1 -1
  38. package/core/cli/package.json +1 -1
  39. package/core/cli/src/run.ts +2 -2
  40. package/core/cloud/package.json +1 -1
  41. package/core/collections/package.json +1 -1
  42. package/core/config/package.json +1 -1
  43. package/core/database/package.json +1 -1
  44. package/core/database/src/factory/index.ts +2 -2
  45. package/core/database/src/migrations/index.ts +2 -2
  46. package/core/datetime/package.json +1 -1
  47. package/core/desktop/package.json +1 -1
  48. package/core/development/package.json +1 -1
  49. package/core/docs/node_modules/.bin/vitepress +4 -4
  50. package/core/docs/package.json +2 -2
  51. package/core/domains/package.json +1 -1
  52. package/core/email/package.json +1 -1
  53. package/core/email/src/actions/send.ts +2 -0
  54. package/core/email/src/tailwind.config.ts +3 -3
  55. package/core/error-handling/package.json +2 -2
  56. package/core/events/package.json +1 -1
  57. package/core/faker/package.json +1 -1
  58. package/core/git/package.json +1 -1
  59. package/core/health/package.json +1 -1
  60. package/core/lint/node_modules/.bin/publint +4 -4
  61. package/core/lint/package.json +4 -4
  62. package/core/logging/package.json +2 -2
  63. package/core/modules/package.json +1 -1
  64. package/core/notifications/package.json +1 -1
  65. package/core/notifications/tests/chat/Slack.test.ts +35 -35
  66. package/core/notifications/tests/email/Mailgun.test.ts +41 -41
  67. package/core/notifications/tests/email/Sendgrid.test.ts +41 -41
  68. package/core/notifications/tests/sms/Twilio.test.ts +38 -38
  69. package/core/objects/package.json +1 -1
  70. package/core/objects/src/index.ts +2 -1
  71. package/core/orm/package.json +1 -1
  72. package/core/pages/package.json +1 -1
  73. package/core/pages/src/index.ts +39 -39
  74. package/core/path/package.json +1 -1
  75. package/core/path/src/index.ts +14 -4
  76. package/core/payments/package.json +1 -1
  77. package/core/push/package.json +1 -1
  78. package/core/query-builder/package.json +2 -2
  79. package/core/queue/package.json +1 -1
  80. package/core/realtime/package.json +1 -1
  81. package/core/router/package.json +1 -1
  82. package/core/scheduler/package.json +1 -1
  83. package/core/search-engine/package.json +2 -2
  84. package/core/search-engine/src/helpers.ts +1 -1
  85. package/core/security/package.json +1 -1
  86. package/core/server/package.json +2 -1
  87. package/core/server/src/index.ts +2 -5
  88. package/core/server/src/nitro.config.ts +2 -2
  89. package/core/signals/package.json +1 -1
  90. package/core/slug/package.json +1 -1
  91. package/core/sms/package.json +1 -1
  92. package/core/sms/src/drivers/gupshup.ts +1 -1
  93. package/core/sms/src/drivers/nexmo.ts +3 -2
  94. package/core/sms/src/drivers/plivo.ts +3 -2
  95. package/core/sms/src/drivers/sms77.ts +3 -2
  96. package/core/sms/src/drivers/sns.ts +1 -1
  97. package/core/sms/src/drivers/telnyx.ts +3 -2
  98. package/core/sms/src/drivers/termii.ts +3 -2
  99. package/core/sms/src/drivers/twilio.ts +3 -2
  100. package/core/storage/package.json +1 -1
  101. package/core/storage/src/index.ts +3 -5
  102. package/core/strings/package.json +1 -1
  103. package/core/testing/node_modules/.bin/playwright +4 -4
  104. package/core/testing/package.json +2 -2
  105. package/core/tinker/package.json +1 -1
  106. package/core/types/node_modules/.bin/vite +4 -4
  107. package/core/types/node_modules/.bin/vitepress +4 -4
  108. package/core/types/package.json +8 -8
  109. package/core/types/src/cli.ts +9 -11
  110. package/core/types/src/fs.ts +5 -0
  111. package/core/types/src/model.ts +0 -1
  112. package/core/ui/package.json +3 -3
  113. package/core/utils/package.json +3 -3
  114. package/core/utils/src/guards.ts +3 -3
  115. package/core/utils/src/helpers.ts +26 -8
  116. package/core/utils/src/vendors.ts +1 -0
  117. package/core/validation/package.json +1 -1
  118. package/docs/node_modules/.bin/vitepress +4 -4
  119. package/docs/package.json +1 -1
  120. package/package.json +91 -91
  121. package/pages/web/main.ts +26 -26
  122. package/core/actions/src/generate/package-jsons.ts +0 -11
@@ -1,21 +1,9 @@
1
1
  import type { CLI } from '@stacksjs/types'
2
2
  import { bold, dim, green, intro } from '@stacksjs/cli'
3
- import { filesystem } from '@stacksjs/storage'
4
3
  import { log } from '@stacksjs/logging'
5
- import { frameworkPath } from '@stacksjs/path'
4
+ import { storage } from '@stacksjs/storage'
6
5
 
7
6
  async function version(buddy: CLI) {
8
- // maybe use type-fest?
9
- interface PackageJson {
10
- engines: {
11
- node: string
12
- pnpm: string
13
- }
14
- version: string
15
- }
16
-
17
- const { fs } = filesystem
18
-
19
7
  const descriptions = {
20
8
  version: 'Retrieving Stacks build version',
21
9
  }
@@ -25,15 +13,15 @@ async function version(buddy: CLI) {
25
13
  .action(async () => {
26
14
  await intro('buddy version')
27
15
 
28
- const depVersions = JSON.parse(fs.readFileSync('./package.json', 'utf8')) as PackageJson
29
- const nodeVersion = depVersions.engines.node.replace('>=v', '')
30
- const pnpmVersion = depVersions.engines.pnpm.replace('>=', '')
31
- const stacksVersion = JSON.parse(fs.readFileSync(frameworkPath('/package.json'), 'utf8')) as PackageJson
16
+ const pkg = await storage.readPackageJson('./package.json')
17
+ const nodeVersion = pkg.engines.node.replace('>=v', '')
18
+ const pnpmVersion = pkg.engines.pnpm.replace('>=', '')
19
+ const stacksVersion = pkg.version
32
20
 
33
- log.info(green(bold('Stacks: ')) + dim(` ${stacksVersion.version}`))
21
+ log.info(green(bold('Stacks: ')) + dim(` ${stacksVersion}`))
34
22
  log.info(green(bold('node: ')) + dim(` ${nodeVersion}`))
35
23
  log.info(green(bold('pnpm: ')) + dim(` ${pnpmVersion}`))
36
- // redis (or other cache/s), mysql (or other database/s),
24
+ // redis (or other cache/s), mysql (or other database/s),
37
25
  })
38
26
  }
39
27
 
@@ -1,22 +1 @@
1
1
  export * from './commands'
2
- export * from '@stacksjs/alias'
3
- // export * from '@stacksjs/ai'
4
- export * from '@stacksjs/arrays'
5
- export * from '@stacksjs/build'
6
- export * from '@stacksjs/cli'
7
- export * from '@stacksjs/cloud'
8
- export * from '@stacksjs/collections'
9
- export * from '@stacksjs/config'
10
- export * from '@stacksjs/faker'
11
- // export * from '@stacksjs/events'
12
- // export * from '@stacksjs/desktop'
13
- // export * from '@stacksjs/notifications'
14
- export * from '@stacksjs/storage'
15
- export * from '@stacksjs/router'
16
- export * from '@stacksjs/server'
17
- export * from '@stacksjs/strings'
18
- export * from '@stacksjs/types'
19
- export * from '@stacksjs/objects'
20
- export * from '@stacksjs/path'
21
- export * from '@stacksjs/ui'
22
- // export * from '@stacksjs/utils'
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/build",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks framework build tools and configurations.",
7
7
  "author": "Chris Breuer",
@@ -58,10 +58,10 @@
58
58
  "markdown-it-link-attributes": "^4.0.1",
59
59
  "markdown-it-shiki": "^0.9.0",
60
60
  "unbuild": "^1.2.1",
61
- "unplugin-auto-import": "^0.16.0",
61
+ "unplugin-auto-import": "^0.16.2",
62
62
  "unplugin-vue-components": "^0.24.1",
63
63
  "vite": "^4.3.8",
64
- "vite-plugin-inspect": "^0.7.26",
64
+ "vite-plugin-inspect": "^0.7.28",
65
65
  "vite-plugin-pages": "^0.30.1",
66
66
  "vite-plugin-pwa": "^0.15.0",
67
67
  "vite-plugin-vue-layouts": "^0.8.0",
@@ -26,11 +26,11 @@ export function functionsBuildOptions(): ViteBuildOptions {
26
26
  return {
27
27
  outDir: frameworkPath('functions/dist'),
28
28
  emptyOutDir: true,
29
- sourcemap: library.functions.shouldGenerateSourcemap,
29
+ sourcemap: library.functions?.shouldGenerateSourcemap,
30
30
  lib: {
31
31
  entry: buildEntriesPath('functions.ts'),
32
- name: library.functions.name,
33
- formats: library.functions.shouldBuildIife ? ['cjs', 'es', 'iife'] : ['cjs', 'es'],
32
+ name: library.functions?.name,
33
+ formats: library.functions?.shouldBuildIife ? ['cjs', 'es', 'iife'] : ['cjs', 'es'],
34
34
  fileName: (format: string) => {
35
35
  if (format === 'es')
36
36
  return 'index.mjs'
@@ -14,9 +14,6 @@ import { defu } from 'defu'
14
14
  import type { AutoImportsOptions, ComponentOptions, InspectOptions, LayoutOptions, MarkdownOptions, PagesOption } from '@stacksjs/types'
15
15
  import { path as p, resolve } from '@stacksjs/path'
16
16
 
17
- // it is important to note that path references within this file
18
- // are relative to the ./build folder
19
-
20
17
  function inspect(options?: InspectOptions) {
21
18
  return Inspect(options)
22
19
  }
@@ -44,7 +41,7 @@ function components(options?: ComponentOptions): PluginOption {
44
41
 
45
42
  // https://github.com/hannoeru/vite-plugin-pages
46
43
  function pages(options?: PagesOption) {
47
- const defaultOptions: PagesOption = {
44
+ const defaultOptions = {
48
45
  extensions: ['vue', 'md'],
49
46
  dirs: [
50
47
  p.pagesPath(),
@@ -57,10 +54,10 @@ function pages(options?: PagesOption) {
57
54
  }
58
55
 
59
56
  function markdown(options?: MarkdownOptions) {
60
- const defaultOptions: MarkdownOptions = {
57
+ const defaultOptions = {
61
58
  wrapperClasses: 'prose prose-sm m-auto text-left',
62
59
  headEnabled: true,
63
- markdownItSetup(md) {
60
+ markdownItSetup(md: any) {
64
61
  // https://prismjs.com/
65
62
  md.use(Shiki, {
66
63
  theme: 'nord',
@@ -37,7 +37,7 @@ export function webComponentsBuildOptions(): ViteBuildOptions {
37
37
  emptyOutDir: true,
38
38
  lib: {
39
39
  entry: buildEntriesPath('web-components.ts'),
40
- name: library.webComponents.name,
40
+ name: library.webComponents?.name,
41
41
  formats: ['cjs', 'es'],
42
42
  fileName: (format: string) => {
43
43
  if (format === 'es')
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/cache",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks way of caching.",
7
7
  "author": "Chris Breuer",
@@ -64,7 +64,7 @@
64
64
  "typecheck": "tsc --noEmit"
65
65
  },
66
66
  "peerDependencies": {
67
- "@aws-sdk/client-dynamodb": "^3.335.0",
67
+ "@aws-sdk/client-dynamodb": "^3.338.0",
68
68
  "@stacksjs/config": "workspace:*",
69
69
  "@types/memjs": "^1.3.0",
70
70
  "memcached": "^2.2.2",
@@ -4,8 +4,8 @@ import { cache } from '@stacksjs/config'
4
4
 
5
5
  const client: RedisClientType = createClient({
6
6
  socket: {
7
- host: cache?.redis?.host,
8
- port: cache?.redis?.port,
7
+ host: cache.drivers?.redis?.host,
8
+ port: cache.drivers?.redis?.port,
9
9
  },
10
10
  password: '',
11
11
  })
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/chat",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks Chat Integration. Easy sending of messages for chat services",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/cli",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The simple way to create beautiful CLIs.",
7
7
  "author": "Chris Breuer",
@@ -46,7 +46,7 @@ export function execSync(command: string) {
46
46
  * @returns The result of the command.
47
47
  */
48
48
  export async function runCommand(command: string, options?: CliOptions): Promise<ResultAsync<CommandReturnValue, Error>> {
49
- return await exec(command, options)
49
+ return exec(command, options)
50
50
  }
51
51
 
52
52
  /**
@@ -75,7 +75,7 @@ export async function runCommands(commands: string[], options?: CliOptions): Pro
75
75
  }
76
76
  else if (result.isErr()) {
77
77
  if (spinner) {
78
- log.error(new Error('Failed to run command'))
78
+ log.error(new Error(`Failed to run command ${italic(command)}`))
79
79
  process.exit(ExitCode.FatalError)
80
80
  }
81
81
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/cloud",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks cloud/serverless integration & implementation.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/collections",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks collections.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/config",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "private": true,
6
6
  "packageManager": "pnpm@8.5.1",
7
7
  "description": "The Stacks config helper methods.",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/database",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks database integration.",
7
7
  "author": "Chris Breuer",
@@ -1,6 +1,6 @@
1
- import { filesystem } from '@stacksjs/storage'
1
+ import { storage } from '@stacksjs/storage'
2
2
 
3
- const { fs } = filesystem
3
+ const { fs } = storage
4
4
 
5
5
  function generateFactoryFile(modelName: string, fileName: string, path: string): void {
6
6
  const generateMethodName = 'generate'
@@ -1,9 +1,9 @@
1
- // import { filesystem } from '@stacksjs/storage'
1
+ // import { storage } from '@stacksjs/storage'
2
2
  // import { frameworkPath, projectPath } from '@stacksjs/path'
3
3
  // import type { Model, SchemaOptions } from '@stacksjs/types'
4
4
  // import { titleCase } from '@stacksjs/strings'
5
5
 
6
- // const { fs } = filesystem
6
+ // const { fs } = storage
7
7
 
8
8
  // function generatePrismaSchema(models: Model[], path: string, options: SchemaOptions): void {
9
9
  // let schema = `datasource db {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/datetime",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks datetime helpers.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/desktop",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks Desktop engine.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/development",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks development dependencies.",
7
7
  "author": "Chris Breuer",
@@ -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.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"
9
+ export NODE_PATH="/home/runner/work/stacks/stacks/node_modules/.pnpm/vitepress@1.0.0-beta.1_@algolia+client-search@4.17.0_@types+node@18.16.14/node_modules/vitepress/bin/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/vitepress@1.0.0-beta.1_@algolia+client-search@4.17.0_@types+node@18.16.14/node_modules/vitepress/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/vitepress@1.0.0-beta.1_@algolia+client-search@4.17.0_@types+node@18.16.14/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.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"
11
+ export NODE_PATH="/home/runner/work/stacks/stacks/node_modules/.pnpm/vitepress@1.0.0-beta.1_@algolia+client-search@4.17.0_@types+node@18.16.14/node_modules/vitepress/bin/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/vitepress@1.0.0-beta.1_@algolia+client-search@4.17.0_@types+node@18.16.14/node_modules/vitepress/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/vitepress@1.0.0-beta.1_@algolia+client-search@4.17.0_@types+node@18.16.14/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.76_@algolia+client-search@4.17.0_@types+node@18.16.13/node_modules/vitepress/bin/vitepress.js" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vitepress@1.0.0-beta.1_@algolia+client-search@4.17.0_@types+node@18.16.14/node_modules/vitepress/bin/vitepress.js" "$@"
15
15
  else
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" "$@"
16
+ exec node "$basedir/../../../../../node_modules/.pnpm/vitepress@1.0.0-beta.1_@algolia+client-search@4.17.0_@types+node@18.16.14/node_modules/vitepress/bin/vitepress.js" "$@"
17
17
  fi
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/docs",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
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.76"
47
+ "vitepress": "1.0.0-beta.1"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@stacksjs/alias": "workspace:*",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/domains",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "Easily manage your domains.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/email",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
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",
@@ -2,6 +2,8 @@ import type { EmailOptions } from '@stacksjs/types'
2
2
  import { italic } from '@stacksjs/cli'
3
3
  import { log } from '@stacksjs/logging'
4
4
  import { ResultAsync } from '@stacksjs/error-handling'
5
+
6
+ // @ts-expect-error check if types are available
5
7
  import * as Maizzle from '@maizzle/framework'
6
8
  import * as maizzleConfig from '../utils/config'
7
9
  import { config } from '../tailwind.config'
@@ -1,9 +1,9 @@
1
- import { notification } from '@stacksjs/config'
1
+ // import { notification } from '@stacksjs/config'
2
2
 
3
- const email = notification.email
3
+ // const email = notification.email
4
4
 
5
5
  export const config = {
6
- ...email?.build,
6
+ // ...email?.build,
7
7
  theme: {
8
8
  screens: {
9
9
  sm: '480px',
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/error-handling",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
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.2"
49
+ "@ow3/eslint-config": "^0.43.0"
50
50
  },
51
51
  "dependencies": {
52
52
  "neverthrow": "^6.0.0"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/events",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "Functional event emitting.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/faker",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "Faker functions.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/git",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks git utilities & conventions.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/health",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks Health services.",
7
7
  "author": "Chris Breuer",
@@ -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/publint@0.1.11/node_modules/publint/lib/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/publint@0.1.11/node_modules/publint/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/publint@0.1.11/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
9
+ export NODE_PATH="/home/runner/work/stacks/stacks/node_modules/.pnpm/publint@0.1.12/node_modules/publint/lib/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/publint@0.1.12/node_modules/publint/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/publint@0.1.12/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/publint@0.1.11/node_modules/publint/lib/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/publint@0.1.11/node_modules/publint/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/publint@0.1.11/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules:$NODE_PATH"
11
+ export NODE_PATH="/home/runner/work/stacks/stacks/node_modules/.pnpm/publint@0.1.12/node_modules/publint/lib/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/publint@0.1.12/node_modules/publint/node_modules:/home/runner/work/stacks/stacks/node_modules/.pnpm/publint@0.1.12/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/publint@0.1.11/node_modules/publint/lib/cli.js" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/publint@0.1.12/node_modules/publint/lib/cli.js" "$@"
15
15
  else
16
- exec node "$basedir/../../../../../node_modules/.pnpm/publint@0.1.11/node_modules/publint/lib/cli.js" "$@"
16
+ exec node "$basedir/../../../../../node_modules/.pnpm/publint@0.1.12/node_modules/publint/lib/cli.js" "$@"
17
17
  fi
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/lint",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks way to lint.",
7
7
  "author": "Chris Breuer",
@@ -46,11 +46,11 @@
46
46
  "typecheck": "tsc --noEmit"
47
47
  },
48
48
  "peerDependencies": {
49
- "@ow3/eslint-config": "^0.42.2",
50
- "@types/eslint": "^8.37.0",
49
+ "@ow3/eslint-config": "^0.43.0",
50
+ "@types/eslint": "^8.40.0",
51
51
  "eslint": "^8.41.0",
52
52
  "lint-staged": "^13.2.2",
53
- "publint": "^0.1.11"
53
+ "publint": "^0.1.12"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@stacksjs/development": "workspace:*"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/logging",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks logging system.",
7
7
  "author": "Chris Breuer",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "peerDependencies": {
49
49
  "consola": "^3.1.0",
50
- "node-ray": "1.20.7",
50
+ "node-ray": "1.20.11",
51
51
  "vue-ray": "^1.17.4"
52
52
  },
53
53
  "dependencies": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/modules",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks framework modules.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/notifications",
3
3
  "type": "module",
4
- "version": "0.52.9",
4
+ "version": "0.53.1",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks notifications integration.",
7
7
  "author": "Chris Breuer",
@@ -1,35 +1,35 @@
1
- import { describe, expect, it } from 'vitest'
2
- import { chat, useChat } from '@stacksjs/notifications'
3
- import { Err } from '@stacksjs/types'
4
-
5
- describe('Slack Test', () => {
6
- it('should send chat', async () => {
7
- const notification = chat.slack
8
- const test = await notification.send({
9
- content: 'Test Slack Message!',
10
- webhookUrl: 'https://hooks.slack.com/services/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',
11
- })
12
-
13
- expect(test).toBeDefined()
14
- })
15
-
16
- it('should send chat using useChat', async () => {
17
- const notification = useChat('slack')
18
- const test = await notification.send({
19
- content: 'Test Slack Message!',
20
- webhookUrl: 'https://hooks.slack.com/services/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',
21
- })
22
-
23
- expect(test).toBeDefined()
24
- })
25
-
26
- it('should not send chat if webhook is empty', async () => {
27
- const notification = chat.slack
28
- const test = await notification.send({
29
- content: 'Test Slack Message!',
30
- webhookUrl: '',
31
- })
32
-
33
- expect(test).toBeInstanceOf(Err)
34
- })
35
- })
1
+ // import { describe, expect, it } from 'vitest'
2
+ // import { chat, useChat } from '@stacksjs/notifications'
3
+ // import { Err } from '@stacksjs/types'
4
+ //
5
+ // describe('Slack Test', () => {
6
+ // it('should send chat', async () => {
7
+ // const notification = chat.slack
8
+ // const test = await notification.send({
9
+ // content: 'Test Slack Message!',
10
+ // webhookUrl: 'https://hooks.slack.com/services/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',
11
+ // })
12
+ //
13
+ // expect(test).toBeDefined()
14
+ // })
15
+ //
16
+ // it('should send chat using useChat', async () => {
17
+ // const notification = useChat('slack')
18
+ // const test = await notification.send({
19
+ // content: 'Test Slack Message!',
20
+ // webhookUrl: 'https://hooks.slack.com/services/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',
21
+ // })
22
+ //
23
+ // expect(test).toBeDefined()
24
+ // })
25
+ //
26
+ // it('should not send chat if webhook is empty', async () => {
27
+ // const notification = chat.slack
28
+ // const test = await notification.send({
29
+ // content: 'Test Slack Message!',
30
+ // webhookUrl: '',
31
+ // })
32
+ //
33
+ // expect(test).toBeInstanceOf(Err)
34
+ // })
35
+ // })