stacks 0.52.8 → 0.52.9

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 (63) hide show
  1. package/core/actions/package.json +1 -1
  2. package/core/actions/src/helpers/package-json.ts +6 -4
  3. package/core/actions/src/make.ts +19 -18
  4. package/core/actions/src/release.ts +3 -5
  5. package/core/ai/package.json +1 -1
  6. package/core/alias/package.json +1 -1
  7. package/core/analytics/package.json +1 -1
  8. package/core/arrays/package.json +1 -1
  9. package/core/auth/package.json +1 -1
  10. package/core/buddy/package.json +1 -1
  11. package/core/build/package.json +1 -1
  12. package/core/cache/package.json +1 -1
  13. package/core/chat/package.json +1 -1
  14. package/core/cli/package.json +1 -1
  15. package/core/cloud/package.json +1 -1
  16. package/core/collections/package.json +1 -1
  17. package/core/config/package.json +1 -1
  18. package/core/database/package.json +1 -1
  19. package/core/datetime/package.json +1 -1
  20. package/core/desktop/package.json +1 -1
  21. package/core/development/package.json +1 -1
  22. package/core/docs/package.json +1 -1
  23. package/core/domains/package.json +1 -1
  24. package/core/email/package.json +1 -1
  25. package/core/error-handling/package.json +1 -1
  26. package/core/events/package.json +1 -1
  27. package/core/faker/package.json +1 -1
  28. package/core/git/package.json +1 -1
  29. package/core/health/package.json +1 -1
  30. package/core/lint/package.json +1 -1
  31. package/core/logging/package.json +1 -1
  32. package/core/modules/package.json +1 -1
  33. package/core/notifications/package.json +1 -1
  34. package/core/objects/package.json +1 -1
  35. package/core/orm/package.json +1 -1
  36. package/core/pages/package.json +1 -1
  37. package/core/path/package.json +1 -1
  38. package/core/path/src/index.ts +2 -11
  39. package/core/payments/package.json +1 -1
  40. package/core/push/package.json +1 -1
  41. package/core/query-builder/package.json +1 -1
  42. package/core/queue/package.json +1 -1
  43. package/core/realtime/package.json +1 -1
  44. package/core/router/package.json +1 -1
  45. package/core/scheduler/package.json +1 -1
  46. package/core/search-engine/package.json +1 -1
  47. package/core/search-engine/src/index.ts +2 -2
  48. package/core/security/package.json +1 -1
  49. package/core/server/package.json +1 -1
  50. package/core/signals/package.json +1 -1
  51. package/core/slug/package.json +1 -1
  52. package/core/sms/package.json +1 -1
  53. package/core/storage/package.json +1 -1
  54. package/core/strings/package.json +1 -1
  55. package/core/testing/package.json +1 -1
  56. package/core/tinker/package.json +1 -1
  57. package/core/types/package.json +1 -1
  58. package/core/types/src/cli.ts +3 -3
  59. package/core/ui/package.json +1 -1
  60. package/core/utils/package.json +1 -1
  61. package/core/utils/src/helpers.ts +1 -1
  62. package/core/validation/package.json +1 -1
  63. package/package.json +91 -91
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/actions",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks actions.",
7
7
  "author": "Chris Breuer",
@@ -3,7 +3,9 @@ import { writeTextFile } from '@stacksjs/storage'
3
3
  import { packageJsonPath } from '@stacksjs/path'
4
4
  import { library, packageManager } from '@stacksjs/config'
5
5
 
