Skip to content
This repository was archived by the owner on Jan 1, 2025. It is now read-only.

Commit 04e4111

Browse files
committed
chore: wip
1 parent 172d92c commit 04e4111

File tree

5 files changed

+80
-59
lines changed

5 files changed

+80
-59
lines changed

.stacks/artisan/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "artisan-init",
33
"type": "module",
4-
"version": "0.34.5",
4+
"version": "0.34.7",
55
"packageManager": "[email protected]",
66
"description": "Artisan core.",
77
"author": "Chris Breuer",

.stacks/artisan/src/scripts/release.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ import { runNpmScript } from './run-npm-script'
55
export async function release() {
66
consola.info('Releasing...')
77
await runNpmScript(NpmScript.Release)
8-
consola.success('Triggered Release workflow')
8+
consola.success('Triggered release workflow')
99
}

.stacks/artisan/src/scripts/update.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,7 @@ import { runNpmScript } from './run-npm-script'
1010
const { prompts } = Prompts
1111

1212
export async function stacks(options: any) {
13-
if (options.dependencies) {
14-
consola.info('Updating dependencies...')
15-
await runNpmScript(NpmScript.Update)
16-
consola.success('Updated dependencies.')
17-
}
18-
13+
// first, we need to update the framework, if updates available
1914
if (options.framework) {
2015
try {
2116
// check if the .stacks folder has any updates
@@ -60,6 +55,13 @@ export async function stacks(options: any) {
6055
consola.success('Framework updated.')
6156
}
6257

58+
// then, we need to update the project's & framework's dependencies, if updates available
59+
if (options.dependencies) {
60+
consola.info('Updating your dependencies...')
61+
await runNpmScript(NpmScript.Update)
62+
consola.success('Updated dependencies.')
63+
}
64+
6365
// TODO: also update CI files & configurations, and other files, possibly
6466
// ideally we want this to be smart enough to update only the files that have changed
6567

.stacks/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stacksjs/framework",
33
"type": "module",
4-
"version": "0.34.5",
4+
"version": "0.34.7",
55
"packageManager": "[email protected]",
66
"description": "The Stacks framework core.",
77
"author": "Chris Breuer",
@@ -109,16 +109,16 @@
109109
"@types/crypto-js": "^4.1.1",
110110
"@types/fs-extra": "^9.0.13",
111111
"@types/minimatch": "^5.1.2",
112-
"@types/node": "^18.8.0",
112+
"@types/node": "^18.8.3",
113113
"@types/prompts": "^2.4.1",
114114
"@unocss/preset-icons": "^0.45.26",
115115
"@unocss/transformer-compile-class": "^0.45.26",
116116
"@unocss/vite": "^0.45.26",
117117
"@vitejs/plugin-vue": "^3.1.2",
118-
"@vitest/coverage-istanbul": "^0.23.4",
118+
"@vitest/coverage-istanbul": "^0.24.0",
119119
"@vueuse/core": "^9.3.0",
120120
"@vueuse/shared": "^9.3.0",
121-
"artisan-init": "workspace:*",
121+
"artisan-init": "workspace:0.34.7",
122122
"bcryptjs": "^2.4.3",
123123
"bumpp": "^8.2.1",
124124
"cac": "^6.7.14",
@@ -155,9 +155,9 @@
155155
"vite": "^3.1.6",
156156
"vite-plugin-inspect": "^0.7.5",
157157
"vitepress": "1.0.0-alpha.19",
158-
"vitest": "^0.23.4",
158+
"vitest": "^0.24.0",
159159
"vue": "^3.2.40",
160-
"vue-tsc": "^0.40.13"
160+
"vue-tsc": "^1.0.0"
161161
},
162162
"pnpm": {
163163
"peerDependencyRules": {

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)