Skip to content

Commit

Permalink
release: v0.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed May 13, 2022
1 parent 8c29bf6 commit 12e5480
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@valaxyjs/monorepo",
"version": "0.3.3",
"version": "0.3.4",
"private": true,
"packageManager": "[email protected]",
"description": "📄 Vite & Vue powered static blog generator.",
Expand All @@ -27,7 +27,7 @@
"dev": "pnpm -r --parallel run dev",
"lint": "eslint .",
"prepublishOnly": "npm run build",
"release": "esmo scripts/release.ts",
"release": "esno scripts/release.ts",
"start": "node packages/valaxy/bin/valaxy.js dev",
"typecheck": "pnpm -r --filter=./packages/** --parallel run typecheck",
"test:space": "export NODE_OPTIONS='--inspect --max-old-space-size=2048' && pnpm -C demo/yun run build:ssg"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-valaxy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-valaxy",
"version": "0.3.3",
"version": "0.3.4",
"description": "Create Starter Template for Valaxy",
"author": {
"email": "[email protected]",
Expand Down
4 changes: 2 additions & 2 deletions packages/create-valaxy/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"serve": "vite preview"
},
"dependencies": {
"valaxy": "0.3.3",
"valaxy-theme-yun": "0.3.3"
"valaxy": "0.3.4",
"valaxy-theme-yun": "0.3.4"
}
}
2 changes: 1 addition & 1 deletion packages/valaxy-theme-yun/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "valaxy-theme-yun",
"version": "0.3.3",
"version": "0.3.4",
"author": {
"email": "[email protected]",
"name": "YunYouJun",
Expand Down
2 changes: 1 addition & 1 deletion packages/valaxy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "valaxy",
"version": "0.3.3",
"version": "0.3.4",
"description": "📄 Vite & Vue powered static blog generator.",
"keywords": [
"vite",
Expand Down
6 changes: 3 additions & 3 deletions scripts/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import consola from 'consola'
import { $ } from 'zx'

import minimist from 'minimist'
import { version } from '../package.json'
import pkg from '../package.json'
import { getVersionChoices, packages, updateTemplateVersions, updateVersion } from './utils'

const args = minimist(process.argv.slice(2))
Expand All @@ -19,15 +19,15 @@ async function main() {
type: 'select',
name: 'release',
message: 'Select release type',
choices: getVersionChoices(version),
choices: getVersionChoices(pkg.version),
})

if (release === 'custom') {
const res: { version: string } = await prompts({
type: 'text',
name: 'version',
message: 'Input custom version',
initial: version,
initial: pkg.version,
})
targetVersion = res.version
}
Expand Down

0 comments on commit 12e5480

Please sign in to comment.