mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 17:37:29 -07:00
fix pnp emoji stuff
This commit is contained in:
parent
ad2a7d7c57
commit
748bbdf6a3
9 changed files with 7398 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -71,6 +71,7 @@ pnpm*
|
|||
!.yarn/releases
|
||||
!.yarn/sdks
|
||||
!.yarn/versions
|
||||
!.yarn/unplugged/@discordapp-twemoji-npm-14.1.2-3097b95b97
|
||||
|
||||
# Nix Development shell items
|
||||
.devenv
|
||||
|
|
BIN
.yarn/cache/@esbuild-linux-x64-npm-0.18.17-2d9862a919-8.zip
(Stored with Git LFS)
vendored
Normal file
BIN
.yarn/cache/@esbuild-linux-x64-npm-0.18.17-2d9862a919-8.zip
(Stored with Git LFS)
vendored
Normal file
Binary file not shown.
BIN
.yarn/cache/@msgpackr-extract-msgpackr-extract-linux-x64-npm-3.0.2-262fca760d-8.zip
(Stored with Git LFS)
vendored
Normal file
BIN
.yarn/cache/@msgpackr-extract-msgpackr-extract-linux-x64-npm-3.0.2-262fca760d-8.zip
(Stored with Git LFS)
vendored
Normal file
Binary file not shown.
BIN
.yarn/cache/@rometools-cli-linux-x64-npm-12.1.3-a343b37dfc-8.zip
(Stored with Git LFS)
vendored
Normal file
BIN
.yarn/cache/@rometools-cli-linux-x64-npm-12.1.3-a343b37dfc-8.zip
(Stored with Git LFS)
vendored
Normal file
Binary file not shown.
BIN
.yarn/cache/@swc-core-linux-x64-gnu-npm-1.3.71-ac9ffba6fa-8.zip
(Stored with Git LFS)
vendored
Normal file
BIN
.yarn/cache/@swc-core-linux-x64-gnu-npm-1.3.71-ac9ffba6fa-8.zip
(Stored with Git LFS)
vendored
Normal file
Binary file not shown.
|
@ -69,5 +69,10 @@
|
|||
"start-server-and-test": "1.15.2",
|
||||
"typescript": "5.1.6"
|
||||
},
|
||||
"packageManager": "yarn@3.6.1"
|
||||
"packageManager": "yarn@3.6.1",
|
||||
"dependenciesMeta": {
|
||||
"@discordapp/twemoji@14.1.2": {
|
||||
"unplugged": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -155,7 +155,7 @@ router.get("/twemoji/(.*)", async (ctx) => {
|
|||
);
|
||||
|
||||
await send(ctx as any, path, {
|
||||
root: `${_dirname}/../../../node_modules/@discordapp/twemoji/dist/svg/`,
|
||||
root: `${_dirname}/../../../.yarn/unplugged/@discordapp-twemoji-npm-14.1.2-3097b95b97/dist/svg/`,
|
||||
maxage: 30 * DAY,
|
||||
});
|
||||
});
|
||||
|
@ -169,7 +169,7 @@ router.get("/twemoji-badge/(.*)", async (ctx) => {
|
|||
}
|
||||
|
||||
const mask = await sharp(
|
||||
`${_dirname}/../../../node_modules/@discordapp/twemoji/dist/svg/${path.replace(
|
||||
`${_dirname}/../../../.yarn/unplugged/@discordapp-twemoji-npm-14.1.2-3097b95b97/dist/svg/${path.replace(
|
||||
".png",
|
||||
"",
|
||||
)}.svg`,
|
||||
|
|
|
@ -12146,6 +12146,9 @@ __metadata:
|
|||
seedrandom: ^3.0.5
|
||||
start-server-and-test: 1.15.2
|
||||
typescript: 5.1.6
|
||||
dependenciesMeta:
|
||||
"@discordapp/twemoji@14.1.2":
|
||||
unplugged: true
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
|
|
Loading…
Reference in a new issue