From ee7ad7741e14545553b6ac85e9c7d4d3d476b164 Mon Sep 17 00:00:00 2001 From: Dmitry Molotkov Date: Tue, 22 Jan 2019 10:34:19 +0300 Subject: [PATCH] fix(examples): fix deps on codesandbox (#4828) [skip ci] --- examples/async-component-injection/package.json | 3 ++- examples/async-data/package.json | 3 ++- examples/auth-jwt/package.json | 3 ++- examples/auth-routes/package.json | 3 ++- examples/axios/package.json | 3 ++- examples/cached-components/package.json | 3 ++- examples/coffeescript/package.json | 3 ++- examples/custom-build/package.json | 3 ++- examples/custom-layouts/package.json | 3 ++- examples/custom-loading/package.json | 3 ++- examples/custom-page-loading/package.json | 3 ++- examples/custom-port-host/package.json | 3 ++- examples/custom-routes/package.json | 3 ++- examples/custom-server/package.json | 3 ++- examples/dynamic-components/package.json | 3 ++- examples/dynamic-layouts/package.json | 3 ++- examples/global-css/package.json | 3 ++- examples/hello-world/package.json | 3 ++- examples/i18n/package.json | 3 ++- examples/jest-puppeteer/package.json | 3 ++- examples/jest-vtu-example/package.json | 3 ++- examples/jsx/package.json | 3 ++- examples/layout-transitions/package.json | 3 ++- examples/markdownit/package.json | 3 ++- examples/meta-info/package.json | 3 ++- examples/named-views/package.json | 3 ++- examples/nested-components/package.json | 3 ++- examples/nested-routes/package.json | 3 ++- examples/no-ssr/package.json | 3 ++- examples/nuxt-prefetch/package.json | 3 ++- examples/plugins-vendor/package.json | 3 ++- examples/pug/package.json | 3 ++- examples/routes-meta/package.json | 3 ++- examples/routes-transitions/package.json | 3 ++- examples/scroll-behavior/package.json | 3 ++- examples/spa/package.json | 3 ++- examples/static-images/package.json | 3 ++- examples/storybook/package.json | 3 ++- examples/style-resources/package.json | 3 ++- examples/styled-vue/package.json | 3 ++- examples/tailwindcss-purgecss/package.json | 3 ++- examples/tailwindcss/package.json | 3 ++- examples/typescript-vuex/package.json | 3 ++- examples/typescript/package.json | 3 ++- examples/uikit/package.json | 3 ++- examples/vue-apollo/package.json | 3 ++- examples/vue-chartjs/package.json | 3 ++- examples/vue-class-component/package.json | 3 ++- examples/vuex-persistedstate/package.json | 3 ++- examples/vuex-store-modules/package.json | 3 ++- examples/vuex-store/package.json | 3 ++- examples/web-worker/package.json | 3 ++- examples/with-amp/package.json | 3 ++- examples/with-ava/package.json | 3 ++- examples/with-buefy/package.json | 3 ++- examples/with-cookies/package.json | 3 ++- examples/with-element-ui/package.json | 3 ++- examples/with-feathers/package.json | 3 ++- examples/with-firebase/package.json | 3 ++- examples/with-keep-alive/package.json | 3 ++- examples/with-museui/package.json | 3 ++- examples/with-purgecss/package.json | 3 ++- examples/with-sockets/package.json | 3 ++- examples/with-tape/package.json | 3 ++- examples/with-vue-material/package.json | 3 ++- examples/with-vuetify/package.json | 3 ++- examples/with-vuikit/package.json | 3 ++- examples/with-vux/package.json | 3 ++- 68 files changed, 136 insertions(+), 68 deletions(-) diff --git a/examples/async-component-injection/package.json b/examples/async-component-injection/package.json index 2b99de1c0e..7d3f4896f7 100644 --- a/examples/async-component-injection/package.json +++ b/examples/async-component-injection/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt" + "start": "nuxt", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/async-data/package.json b/examples/async-data/package.json index 80a9d99b57..29bd404f16 100644 --- a/examples/async-data/package.json +++ b/examples/async-data/package.json @@ -7,6 +7,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/auth-jwt/package.json b/examples/auth-jwt/package.json index daec5e9859..863bd2810d 100644 --- a/examples/auth-jwt/package.json +++ b/examples/auth-jwt/package.json @@ -8,6 +8,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/auth-routes/package.json b/examples/auth-routes/package.json index c5a1cf23d7..8dacdc7bc6 100644 --- a/examples/auth-routes/package.json +++ b/examples/auth-routes/package.json @@ -10,6 +10,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/axios/package.json b/examples/axios/package.json index ee2db40cd9..d4fc578194 100644 --- a/examples/axios/package.json +++ b/examples/axios/package.json @@ -9,6 +9,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/cached-components/package.json b/examples/cached-components/package.json index 9fc387b9bd..b6ae221185 100644 --- a/examples/cached-components/package.json +++ b/examples/cached-components/package.json @@ -7,6 +7,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/coffeescript/package.json b/examples/coffeescript/package.json index df84c75844..ac195b5b12 100644 --- a/examples/coffeescript/package.json +++ b/examples/coffeescript/package.json @@ -14,6 +14,7 @@ }, "devDependencies": { "coffee-loader": "^0.8.0", - "coffeescript": "^2.0.1" + "coffeescript": "^2.0.1", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/custom-build/package.json b/examples/custom-build/package.json index 80ced97849..86f1499dab 100644 --- a/examples/custom-build/package.json +++ b/examples/custom-build/package.json @@ -7,6 +7,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/custom-layouts/package.json b/examples/custom-layouts/package.json index 09ba1dc997..23c29f0bb4 100644 --- a/examples/custom-layouts/package.json +++ b/examples/custom-layouts/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/custom-loading/package.json b/examples/custom-loading/package.json index 13ddb7b82c..a2571cdf6a 100644 --- a/examples/custom-loading/package.json +++ b/examples/custom-loading/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/custom-page-loading/package.json b/examples/custom-page-loading/package.json index d4c36bd54c..33a5faf2a0 100644 --- a/examples/custom-page-loading/package.json +++ b/examples/custom-page-loading/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/custom-port-host/package.json b/examples/custom-port-host/package.json index 740a116363..e5b1f7971d 100644 --- a/examples/custom-port-host/package.json +++ b/examples/custom-port-host/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/custom-routes/package.json b/examples/custom-routes/package.json index 94d8fe8272..38d678a47c 100644 --- a/examples/custom-routes/package.json +++ b/examples/custom-routes/package.json @@ -7,6 +7,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/custom-server/package.json b/examples/custom-server/package.json index 39ade9acb7..ca15a00e35 100644 --- a/examples/custom-server/package.json +++ b/examples/custom-server/package.json @@ -7,6 +7,7 @@ "scripts": { "dev": "node server.js", "build": "nuxt build", - "start": "NODE_ENV=production node server.js" + "start": "NODE_ENV=production node server.js", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/dynamic-components/package.json b/examples/dynamic-components/package.json index a98a3a8d66..992ca12416 100644 --- a/examples/dynamic-components/package.json +++ b/examples/dynamic-components/package.json @@ -9,6 +9,7 @@ "dev": "nuxt", "build": "nuxt build", "start": "nuxt start", - "generate": "nuxt generate" + "generate": "nuxt generate", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/dynamic-layouts/package.json b/examples/dynamic-layouts/package.json index d0ed3f9f74..dea7619e05 100644 --- a/examples/dynamic-layouts/package.json +++ b/examples/dynamic-layouts/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/global-css/package.json b/examples/global-css/package.json index 7ad2d61c10..73de465f6c 100644 --- a/examples/global-css/package.json +++ b/examples/global-css/package.json @@ -7,6 +7,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/hello-world/package.json b/examples/hello-world/package.json index 061ba065d4..a93a322b71 100644 --- a/examples/hello-world/package.json +++ b/examples/hello-world/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/i18n/package.json b/examples/i18n/package.json index c35861b659..1918a2e69e 100644 --- a/examples/i18n/package.json +++ b/examples/i18n/package.json @@ -8,6 +8,7 @@ "dev": "nuxt", "build": "nuxt build", "start": "nuxt start", - "generate": "nuxt generate" + "generate": "nuxt generate", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/jest-puppeteer/package.json b/examples/jest-puppeteer/package.json index 82bd0e0ad3..28546fad19 100755 --- a/examples/jest-puppeteer/package.json +++ b/examples/jest-puppeteer/package.json @@ -13,6 +13,7 @@ "devDependencies": { "jest": "latest", "jest-puppeteer": "latest", - "puppeteer": "latest" + "puppeteer": "latest", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/jest-vtu-example/package.json b/examples/jest-vtu-example/package.json index 589883d296..6819bff5bc 100644 --- a/examples/jest-vtu-example/package.json +++ b/examples/jest-vtu-example/package.json @@ -5,7 +5,8 @@ "build": "nuxt build", "start": "nuxt start", "generate": "nuxt generate", - "test": "jest" + "test": "jest", + "post-update": "yarn upgrade --latest" }, "dependencies": { "nuxt-edge": "latest" diff --git a/examples/jsx/package.json b/examples/jsx/package.json index 7a07453f21..432c82791f 100644 --- a/examples/jsx/package.json +++ b/examples/jsx/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/layout-transitions/package.json b/examples/layout-transitions/package.json index 833d60ca66..b0925efaab 100644 --- a/examples/layout-transitions/package.json +++ b/examples/layout-transitions/package.json @@ -7,6 +7,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/markdownit/package.json b/examples/markdownit/package.json index a63e3b6a51..064b51bbfb 100644 --- a/examples/markdownit/package.json +++ b/examples/markdownit/package.json @@ -9,7 +9,8 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" }, "devDependencies": { "jstransformer-markdown-it": "^2.0.0" diff --git a/examples/meta-info/package.json b/examples/meta-info/package.json index 42ca6fa13d..615138bc5f 100644 --- a/examples/meta-info/package.json +++ b/examples/meta-info/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/named-views/package.json b/examples/named-views/package.json index 844b5435f1..fb8189c908 100644 --- a/examples/named-views/package.json +++ b/examples/named-views/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/nested-components/package.json b/examples/nested-components/package.json index a31c195e59..3bd53e3a76 100644 --- a/examples/nested-components/package.json +++ b/examples/nested-components/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/nested-routes/package.json b/examples/nested-routes/package.json index e0c2566d29..0def519291 100644 --- a/examples/nested-routes/package.json +++ b/examples/nested-routes/package.json @@ -7,6 +7,7 @@ "dev": "nuxt", "build": "nuxt build", "start": "nuxt start", - "generate": "nuxt generate" + "generate": "nuxt generate", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/no-ssr/package.json b/examples/no-ssr/package.json index 9e0a43e9a6..04868bb2d9 100644 --- a/examples/no-ssr/package.json +++ b/examples/no-ssr/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/nuxt-prefetch/package.json b/examples/nuxt-prefetch/package.json index 9b6c3a5eef..6747461236 100644 --- a/examples/nuxt-prefetch/package.json +++ b/examples/nuxt-prefetch/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/plugins-vendor/package.json b/examples/plugins-vendor/package.json index 462fd003ba..a0b64fe62b 100644 --- a/examples/plugins-vendor/package.json +++ b/examples/plugins-vendor/package.json @@ -9,6 +9,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/pug/package.json b/examples/pug/package.json index 794e67b142..213ddefa3a 100644 --- a/examples/pug/package.json +++ b/examples/pug/package.json @@ -8,6 +8,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/routes-meta/package.json b/examples/routes-meta/package.json index 6415c914b5..e159a20711 100644 --- a/examples/routes-meta/package.json +++ b/examples/routes-meta/package.json @@ -7,6 +7,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/routes-transitions/package.json b/examples/routes-transitions/package.json index be3c562d44..4fa70badf9 100644 --- a/examples/routes-transitions/package.json +++ b/examples/routes-transitions/package.json @@ -7,6 +7,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/scroll-behavior/package.json b/examples/scroll-behavior/package.json index 0124dfff58..19c77bab1d 100644 --- a/examples/scroll-behavior/package.json +++ b/examples/scroll-behavior/package.json @@ -8,6 +8,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/spa/package.json b/examples/spa/package.json index 90b978cbf7..1fc945316e 100644 --- a/examples/spa/package.json +++ b/examples/spa/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt" + "start": "nuxt", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/static-images/package.json b/examples/static-images/package.json index 27726600c3..5ea6218cff 100644 --- a/examples/static-images/package.json +++ b/examples/static-images/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/storybook/package.json b/examples/storybook/package.json index 2d3425a9b2..45e47dc423 100644 --- a/examples/storybook/package.json +++ b/examples/storybook/package.json @@ -9,7 +9,8 @@ "generate": "nuxt generate", "precommit": "yarn run lint", "storybook": "start-storybook -p 9001 -c .storybook", - "storybookoutput": "build-storybook -c .storybook -o .out" + "storybookoutput": "build-storybook -c .storybook -o .out", + "post-update": "yarn upgrade --latest" }, "dependencies": { "chart.js": "^2.7.1", diff --git a/examples/style-resources/package.json b/examples/style-resources/package.json index dc43696981..f675f7efaa 100644 --- a/examples/style-resources/package.json +++ b/examples/style-resources/package.json @@ -8,7 +8,8 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" }, "devDependencies": { "node-sass": "^4.7.2", diff --git a/examples/styled-vue/package.json b/examples/styled-vue/package.json index d39a0e48f1..4d3e94ec85 100644 --- a/examples/styled-vue/package.json +++ b/examples/styled-vue/package.json @@ -7,7 +7,8 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" }, "devDependencies": { "styled-vue": "^0.1.3" diff --git a/examples/tailwindcss-purgecss/package.json b/examples/tailwindcss-purgecss/package.json index 0e9a5d4916..5b8c4b9e1b 100644 --- a/examples/tailwindcss-purgecss/package.json +++ b/examples/tailwindcss-purgecss/package.json @@ -8,7 +8,8 @@ "build": "nuxt build", "start": "nuxt start", "generate": "nuxt generate", - "deploy": "surge -p dist/ -d https://nuxt-tailwindcss-purgecss.surge.sh" + "deploy": "surge -p dist/ -d https://nuxt-tailwindcss-purgecss.surge.sh", + "post-update": "yarn upgrade --latest" }, "dependencies": { "nuxt": "^2.2.0" diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index e113bb7e33..ca49f487f7 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -4,7 +4,8 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" }, "dependencies": { "nuxt-edge": "latest" diff --git a/examples/typescript-vuex/package.json b/examples/typescript-vuex/package.json index 884c902b8e..8c99e49885 100644 --- a/examples/typescript-vuex/package.json +++ b/examples/typescript-vuex/package.json @@ -13,7 +13,8 @@ "build": "nuxt-ts build", "start": "nuxt-ts start", "generate": "nuxt-ts generate", - "lint": "tslint --project ." + "lint": "tslint --project .", + "post-update": "yarn upgrade --latest" }, "devDependencies": { "@types/node": "^10.12.18", diff --git a/examples/typescript/package.json b/examples/typescript/package.json index 38253d45f8..d854a820ce 100644 --- a/examples/typescript/package.json +++ b/examples/typescript/package.json @@ -10,7 +10,8 @@ "build": "nuxt-ts build", "start": "nuxt-ts start", "generate": "nuxt-ts generate", - "lint": "tslint --project ." + "lint": "tslint --project .", + "post-update": "yarn upgrade --latest" }, "devDependencies": { "@types/node": "^10.12.18", diff --git a/examples/uikit/package.json b/examples/uikit/package.json index 80b0ad45dd..ab8bbdce75 100644 --- a/examples/uikit/package.json +++ b/examples/uikit/package.json @@ -8,6 +8,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/vue-apollo/package.json b/examples/vue-apollo/package.json index c77a65bef3..f2344fbc0d 100644 --- a/examples/vue-apollo/package.json +++ b/examples/vue-apollo/package.json @@ -8,6 +8,7 @@ "dev": "nuxt", "build": "nuxt build", "start": "nuxt start", - "generate": "nuxt generate" + "generate": "nuxt generate", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/vue-chartjs/package.json b/examples/vue-chartjs/package.json index cc3f1d2665..0157c6b051 100644 --- a/examples/vue-chartjs/package.json +++ b/examples/vue-chartjs/package.json @@ -10,6 +10,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/vue-class-component/package.json b/examples/vue-class-component/package.json index 3ee600c4d8..6b57af78d7 100644 --- a/examples/vue-class-component/package.json +++ b/examples/vue-class-component/package.json @@ -7,6 +7,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/vuex-persistedstate/package.json b/examples/vuex-persistedstate/package.json index 4fcdf73950..ede2867060 100644 --- a/examples/vuex-persistedstate/package.json +++ b/examples/vuex-persistedstate/package.json @@ -7,6 +7,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/vuex-store-modules/package.json b/examples/vuex-store-modules/package.json index 9cf23402db..d637bb72d7 100644 --- a/examples/vuex-store-modules/package.json +++ b/examples/vuex-store-modules/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/vuex-store/package.json b/examples/vuex-store/package.json index 61b1996ad7..cd8ae6f989 100644 --- a/examples/vuex-store/package.json +++ b/examples/vuex-store/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/web-worker/package.json b/examples/web-worker/package.json index 377950b296..b70cd20a47 100644 --- a/examples/web-worker/package.json +++ b/examples/web-worker/package.json @@ -8,7 +8,8 @@ "start": "nuxt start", "generate": "nuxt generate", "lint": "eslint --ext .js,.vue --ignore-path .gitignore .", - "precommit": "npm run lint" + "precommit": "npm run lint", + "post-update": "yarn upgrade --latest" }, "dependencies": { "nuxt-edge": "latest" diff --git a/examples/with-amp/package.json b/examples/with-amp/package.json index 80ab8f9947..1480f32ee6 100644 --- a/examples/with-amp/package.json +++ b/examples/with-amp/package.json @@ -8,6 +8,7 @@ "dev": "nuxt", "build": "nuxt build", "start": "nuxt start", - "generate": "nuxt generate" + "generate": "nuxt generate", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/with-ava/package.json b/examples/with-ava/package.json index b6fde5e013..8fe8464d0b 100755 --- a/examples/with-ava/package.json +++ b/examples/with-ava/package.json @@ -4,7 +4,8 @@ "dev": "nuxt", "build": "nuxt build", "start": "nuxt start", - "test": "ava --serial --verbose" + "test": "ava --serial --verbose", + "post-update": "yarn upgrade --latest" }, "devDependencies": { "ava": "^0.19.1", diff --git a/examples/with-buefy/package.json b/examples/with-buefy/package.json index e4d28c4796..4834759a38 100644 --- a/examples/with-buefy/package.json +++ b/examples/with-buefy/package.json @@ -6,7 +6,8 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" }, "dependencies": { "buefy": "^0.5.4", diff --git a/examples/with-cookies/package.json b/examples/with-cookies/package.json index 1cf7cbde0e..3c2af9e923 100644 --- a/examples/with-cookies/package.json +++ b/examples/with-cookies/package.json @@ -3,7 +3,8 @@ "dependencies": { "cookie": "^0.3.1", "js-cookie": "^2.1.4", - "nuxt-edge": "latest" + "nuxt-edge": "latest", + "post-update": "yarn upgrade --latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/with-element-ui/package.json b/examples/with-element-ui/package.json index 3815ac0f79..147ec18b70 100644 --- a/examples/with-element-ui/package.json +++ b/examples/with-element-ui/package.json @@ -4,7 +4,8 @@ "license": "MIT", "dependencies": { "element-ui": "^2", - "nuxt-edge": "latest" + "nuxt-edge": "latest", + "post-update": "yarn upgrade --latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/with-feathers/package.json b/examples/with-feathers/package.json index 650e1fc102..019a450c2a 100644 --- a/examples/with-feathers/package.json +++ b/examples/with-feathers/package.json @@ -17,7 +17,8 @@ "dev": "DEBUG=nuxt:* nodemon --watch src/ --watch config/ src/index.js", "build": "nuxt build", "start": "NODE_ENV=production node src/", - "mocha": "mocha test/ --recursive --timeout=30000" + "mocha": "mocha test/ --recursive --timeout=30000", + "post-update": "yarn upgrade --latest" }, "dependencies": { "body-parser": "^1.15.2", diff --git a/examples/with-firebase/package.json b/examples/with-firebase/package.json index b9daee7b4a..cafcd33cd4 100644 --- a/examples/with-firebase/package.json +++ b/examples/with-firebase/package.json @@ -5,7 +5,8 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" }, "keywords": [ "nuxt", diff --git a/examples/with-keep-alive/package.json b/examples/with-keep-alive/package.json index b467fe9b97..8dbc86f2db 100644 --- a/examples/with-keep-alive/package.json +++ b/examples/with-keep-alive/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/with-museui/package.json b/examples/with-museui/package.json index c17063eab7..d85db357d5 100644 --- a/examples/with-museui/package.json +++ b/examples/with-museui/package.json @@ -7,6 +7,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/with-purgecss/package.json b/examples/with-purgecss/package.json index 98ee993323..f75d058aa1 100644 --- a/examples/with-purgecss/package.json +++ b/examples/with-purgecss/package.json @@ -4,7 +4,8 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" }, "dependencies": { "nuxt-edge": "latest" diff --git a/examples/with-sockets/package.json b/examples/with-sockets/package.json index 9dd2bff40e..05e83aa105 100644 --- a/examples/with-sockets/package.json +++ b/examples/with-sockets/package.json @@ -3,7 +3,8 @@ "scripts": { "dev": "nodemon -w server.js -w nuxt.config.js server.js", "build": "nuxt build", - "start": "NODE_ENV=production node server.js" + "start": "NODE_ENV=production node server.js", + "post-update": "yarn upgrade --latest" }, "dependencies": { "express": "^4.14.0", diff --git a/examples/with-tape/package.json b/examples/with-tape/package.json index 31570994c8..ba15a7697b 100755 --- a/examples/with-tape/package.json +++ b/examples/with-tape/package.json @@ -4,7 +4,8 @@ "dev": "nuxt", "build": "nuxt build", "start": "nuxt start", - "test": "tape ./test/**/*.js -r ./test/setup.js | tap-spec" + "test": "tape ./test/**/*.js -r ./test/setup.js | tap-spec", + "post-update": "yarn upgrade --latest" }, "devDependencies": { "browser-env": "^3.2.1", diff --git a/examples/with-vue-material/package.json b/examples/with-vue-material/package.json index b23329e7c7..172a6a6d1d 100644 --- a/examples/with-vue-material/package.json +++ b/examples/with-vue-material/package.json @@ -9,6 +9,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/with-vuetify/package.json b/examples/with-vuetify/package.json index 0bd05cb0fd..a790bcda3b 100644 --- a/examples/with-vuetify/package.json +++ b/examples/with-vuetify/package.json @@ -9,7 +9,8 @@ "dev": "nuxt", "build": "nuxt build", "start": "nuxt start", - "generate": "nuxt generate" + "generate": "nuxt generate", + "post-update": "yarn upgrade --latest" }, "devDependencies": { "stylus": "^0.54.5", diff --git a/examples/with-vuikit/package.json b/examples/with-vuikit/package.json index 46aa4d8680..f20fda65dd 100644 --- a/examples/with-vuikit/package.json +++ b/examples/with-vuikit/package.json @@ -9,6 +9,7 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" } } diff --git a/examples/with-vux/package.json b/examples/with-vux/package.json index ad4a43f4d0..bd017b2a7c 100644 --- a/examples/with-vux/package.json +++ b/examples/with-vux/package.json @@ -9,7 +9,8 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "post-update": "yarn upgrade --latest" }, "devDependencies": { "less": "^2.7.3",