chore(examples): use 2.x version of nuxt instead of latest (#19737)

This commit is contained in:
Rafał Chłodnicki 2023-03-16 06:24:27 -07:00 committed by GitHub
parent 59b8085515
commit 9e966a8f3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
71 changed files with 76 additions and 76 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "example-async-components-injection", "name": "example-async-components-injection",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -2,7 +2,7 @@
"name": "example-async-data", "name": "example-async-data",
"dependencies": { "dependencies": {
"axios": "^0.19.0", "axios": "^0.19.0",
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -3,7 +3,7 @@
"dependencies": { "dependencies": {
"cookieparser": "^0.1.0", "cookieparser": "^0.1.0",
"js-cookie": "^2.2.0", "js-cookie": "^2.2.0",
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -5,7 +5,7 @@
"body-parser": "^1.17.2", "body-parser": "^1.17.2",
"express": "^4.15.3", "express": "^4.15.3",
"express-session": "^1.15.3", "express-session": "^1.15.3",
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -4,7 +4,7 @@
"dependencies": { "dependencies": {
"@nuxtjs/axios": "^5.0.0", "@nuxtjs/axios": "^5.0.0",
"@nuxtjs/proxy": "^1.1.2", "@nuxtjs/proxy": "^1.1.2",
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -2,7 +2,7 @@
"name": "example-cached-components", "name": "example-cached-components",
"dependencies": { "dependencies": {
"lru-cache": "^4.0.2", "lru-cache": "^4.0.2",
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -11,7 +11,7 @@
"post-update": "yarn upgrade --latest" "post-update": "yarn upgrade --latest"
}, },
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"devDependencies": { "devDependencies": {
"coffee-loader": "^0.8.0", "coffee-loader": "^0.8.0",

View File

@ -2,7 +2,7 @@
"name": "example-custom-build", "name": "example-custom-build",
"description": "", "description": "",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -1,7 +1,7 @@
{ {
"name": "example-custom-layouts", "name": "example-custom-layouts",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -1,7 +1,7 @@
{ {
"name": "example-custom-loading", "name": "example-custom-loading",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -1,7 +1,7 @@
{ {
"name": "example-custom-page-loading", "name": "example-custom-page-loading",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -1,7 +1,7 @@
{ {
"name": "example-custom-port-host", "name": "example-custom-port-host",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -2,7 +2,7 @@
"name": "example-custom-routes", "name": "example-custom-routes",
"dependencies": { "dependencies": {
"axios": "^0.19.0", "axios": "^0.19.0",
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -2,7 +2,7 @@
"name": "example-custom-server", "name": "example-custom-server",
"dependencies": { "dependencies": {
"express": "^4.15.3", "express": "^4.15.3",
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "node server.js", "dev": "node server.js",

View File

@ -1,7 +1,7 @@
{ {
"name": "example-custom-template", "name": "example-custom-template",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -10,6 +10,6 @@
"nuxt-start": "latest" "nuxt-start": "latest"
}, },
"devDependencies": { "devDependencies": {
"nuxt": "latest" "nuxt": "2.x"
} }
} }

View File

@ -2,7 +2,7 @@
"name": "example-dynamic-components", "name": "example-dynamic-components",
"dependencies": { "dependencies": {
"chart.js": "^2.7.3", "chart.js": "^2.7.3",
"nuxt": "latest", "nuxt": "2.x",
"vue-chartjs": "^3.4.2" "vue-chartjs": "^3.4.2"
}, },
"scripts": { "scripts": {

View File

@ -1,7 +1,7 @@
{ {
"name": "example-dynamic-layouts", "name": "example-dynamic-layouts",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -2,7 +2,7 @@
"name": "example-global-css", "name": "example-global-css",
"dependencies": { "dependencies": {
"bulma": "^0.5.1", "bulma": "^0.5.1",
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -1,7 +1,7 @@
{ {
"name": "example-hello-world", "name": "example-hello-world",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -1,7 +1,7 @@
{ {
"name": "example-i18n", "name": "example-i18n",
"dependencies": { "dependencies": {
"nuxt": "latest", "nuxt": "2.x",
"vue-i18n": "^7.3.2" "vue-i18n": "^7.3.2"
}, },
"scripts": { "scripts": {

View File

@ -1,7 +1,7 @@
{ {
"name": "example-jest-puppeteer", "name": "example-jest-puppeteer",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -9,7 +9,7 @@
"post-update": "yarn upgrade --latest" "post-update": "yarn upgrade --latest"
}, },
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.3.4", "@babel/core": "^7.3.4",

View File

@ -1,7 +1,7 @@
{ {
"name": "example-jsx", "name": "example-jsx",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -1,7 +1,7 @@
{ {
"name": "example-layout-transitions", "name": "example-layout-transitions",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -3,7 +3,7 @@
"version": "1.0.0", "version": "1.0.0",
"dependencies": { "dependencies": {
"@nuxtjs/markdownit": "^1.1.2", "@nuxtjs/markdownit": "^1.1.2",
"nuxt": "latest", "nuxt": "2.x",
"pug": "^2.0.0-rc.4" "pug": "^2.0.0-rc.4"
}, },
"scripts": { "scripts": {

View File

@ -1,7 +1,7 @@
{ {
"name": "example-meta-info", "name": "example-meta-info",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -1,7 +1,7 @@
{ {
"name": "example-middleware", "name": "example-middleware",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -1,7 +1,7 @@
{ {
"name": "example-minimal-features", "name": "example-minimal-features",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -1,7 +1,7 @@
{ {
"name": "my-app", "name": "my-app",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -1,7 +1,7 @@
{ {
"name": "example-nested-components", "name": "example-nested-components",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -1,7 +1,7 @@
{ {
"name": "example-nested-routes", "name": "example-nested-routes",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -6,7 +6,7 @@
"vue-content-placeholders": "^0.2.1" "vue-content-placeholders": "^0.2.1"
}, },
"devDependencies": { "devDependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -1,7 +1,7 @@
{ {
"name": "example-no-ssr", "name": "example-no-ssr",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -1,7 +1,7 @@
{ {
"name": "example-nuxt-prefetch", "name": "example-nuxt-prefetch",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -3,7 +3,7 @@
"dependencies": { "dependencies": {
"axios": "^0.19.0", "axios": "^0.19.0",
"mini-toastr": "^0.6.5", "mini-toastr": "^0.6.5",
"nuxt": "latest", "nuxt": "2.x",
"vue-notifications": "^0.8.0" "vue-notifications": "^0.8.0"
}, },
"scripts": { "scripts": {

View File

@ -1,7 +1,7 @@
{ {
"name": "example-programmatic", "name": "example-programmatic",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "node scripts/dev", "dev": "node scripts/dev",

View File

@ -12,7 +12,7 @@
"post-update": "yarn upgrade --latest" "post-update": "yarn upgrade --latest"
}, },
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"devDependencies": { "devDependencies": {
"coffee-loader": "^0.8.0", "coffee-loader": "^0.8.0",

View File

@ -1,7 +1,7 @@
{ {
"name": "example-pug", "name": "example-pug",
"dependencies": { "dependencies": {
"nuxt": "latest", "nuxt": "2.x",
"pug": "^2.0.3", "pug": "^2.0.3",
"pug-plain-loader": "^1.0.0" "pug-plain-loader": "^1.0.0"
}, },

View File

@ -1,7 +1,7 @@
{ {
"name": "examples-routes-meta", "name": "examples-routes-meta",
"dependencies": { "dependencies": {
"nuxt": "latest", "nuxt": "2.x",
"wingcss": "^1.0.0-beta" "wingcss": "^1.0.0-beta"
}, },
"scripts": { "scripts": {

View File

@ -1,7 +1,7 @@
{ {
"name": "example-routes-transitions", "name": "example-routes-transitions",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -2,7 +2,7 @@
"name": "example-scroll-behavior", "name": "example-scroll-behavior",
"dependencies": { "dependencies": {
"@nuxtjs/axios": "^5.3.6", "@nuxtjs/axios": "^5.3.6",
"nuxt": "latest", "nuxt": "2.x",
"vue-router": "https://github.com/homerjam/vue-router#dist" "vue-router": "https://github.com/homerjam/vue-router#dist"
}, },
"scripts": { "scripts": {

View File

@ -1,7 +1,7 @@
{ {
"name": "example-spa", "name": "example-spa",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -1,7 +1,7 @@
{ {
"name": "example-static-images", "name": "example-static-images",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -14,7 +14,7 @@
}, },
"dependencies": { "dependencies": {
"chart.js": "^2.7.1", "chart.js": "^2.7.1",
"nuxt": "latest", "nuxt": "2.x",
"vue-chartjs": "^3.1.1", "vue-chartjs": "^3.1.1",
"vuetify": "1.2.6" "vuetify": "1.2.6"
}, },

View File

@ -3,7 +3,7 @@
"dependencies": { "dependencies": {
"less": "^2.7.3", "less": "^2.7.3",
"less-loader": "^4.0.5", "less-loader": "^4.0.5",
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -2,7 +2,7 @@
"name": "example-styled-vue", "name": "example-styled-vue",
"version": "1.0.0", "version": "1.0.0",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -8,7 +8,7 @@
"post-update": "yarn upgrade --latest" "post-update": "yarn upgrade --latest"
}, },
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"devDependencies": { "devDependencies": {
"autoprefixer": "^7.1.6", "autoprefixer": "^7.1.6",

View File

@ -1,7 +1,7 @@
{ {
"name": "example-uikit", "name": "example-uikit",
"dependencies": { "dependencies": {
"nuxt": "latest", "nuxt": "2.x",
"uikit": "^3.0.0-beta.30", "uikit": "^3.0.0-beta.30",
"jquery": "^3.2.1" "jquery": "^3.2.1"
}, },

View File

@ -4,7 +4,7 @@
"@nuxtjs/apollo": "^4.0.0-rc.4", "@nuxtjs/apollo": "^4.0.0-rc.4",
"core-js": "^2.6.5", "core-js": "^2.6.5",
"node-fetch": "^2.3.0", "node-fetch": "^2.3.0",
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -4,7 +4,7 @@
"@nuxt/http": "^0.4.0", "@nuxt/http": "^0.4.0",
"chart.js": "^2.9.3", "chart.js": "^2.9.3",
"moment": "^2.24.0", "moment": "^2.24.0",
"nuxt": "latest", "nuxt": "2.x",
"vue-chartjs": "^3.5.0" "vue-chartjs": "^3.5.0"
}, },
"scripts": { "scripts": {

View File

@ -1,7 +1,7 @@
{ {
"name": "example-vue-class-component", "name": "example-vue-class-component",
"dependencies": { "dependencies": {
"nuxt": "latest", "nuxt": "2.x",
"nuxt-class-component": "latest" "nuxt-class-component": "latest"
}, },
"scripts": { "scripts": {

View File

@ -1,7 +1,7 @@
{ {
"name": "example-persisted-state", "name": "example-persisted-state",
"dependencies": { "dependencies": {
"nuxt": "latest", "nuxt": "2.x",
"vuex-persistedstate": "^2.0.0" "vuex-persistedstate": "^2.0.0"
}, },
"scripts": { "scripts": {

View File

@ -1,7 +1,7 @@
{ {
"name": "example-vuex-store", "name": "example-vuex-store",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -12,7 +12,7 @@
"post-update": "yarn upgrade --latest" "post-update": "yarn upgrade --latest"
}, },
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"devDependencies": { "devDependencies": {
"babel-eslint": "^8.2.6", "babel-eslint": "^8.2.6",

View File

@ -2,7 +2,7 @@
"name": "example-with-amp", "name": "example-with-amp",
"version": "1.0.0", "version": "1.0.0",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -12,6 +12,6 @@
"jsdom": "^11.0.0" "jsdom": "^11.0.0"
}, },
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
} }
} }

View File

@ -10,7 +10,7 @@
"post-update": "yarn upgrade --latest" "post-update": "yarn upgrade --latest"
}, },
"dependencies": { "dependencies": {
"nuxt": "latest", "nuxt": "2.x",
"nuxt-buefy": "latest" "nuxt-buefy": "latest"
} }
} }

View File

@ -3,12 +3,12 @@
"dependencies": { "dependencies": {
"cookie": "^0.3.1", "cookie": "^0.3.1",
"js-cookie": "^2.1.4", "js-cookie": "^2.1.4",
"nuxt": "latest", "nuxt": "2.x"
"post-update": "yarn upgrade --latest"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",
"build": "nuxt build", "build": "nuxt build",
"start": "nuxt start" "start": "nuxt start",
"post-update": "yarn upgrade --latest"
} }
} }

View File

@ -4,7 +4,7 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"element-ui": "^2.6.3", "element-ui": "^2.6.3",
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -33,7 +33,7 @@
"feathers-rest": "^1.6.0", "feathers-rest": "^1.6.0",
"feathers-socketio": "^1.4.2", "feathers-socketio": "^1.4.2",
"nedb": "^1.8.0", "nedb": "^1.8.0",
"nuxt": "latest", "nuxt": "2.x",
"passport": "^0.3.2", "passport": "^0.3.2",
"winston": "^2.3.0" "winston": "^2.3.0"
}, },

View File

@ -16,6 +16,6 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"axios": "^0.19.0", "axios": "^0.19.0",
"nuxt": "latest" "nuxt": "2.x"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "example-with-keep-alive", "name": "example-with-keep-alive",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -1,7 +1,7 @@
{ {
"name": "example-with-museui", "name": "example-with-museui",
"dependencies": { "dependencies": {
"nuxt": "latest", "nuxt": "2.x",
"muse-ui": "latest" "muse-ui": "latest"
}, },
"scripts": { "scripts": {

View File

@ -8,7 +8,7 @@
"post-update": "yarn upgrade --latest" "post-update": "yarn upgrade --latest"
}, },
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"devDependencies": { "devDependencies": {
"glob-all": "^3.1.0", "glob-all": "^3.1.0",

View File

@ -8,7 +8,7 @@
}, },
"dependencies": { "dependencies": {
"express": "^4.14.0", "express": "^4.14.0",
"nuxt": "latest", "nuxt": "2.x",
"socket.io": "^1.7.2", "socket.io": "^1.7.2",
"socket.io-client": "^1.7.2" "socket.io-client": "^1.7.2"
}, },

View File

@ -17,6 +17,6 @@
"tape": "^4.8.0" "tape": "^4.8.0"
}, },
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
} }
} }

View File

@ -2,7 +2,7 @@
"name": "example-with-vue-material", "name": "example-with-vue-material",
"version": "1.0.0", "version": "1.0.0",
"dependencies": { "dependencies": {
"nuxt": "latest", "nuxt": "2.x",
"vue": "~2.4.4", "vue": "~2.4.4",
"vue-material": "beta" "vue-material": "beta"
}, },

View File

@ -1,7 +1,7 @@
{ {
"name": "example-with-vuetify", "name": "example-with-vuetify",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "2.x"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -3,7 +3,7 @@
"dependencies": { "dependencies": {
"@vuikit/icons": "latest", "@vuikit/icons": "latest",
"@vuikit/theme": "latest", "@vuikit/theme": "latest",
"nuxt": "latest", "nuxt": "2.x",
"vuikit": "latest" "vuikit": "latest"
}, },
"scripts": { "scripts": {

View File

@ -3,7 +3,7 @@
"version": "1.0.0", "version": "1.0.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"nuxt": "latest", "nuxt": "2.x",
"vux": "^2.8.0" "vux": "^2.8.0"
}, },
"scripts": { "scripts": {