From 6cd7f04a4e66b3c02de91d0555acd350f56ab9b2 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Mon, 19 Mar 2018 10:41:46 +0800 Subject: [PATCH] refactor: rename examples --- examples/async-component-injection/package.json | 2 +- examples/async-data/package.json | 2 +- examples/auth-routes/package.json | 2 +- examples/axios/package.json | 2 +- examples/cached-components/package.json | 2 +- examples/coffeescript/package.json | 2 +- examples/custom-build/package.json | 2 +- examples/custom-layouts/package.json | 2 +- examples/custom-loading/package.json | 2 +- examples/custom-routes/package.json | 2 +- examples/custom-server/package.json | 2 +- examples/dynamic-components/package.json | 2 +- examples/dynamic-layouts/package.json | 2 +- examples/global-css/package.json | 2 +- examples/hello-world/package.json | 2 +- examples/i18n/package.json | 2 +- examples/jsx/package.json | 2 +- examples/layout-transitions/package.json | 2 +- examples/markdownit/package.json | 2 +- examples/meta-info/package.json | 2 +- examples/middleware/package.json | 2 +- examples/nested-components/package.json | 2 +- examples/nested-routes/package.json | 2 +- examples/no-ssr/package.json | 2 +- examples/plugins-vendor/package.json | 2 +- examples/routes-transitions/package.json | 2 +- examples/scroll-behavior/package.json | 2 +- examples/spa/package.json | 2 +- examples/static-images/package.json | 2 +- examples/storybook/package.json | 2 +- examples/style-resources/package.json | 2 +- examples/tailwindcss/package.json | 2 +- examples/uikit/package.json | 2 +- examples/vue-apollo/package.json | 2 +- examples/vue-chartjs/package.json | 2 +- examples/vue-class-component/package.json | 2 +- examples/vuex-persistedstate/package.json | 2 +- examples/vuex-store-modules/package.json | 2 +- examples/vuex-store/package.json | 2 +- examples/with-amp/package.json | 2 +- examples/with-ava/package.json | 2 +- examples/with-buefy/package.json | 2 +- examples/with-cookies/package.json | 2 +- examples/with-element-ui/package.json | 2 +- examples/with-feathers/package.json | 2 +- examples/with-firebase/package.json | 2 +- examples/with-keep-alive/package.json | 2 +- examples/with-museui/package.json | 2 +- examples/with-purgecss/package.json | 2 +- examples/with-sockets/package.json | 2 +- examples/with-tape/package.json | 2 +- examples/with-vue-material/package.json | 2 +- examples/with-vuetify/package.json | 2 +- examples/with-vux/package.json | 2 +- 54 files changed, 54 insertions(+), 54 deletions(-) diff --git a/examples/async-component-injection/package.json b/examples/async-component-injection/package.json index 4aeda9d845..c2a55b2829 100644 --- a/examples/async-component-injection/package.json +++ b/examples/async-component-injection/package.json @@ -1,5 +1,5 @@ { - "name": "components-injection-nuxt", + "name": "example-async-components-injection", "dependencies": { "nuxt": "latest" }, diff --git a/examples/async-data/package.json b/examples/async-data/package.json index 028496f7fe..bdab722095 100644 --- a/examples/async-data/package.json +++ b/examples/async-data/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-async-data", + "name": "example-async-data", "dependencies": { "axios": "latest", "nuxt": "latest" diff --git a/examples/auth-routes/package.json b/examples/auth-routes/package.json index dd7c4c3926..9e1ed5c80f 100644 --- a/examples/auth-routes/package.json +++ b/examples/auth-routes/package.json @@ -1,5 +1,5 @@ { - "name": "auth-routes", + "name": "example-auth-routes", "dependencies": { "axios": "^0.16.1", "body-parser": "^1.17.2", diff --git a/examples/axios/package.json b/examples/axios/package.json index 377e6287c9..aaa5c56dcf 100644 --- a/examples/axios/package.json +++ b/examples/axios/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-proxy", + "name": "example-axios", "version": "1.0.0", "dependencies": { "@nuxtjs/axios": "^5.0.0", diff --git a/examples/cached-components/package.json b/examples/cached-components/package.json index 1e7850343b..597fe8ab6d 100644 --- a/examples/cached-components/package.json +++ b/examples/cached-components/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-cached-components", + "name": "example-cached-components", "dependencies": { "lru-cache": "^4.0.2", "nuxt": "latest" diff --git a/examples/coffeescript/package.json b/examples/coffeescript/package.json index 759d04ff0f..f1e6c2e195 100644 --- a/examples/coffeescript/package.json +++ b/examples/coffeescript/package.json @@ -1,5 +1,5 @@ { - "name": "coffeescript", + "name": "example-coffeescript", "version": "1.0.0", "description": "Nuxt.js with CoffeeScript", "author": "Alex Ananiev ", diff --git a/examples/custom-build/package.json b/examples/custom-build/package.json index bca372acaa..262147d6fe 100644 --- a/examples/custom-build/package.json +++ b/examples/custom-build/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-custom-build", + "name": "example-custom-build", "description": "", "dependencies": { "nuxt": "latest" diff --git a/examples/custom-layouts/package.json b/examples/custom-layouts/package.json index 4b5f4b7874..a5b7a731d9 100644 --- a/examples/custom-layouts/package.json +++ b/examples/custom-layouts/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-custom-layouts", + "name": "example-custom-layouts", "dependencies": { "nuxt": "latest" }, diff --git a/examples/custom-loading/package.json b/examples/custom-loading/package.json index c177c2338b..b2dcfbc2ee 100644 --- a/examples/custom-loading/package.json +++ b/examples/custom-loading/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-custom-loading", + "name": "example-custom-loading", "dependencies": { "nuxt": "latest" }, diff --git a/examples/custom-routes/package.json b/examples/custom-routes/package.json index 437be36725..15c615ff87 100644 --- a/examples/custom-routes/package.json +++ b/examples/custom-routes/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-custom-routes", + "name": "example-custom-routes", "dependencies": { "axios": "latest", "nuxt": "latest" diff --git a/examples/custom-server/package.json b/examples/custom-server/package.json index d686d66254..5afd1369ec 100644 --- a/examples/custom-server/package.json +++ b/examples/custom-server/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-custom-server", + "name": "example-custom-server", "dependencies": { "express": "^4.15.3", "nuxt": "latest" diff --git a/examples/dynamic-components/package.json b/examples/dynamic-components/package.json index 7486edc9cd..31f52dbf45 100644 --- a/examples/dynamic-components/package.json +++ b/examples/dynamic-components/package.json @@ -1,5 +1,5 @@ { - "name": "dynamic-components-nuxt", + "name": "example-dynamic-components", "dependencies": { "chart.js": "^2.7.0", "nuxt": "latest", diff --git a/examples/dynamic-layouts/package.json b/examples/dynamic-layouts/package.json index cd97f88ca2..4ec8d06bac 100644 --- a/examples/dynamic-layouts/package.json +++ b/examples/dynamic-layouts/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-dynamic-layouts", + "name": "example-dynamic-layouts", "dependencies": { "nuxt": "latest" }, diff --git a/examples/global-css/package.json b/examples/global-css/package.json index 1525d69e4e..61f426698d 100644 --- a/examples/global-css/package.json +++ b/examples/global-css/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-global-css", + "name": "example-global-css", "dependencies": { "bulma": "^0.5.1", "nuxt": "latest" diff --git a/examples/hello-world/package.json b/examples/hello-world/package.json index 2e16d42040..0cc6a5c7c8 100644 --- a/examples/hello-world/package.json +++ b/examples/hello-world/package.json @@ -1,5 +1,5 @@ { - "name": "hello-nuxt", + "name": "example-hello-world", "dependencies": { "nuxt": "latest" }, diff --git a/examples/i18n/package.json b/examples/i18n/package.json index 0761757ce8..fbc1b45df5 100644 --- a/examples/i18n/package.json +++ b/examples/i18n/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-i18n", + "name": "example-i18n", "dependencies": { "nuxt": "latest", "vue-i18n": "^7.3.2" diff --git a/examples/jsx/package.json b/examples/jsx/package.json index d6478c6544..9922994937 100644 --- a/examples/jsx/package.json +++ b/examples/jsx/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-jsx", + "name": "example-jsx", "dependencies": { "nuxt": "latest" }, diff --git a/examples/layout-transitions/package.json b/examples/layout-transitions/package.json index 822831ec96..1cc2bc34fe 100644 --- a/examples/layout-transitions/package.json +++ b/examples/layout-transitions/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-layout-transitions", + "name": "example-layout-transitions", "dependencies": { "axios": "^0.15.3", "nuxt": "latest" diff --git a/examples/markdownit/package.json b/examples/markdownit/package.json index bdbe75cd3b..391d1fd42c 100644 --- a/examples/markdownit/package.json +++ b/examples/markdownit/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-markdownit", + "name": "example-markdownit", "version": "1.0.0", "dependencies": { "@nuxtjs/markdownit": "^1.1.2", diff --git a/examples/meta-info/package.json b/examples/meta-info/package.json index b06c061ade..2e5f33b3b4 100644 --- a/examples/meta-info/package.json +++ b/examples/meta-info/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-head-elements", + "name": "example-meta-info", "dependencies": { "nuxt": "latest" }, diff --git a/examples/middleware/package.json b/examples/middleware/package.json index 7d068bad95..7c45ac8e61 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-middleware", + "name": "example-middleware", "dependencies": { "nuxt": "latest" }, diff --git a/examples/nested-components/package.json b/examples/nested-components/package.json index cf348d5c6f..49f4d99588 100644 --- a/examples/nested-components/package.json +++ b/examples/nested-components/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-nested-components", + "name": "example-nested-components", "dependencies": { "nuxt": "latest" }, diff --git a/examples/nested-routes/package.json b/examples/nested-routes/package.json index d3d40f04d3..350733131c 100644 --- a/examples/nested-routes/package.json +++ b/examples/nested-routes/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-nested-routes", + "name": "example-nested-routes", "dependencies": { "nuxt": "latest" }, diff --git a/examples/no-ssr/package.json b/examples/no-ssr/package.json index 9e2167e845..1e9e185ae4 100644 --- a/examples/no-ssr/package.json +++ b/examples/no-ssr/package.json @@ -1,5 +1,5 @@ { - "name": "no-ssr-cmp-nuxt", + "name": "example-no-ssr", "dependencies": { "nuxt": "latest" }, diff --git a/examples/plugins-vendor/package.json b/examples/plugins-vendor/package.json index 995af2c330..05456a14c7 100644 --- a/examples/plugins-vendor/package.json +++ b/examples/plugins-vendor/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-plugins-vendor", + "name": "example-plugins-vendor", "dependencies": { "axios": "^0.16.2", "mini-toastr": "^0.6.5", diff --git a/examples/routes-transitions/package.json b/examples/routes-transitions/package.json index c61dd88174..59c5c79ca1 100644 --- a/examples/routes-transitions/package.json +++ b/examples/routes-transitions/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-routes-transitions", + "name": "example-routes-transitions", "dependencies": { "axios": "^0.15.3", "nuxt": "latest" diff --git a/examples/scroll-behavior/package.json b/examples/scroll-behavior/package.json index 2a869bb622..af16c90f04 100644 --- a/examples/scroll-behavior/package.json +++ b/examples/scroll-behavior/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-routes-transitions", + "name": "example-scroll-behavior", "dependencies": { "axios": "^0.15.3", "nuxt": "latest", diff --git a/examples/spa/package.json b/examples/spa/package.json index 92325ecf81..e9c67af966 100644 --- a/examples/spa/package.json +++ b/examples/spa/package.json @@ -1,5 +1,5 @@ { - "name": "hello-nuxt", + "name": "example-spa", "dependencies": { "nuxt": "latest" }, diff --git a/examples/static-images/package.json b/examples/static-images/package.json index 33d3b0501f..c81f68b36d 100644 --- a/examples/static-images/package.json +++ b/examples/static-images/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-hello-world", + "name": "example-static-images", "dependencies": { "nuxt": "latest" }, diff --git a/examples/storybook/package.json b/examples/storybook/package.json index 2aead00510..2fe78720e1 100644 --- a/examples/storybook/package.json +++ b/examples/storybook/package.json @@ -1,5 +1,5 @@ { - "name": "storybook", + "name": "example-storybook", "version": "1.0.0", "description": "sample storybook setup for nuxt", "scripts": { diff --git a/examples/style-resources/package.json b/examples/style-resources/package.json index 000d53f18f..5ff614e832 100644 --- a/examples/style-resources/package.json +++ b/examples/style-resources/package.json @@ -1,5 +1,5 @@ { - "name": "style-resources", + "name": "example-style-resources", "dependencies": { "less": "^2.7.3", "less-loader": "^4.0.5", diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index 11c1208cb1..4278286a1a 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-tailwindcss", + "name": "example-tailwindcss", "description": "Nuxt.js with Tailwind CSS", "scripts": { "dev": "nuxt", diff --git a/examples/uikit/package.json b/examples/uikit/package.json index bc539ba586..54d25b924b 100644 --- a/examples/uikit/package.json +++ b/examples/uikit/package.json @@ -1,5 +1,5 @@ { - "name": "uikit-nuxt", + "name": "example-uikit", "dependencies": { "nuxt": "latest", "uikit": "^3.0.0-beta.30", diff --git a/examples/vue-apollo/package.json b/examples/vue-apollo/package.json index c9ffee9f88..4ae856ea88 100644 --- a/examples/vue-apollo/package.json +++ b/examples/vue-apollo/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-vue-apollo", + "name": "example-vue-apollo", "dependencies": { "@nuxtjs/apollo": "^2.1.1", "nuxt": "latest" diff --git a/examples/vue-chartjs/package.json b/examples/vue-chartjs/package.json index 90319704d1..19951c1123 100644 --- a/examples/vue-chartjs/package.json +++ b/examples/vue-chartjs/package.json @@ -1,5 +1,5 @@ { - "name": "vue-chartjs-nuxt", + "name": "example-vue-chartjs", "dependencies": { "axios": "^0.16.2", "chart.js": "^2.7.1", diff --git a/examples/vue-class-component/package.json b/examples/vue-class-component/package.json index 797a48f36e..0df6deda02 100644 --- a/examples/vue-class-component/package.json +++ b/examples/vue-class-component/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-class-component", + "name": "example-vue-class-component", "dependencies": { "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-decorators-legacy": "^1.3.4", diff --git a/examples/vuex-persistedstate/package.json b/examples/vuex-persistedstate/package.json index 5d9eef3ddf..d6088f8070 100644 --- a/examples/vuex-persistedstate/package.json +++ b/examples/vuex-persistedstate/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-vuex-store", + "name": "example-persisted-state", "dependencies": { "nuxt": "latest", "vuex-persistedstate": "^2.0.0" diff --git a/examples/vuex-store-modules/package.json b/examples/vuex-store-modules/package.json index 3bd4273fa4..b9fec7b13f 100644 --- a/examples/vuex-store-modules/package.json +++ b/examples/vuex-store-modules/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-vuex-store", + "name": "example-vuex-store-modules", "dependencies": { "nuxt": "latest" }, diff --git a/examples/vuex-store/package.json b/examples/vuex-store/package.json index 3bd4273fa4..c614964594 100644 --- a/examples/vuex-store/package.json +++ b/examples/vuex-store/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-vuex-store", + "name": "example-vuex-store", "dependencies": { "nuxt": "latest" }, diff --git a/examples/with-amp/package.json b/examples/with-amp/package.json index a9b129ca86..1d2244bbad 100644 --- a/examples/with-amp/package.json +++ b/examples/with-amp/package.json @@ -1,5 +1,5 @@ { - "name": "with-amp", + "name": "example-with-amp", "version": "1.0.0", "dependencies": { "nuxt": "latest" diff --git a/examples/with-ava/package.json b/examples/with-ava/package.json index 02065f4c57..bd3904771b 100755 --- a/examples/with-ava/package.json +++ b/examples/with-ava/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-with-ava", + "name": "example-with-ava", "scripts": { "dev": "nuxt", "build": "nuxt build", diff --git a/examples/with-buefy/package.json b/examples/with-buefy/package.json index cd44d6e878..d8969fd213 100644 --- a/examples/with-buefy/package.json +++ b/examples/with-buefy/package.json @@ -1,5 +1,5 @@ { - "name": "with-buefy", + "name": "example-with-buefy", "version": "1.0.0", "main": "index.js", "license": "MIT", diff --git a/examples/with-cookies/package.json b/examples/with-cookies/package.json index 17fc29e968..ab58fd3dac 100644 --- a/examples/with-cookies/package.json +++ b/examples/with-cookies/package.json @@ -1,5 +1,5 @@ { - "name": "hello-nuxt", + "name": "example-with-cookies", "dependencies": { "cookie": "^0.3.1", "js-cookie": "^2.1.4", diff --git a/examples/with-element-ui/package.json b/examples/with-element-ui/package.json index 40dc968f5b..97e2beacfd 100644 --- a/examples/with-element-ui/package.json +++ b/examples/with-element-ui/package.json @@ -1,5 +1,5 @@ { - "name": "with-element-ui", + "name": "example-with-element-ui", "version": "1.0.0", "license": "MIT", "dependencies": { diff --git a/examples/with-feathers/package.json b/examples/with-feathers/package.json index fc99464a7f..ada1686173 100644 --- a/examples/with-feathers/package.json +++ b/examples/with-feathers/package.json @@ -1,5 +1,5 @@ { - "name": "with-feathers", + "name": "example-with-feathers", "description": "Nuxt.js with FeathersJS", "version": "1.0.0", "main": "src/", diff --git a/examples/with-firebase/package.json b/examples/with-firebase/package.json index 99d0797aa6..7207064e23 100644 --- a/examples/with-firebase/package.json +++ b/examples/with-firebase/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-firebase", + "name": "example-with-firebase", "version": "1.0.0", "description": "Nuxt.js with Firebase", "scripts": { diff --git a/examples/with-keep-alive/package.json b/examples/with-keep-alive/package.json index eb09c6630e..adfaf8bf95 100644 --- a/examples/with-keep-alive/package.json +++ b/examples/with-keep-alive/package.json @@ -1,5 +1,5 @@ { - "name": "hello-nuxt-keep-alive", + "name": "example-with-keep-alive", "dependencies": { "nuxt": "latest" }, diff --git a/examples/with-museui/package.json b/examples/with-museui/package.json index 6f88ac897c..7eaef886d9 100644 --- a/examples/with-museui/package.json +++ b/examples/with-museui/package.json @@ -1,5 +1,5 @@ { - "name": "with-museui", + "name": "example-with-museui", "dependencies": { "nuxt": "latest", "muse-ui": "latest" diff --git a/examples/with-purgecss/package.json b/examples/with-purgecss/package.json index 538e7ca36f..72a0c82ea0 100644 --- a/examples/with-purgecss/package.json +++ b/examples/with-purgecss/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-tailwindcss", + "name": "example-with-purgecss", "description": "Nuxt.js with Tailwind CSS", "scripts": { "dev": "nuxt", diff --git a/examples/with-sockets/package.json b/examples/with-sockets/package.json index b29200ff34..5f82d28ef1 100644 --- a/examples/with-sockets/package.json +++ b/examples/with-sockets/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-socketio", + "name": "example-with-sockets", "scripts": { "dev": "nodemon -w server.js -w nuxt.config.js server.js", "build": "nuxt build", diff --git a/examples/with-tape/package.json b/examples/with-tape/package.json index afb974ee4a..6c2c56aeac 100755 --- a/examples/with-tape/package.json +++ b/examples/with-tape/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-with-tape", + "name": "example-with-tape", "scripts": { "dev": "nuxt", "build": "nuxt build", diff --git a/examples/with-vue-material/package.json b/examples/with-vue-material/package.json index 0363fc255b..b7e8306d7d 100644 --- a/examples/with-vue-material/package.json +++ b/examples/with-vue-material/package.json @@ -1,5 +1,5 @@ { - "name": "with-vue-material", + "name": "example-with-vue-material", "version": "1.0.0", "dependencies": { "nuxt": "latest", diff --git a/examples/with-vuetify/package.json b/examples/with-vuetify/package.json index 646947ae35..b7b176f153 100644 --- a/examples/with-vuetify/package.json +++ b/examples/with-vuetify/package.json @@ -1,5 +1,5 @@ { - "name": "with-vuetify", + "name": "example-with-vuetify", "dependencies": { "nuxt": "latest", "vuetify": "latest" diff --git a/examples/with-vux/package.json b/examples/with-vux/package.json index 7684d25bd7..844cd2cd98 100644 --- a/examples/with-vux/package.json +++ b/examples/with-vux/package.json @@ -1,5 +1,5 @@ { - "name": "with-vux", + "name": "example-with-vux", "version": "1.0.0", "license": "MIT", "dependencies": {