chore: remove node-emoji (#3515)

fixes #3513
pull/3197/head
John 4 years ago committed by GitHub
parent 36502294ba
commit 6cb9d08b78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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

Loading…
Cancel
Save