This reverts commit 6abaf04a95.
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
2ba91e43b6
Коммит
77cc356d46
@@ -223,9 +223,6 @@ var SystemEmojis = map[string]string{
|
|||||||
"palms_up_together": "1f932",
|
"palms_up_together": "1f932",
|
||||||
"handshake": "1f91d",
|
"handshake": "1f91d",
|
||||||
"pray": "1f64f",
|
"pray": "1f64f",
|
||||||
"thanks": "1f64f",
|
|
||||||
"thank you": "1f64f",
|
|
||||||
"thank_you": "1f64f",
|
|
||||||
"writing_hand": "270d-fe0f",
|
"writing_hand": "270d-fe0f",
|
||||||
"nail_care": "1f485",
|
"nail_care": "1f485",
|
||||||
"selfie": "1f933",
|
"selfie": "1f933",
|
||||||
|
|||||||
@@ -2200,11 +2200,6 @@
|
|||||||
"om_symbol":[
|
"om_symbol":[
|
||||||
"om"
|
"om"
|
||||||
],
|
],
|
||||||
"pray": [
|
|
||||||
"thanks",
|
|
||||||
"thank you",
|
|
||||||
"thank_you"
|
|
||||||
],
|
|
||||||
"racing_motorcycle":[
|
"racing_motorcycle":[
|
||||||
"motorcycle"
|
"motorcycle"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -13,17 +13,17 @@
|
|||||||
* npm run make-emojis -- --help
|
* npm run make-emojis -- --help
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as fs from 'node:fs';
|
|
||||||
import * as fsPromise from 'node:fs/promises';
|
|
||||||
import path from 'node:path';
|
import path from 'node:path';
|
||||||
|
import * as fsPromise from 'node:fs/promises';
|
||||||
|
import * as fs from 'node:fs';
|
||||||
import * as url from 'node:url';
|
import * as url from 'node:url';
|
||||||
|
|
||||||
import chalk from 'chalk';
|
|
||||||
import jsonCategories from 'emoji-datasource/categories.json' assert { type: 'json' };
|
|
||||||
import jsonData from 'emoji-datasource/emoji.json' assert { type: 'json' };
|
|
||||||
import yargs from 'yargs';
|
import yargs from 'yargs';
|
||||||
|
import chalk from 'chalk';
|
||||||
|
import jsonData from 'emoji-datasource/emoji.json';
|
||||||
|
import jsonCategories from 'emoji-datasource/categories.json';
|
||||||
|
|
||||||
import additionalShortnames from './additional_shortnames.json' assert { type: 'json' };
|
import additionalShortnames from './additional_shortnames.json';
|
||||||
|
|
||||||
const EMOJI_SIZE = 64;
|
const EMOJI_SIZE = 64;
|
||||||
const EMOJI_SIZE_PADDED = EMOJI_SIZE + 2; // 1px per side
|
const EMOJI_SIZE_PADDED = EMOJI_SIZE + 2; // 1px per side
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ describe('getRecentEmojisData', () => {
|
|||||||
{name: 'flag-au', usageCount: 1},
|
{name: 'flag-au', usageCount: 1},
|
||||||
{name: 'kappa', usageCount: 1},
|
{name: 'kappa', usageCount: 1},
|
||||||
{name: 'gitlab', usageCount: 1},
|
{name: 'gitlab', usageCount: 1},
|
||||||
|
{name: 'thanks', usageCount: 1},
|
||||||
];
|
];
|
||||||
const state = mergeObjects(baseState, {
|
const state = mergeObjects(baseState, {
|
||||||
entities: {
|
entities: {
|
||||||
@@ -98,7 +99,7 @@ describe('getRecentEmojisData', () => {
|
|||||||
{name: 'flag-au', usageCount: 1},
|
{name: 'flag-au', usageCount: 1},
|
||||||
{name: 'kappa', usageCount: 1},
|
{name: 'kappa', usageCount: 1},
|
||||||
{name: 'gitlab', usageCount: 1},
|
{name: 'gitlab', usageCount: 1},
|
||||||
{name: 'smile', usageCount: 1},
|
{name: 'thanks', usageCount: 1},
|
||||||
];
|
];
|
||||||
const state = mergeObjects(baseState, {
|
const state = mergeObjects(baseState, {
|
||||||
entities: {
|
entities: {
|
||||||
|
|||||||
@@ -3893,10 +3893,7 @@
|
|||||||
"unified": "1F64F",
|
"unified": "1F64F",
|
||||||
"short_name": "pray",
|
"short_name": "pray",
|
||||||
"short_names": [
|
"short_names": [
|
||||||
"pray",
|
"pray"
|
||||||
"thanks",
|
|
||||||
"thank you",
|
|
||||||
"thank_you"
|
|
||||||
],
|
],
|
||||||
"text": null,
|
"text": null,
|
||||||
"texts": null,
|
"texts": null,
|
||||||
|
|||||||
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Ссылка в новой задаче
Block a user