Skip to content

Commit

Permalink
js package bump - v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
reed-jones committed Feb 13, 2020
1 parent f308b81 commit 9ef9ddb
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 deletions.
12 changes: 6 additions & 6 deletions packages/@phased/laravel-mix/package.json
@@ -1,6 +1,6 @@
{
"name": "@phased/laravel-mix",
"version": "0.0.4",
"version": "0.1.0",
"description": "Laravel Mix Plugin for Phased",
"author": "Reed Jones <reedjones@reedjones.com>",
"homepage": "",
Expand All @@ -25,7 +25,7 @@
"check": "tsc --noEmit --emitDeclarationOnly false"
},
"devDependencies": {
"@phased/types": "^0.0.4",
"@phased/types": "^0.1.0",
"@rollup/plugin-alias": "^3.0.0",
"@rollup/plugin-commonjs": "^11.0.1",
"@rollup/plugin-node-resolve": "^7.0.0",
Expand All @@ -39,12 +39,12 @@
"typescript": "^3.7.5"
},
"dependencies": {
"@phased/routing": "^0.0.4",
"@phased/webpack-plugin": "^0.0.4"
"@phased/routing": "^0.1.0",
"@phased/webpack-plugin": "^0.1.0"
},
"peerDependencies": {
"@phased/routing": "^0.0.4",
"@phased/webpack-plugin": "^0.0.4",
"@phased/routing": "^0.1.0",
"@phased/webpack-plugin": "^0.1.0",
"laravel-mix": "^5.0.1"
}
}
12 changes: 6 additions & 6 deletions packages/@phased/phase/package.json
@@ -1,6 +1,6 @@
{
"name": "@phased/phase",
"version": "0.0.4",
"version": "0.1.0",
"description": "Auto SPA configuration focused on Laravel apps",
"author": "Reed Jones <reedjones@reedjones.com>",
"homepage": "",
Expand All @@ -25,12 +25,12 @@
"check": "tsc --noEmit --emitDeclarationOnly false"
},
"dependencies": {
"@phased/state": "^0.0.4",
"@phased/routing": "^0.0.4",
"@phased/laravel-mix": "^0.0.4",
"@phased/webpack-plugin": "^0.0.4"
"@phased/state": "^0.1.0",
"@phased/routing": "^0.1.0",
"@phased/laravel-mix": "^0.1.0",
"@phased/webpack-plugin": "^0.1.0"
},
"devDependencies": {
"@phased/types": "^0.0.4"
"@phased/types": "^0.1.0"
}
}
Expand Up @@ -39,7 +39,7 @@ const phaseBeforeEnter = async (to, from, next) => {
// proceed to next page as usual
return next();
} catch (err) {
const status = err?.response?.status
const status = err && err.response && err.response.status
if (status && redirects[status]) {
return next({
name: redirects[status],
Expand Down
2 changes: 1 addition & 1 deletion packages/@phased/routing/package.json
@@ -1,6 +1,6 @@
{
"name": "@phased/routing",
"version": "0.0.4",
"version": "0.1.0",
"description": "Auto SPA configuration focused on Laravel apps",
"author": "Reed Jones <reedjones@reedjones.com>",
"homepage": "",
Expand Down
2 changes: 1 addition & 1 deletion packages/@phased/state/lib/index.ts
Expand Up @@ -27,7 +27,7 @@ export const hydrate = (vuexState: VuexStore, options: VuexcellentOptions = defa
if (Array.isArray(INITIAL) && !INITIAL.length) {
INITIAL = {}
}
let { mutations, actions, ...phaseState } = INITIAL
let { mutations, actions, ...phaseState } = <VuexStore>INITIAL

// merge incoming (store) options with window.__PHASE_STATE__
const mergedState = <VuexStore>(
Expand Down
4 changes: 2 additions & 2 deletions packages/@phased/state/package.json
@@ -1,6 +1,6 @@
{
"name": "@phased/state",
"version": "0.0.4",
"version": "0.1.0",
"description": "Vuex hydration and auto mutator for Laravel Apps",
"author": "Reed Jones <reedjones@reedjones.com>",
"homepage": "",
Expand All @@ -25,7 +25,7 @@
"check": "tsc --noEmit --emitDeclarationOnly false"
},
"devDependencies": {
"@phased/types": "^0.0.4",
"@phased/types": "^0.1.0",
"vue": "^2.6.11",
"vuex": "^3.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/@phased/types/package.json
@@ -1,6 +1,6 @@
{
"name": "@phased/types",
"version": "0.0.4",
"version": "0.1.0",
"description": "Typescript types for @phased packages",
"author": "Reed Jones <reedjones@reedjones.com>",
"homepage": "",
Expand Down
8 changes: 4 additions & 4 deletions packages/@phased/webpack-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@phased/webpack-plugin",
"version": "0.0.4",
"version": "0.1.0",
"description": "Webpack Route Generation Plugin for Phased",
"author": "Reed Jones <reedjones@reedjones.com>",
"homepage": "",
Expand All @@ -25,7 +25,7 @@
"types:check": "tsc --noEmit --emitDeclarationOnly false"
},
"devDependencies": {
"@phased/types": "^0.0.4",
"@phased/types": "^0.1.0",
"@rollup/plugin-alias": "^3.0.0",
"@rollup/plugin-commonjs": "^11.0.1",
"@rollup/plugin-node-resolve": "^7.0.0",
Expand All @@ -38,10 +38,10 @@
"typescript": "^3.7.5"
},
"dependencies": {
"@phased/routing": "^0.0.4"
"@phased/routing": "^0.1.0"
},
"peerDependencies": {
"@phased/routing": "^0.0.4",
"@phased/routing": "^0.1.0",
"webpack": "^4.41.5"
}
}

0 comments on commit 9ef9ddb

Please sign in to comment.