forked from mirrors/misskey
feat(frontend): tabler-iconsのサブセット化 (#15340)
* feat(frontend): tabler-iconsの使用されていないアイコンを削除するように * fix * fix * fix * fix * fix * Update Changelog * enhance: tablerのCSSを使用されているクラスのみに限定 * 使用するアイコンパッケージをそろえる * Update CONTRIBUTING.md * Update CONTRIBUTING.md * spdx * typo * fix: サブセットから除外される書き方をしている部分を修正 * fix: 同じunicodeに複数のアイコンclassが割り当てられている場合に対応 * remove debug code * Update CHANGELOG.md * fix merge error * setup renovate * fix: woff2ではなくwoffに変換していたのを修正 * update deps * update changelog
This commit is contained in:
30
packages/icons-subsetter/package.json
Normal file
30
packages/icons-subsetter/package.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"name": "icons-subsetter",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"description": "Subset tabler-icons webfont",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "tsx src/generator.ts",
|
||||
"eslint": "eslint src/**/*.ts",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"lint": "pnpm typecheck && pnpm eslint"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "22.15.21",
|
||||
"@types/wawoff2": "1.0.2",
|
||||
"@typescript-eslint/eslint-plugin": "8.32.1",
|
||||
"@typescript-eslint/parser": "8.32.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tabler/icons-webfont": "3.33.0",
|
||||
"harfbuzzjs": "0.4.7",
|
||||
"tiny-glob": "0.2.9",
|
||||
"tsx": "4.19.4",
|
||||
"typescript": "5.8.3",
|
||||
"wawoff2": "2.0.1"
|
||||
},
|
||||
"files": [
|
||||
"built"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user