1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00
gitea/web_src/js
silverwind d061f6b70a
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
..
components Make RepoActionView.vue support ##[group] (#32770) 2024-12-10 01:57:20 +00:00
features Refactor issue filter (labels, poster, assignee) (#32771) 2024-12-10 11:38:22 +08:00
markup Fix race condition in mermaid observer (#32599) 2024-11-26 06:37:24 +00:00
modules Fix duplicate dropdown dividers (#32760) 2024-12-09 07:54:59 +00:00
render Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
standalone Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
utils Change typescript module to nodenext (#32757) 2024-12-10 08:44:39 +00:00
vendor Fix file editor & preview (#32706) 2024-12-04 09:26:54 +00:00
webcomponents Fix duplicate dropdown dividers (#32760) 2024-12-09 07:54:59 +00:00
bootstrap.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
bootstrap.ts Add types to fetch,toast,bootstrap,svg (#31627) 2024-07-25 23:31:24 +00:00
globals.d.ts Fix some typescript issues (#32586) 2024-11-21 13:57:42 +00:00
globals.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
htmx.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
index.ts Refactor issue filter (labels, poster, assignee) (#32771) 2024-12-10 11:38:22 +08:00
svg.test.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
svg.ts Improve diff file tree (#32658) 2024-11-28 12:25:21 +00:00
types.ts Refactor RepoBranchTagSelector (#32681) 2024-12-02 01:41:32 +00:00
utils.test.ts Add avif image file support (#32508) 2024-11-15 00:55:50 +00:00
utils.ts Add avif image file support (#32508) 2024-11-15 00:55:50 +00:00
vitest.setup.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00