Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7b31940

Browse files
committed
chore: reword the warning message
1 parent33ae281 commit7b31940

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

‎index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1+
constchalk=require('chalk')
2+
13
module.exports=(api,options)=>{
24
try{
35
api.assertVersion('< 4.5.0')
46
}catch(e){
5-
console.warn(`vue-cli-plugin-vue-next is no longer needed for Vue 3 support, please remove it from the dependencies.`)
7+
console.warn(chalk.red(`Vue CLI now supports Vue 3 by default.`))
8+
console.warn(chalk.red(`vue-cli-plugin-vue-next is no longer needed, please remove it from the dependencies.`))
69
return
710
}
811

‎package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"test":"jest"
1414
},
1515
"dependencies": {
16+
"chalk":"^4.1.0",
1617
"vue-loader":"^16.0.0-alpha.3"
1718
},
1819
"peerDependencies": {

‎yarn.lock

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1455,6 +1455,14 @@ chalk@^3.0.0:
14551455
ansi-styles "^4.1.0"
14561456
supports-color "^7.1.0"
14571457

1458+
chalk@^4.1.0:
1459+
version "4.1.0"
1460+
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a"
1461+
integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==
1462+
dependencies:
1463+
ansi-styles "^4.1.0"
1464+
supports-color "^7.1.0"
1465+
14581466
ci-info@^2.0.0:
14591467
version "2.0.0"
14601468
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp