Skip to content

Commit 3a05f07

Browse files
committed
chore: wip
1 parent f0df8c9 commit 3a05f07

File tree

5 files changed

+32
-13
lines changed

5 files changed

+32
-13
lines changed

.stacks/core/actions/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"@stacksjs/cli": "workspace:*",
4949
"@stacksjs/config": "workspace:*",
5050
"@stacksjs/database": "workspace:*",
51+
"@stacksjs/error-handling": "workspace:*",
5152
"@stacksjs/logging": "workspace:*",
5253
"@stacksjs/pages": "workspace:*",
5354
"@stacksjs/path": "workspace:*",
@@ -60,9 +61,12 @@
6061
},
6162
"dependencies": {
6263
"@stacksjs/strings": "workspace:*",
63-
"esno": "^0.16.3"
64+
"esno": "^0.16.3",
65+
"fast-glob": "^3.2.12",
66+
"fs-extra": "^11.1.1"
6467
},
6568
"devDependencies": {
69+
"@stacksjs/types": "workspace:*",
6670
"@stacksjs/development": "workspace:*"
6771
}
6872
}

.stacks/core/pages/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
"prepublishOnly": "pnpm run build",
3838
"typecheck": "npx tsc --noEmit"
3939
},
40+
"peerDependencies": {
41+
"@stacksjs/config": "workspace:*"
42+
},
4043
"dependencies": {
4144
"@stacksjs/collections": "workspace:*"
4245
},

.stacks/core/pages/src/index.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
import { page as config } from '@stacksjs/config'
2-
import fs from 'fs-extra'
1+
// import { page as config } from '@stacksjs/config'
2+
// import fs from 'fs-extra'
33

44
function generateSettings() {
5-
config.onboarding.pages.each((page: string) => {
6-
fs.appendFile(`${config.path}/${page}.vue`)
7-
})
5+
// config.onboarding.pages.each((page: string) => {
6+
// fs.appendFile(`${config.path}/${page}.vue`)
7+
// })
88
}
99

1010
function generateOnboarding() {
11-
config.onboarding.pages.each((page: string) => {
12-
fs.appendFile(`${config.path}/${page}.vue`)
13-
})
11+
// config.onboarding.pages.each((page: string) => {
12+
// fs.appendFile(`${config.path}/${page}.vue`)
13+
// })
1414
}
1515

1616
export {

.stacks/core/ui/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import transformerCompileClass from '@unocss/transformer-compile-class'
44
import * as UiEngine from 'vue'
55
import { computed, ref } from 'vue'
66
import * as Store from 'pinia'
7-
import options from '../../../../config/ui'
7+
import { ui as options } from '@stacksjs/config'
88
import config from './unocss'
99

1010
export {

pnpm-lock.yaml

Lines changed: 15 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)