gitea/web_src
silverwind d061f6b70a
Some checks are pending
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Change typescript module to nodenext (#32757)
Typescript 5.7 changed semantics around JSON imports and `nodenext` is
now [treated
differently](https://devblogs.microsoft.com/typescript/announcing-typescript-5-7-beta/#validated-json-imports-in---module-nodenext)
than `node16` for JSON imports and it requires the import attribute, so
change the value to that and add the attribute to eliminate this
typescript error.


[`moduleResolution`](https://www.typescriptlang.org/tsconfig/#moduleResolution)
is treated as an alias when `module` is `nodenext`, so we don't need to
specify it.

Also see https://github.com/microsoft/TypeScript/issues/60589. It
appears the next Typescript release will fix this for `node16`, but I
guess it'll still be good to switch to `nodenext`.
2024-12-10 08:44:39 +00:00
..
css Refactor issue filter (labels, poster, assignee) (#32771) 2024-12-10 11:38:22 +08:00
fomantic Regenerate fomantic package-lock.json (#32650) 2024-11-27 04:04:12 +00:00
js Change typescript module to nodenext (#32757) 2024-12-10 08:44:39 +00:00
svg Add Arch package registry (#32692) 2024-12-04 23:09:07 +00:00