@stacksjs/defaults 0.70.329 → 0.70.332

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.
@@ -15,7 +15,10 @@ describe('dashboard home composable', () => {
15
15
  })
16
16
 
17
17
  test('uses the guarded canonical home endpoint', () => {
18
- const source = readFileSync(resolve('storage/framework/defaults/functions/dashboard.ts'), 'utf8')
18
+ // Read next to this file, not from the working directory: the same path
19
+ // relative to cwd only exists when the suite is run from the framework
20
+ // root, and resolves to nothing from the package it lives in.
21
+ const source = readFileSync(resolve(import.meta.dir, 'dashboard.ts'), 'utf8')
19
22
 
20
23
  expect(source).toContain("dashboardApi<DashboardHomeResponse>('/api/dashboard/home')")
21
24
  expect(source).not.toContain('defaultStats')
@@ -2,7 +2,7 @@
2
2
  "publisher": "Stacks",
3
3
  "name": "vscode-stacks",
4
4
  "displayName": "Stacks",
5
- "version": "0.70.329",
5
+ "version": "0.70.332",
6
6
  "description": "A modern Stacks development environment.",
7
7
  "license": "MIT",
8
8
  "funding": "https://github.com/sponsors/chrisbbreuer",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/defaults",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.70.329",
5
+ "version": "0.70.332",
6
6
  "description": "The complete managed Stacks application scaffold, including runtime defaults, AI guidance, editor metadata, and npm-backed project support files.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",