Skip to content

Commit 27a08dc

Browse files
committed
chore: wip
1 parent 3449072 commit 27a08dc

File tree

13 files changed

+9
-998
lines changed

13 files changed

+9
-998
lines changed

storage/framework/core/buddy/src/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { CAC } from '@stacksjs/cli'
1+
import type { CLI } from '@stacksjs/cli'
22
import process from 'node:process'
33
import { runAction } from '@stacksjs/actions'
44
import { cli, log } from '@stacksjs/cli'
@@ -90,7 +90,7 @@ async function main() {
9090

9191
await main()
9292

93-
async function dynamicImports(buddy: CAC) {
93+
async function dynamicImports(buddy: CLI) {
9494
// dynamically import and register commands from ./app/Commands/*
9595
const commandsDir = p.appPath('Commands')
9696
const commandFiles = fs.readdirSync(commandsDir).filter((file: string) => file.endsWith('.ts'))

storage/framework/core/buddy/src/commands/upgrade.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ export function upgrade(buddy: CLI): void {
1313
dependencies: 'Upgrade your dependencies (pantry.yaml & package.json)',
1414
bun: 'Upgrade Bun to the latest version',
1515
shell: 'Upgrade the to the latest shell integration (currently only supports Oh My Zsh)',
16-
binary:
17-
'Upgrade the `stacks` binary to the latest version. Please note, the binary is moved to the `~/.stacks/bin` directory',
16+
binary: 'Upgrade the `stacks` binary to the latest version. Please note, the binary is moved to the `~/.stacks/bin` directory',
1817
all: 'Upgrade Node, package manager, project dependencies, and framework',
1918
force: 'Overwrite possible local updates with remote framework updates',
2019
select: 'What are you trying to upgrade?',

storage/framework/core/cli/package.json

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@
5151
"prepublishOnly": "bun run build"
5252
},
5353
"devDependencies": {
54-
"@antfu/install-pkg": "^1.1.0",
55-
"@clack/core": "^0.5.0",
54+
"@stacksjs/clapp": "^0.2.0",
5655
"@stacksjs/collections": "workspace:*",
5756
"@stacksjs/config": "workspace:*",
5857
"@stacksjs/development": "workspace:*",
@@ -61,14 +60,6 @@
6160
"@stacksjs/path": "workspace:*",
6261
"@stacksjs/types": "workspace:*",
6362
"@stacksjs/utils": "workspace:*",
64-
"@stacksjs/validation": "workspace:*",
65-
"@types/prompts": "^2.4.9",
66-
"ansi-escapes": "^7.1.1",
67-
"cac": "^6.7.14",
68-
"consola": "^3.4.2",
69-
"kolorist": "^1.8.0",
70-
"ora": "^8.2.0",
71-
"prompts": "^2.4.2",
72-
"supports-hyperlinks": "^4.1.0"
63+
"@stacksjs/validation": "workspace:*"
7364
}
7465
}

0 commit comments

Comments
 (0)