Skip to content

Commit ae3b7f2

Browse files
committed
chore: Add bump and start 1.8.0
1 parent de67f1f commit ae3b7f2

File tree

5 files changed

+26
-4
lines changed

5 files changed

+26
-4
lines changed

packages/axios/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pinia-orm/axios",
3-
"version": "1.7.0",
3+
"version": "1.8.0",
44
"description": "Axios plugin for pinia-orm",
55
"bugs": {
66
"url": "https://github.com/CodeDredd/pinia-orm/issues"

packages/normalizr/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pinia-orm/normalizr",
3-
"version": "1.7.0",
3+
"version": "1.8.0",
44
"description": "Normalizes JSON according to schema for Redux and Flux applications",
55
"bugs": {
66
"url": "https://github.com/CodeDredd/pinia-orm/issues"

packages/nuxt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@pinia-orm/nuxt",
33
"description": "Nuxt module for pinia-orm",
4-
"version": "1.7.0",
4+
"version": "1.8.0",
55
"license": "MIT",
66
"author": {
77
"name": "Gregor Becker",

packages/pinia-orm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pinia-orm",
3-
"version": "1.7.2",
3+
"version": "1.8.0",
44
"description": "The Pinia plugin to enable Object-Relational Mapping access to the Pinia Store.",
55
"keywords": [
66
"vue",

scripts/bump.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import { consola } from 'consola'
2+
import { loadWorkspace } from './_utils'
3+
4+
async function main () {
5+
const workspace = await loadWorkspace(process.cwd())
6+
7+
const newVersion = process.argv[2]
8+
if (!newVersion) {
9+
throw new Error('Please provide version!')
10+
}
11+
12+
for (const pkg of workspace.packages.filter(p => !p.data.private)) {
13+
workspace.setVersion(pkg.data.name, newVersion!)
14+
}
15+
16+
await workspace.save()
17+
}
18+
19+
main().catch((err) => {
20+
consola.error(err)
21+
process.exit(1)
22+
})

0 commit comments

Comments
 (0)