Skip to content

Commit

Permalink
release: plugin-vue-jsx@1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed Dec 20, 2021
1 parent f2d9ae8 commit 30aee91
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions packages/plugin-vue-jsx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [1.3.3](https://github.com/vitejs/vite/compare/plugin-vue-jsx@1.3.2...plugin-vue-jsx@1.3.3) (2021-12-20)



## [1.3.2](https://github.com/vitejs/vite/compare/plugin-vue-jsx@1.3.1...plugin-vue-jsx@1.3.2) (2021-12-13)


Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-vue-jsx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vitejs/plugin-vue-jsx",
"version": "1.3.2",
"version": "1.3.3",
"license": "MIT",
"author": "Evan You",
"files": [
Expand Down
6 changes: 3 additions & 3 deletions scripts/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const versionIncrements: ReleaseType[] = [
]

const inc: (i: ReleaseType) => string = (i) =>
semver.inc(currentVersion, i, 'beta')
semver.inc(currentVersion, i, 'beta')!

type RunFn = (
bin: string,
Expand Down Expand Up @@ -75,7 +75,7 @@ async function main(): Promise<void> {
})
targetVersion = res.version
} else {
targetVersion = release.match(/\((.*)\)/)[1]
targetVersion = release.match(/\((.*)\)/)![1]
}
}

Expand Down Expand Up @@ -171,7 +171,7 @@ async function publishPackage(
stdio: 'pipe'
})
console.log(chalk.green(`Successfully published ${pkgName}@${version}`))
} catch (e) {
} catch (e: any) {
if (e.stderr.match(/previously published/)) {
console.log(chalk.red(`Skipping already published: ${pkgName}`))
} else {
Expand Down

0 comments on commit 30aee91

Please sign in to comment.