Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: Support emoji v15! #146

Merged
merged 9 commits into from
Jun 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ build/
cjs/
coverage/
dist/
dts/
esm/
lib/
mjs/
Expand Down
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ module.exports = {
rules: {
// All of the emoji mappings use numbers
'no-magic-numbers': 'off',

// Importing the datasets
'unicorn/prefer-module': 'off',
},
overrides: [
{
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ _book/
cache/
coverage/
build/
dts/
esm/
lib/
mjs/
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ JSON datasets, regex patterns, and more.

#### Features

- Supports the latest [Emoji 14](https://emojipedia.org/emoji-14.0/),
[Unicode 14](http://unicode.org/versions/Unicode14.0.0/), and
[CLDR 40](http://cldr.unicode.org/index/downloads/cldr-40) release versions
- Supports the latest [Emoji 15](https://emojipedia.org/emoji-15.0/),
[Unicode 15](http://unicode.org/versions/Unicode15.0.0/), and
[CLDR 42](http://cldr.unicode.org/index/downloads/cldr-42) release versions
- Built directly from the [emoji data source files](http://unicode.org/Public/emoji/)
- Based on the official [Unicode Technical Standard #51](http://unicode.org/reports/tr51/) (rev 19)
- With localization provided by
Expand Down
2 changes: 1 addition & 1 deletion bin/buildFilesizeTable.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import fs from 'fs';
import path from 'path';
import glob from 'fast-glob';
import { gzipSizeSync } from 'gzip-size';
import size from 'filesize';
import { filesize as size } from 'filesize';
import { fileURLToPath } from 'url';

function calculatePackage(packageName) {
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,23 @@
"node": ">=16.12.0"
},
"devDependencies": {
"@moonrepo/dev": "^2.0.0",
"@types/jest": "^29.5.1",
"babel-preset-moon": "^2.0.3",
"eslint": "^8.39.0",
"eslint-config-moon": "^2.0.3",
"@moonrepo/dev": "^2.0.1",
"@types/jest": "^29.5.2",
"babel-preset-moon": "^2.0.4",
"eslint": "^8.42.0",
"eslint-config-moon": "^2.0.4",
"fast-glob": "^3.2.12",
"fetch-mock-jest": "^1.5.1",
"filesize": "^10.0.7",
"gzip-size": "^7.0.0",
"jest": "^29.5.0",
"jest-preset-moon": "^2.0.1",
"lerna": "^6.6.1",
"packemon": "^3.0.3",
"jest-preset-moon": "^2.0.2",
"lerna": "^6.6.2",
"packemon": "^3.1.1",
"prettier": "^2.8.8",
"prettier-config-moon": "^1.1.2",
"tsconfig-moon": "^1.3.0",
"typescript": "^5.0.4"
"typescript": "^5.1.3"
},
"workspaces": [
"packages/*",
Expand Down
13 changes: 13 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# 7.0.0 - 2023-06-10

#### 🚀 Updates

- Updated to [Emoji 15.0](https://emojipedia.org/emoji-15.0/).
- Updated to [CLDR 42](http://cldr.unicode.org/index/downloads/cldr-42).

#### 🛠 Internals

- Migrated to moon configurations.
- Updated `LATEST_EMOJI_VERSION` to `15.0`.
- Updated `LATEST_CLDR_VERSION` to `42`.

### 6.1.0 - 2021-12-19

#### 🚀 Updates
Expand Down
6 changes: 3 additions & 3 deletions packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ JSON datasets, regex patterns, and more.

#### Features

- Supports the latest [Emoji 14](https://emojipedia.org/emoji-14.0/),
[Unicode 14](http://unicode.org/versions/Unicode14.0.0/), and
[CLDR 40](http://cldr.unicode.org/index/downloads/cldr-40) release versions
- Supports the latest [Emoji 15](https://emojipedia.org/emoji-15.0/),
[Unicode 15](http://unicode.org/versions/Unicode15.0.0/), and
[CLDR 42](http://cldr.unicode.org/index/downloads/cldr-42) release versions
- Built directly from the [emoji data source files](http://unicode.org/Public/emoji/)
- Based on the official [Unicode Technical Standard #51](http://unicode.org/reports/tr51/) (rev 19)
- With localization provided by
Expand Down
8 changes: 5 additions & 3 deletions packages/core/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ export const SKIN_KEY_DARK: SkinToneKey = 'dark';

// Important release versions and locales in generating accurate data.

export const LATEST_EMOJI_VERSION = '14.0';
export const LATEST_UNICODE_VERSION = '14.0.0';
export const LATEST_CLDR_VERSION = '40';
export const LATEST_EMOJI_VERSION = '15.0';
export const LATEST_UNICODE_VERSION = '15.0.0';
export const LATEST_CLDR_VERSION = '42';

export const FIRST_UNICODE_EMOJI_VERSION = '6.0.0';
export const EMOJI_VERSIONS = [
Expand All @@ -65,6 +65,7 @@ export const EMOJI_VERSIONS = [
'13.0',
'13.1',
'14.0',
'15.0',
];
export const UNICODE_VERSIONS = [
'6.0',
Expand All @@ -80,6 +81,7 @@ export const UNICODE_VERSIONS = [
'12.1',
'13.0',
'14.0',
'15.0',
];

export const SUPPORTED_LOCALES: Locale[] = [
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export type SubgroupKey =
| 'hand-prop'
| 'hand-single-finger'
| 'hands'
| 'heart'
| 'hotel'
| 'household'
| 'keycap'
Expand Down
10 changes: 10 additions & 0 deletions packages/data/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# 8.0.0 - 2023-06-10

#### 🎉 Release

- Updated to [Emoji 15](https://emojipedia.org/emoji-15.0/) and
[Unicode 15](http://unicode.org/versions/Unicode15.0.0/).
- 21 new emoji (31 including skin tones variations).
- Updated to [CLDR 42](http://cldr.unicode.org/index/downloads/cldr-42).
- Updated shortcodes.

### 7.0.1 - 2021-12-19

#### 🛠 Internals
Expand Down
Loading