Skip to content

Commit 6cb9d08

Browse files
authored
chore: remove node-emoji (#3515)
fixes #3513
1 parent 3650229 commit 6cb9d08

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@
152152
"minimist": "^1.2.0",
153153
"mkdirp": "^0.5.1",
154154
"mockdate": "^2.0.2",
155-
"node-emoji": "^1.10.0",
156155
"nprogress": "^0.2.0",
157156
"optimize-css-assets-webpack-plugin": "^5.0.1",
158157
"postcss": "^7.0.6",

scripts/postinstall.js

+1-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
/* eslint-disable max-len */
2-
const emoji = require('node-emoji');
3-
41
const env = process.env;
52
const ADBLOCK = is(env.ADBLOCK);
63
const CI = is(env.CI);
@@ -23,16 +20,11 @@ if (!ADBLOCK && !CI && !DISABLE_OPENCOLLECTIVE && !SILENT) {
2320
);
2421
log(
2522
'\u001B[96mThe project needs your help! Please consider supporting of ant-design-vue on Open Collective or Patreon: ' +
26-
emoji.get('pray') +
2723
'\u001B[0m',
2824
);
2925
log('\u001B[96m>\u001B[94m https://opencollective.com/ant-design-vue \u001B[0m');
3026
log('\u001B[96m>\u001B[94m https://www.patreon.com/tangjinzhou \u001B[0m\n');
31-
log(
32-
'\u001B[96m更多赞助方式(支付宝、微信、Paypal)请查看如下链接: ' +
33-
emoji.get('pray') +
34-
'\u001B[0m',
35-
);
27+
log('\u001B[96m更多赞助方式(支付宝、微信、Paypal)请查看如下链接: ' + '\u001B[0m');
3628
log('\u001B[96m>\u001B[94m https://www.antdv.com/docs/vue/sponsor-cn \u001B[0m\n');
3729
log('\u001B[96mAnt Design Vue 官方网站: \u001B[0m');
3830
log('\u001B[96m>\u001B[94m https://www.antdv.com/ \u001B[0m\n');

0 commit comments

Comments
 (0)