File tree Expand file tree Collapse file tree 5 files changed +26
-4
lines changed Expand file tree Collapse file tree 5 files changed +26
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @pinia-orm/axios" ,
3
- "version" : " 1.7 .0" ,
3
+ "version" : " 1.8 .0" ,
4
4
"description" : " Axios plugin for pinia-orm" ,
5
5
"bugs" : {
6
6
"url" : " https://github.com/CodeDredd/pinia-orm/issues"
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @pinia-orm/normalizr" ,
3
- "version" : " 1.7 .0" ,
3
+ "version" : " 1.8 .0" ,
4
4
"description" : " Normalizes JSON according to schema for Redux and Flux applications" ,
5
5
"bugs" : {
6
6
"url" : " https://github.com/CodeDredd/pinia-orm/issues"
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @pinia-orm/nuxt" ,
3
3
"description" : " Nuxt module for pinia-orm" ,
4
- "version" : " 1.7 .0" ,
4
+ "version" : " 1.8 .0" ,
5
5
"license" : " MIT" ,
6
6
"author" : {
7
7
"name" : " Gregor Becker" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " pinia-orm" ,
3
- "version" : " 1.7.2 " ,
3
+ "version" : " 1.8.0 " ,
4
4
"description" : " The Pinia plugin to enable Object-Relational Mapping access to the Pinia Store." ,
5
5
"keywords" : [
6
6
" vue" ,
Original file line number Diff line number Diff line change
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
+ } )
You can’t perform that action at this time.
0 commit comments