6
- export async function generatePackageJson(type: 'vue-components' | 'web-components' | 'functions') {
6
+ type PackageJsonType = 'vue-components' | 'web-components' | 'functions'
7
+
8
+ export async function generatePackageJson(type: PackageJsonType) {
7
9
  let name, description, directory, keywords, config, prettyName
8
10
 
9
11
  if (type === 'vue-components') {
@@ -39,7 +41,7 @@ export async function generatePackageJson(type: 'vue-components' | 'web-componen
39
41
  "name": "${name}",
40
42
  "type": "module",
41
43
  "version": "",
42
- "packageManager": "${packageManager}",
44
+ "packageManager": "${await packageManager()}",
43
45
  "description": "${description}",
44
46
  "author": "${library.author}",
45
47
  "license": "MIT",
@@ -86,9 +88,9 @@ export async function generatePackageJson(type: 'vue-components' | 'web-componen
86
88
  else if (type === 'functions')
87
89
  prettyName = 'Function Library'
88
90
 
89
- log.success(`Created the ${prettyName} package.json file.`)
91
+ log.success(`Created the ${prettyName} package.json file`)
90
92
  }
91
93
  catch (err) {
92
- log.error(`There was an error creating the ${prettyName} package.json.`, err)
94
+ log.error(`There was an error creating the ${prettyName} package.json`, err)
93
95
  }
94
96
  }
@@ -19,8 +19,8 @@ export async function invoke(options: MakeOptions) {
19
19
  if (options.language)
20
20
  await language(options)
21
21
 
22
- if (options.migration)
23
- await migration(options)
22
+ // if (options.migration)
23
+ // await migration(options)
24
24
 
25
25
  if (options.notification)
26
26
  await notification(options)
@@ -46,10 +46,10 @@ export async function component(options: MakeOptions) {
46
46
  const name = options.name
47
47
  log.info('Creating your component...')
48
48
  await createComponent(options)
49
- log.success(`Created the ${italic(name)} component.`)
49
+ log.success(`Created the ${italic(name)} component`)
50
50
  }
51
51
  catch (error) {
52
- log.error('There was an error creating your component.', error)
52
+ log.error('There was an error creating your component', error)
53
53
  process.exit()
54
54
  }
55
55
  }
@@ -77,10 +77,10 @@ export async function database(options: MakeOptions) {
77
77
  const name = options.name
78
78
  log.info(`Creating your ${italic(name)} database...`)
79
79
  await createDatabase(options)
80
- log.success(`Created the ${italic(name)} database.`)
80
+ log.success(`Created the ${italic(name)} database`)
81
81
  }
82
82
  catch (error) {
83
- log.error('There was an error creating your database.', error)
83
+ log.error('There was an error creating your database', error)
84
84
  process.exit()
85
85
  }
86
86
  }
@@ -95,10 +95,10 @@ export async function factory(options: MakeOptions) {
95
95
  const name = options.name
96
96
  log.info(`Creating your ${italic(name)} factory...`)
97
97
  await createDatabase(options)
98
- log.success(`Created the ${italic(name)} factory.`)
98
+ log.success(`Created the ${italic(name)} factory`)
99
99
  }
100
100
  catch (error) {
101
- log.error('There was an error creating your factory.', error)
101
+ log.error('There was an error creating your factory', error)
102
102
  process.exit()
103
103
  }
104
104
  }
@@ -113,10 +113,10 @@ export async function notification(options: MakeOptions) {
113
113
  const name = options.name
114
114
  log.info(`Creating your ${italic(name)} notification...`)
115
115
  await createNotification(options)
116
- log.success(`Created the ${italic(name)} notification.`)
116
+ log.success(`Created the ${italic(name)} notification`)
117
117
  }
118
118
  catch (error) {
119
- log.error('There was an error creating your notification.', error)
119
+ log.error('There was an error creating your notification', error)
120
120
  process.exit()
121
121
  }
122
122
  }
@@ -126,10 +126,10 @@ export async function page(options: MakeOptions) {
126
126
  const name = options.name
127
127
  log.info('Creating your page...')
128
128
  createPage(options)
129
- log.success(`Created the ${name} page.`)
129
+ log.success(`Created the ${name} page`)
130
130
  }
131
131
  catch (error) {
132
- log.error('There was an error creating your page.', error)
132
+ log.error('There was an error creating your page', error)
133
133
  process.exit()
134
134
  }
