Sharkey/packages/backend
Kagami Sascha Rosylight 9965bc8f94
Fix moduleNameMapper to not resolve .wasm.js to .wasm (#9894)
* Fix moduleNameMapper to not resolve `.wasm.js` to `.js`

Fixes #9767

Undici [tries to import `./llhttp/llhttp.wasm.js`](e155c6db5c/lib/client.js (L342)) which is currently broken by the (hacky) module name mapper.

* longer timeout value

* 30s

* 50s

* 60s to be safe

* Revert "60s to be safe"

This reverts commit f3e0f5796273c0cdcbd901e8c08ae3136b9768f8.

* 2cc98226ca revert?

* revert

* remove timeout

* detectOpenHandles

* Really solved?

* Revert "detectOpenHandles"

This reverts commit 29214bdff80e15998f34171bf409d454a3d10129.

* Add `coveragePathIgnorePatterns`

* Revert "Add `coveragePathIgnorePatterns`"

This reverts commit fcf8c6806b339b7c21f53137f9939d00020904aa.

* Import jsonld dynamically

* remove import

* add comment

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-12 17:18:31 +09:00
..
.vscode Update settings.json 2022-04-15 21:33:00 +09:00
assets enhance: Push Notification badges to Tabler Icons (#9406) 2023-01-08 16:47:57 +09:00
migration feat: ロールにアイコンを設定してユーザー名の横に表示できるように 2023-02-05 10:37:03 +09:00
nsfw-model feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
src Fix moduleNameMapper to not resolve .wasm.js to .wasm (#9894) 2023-02-12 17:18:31 +09:00
test fix typo (#9900) 2023-02-12 16:40:12 +09:00
.eslintignore use eslint 2021-11-12 10:35:41 +09:00
.eslintrc.cjs test: __dirnameはESModuleでは使えないので置き換えた (#8626) 2022-05-14 16:09:47 +09:00
.madgerc Create .madgerc 2022-09-20 01:04:08 +09:00
.swcrc add commands for build with swc 2023-01-19 16:58:09 +09:00
jest.config.cjs Fix moduleNameMapper to not resolve .wasm.js to .wasm (#9894) 2023-02-12 17:18:31 +09:00
jsconfig.json use eslint 2021-11-12 10:35:41 +09:00
ormconfig.js fix: postgre -> postgres (#9814) 2023-02-07 19:50:38 +09:00
package.json fix: typeorm migrations not working 2023-02-11 10:49:17 +09:00
README.md chore: ✌️ 2022-12-24 14:39:17 +09:00
tsconfig.json Fix import related TypeScript errors (#9321) 2022-12-14 00:01:45 +09:00
watch.mjs Revert "perf: build backend with swc (#9463)" 2023-01-13 09:32:56 +09:00

Misskey Backend