vuejs3.0 从入门到精通——脚手架安装
脚手架安装
Vue CLI 是基于 Vue.js 进行快速开发的完整系统,支持搭建交互式项目、快速开始零配置原型开发、丰富的官方插件集合,以及完全图形化地创建和管理 Vue.js 项目的用户界面。
Vue CLI 致力于将 Vue.js 生态中的工具基础标准化,它确保各种构件工具基于智能的默认配置即可实现平稳衔接,使用户专注在撰写应用上,而不必浪费时间纠结配置的问题。同时,Vue CLI 也为每个工具提供了调整配置的灵活性,无须 reject。
主流的包管理工具有 3 种,分别是 npm、yarn 和 cnpm,三者选其一即可,它们都在终端使用命令运行。
一、npm
npm 资源来自国外,通常会出现资源加载速度慢、加载失败等情况。
使用 npm 命令全局安装 Vue CLI 脚手架:
[root@JumperServer:zuoyang] # npm install -g @vue/cli npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead. npm WARN deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. npm WARN deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead. npm WARN deprecated apollo-server-plugin-base@3.7.2: The `apollo-server-plugin-base` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. npm WARN deprecated apollo-server-errors@3.3.1: The `apollo-server-errors` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. npm WARN deprecated apollo-server-env@4.2.1: The `apollo-server-env` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. npm WARN deprecated apollo-reporting-protobuf@3.4.0: The `apollo-reporting-protobuf` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/usage-reporting-protobuf` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. npm WARN deprecated apollo-datasource@3.3.2: The `apollo-datasource` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. npm WARN deprecated apollo-server-types@3.8.0: The `apollo-server-types` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. npm WARN deprecated apollo-server-core@3.12.1: The `apollo-server-core` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. npm WARN deprecated subscriptions-transport-ws@0.11.0: The `subscriptions-transport-ws` package is no longer maintained. We recommend you use `graphql-ws` instead. For help migrating Apollo software to `graphql-ws`, see https://www.apollographql.com/docs/apollo-server/data/subscriptions/#switching-from-subscriptions-transport-ws For general help using `graphql-ws`, see https://github.com/enisdenjo/graphql-ws/blob/master/README.md npm WARN deprecated apollo-server-express@3.12.1: The `apollo-server-express` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. npm WARN deprecated shortid@2.2.16: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. added 872 packages in 1m 66 packages are looking for funding run `npm fund` for details [root@JumperServer:zuoyang] # vue -V @vue/cli 5.0.8
使用 npm 命令卸载全局 Vue CLI 脚手架:
[root@JumperServer:zuoyang] # npm uninstall -g @vue/cli removed 872 packages in 1s [root@JumperServer:zuoyang] # vue -V -bash: /usr/local/node/current/bin/vue: No such file or directory [root@JumperServer:zuoyang] #
二、yarn
yarn 是 Facebook 发布的一款快速、可靠、安全的依赖管理工具。yarn 会将每个下载过的包 缓存起来,在下次依赖时不会重新下载。
2.1、使用如下命令安装 yarn:
[root@JumperServer:zuoyang] # npm install -g yarn added 1 package in 2s npm notice npm notice New major version of npm available! 9.5.1 -> 10.0.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.0.0 npm notice Run npm install -g npm@10.0.0 to update! npm notice
2.2、使用 yarn 安装 Vue CLI 脚手架:
[root@JumperServer:zuoyang] # yarn -version 1.22.19 [root@JumperServer:zuoyang] # yarn global add @vue/cli yarn global v1.22.19 [1/4] Resolving packages... warning @vue/cli > shortid@2.2.16: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. warning @vue/cli > @vue/cli-ui > shortid@2.2.16: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. warning @vue/cli > @vue/cli-ui > apollo-server-express@3.12.1: The `apollo-server-express` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/for more details. warning @vue/cli > @vue/cli-ui > subscriptions-transport-ws@0.11.0: The `subscriptions-transport-ws` package is no longer maintained. We recommend you use `graphql-ws` instead. For help migrating Apollo software to `graphql-ws`, see https://www.apollographql.com/docs/apollo-server/data/subscriptions/#switching-from-subscriptions-transport-ws For general help using `graphql-ws`, see https://github.com/enisdenjo/graphql-ws/blob/master/README.md warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-types@3.8.0: The `apollo-server-types` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core@3.12.1: The `apollo-server-core` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > apollo-server-types@3.8.0: The `apollo-server-types` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. warning @vue/cli > vue-codemod > jscodeshift > @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. warning @vue/cli > vue-codemod > jscodeshift > @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead. warning @vue/cli > vue-codemod > jscodeshift > @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead. warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-types > apollo-reporting-protobuf@3.4.0: The `apollo-reporting-protobuf` package is part of Apollo Server v2 and v3,which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/usage-reporting-protobuf` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > apollo-reporting-protobuf@3.4.0: The `apollo-reporting-protobuf` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/usage-reporting-protobuf` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-types > apollo-server-env@4.2.1: The `apollo-server-env` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > apollo-server-env@4.2.1: The `apollo-server-env` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > apollo-server-errors@3.3.1: The `apollo-server-errors` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > apollo-datasource@3.3.2: The `apollo-datasource` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > apollo-datasource > apollo-server-env@4.2.1: The `apollo-server-env` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > apollo-server-plugin-base@3.7.2: The `apollo-server-plugin-base` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > apollo-server-plugin-base > apollo-server-types@3.8.0: The `apollo-server-types` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. Seehttps://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. warning @vue/cli > vue-codemod > jscodeshift > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated warning @vue/cli > vue-codemod > jscodeshift > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated warning @vue/cli > vue-codemod > jscodeshift > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated warning @vue/cli > vue-codemod > jscodeshift > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... success Installed "@vue/cli@5.0.8" with binaries: - vue Done in 44.17s. [root@JumperServer:zuoyang] #
三、cnpm
cnpm 是国内的淘宝镜像。在构建项目过程中,很多的资源包需要从国外服务器下载,受网络影响会下载失败,因此可使用淘宝镜像下载。
[root@JumperServer:zuoyang] # npm install -g cnpm --registry=https://registry.npm.taobao.org (⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠏ idealTree:lib: sill idealTree buildDeps changed 421 packages in 9s 28 packages are looking for funding run `npm fund` for details [root@JumperServer:zuoyang] # [root@JumperServer:zuoyang] # [root@JumperServer:zuoyang] # cnpm -v cnpm@9.2.0 (/usr/local/node/release/node-v18.16.0-linux-x64/lib/node_modules/cnpm/lib/parse_argv.js) npm@9.8.1 (/usr/local/node/release/node-v18.16.0-linux-x64/lib/node_modules/cnpm/node_modules/npm/index.js) node@18.16.0 (/usr/local/node/release/node-v18.16.0-linux-x64/bin/node) npminstall@7.10.0 (/usr/local/node/release/node-v18.16.0-linux-x64/lib/node_modules/cnpm/node_modules/npminstall/lib/index.js) prefix=/usr/local/node/release/node-v18.16.0-linux-x64 linux x64 5.10.0-60.18.0.50.r509_2.hce2.x86_64 registry=https://registry.npmmirror.com [root@JumperServer:zuoyang] # cnpm install -g @vue/cli Downloading @vue/cli to /usr/local/node/release/node-v18.16.0-linux-x64/lib/node_modules/@vue/cli_tmp Copying /usr/local/node/release/node-v18.16.0-linux-x64/lib/node_modules/@vue/cli_tmp/.store/@vue+cli@5.0.8/node_modules/@vue/cli to /usr/local/node/release/node-v18.16.0-linux-x64/lib/node_modules/@vue/cli Installing @vue/cli's dependencies to /usr/local/node/release/node-v18.16.0-linux-x64/lib/node_modules/@vue/cli/node_modules [1/35] commander@^7.1.0 installed at node_modules/.store/commander@7.2.0/node_modules/commander [2/35] ini@^2.0.0 installed at node_modules/.store/ini@2.0.0/node_modules/ini [3/35] lodash.clonedeep@^4.5.0 installed at node_modules/.store/lodash.clonedeep@4.5.0/node_modules/lodash.clonedeep [4/35] slash@^3.0.0 installed at node_modules/.store/slash@3.0.0/node_modules/slash [5/35] leven@^3.1.0 installed at node_modules/.store/leven@3.1.0/node_modules/leven [6/35] isbinaryfile@^4.0.6 installed at node_modules/.store/isbinaryfile@4.0.10/node_modules/isbinaryfile [7/35] @types/ejs@^3.0.6 installed at node_modules/.store/@types+ejs@3.1.2/node_modules/@types/ejs [8/35] deepmerge@^4.2.2 installed at node_modules/.store/deepmerge@4.3.1/node_modules/deepmerge [9/35] javascript-stringify@^2.0.1 installed at node_modules/.store/javascript-stringify@2.1.0/node_modules/javascript-stringify [10/35] debug@^4.1.0 installed at node_modules/.store/debug@4.3.4/node_modules/debug [11/35] envinfo@^7.7.4 installed at node_modules/.store/envinfo@7.10.0/node_modules/envinfo [12/35] @vue/cli-ui-addon-widgets@^5.0.8 installed at node_modules/.store/@vue+cli-ui-addon-widgets@5.0.8/node_modules/@vue/cli-ui-addon-widgets [13/35] @vue/cli-ui-addon-webpack@^5.0.8 installed at node_modules/.store/@vue+cli-ui-addon-webpack@5.0.8/node_modules/@vue/cli-ui-addon-webpack [14/35] strip-ansi@^6.0.0 installed at node_modules/.store/strip-ansi@6.0.1/node_modules/strip-ansi [15/35] lru-cache@^6.0.0 installed at node_modules/.store/lru-cache@6.0.0/node_modules/lru-cache [16/35] validate-npm-package-name@^3.0.0 installed at node_modules/.store/validate-npm-package-name@3.0.0/node_modules/validate-npm-package-name [17/35] shortid@^2.2.15 installed at node_modules/.store/shortid@2.2.16/node_modules/shortid [18/35] js-yaml@^4.0.0 installed at node_modules/.store/js-yaml@4.1.0/node_modules/js-yaml [19/35] import-global@^0.1.0 installed at node_modules/.store/import-global@0.1.0/node_modules/import-global [20/35] fs-extra@^9.1.0 installed at node_modules/.store/fs-extra@9.1.0/node_modules/fs-extra [21/35] minimist@^1.2.5 installed at node_modules/.store/minimist@1.2.8/node_modules/minimist [22/35] recast@^0.20.3 installed at node_modules/.store/recast@0.20.5/node_modules/recast [23/35] boxen@^5.0.0 installed at node_modules/.store/boxen@5.1.2/node_modules/boxen [24/35] pkg-dir@^5.0.0 installed at node_modules/.store/pkg-dir@5.0.0/node_modules/pkg-dir [25/35] yaml-front-matter@^4.1.0 installed at node_modules/.store/yaml-front-matter@4.1.1/node_modules/yaml-front-matter [26/35] resolve@^1.20.0 installed at node_modules/.store/resolve@1.22.4/node_modules/resolve [27/35] ejs@^3.1.6 installed at node_modules/.store/ejs@3.1.9/node_modules/ejs [28/35] globby@^11.0.2 installed at node_modules/.store/globby@11.1.0/node_modules/globby [29/35] @vue/cli-shared-utils@^5.0.8 installed at node_modules/.store/@vue+cli-shared-utils@5.0.8/node_modules/@vue/cli-shared-utils [30/35] vue@^2.6.14 installed at node_modules/.store/vue@2.7.14/node_modules/vue [31/35] download-git-repo@^3.0.2 installed at node_modules/.store/download-git-repo@3.0.2/node_modules/download-git-repo [32/35] @types/inquirer@^8.1.3 installed at node_modules/.store/@types+inquirer@8.2.6/node_modules/@types/inquirer [33/35] inquirer@^8.0.0 installed at node_modules/.store/inquirer@8.2.6/node_modules/inquirer [34/35] vue-codemod@^0.0.5 installed at node_modules/.store/vue-codemod@0.0.5/node_modules/vue-codemod [35/35] @vue/cli-ui@^5.0.8 installed at node_modules/.store/@vue+cli-ui@5.0.8/node_modules/@vue/cli-ui deprecate shortid@^2.2.15 Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. deprecate vue-codemod@0.0.5 › jscodeshift@0.11.0 › @babel/plugin-proposal-class-properties@^7.1.0 This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. deprecate vue-codemod@0.0.5 › jscodeshift@0.11.0 › @babel/plugin-proposal-optional-chaining@^7.1.0 This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead. deprecate vue-codemod@0.0.5 › jscodeshift@0.11.0 › @babel/plugin-proposal-nullish-coalescing-operator@^7.1.0 This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead. deprecate vue-codemod@0.0.5 › jscodeshift@0.11.0 › micromatch@3.1.10 › snapdragon@0.8.2 › source-map-resolve@^0.5.0 See https://github.com/lydell/source-map-resolve#deprecated deprecate vue-codemod@0.0.5 › jscodeshift@0.11.0 › micromatch@3.1.10 › snapdragon@0.8.2 › source-map-resolve@0.5.3 › source-map-url@^0.4.0 See https://github.com/lydell/source-map-url#deprecated deprecate vue-codemod@0.0.5 › jscodeshift@0.11.0 › micromatch@3.1.10 › snapdragon@0.8.2 › source-map-resolve@0.5.3 › resolve-url@^0.2.1 https://github.com/lydell/resolve-url#deprecated deprecate vue-codemod@0.0.5 › jscodeshift@0.11.0 › micromatch@3.1.10 › snapdragon@0.8.2 › source-map-resolve@0.5.3 › urix@^0.1.0 Please see https://github.com/lydell/urix#deprecated deprecate @vue/cli-ui@5.0.8 › apollo-server-express@^3.9.0 The `apollo-server-express` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ formore details. deprecate @vue/cli-ui@5.0.8 › subscriptions-transport-ws@^0.11.0 The `subscriptions-transport-ws` package is no longer maintained. We recommend you use `graphql-ws` instead. For help migrating Apollo software to `graphql-ws`, see https://www.apollographql.com/docs/apollo-server/data/subscriptions/#switching-from-subscriptions-transport-ws For general help using `graphql-ws`, see https://github.com/enisdenjo/graphql-ws/blob/master/README.md anti semver @vue/cli-ui@5.0.8 › apollo-server-express@3.12.1 › @types/express@4.17.14 › @types/express-serve-static-core@^4.17.18 delcares @types/express-serve-static-core@^4.17.18(resolved as 4.17.36) but using ancestor(apollo-server-express)'s dependency @types/express-serve-static-core@4.17.31(resolved as 4.17.31) deprecate @vue/cli-ui@5.0.8 › apollo-server-express@3.12.1 › apollo-server-types@^3.8.0 The `apollo-server-types` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. deprecate @vue/cli-ui@5.0.8 › apollo-server-express@3.12.1 › apollo-server-types@3.8.0 › apollo-server-env@^4.2.1 The `apollo-server-env` package is part of Apollo Server v2 and v3, whichare now deprecated (end-of-life October 22nd 2023). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. deprecate @vue/cli-ui@5.0.8 › apollo-server-express@3.12.1 › apollo-server-types@3.8.0 › apollo-reporting-protobuf@^3.4.0 The `apollo-reporting-protobuf` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package's functionality is now found in the `@apollo/usage-reporting-protobuf` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. deprecate @vue/cli-ui@5.0.8 › apollo-server-express@3.12.1 › apollo-server-core@^3.12.1 The `apollo-server-core` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. deprecate @vue/cli-ui@5.0.8 › apollo-server-express@3.12.1 › apollo-server-core@3.12.1 › apollo-server-errors@^3.3.1 The `apollo-server-errors` package is part of Apollo Server v2 and v3,which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. deprecate @vue/cli-ui@5.0.8 › apollo-server-express@3.12.1 › apollo-server-core@3.12.1 › apollo-datasource@^3.3.2 The `apollo-datasource` package is part of Apollo Server v2 and v3, whichare now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. deprecate @vue/cli-ui@5.0.8 › apollo-server-express@3.12.1 › apollo-server-core@3.12.1 › apollo-server-plugin-base@^3.7.2 The `apollo-server-plugin-base` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. Recently updated (since 2023-08-30): 41 packages (detail see file /usr/local/node/release/node-v18.16.0-linux-x64/lib/node_modules/@vue/cli/node_modules/.recently_updates.txt) 2023-09-05 → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/helper-compilation-targets@7.22.15 › browserslist@4.21.10 › caniuse-lite@^1.0.30001517(1.0.30001527) (13:47:23) → @vue/cli-ui@5.0.8 › apollo-server-express@3.12.1 › @types/body-parser@1.19.2 › @types/connect@*(3.4.36) (00:13:32) 2023-09-04 → vue-codemod@0.0.5 › @babel/preset-env@^7.10.3(7.22.15) (20:25:28) → vue-codemod@0.0.5 › jscodeshift@0.11.0 › @babel/preset-typescript@^7.1.0(7.22.15) (20:25:28) → vue-codemod@0.0.5 › jscodeshift@0.11.0 › @babel/preset-flow@^7.0.0(7.22.15) (20:25:13) → vue-codemod@0.0.5 › jscodeshift@0.11.0 › @babel/plugin-transform-modules-commonjs@^7.1.0(7.22.15) (20:25:23) → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.22.15(7.22.15) (20:25:03) → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/plugin-transform-async-generator-functions@^7.22.15(7.22.15) (20:25:04) → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.22.15(7.22.15) (20:25:11) → vue-codemod@0.0.5 › jscodeshift@0.11.0 › @babel/register@^7.0.0(7.22.15) (20:25:07) → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/helper-validator-option@^7.22.15(7.22.15) (20:25:03) → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/plugin-transform-for-of@^7.22.15(7.22.15) (20:25:06) → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/plugin-transform-optional-chaining@^7.22.15(7.22.15) (20:25:06) → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/plugin-transform-object-rest-spread@^7.22.15(7.22.15) (20:25:18) → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/plugin-transform-classes@^7.22.15(7.22.15) (20:25:18) → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/plugin-transform-destructuring@^7.22.15(7.22.15) (20:25:05) → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/helper-compilation-targets@^7.22.15(7.22.15) (20:25:11) → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/plugin-transform-parameters@^7.22.15(7.22.15) (20:25:06) → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/plugin-transform-block-scoping@^7.22.15(7.22.15) (20:25:05) → vue-codemod@0.0.5 › @babel/core@^7.10.3(7.22.15) (20:25:28) → vue-codemod@0.0.5 › jscodeshift@0.11.0 › @babel/preset-typescript@7.22.15 › @babel/plugin-transform-typescript@^7.22.15(7.22.15) (20:25:23) → vue-codemod@0.0.5 › jscodeshift@0.11.0 › @babel/plugin-proposal-class-properties@7.18.6 › @babel/helper-create-class-features-plugin@^7.18.6(7.22.15) (20:25:20) → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/plugin-transform-exponentiation-operator@7.22.5 › @babel/helper-builder-binary-assignment-operator-visitor@^7.22.5(7.22.15) (20:25:17) → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/plugin-transform-unicode-regex@7.22.5 › @babel/helper-create-regexp-features-plugin@^7.22.5(7.22.15) (20:25:02) → vue-codemod@0.0.5 › @vue/compiler-core@3.3.4 › @babel/parser@^7.21.3(7.22.15) (20:25:04) → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/plugin-transform-async-to-generator@7.22.5 › @babel/helper-module-imports@^7.22.5(7.22.15) (20:25:17) → vue-codemod@0.0.5 › jscodeshift@0.11.0 › @babel/plugin-transform-modules-commonjs@7.22.15 › @babel/helper-module-transforms@^7.22.15(7.22.15) (20:25:20) → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/plugin-transform-modules-systemjs@7.22.11 › @babel/helper-validator-identifier@^7.22.5(7.22.15) (20:25:01) → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/plugin-transform-computed-properties@7.22.5 › @babel/template@^7.22.5(7.22.15) (20:25:18) → vue-codemod@0.0.5 › jscodeshift@0.11.0 › @babel/plugin-proposal-class-properties@7.18.6 › @babel/helper-create-class-features-plugin@7.22.15 › @babel/helper-member-expression-to-functions@^7.22.15(7.22.15) (20:25:17) → vue-codemod@0.0.5 › @babel/types@^7.12.12(7.22.15) (20:25:14) → vue-codemod@0.0.5 › @babel/core@7.22.15 › @babel/generator@^7.22.15(7.22.15) (20:25:17) → vue-codemod@0.0.5 › @babel/core@7.22.15 › @babel/helpers@^7.22.15(7.22.15) (20:25:23) → vue-codemod@0.0.5 › @babel/core@7.22.15 › @babel/traverse@^7.22.15(7.22.15) (20:25:22) → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/plugin-transform-regenerator@7.22.10 › regenerator-transform@0.15.2 › @babel/runtime@^7.8.4(7.22.15) (20:25:07) 2023-09-03 → @types/inquirer@8.2.6 › @types/through@0.0.30 › @types/node@*(20.5.9) (04:03:08) 2023-09-01 → vue-codemod@0.0.5 › @babel/preset-env@7.22.15 › @babel/helper-compilation-targets@7.22.15 › browserslist@4.21.10 › electron-to-chromium@^1.4.477(1.4.508) (14:02:22) 2023-08-31 → @vue/cli-shared-utils@5.0.8 › joi@^17.4.0(17.10.1) (23:49:19) → @vue/cli-ui@5.0.8 › apollo-server-express@^3.9.0(3.12.1) (05:17:15) → @vue/cli-ui@5.0.8 › apollo-server-express@3.12.1 › @types/express@4.17.14 › @types/qs@*(6.9.8) (04:02:08) → @vue/cli-ui@5.0.8 › apollo-server-express@3.12.1 › apollo-server-core@^3.12.1(3.12.1) (05:17:12) Run 2 script(s) in 120ms. All packages installed (778 packages installed from npm registry, used 9s(network 9s), speed 4.57MB/s, json 680(8.75MB), tarball 33.58MB, manifests cache hit 0, etag hit 0 / miss 0) [@vue/cli@5.0.8] link /usr/local/node/release/node-v18.16.0-linux-x64/bin/vue@ -> /usr/local/node/release/node-v18.16.0-linux-x64/lib/node_modules/@vue/cli/bin/vue.js [root@JumperServer:zuoyang] # vue -V @vue/cli 5.0.8 [root@JumperServer:zuoyang] #