135
135
  }
@@ -158,10 +158,10 @@ export async function fx(options: MakeOptions) {
158
158
  const name = options.name
159
159
  log.info('Creating your function...')
160
160
  await createFunction(options)
161
- log.success(`Created the ${name} function.`)
161
+ log.success(`Created the ${name} function`)
162
162
  }
163
163
  catch (error) {
164
- log.error('There was an error creating your function.', error)
164
+ log.error('There was an error creating your function', error)
165
165
  process.exit()
166
166
  }
167
167
  }
@@ -191,7 +191,7 @@ export async function language(options: MakeOptions) {
191
191
  const name = options.name
192
192
  log.info('Creating your translation file...')
193
193
  createLanguage(options)
194
- log.success(`Created the ${name} translation file.`)
194
+ log.success(`Created the ${name} translation file`)
195
195
  }
196
196
  catch (error) {
197
197
  log.error('There was an error creating your language.', error)
@@ -220,7 +220,7 @@ export async function stack(options: MakeOptions) {
220
220
  log.info(`cd ${path} && pnpm install`)
221
221
  }
222
222
  catch (error) {
223
- log.error('There was an error creating your stack.', error)
223
+ log.error('There was an error creating your stack', error)
224
224
  process.exit()
225
225
  }
226
226
  }
