chore: remove node-emoji (#3515)

fixes #3513
This commit is contained in:
John 2021-01-13 13:44:03 +08:00 committed by GitHub
parent 36502294ba
commit 6cb9d08b78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 10 deletions

View File

@ -152,7 +152,6 @@
"minimist": "^1.2.0",
"mkdirp": "^0.5.1",
"mockdate": "^2.0.2",
"node-emoji": "^1.10.0",
"nprogress": "^0.2.0",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"postcss": "^7.0.6",

View File

@ -1,6 +1,3 @@
/* eslint-disable max-len */
const emoji = require('node-emoji');
const env = process.env;
const ADBLOCK = is(env.ADBLOCK);
const CI = is(env.CI);
@ -23,16 +20,11 @@ if (!ADBLOCK && !CI && !DISABLE_OPENCOLLECTIVE && !SILENT) {
);
log(
'\u001B[96mThe project needs your help! Please consider supporting of ant-design-vue on Open Collective or Patreon: ' +
emoji.get('pray') +
'\u001B[0m',
);
log('\u001B[96m>\u001B[94m https://opencollective.com/ant-design-vue \u001B[0m');
log('\u001B[96m>\u001B[94m https://www.patreon.com/tangjinzhou \u001B[0m\n');
log(
'\u001B[96m更多赞助方式(支付宝、微信、Paypal)请查看如下链接: ' +
emoji.get('pray') +
'\u001B[0m',
);
log('\u001B[96m更多赞助方式(支付宝、微信、Paypal)请查看如下链接: ' + '\u001B[0m');
log('\u001B[96m>\u001B[94m https://www.antdv.com/docs/vue/sponsor-cn \u001B[0m\n');
log('\u001B[96mAnt Design Vue 官方网站: \u001B[0m');
log('\u001B[96m>\u001B[94m https://www.antdv.com/ \u001B[0m\n');