Skip to content

Commit 651f69c

Browse files
committed
chore: apply coderabbit suggestions
1 parent b4d8d08 commit 651f69c

3 files changed

Lines changed: 1 addition & 47 deletions

File tree

packages/cli/src/cmd/generate.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
import type { EmojiSpecRecord } from "@mojis/schemas/emojis";
22
import type { CLIArguments } from "../cli-utils";
33
import { runSourceAdapter, sourceHandlers } from "@mojis/adapters";
4-
import {
5-
OFFICIAL_SUPPORTED_VERSIONS,
6-
} from "@mojis/internal-utils";
74
import mojiCompare from "@mojis/moji-compare";
85
import {
96
getAllEmojiVersions,
107
getLatestEmojiVersion,
118
mapEmojiVersionToUnicodeVersion,
9+
OFFICIAL_SUPPORTED_VERSIONS,
1210
} from "@mojis/versions";
1311
import { green, yellow } from "farver/fast";
1412
import fs from "fs-extra";
Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,2 @@
1-
export const OFFICIAL_SUPPORTED_VERSIONS = [
2-
"1.0",
3-
"2.0",
4-
"3.0",
5-
"4.0",
6-
"5.0",
7-
"11.0",
8-
"12.0",
9-
"12.1",
10-
"13.0",
11-
"13.1",
12-
"14.0",
13-
"15.0",
14-
"15.1",
15-
"16.0",
16-
];
17-
181
export const FEMALE_SIGN = "2640"; // FEMALE SIGN
192
export const MALE_SIGN = "2642"; // MALE SIGN
20-
21-
/**
22-
* These versions don't exist in the Unicode Consortium's emoji versioning scheme.
23-
* This is because they aligned the emoji version with the Unicode version starting from v11.
24-
*
25-
* So actually, the emoji version v11.0 is v6.0
26-
*/
27-
export const NON_EXISTING_VERSIONS = ["6.x", "7.x", "8.x", "9.x", "10.x"];

packages/versions/CHANGELOG.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)