@@ -263,7 +263,8 @@ function send(): ${importOption} {
263
263
 
264
264
  export async function createMigration(options: MakeOptions) {
265
265
  const optionName = options.name
266
- const table = options.tableName
266
+ // const table = options.tableName
267
+ const table = 'dummy-name'
267
268
  const name = optionName[0].toUpperCase() + optionName.slice(1)
268
269
  const path = frameworkPath(`database/migrations/${name}.ts`)
269
270
 
@@ -294,7 +295,7 @@ export async function createModel(options: MakeOptions) {
294
295
  try {
295
296
  await writeTextFile({
296
297
  path: `${path}`,
297
- data: `import { faker } from '../../.stacks/core/faker/src' // stacks/faker or @stacksjs/faker
298
+ data: `import { faker } from '../../.stacks/core/faker/src' // stacks/faker or
298
299
  import { validate } from '../../.stacks/core/validation/src' // stacks/validate or @stacksjs/validate
299
300
  import type { Model } from '../../.stacks/core/types/src' // stacks/types or @stacksjs/types
300
301
 
@@ -3,13 +3,11 @@ import { frameworkPath } from '@stacksjs/path'
3
3
  import { runActions } from '@stacksjs/actions'
4
4
  import { Action } from '@stacksjs/types'
5
5
 
6
- // import { log } from '@stacksjs/cli'
7
-
8
6
  await runActions([
9
- // Action.GeneratePackageJsons, // generate the package.json's for each package
10
- // Action.LintFix, // ensure there are no lint errors
7
+ Action.GeneratePackageJsons, // generate the package.json's for each package
8
+ Action.LintFix, // ensure there are no lint errors
11
9
  // Action.Test, // run the tests
12
- Action.Bump, // bump the versions, create the git (version) tag, generate the changelog, commit & push the changes
10
+ Action.Bump, // bump the versions, create the git tag, generate the changelog, commit & push the changes
13
11
  ], { verbose: true, cwd: frameworkPath(), shell: true }) // debug mode needs to be enabled to see the output due to the interactive prompts
14
12
 
15
13
  // log.success('Successfully released the Stacks framework')
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/ai",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "Stacks Artificial Intelligence.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/alias",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks aliases.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/analytics",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "Stacks Analytics. Privacy-friendly.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/arrays",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks array utilities.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/auth",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "A more simplistic way to authenticate.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/buddy",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "Meet Buddy. The Stacks runtime.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/build",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks framework build tools and configurations.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/cache",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks way of caching.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/chat",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
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.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The simple way to create beautiful CLIs.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/cloud",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
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.8",
4
+ "version": "0.52.9",
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.8",
4
+ "version": "0.52.9",
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.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks database integration.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/datetime",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
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.8",
4
+ "version": "0.52.9",
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.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks development dependencies.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/docs",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks way to document.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/domains",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
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.8",
4
+ "version": "0.52.9",
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",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/error-handling",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "Type safe error handling.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/events",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
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.8",
4
+ "version": "0.52.9",
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.8",
4
+ "version": "0.52.9",
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.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks Health services.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/lint",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks way to lint.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/logging",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks logging system.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/modules",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
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.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks notifications integration.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/objects",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks objects.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/orm",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks ORM integration",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/pages",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks Pages engine.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/path",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks path.",
7
7
  "author": "Chris Breuer",
@@ -258,19 +258,10 @@ export function paymentsPath(path?: string) {
258
258
  export function projectPath(filePath = '') {
259
259
  let path = process.cwd()
260
260
 
261
- // workaround: simple way to determine the project path
262
- if (path.includes('.stacks'))
261
+ // simple way to determine the project path
262
+ while (path.includes('.stacks'))
263
263
  path = resolve(path, '..')
264
264
 
265
- if (path.includes('.stacks'))
266
- path = resolve(path, '..')
267
-
268
- if (path.includes('.stacks'))
269
- path = resolve(path, '..')
270
-
271
- if (!path.includes('.stacks'))
272
- path = resolve(path, '.')
273
-
274
265
  return resolve(path, filePath)
275
266
  }
276
267
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/payments",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks payments package. Currently supporting Stripe.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/push",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks Push integration",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/query-builder",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks Query Builder integration",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/queue",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks Queue system.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/realtime",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks realtime integration.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/router",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks framework router.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/scheduler",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks scheduler.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/search-engine",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks search engine integrations.",
7
7
  "author": "Chris Breuer",
@@ -2,7 +2,7 @@ import { searchEngine } from '@stacksjs/config'
2
2
 
3
3
  // import type { Ref } from '@stacksjs/types'
4
4
  import type { UiEngine } from '@stacksjs/ui'
5
- import { client as meilisearch, search } from './drivers/meilisearch'
5
+ import { client as meilisearch } from './drivers/meilisearch'
6
6
  import { determineState } from './helpers'
7
7
 
8
8
  const table = (useStorage('table', determineState()).value)
@@ -64,4 +64,4 @@ export function calculatePagination() {
64
64
  }
65
65
 
66
66
  // it needs these exports
67
- // currentPage, filterName, filters, goToNextPage, goToPage, goToPrevPage, hits, index, lastPageNumber, perPage, query, results, search, searchFilters, searchParams, setTotalHits, sort, sorts, totalPages
67
+ // currentPage, filterName, filters, goToNextPage, goToPage, goToPrevPage, hits, index, lastPageNumber, perPage, query, results, search, searchFilters, searchParams, setTotalHits, sort, sorts, totalPages
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/security",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks framework security.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/server",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "Local development and production-ready.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/signals",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks signals integration, based on Maverick.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/slug",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks slug functionality.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/sms",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks SMS integration. Painlessly create & manage your inboxes, templates, and send sms.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/storage",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks file system.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/strings",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks string utilities.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/testing",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks way of testing.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/tinker",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks way to tinker.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/types",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks framework types.",
7
7
  "author": "Chris Breuer",
@@ -275,9 +275,9 @@ export const enum Action {
275
275
  DevDocs = 'dev/docs', // wip
276
276
  Deploy = 'deploy', // wip
277
277
  Fresh = 'fresh', // wip
278
- GeneratePackageJsons = 'generate-package-jsons', // wip
279
- GenerateSettings = 'generate-settings',
280
- GenerateOnboarding = 'generate-onboarding',
278
+ GeneratePackageJsons = 'generate/package-jsons', //
279
+ GenerateSettings = 'generate-settings', // wip
280
+ GenerateOnboarding = 'generate-onboarding', // wip
281
281
  Inspire = 'inspire', // wip
282
282
  KeyGenerate = 'key-generate', // wip
283
283
  MakeNotification = 'make-notification', // wip
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/ui",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks atomic UI engine, powered by UnoCSS.",
7
7
  "author": "Chris Breuer",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/utils",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks helper functions.",
7
7
  "author": "Chris Breuer",
@@ -100,7 +100,7 @@ export async function runNpmScript(script: NpmScript, options?: CliOptions): Pro
100
100
  if (isManifest(manifest) && hasScript(manifest, script)) // simple, yet effective check to see if the script exists
101
101
  return await runCommand(`pnpm run ${script}`, options)
102
102
 
103
- log.error(`The specified npm script "${script}" does not exist in the package.json file.`)
103
+ log.error(`The specified npm script "${script}" does not exist in the package.json file`)
104
104
  process.exit()
105
105
  }
106
106
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/validation",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks Validation methods.",
7
7
  "author": "Chris Breuer",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stacks",
3
3
  "type": "module",
4
- "version": "0.52.8",
4
+ "version": "0.52.9",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks framework.",
7
7
  "author": "Chris Breuer",
@@ -62,98 +62,98 @@
62
62
  ],
63
63
  "web-types": "./web-types.json",
64
64
  "peerDependencies": {
65
- "@stacksjs/actions": "0.52.8",
66
- "@stacksjs/ai": "0.52.8",
67
- "@stacksjs/alias": "0.52.8",
68
- "@stacksjs/arrays": "0.52.8",
69
- "@stacksjs/auth": "0.52.8",
70
- "@stacksjs/buddy": "0.52.8",
71
- "@stacksjs/build": "0.52.8",
72
- "@stacksjs/cache": "0.52.8",
73
- "@stacksjs/cli": "0.52.8",
74
- "@stacksjs/cloud": "0.52.8",
75
- "@stacksjs/collections": "0.52.8",
76
- "@stacksjs/config": "0.52.8",
77
- "@stacksjs/database": "0.52.8",
78
- "@stacksjs/desktop": "0.52.8",
79
- "@stacksjs/development": "0.52.8",
80
- "@stacksjs/docs": "0.52.8",
81
- "@stacksjs/domains": "0.52.8",
82
- "@stacksjs/email": "0.52.8",
83
- "@stacksjs/error-handling": "0.52.8",
84
- "@stacksjs/events": "0.52.8",
85
- "@stacksjs/faker": "0.52.8",
86
- "@stacksjs/git": "0.52.8",
87
- "@stacksjs/health": "0.52.8",
88
- "@stacksjs/lint": "0.52.8",
89
- "@stacksjs/logging": "0.52.8",
90
- "@stacksjs/modules": "0.52.8",
91
- "@stacksjs/notifications": "0.52.8",
92
- "@stacksjs/objects": "0.52.8",
93
- "@stacksjs/orm": "0.52.8",
94
- "@stacksjs/pages": "0.52.8",
95
- "@stacksjs/path": "0.52.8",
96
- "@stacksjs/payments": "0.52.8",
97
- "@stacksjs/realtime": "0.52.8",
98
- "@stacksjs/router": "0.52.8",
99
- "@stacksjs/search-engine": "0.52.8",
100
- "@stacksjs/security": "0.52.8",
101
- "@stacksjs/server": "0.52.8",
102
- "@stacksjs/signals": "0.52.8",
103
- "@stacksjs/storage": "0.52.8",
104
- "@stacksjs/strings": "0.52.8",
105
- "@stacksjs/testing": "0.52.8",
106
- "@stacksjs/types": "0.52.8",
107
- "@stacksjs/ui": "0.52.8",
108
- "@stacksjs/utils": "0.52.8",
109
- "@stacksjs/validation": "0.52.8"
65
+ "@stacksjs/actions": "0.52.9",
66
+ "@stacksjs/ai": "0.52.9",
67
+ "@stacksjs/alias": "0.52.9",
68
+ "@stacksjs/arrays": "0.52.9",
69
+ "@stacksjs/auth": "0.52.9",
70
+ "@stacksjs/buddy": "0.52.9",
71
+ "@stacksjs/build": "0.52.9",
72
+ "@stacksjs/cache": "0.52.9",
73
+ "@stacksjs/cli": "0.52.9",
74
+ "@stacksjs/cloud": "0.52.9",
75
+ "@stacksjs/collections": "0.52.9",
76
+ "@stacksjs/config": "0.52.9",
77
+ "@stacksjs/database": "0.52.9",
78
+ "@stacksjs/desktop": "0.52.9",
79
+ "@stacksjs/development": "0.52.9",
80
+ "@stacksjs/docs": "0.52.9",
81
+ "@stacksjs/domains": "0.52.9",
82
+ "@stacksjs/email": "0.52.9",
83
+ "@stacksjs/error-handling": "0.52.9",
84
+ "@stacksjs/events": "0.52.9",
85
+ "@stacksjs/faker": "0.52.9",
86
+ "@stacksjs/git": "0.52.9",
87
+ "@stacksjs/health": "0.52.9",
88
+ "@stacksjs/lint": "0.52.9",
89
+ "@stacksjs/logging": "0.52.9",
90
+ "@stacksjs/modules": "0.52.9",
91
+ "@stacksjs/notifications": "0.52.9",
92
+ "@stacksjs/objects": "0.52.9",
93
+ "@stacksjs/orm": "0.52.9",
94
+ "@stacksjs/pages": "0.52.9",
95
+ "@stacksjs/path": "0.52.9",
96
+ "@stacksjs/payments": "0.52.9",
97
+ "@stacksjs/realtime": "0.52.9",
98
+ "@stacksjs/router": "0.52.9",
99
+ "@stacksjs/search-engine": "0.52.9",
100
+ "@stacksjs/security": "0.52.9",
101
+ "@stacksjs/server": "0.52.9",
102
+ "@stacksjs/signals": "0.52.9",
103
+ "@stacksjs/storage": "0.52.9",
104
+ "@stacksjs/strings": "0.52.9",
105
+ "@stacksjs/testing": "0.52.9",
106
+ "@stacksjs/types": "0.52.9",
107
+ "@stacksjs/ui": "0.52.9",
108
+ "@stacksjs/utils": "0.52.9",
109
+ "@stacksjs/validation": "0.52.9"
110
110
  },
111
111
  "dependencies": {
112
- "@stacksjs/actions": "0.52.8",
113
- "@stacksjs/ai": "0.52.8",
114
- "@stacksjs/alias": "0.52.8",
115
- "@stacksjs/arrays": "0.52.8",
116
- "@stacksjs/auth": "0.52.8",
117
- "@stacksjs/buddy": "0.52.8",
118
- "@stacksjs/build": "0.52.8",
119
- "@stacksjs/cache": "0.52.8",
120
- "@stacksjs/cli": "0.52.8",
121
- "@stacksjs/cloud": "0.52.8",
122
- "@stacksjs/collections": "0.52.8",
123
- "@stacksjs/config": "0.52.8",
124
- "@stacksjs/database": "0.52.8",
125
- "@stacksjs/desktop": "0.52.8",
126
- "@stacksjs/development": "0.52.8",
127
- "@stacksjs/docs": "0.52.8",
128
- "@stacksjs/domains": "0.52.8",
129
- "@stacksjs/email": "0.52.8",
130
- "@stacksjs/error-handling": "0.52.8",
131
- "@stacksjs/events": "0.52.8",
132
- "@stacksjs/faker": "0.52.8",
133
- "@stacksjs/git": "0.52.8",
134
- "@stacksjs/health": "0.52.8",
135
- "@stacksjs/lint": "0.52.8",
136
- "@stacksjs/logging": "0.52.8",
137
- "@stacksjs/modules": "0.52.8",
138
- "@stacksjs/notifications": "0.52.8",
139
- "@stacksjs/objects": "0.52.8",
140
- "@stacksjs/orm": "0.52.8",
141
- "@stacksjs/pages": "0.52.8",
142
- "@stacksjs/path": "0.52.8",
143
- "@stacksjs/payments": "0.52.8",
144
- "@stacksjs/realtime": "0.52.8",
145
- "@stacksjs/router": "0.52.8",
146
- "@stacksjs/search-engine": "0.52.8",
147
- "@stacksjs/security": "0.52.8",
148
- "@stacksjs/server": "0.52.8",
149
- "@stacksjs/signals": "0.52.8",
150
- "@stacksjs/storage": "0.52.8",
151
- "@stacksjs/strings": "0.52.8",
152
- "@stacksjs/testing": "0.52.8",
153
- "@stacksjs/types": "0.52.8",
154
- "@stacksjs/ui": "0.52.8",
155
- "@stacksjs/utils": "0.52.8",
156
- "@stacksjs/validation": "0.52.8"
112
+ "@stacksjs/actions": "0.52.9",
113
+ "@stacksjs/ai": "0.52.9",
114
+ "@stacksjs/alias": "0.52.9",
115
+ "@stacksjs/arrays": "0.52.9",
116
+ "@stacksjs/auth": "0.52.9",
117
+ "@stacksjs/buddy": "0.52.9",
118
+ "@stacksjs/build": "0.52.9",
119
+ "@stacksjs/cache": "0.52.9",
120
+ "@stacksjs/cli": "0.52.9",
121
+ "@stacksjs/cloud": "0.52.9",
122
+ "@stacksjs/collections": "0.52.9",
123
+ "@stacksjs/config": "0.52.9",
124
+ "@stacksjs/database": "0.52.9",
125
+ "@stacksjs/desktop": "0.52.9",
126
+ "@stacksjs/development": "0.52.9",
127
+ "@stacksjs/docs": "0.52.9",
128
+ "@stacksjs/domains": "0.52.9",
129
+ "@stacksjs/email": "0.52.9",
130
+ "@stacksjs/error-handling": "0.52.9",
131
+ "@stacksjs/events": "0.52.9",
132
+ "@stacksjs/faker": "0.52.9",
133
+ "@stacksjs/git": "0.52.9",
134
+ "@stacksjs/health": "0.52.9",
135
+ "@stacksjs/lint": "0.52.9",
136
+ "@stacksjs/logging": "0.52.9",
137
+ "@stacksjs/modules": "0.52.9",
138
+ "@stacksjs/notifications": "0.52.9",
139
+ "@stacksjs/objects": "0.52.9",
140
+ "@stacksjs/orm": "0.52.9",
141
+ "@stacksjs/pages": "0.52.9",
142
+ "@stacksjs/path": "0.52.9",
143
+ "@stacksjs/payments": "0.52.9",
144
+ "@stacksjs/realtime": "0.52.9",
145
+ "@stacksjs/router": "0.52.9",
146
+ "@stacksjs/search-engine": "0.52.9",
147
+ "@stacksjs/security": "0.52.9",
148
+ "@stacksjs/server": "0.52.9",
149
+ "@stacksjs/signals": "0.52.9",
150
+ "@stacksjs/storage": "0.52.9",
151
+ "@stacksjs/strings": "0.52.9",
152
+ "@stacksjs/testing": "0.52.9",
153
+ "@stacksjs/types": "0.52.9",
154
+ "@stacksjs/ui": "0.52.9",
155
+ "@stacksjs/utils": "0.52.9",
156
+ "@stacksjs/validation": "0.52.9"
157
157
  },
158
158
  "scripts": {
159
159
  "buddy": "tsx ./core/buddy/src/cli.ts",