Skip to content

Commit 754f39c

Browse files
authored
feat: switch to published twemoji font v17.0.2 and some package updates (#950)
<!-- Please read https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before submitting your pull request --> ### Description cherry picked from #607 #### Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update ### Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings ### AI disclosure: - [ ] Partially AI assisted (clarify which code was AI assisted and briefly explain what it does). - [ ] Fully AI generated (explain what all the generated code does in moderate detail). <!-- Write any explanation required here, but do not generate the explanation using AI!! You must prove you understand what the code in this PR does. -->
2 parents 5d4e784 + 16fa2d3 commit 754f39c

35 files changed

Lines changed: 2128 additions & 1738 deletions
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
default: minor
3+
---
4+
5+
# Updates Twemoji to from v15 to v17 🫪
6+
7+
You can check here for emoji changes:
8+
9+
- https://www.unicode.org/emoji/charts-16.0/emoji-released.html
10+
- https://www.unicode.org/emoji/charts-17.0/emoji-released.html

knip.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"ignoreDependencies": [
1010
"buffer",
1111
"@sableclient/sable-call-embedded",
12-
"@matrix-org/matrix-sdk-crypto-wasm"
12+
"@matrix-org/matrix-sdk-crypto-wasm",
13+
"@sableclient/twemoji-font"
1314
],
1415
"ignoreBinaries": ["knope"],
1516
"rules": {

oxlint.config.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,21 @@ export default defineConfig({
3535
'typescript/no-unnecessary-type-arguments': 'off',
3636
'oxc/no-map-spread': 'off',
3737
'promise/always-return': 'off',
38+
'no-underscore-dangle': [
39+
'warn',
40+
{
41+
allow: [
42+
'_fetched',
43+
'__dirname',
44+
'__WB_MANIFEST',
45+
'_unstable_sendDelayedEvent',
46+
'_unstable_getDelayedEvents',
47+
'_unstable_updateDelayedEvent',
48+
'_unstable_sendDelayedStateEvent',
49+
'_unstable_getSharedRooms',
50+
],
51+
},
52+
],
3853
},
3954
overrides: [
4055
{

package.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22
"name": "sable",
33
"version": "1.18.1",
44
"description": "An almost stable Matrix client",
5+
"keywords": [],
6+
"license": "AGPL-3.0-only",
7+
"author": "7w1",
58
"type": "module",
6-
"packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be",
7-
"engines": {
8-
"node": "24.x",
9-
"pnpm": ">=10"
10-
},
119
"scripts": {
1210
"dev": "vite dev",
1311
"build": "vite build",
@@ -27,9 +25,6 @@
2725
"document-change": "knope document-change",
2826
"postinstall": "node scripts/install-knope.js"
2927
},
30-
"keywords": [],
31-
"author": "7w1",
32-
"license": "AGPL-3.0-only",
3328
"dependencies": {
3429
"@arborium/arborium": "^2.16.0",
3530
"@atlaskit/pragmatic-drag-and-drop": "^1.7.7",
@@ -38,6 +33,7 @@
3833
"@fontsource-variable/nunito": "5.2.7",
3934
"@fontsource/space-mono": "5.2.9",
4035
"@phosphor-icons/react": "^2.1.10",
36+
"@sableclient/twemoji-font": "^1.0.2",
4137
"@sentry/react": "^10.43.0",
4238
"@tanstack/react-query": "^5.90.21",
4339
"@tanstack/react-query-devtools": "^5.91.3",
@@ -123,7 +119,7 @@
123119
"jsdom": "^29.0.0",
124120
"knip": "5.85.0",
125121
"oxfmt": "^0.45.0",
126-
"oxlint": "^1.60.0",
122+
"oxlint": "^1.70.0",
127123
"oxlint-tsgolint": "^0.21.0",
128124
"typescript": "^5.9.3",
129125
"vite": "^7.3.1",
@@ -134,5 +130,10 @@
134130
"vite-plugin-top-level-await": "^1.6.0",
135131
"vitest": "^4.1.0",
136132
"wrangler": "^4.70.0"
137-
}
138-
}
133+
},
134+
"engines": {
135+
"node": "24.x",
136+
"pnpm": ">=10"
137+
},
138+
"packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be"
139+
}

0 commit comments

Comments
 (0)