From 9ef9ddbe068f410206a67fba8a221fd2f1413d3c Mon Sep 17 00:00:00 2001 From: Reed Jones Date: Thu, 13 Feb 2020 09:57:14 -0400 Subject: [PATCH] js package bump - v0.1.0 --- packages/@phased/laravel-mix/package.json | 12 ++++++------ packages/@phased/phase/package.json | 12 ++++++------ .../routing/__tests__/code-gen.create-routes.test.js | 2 +- packages/@phased/routing/package.json | 2 +- packages/@phased/state/lib/index.ts | 2 +- packages/@phased/state/package.json | 4 ++-- packages/@phased/types/package.json | 2 +- packages/@phased/webpack-plugin/package.json | 8 ++++---- 8 files changed, 22 insertions(+), 22 deletions(-) diff --git a/packages/@phased/laravel-mix/package.json b/packages/@phased/laravel-mix/package.json index d2f9e8f..f87c5d1 100644 --- a/packages/@phased/laravel-mix/package.json +++ b/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 ", "homepage": "", @@ -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", @@ -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" } } diff --git a/packages/@phased/phase/package.json b/packages/@phased/phase/package.json index 6cc52c4..6f5ceda 100644 --- a/packages/@phased/phase/package.json +++ b/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 ", "homepage": "", @@ -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" } } diff --git a/packages/@phased/routing/__tests__/code-gen.create-routes.test.js b/packages/@phased/routing/__tests__/code-gen.create-routes.test.js index 5a7b0e8..ccf8dba 100644 --- a/packages/@phased/routing/__tests__/code-gen.create-routes.test.js +++ b/packages/@phased/routing/__tests__/code-gen.create-routes.test.js @@ -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], diff --git a/packages/@phased/routing/package.json b/packages/@phased/routing/package.json index c112e8c..07d1b59 100644 --- a/packages/@phased/routing/package.json +++ b/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 ", "homepage": "", diff --git a/packages/@phased/state/lib/index.ts b/packages/@phased/state/lib/index.ts index 2deca40..86dfc6d 100644 --- a/packages/@phased/state/lib/index.ts +++ b/packages/@phased/state/lib/index.ts @@ -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 } = INITIAL // merge incoming (store) options with window.__PHASE_STATE__ const mergedState = ( diff --git a/packages/@phased/state/package.json b/packages/@phased/state/package.json index eb8547f..9d3ab2b 100644 --- a/packages/@phased/state/package.json +++ b/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 ", "homepage": "", @@ -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" }, diff --git a/packages/@phased/types/package.json b/packages/@phased/types/package.json index ecf5a2a..89ae8b3 100644 --- a/packages/@phased/types/package.json +++ b/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 ", "homepage": "", diff --git a/packages/@phased/webpack-plugin/package.json b/packages/@phased/webpack-plugin/package.json index 4ac3b77..3f0f73c 100644 --- a/packages/@phased/webpack-plugin/package.json +++ b/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 ", "homepage": "", @@ -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", @@ -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" } }