Skip to content

Update JS dependencies and misc tweaks#37064

Merged
silverwind merged 5 commits into
go-gitea:mainfrom
silverwind:deps-115
Apr 1, 2026
Merged

Update JS dependencies and misc tweaks#37064
silverwind merged 5 commits into
go-gitea:mainfrom
silverwind:deps-115

Conversation

@silverwind
Copy link
Copy Markdown
Member

@silverwind silverwind commented Mar 31, 2026

  • Update all JS deps
  • Regenerate SVGs
  • Add new eslint rules from unicorn
  • Update typescript config for 6.0, remove deprecated options in favor of strict with disablements, remove implicit dom libs.
  • Set vite log level during watch-frontend to warn to avoid confusing URLs or HMR spam from the dev server to keep the log concise. Overridable via FRONTEND_DEV_LOG_LEVEL.

This PR was written with the help of Claude Opus 4.6

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Mar 31, 2026
Co-Authored-By: Claude (Opus 4.6) <noreply@anthropic.com>
@silverwind silverwind changed the title Update JS dependencies Update JS dependencies and misc tweaks Mar 31, 2026
@silverwind silverwind requested a review from Copilot April 1, 2026 08:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the frontend/tooling ecosystem by bumping JavaScript/TypeScript dependencies, adjusting TypeScript/ESLint configuration, and refreshing icon/theme assets while reducing Vite dev-server log noise.

Changes:

  • Bump JS tooling/runtime dependencies (including TypeScript 6.x) and refresh pnpm-lock.yaml.
  • Update tsconfig.json compiler options (notably enabling strict) and add new ESLint unicorn rules.
  • Regenerate/add material icon SVG mappings/rules and reduce watch-frontend Vite log verbosity.

Reviewed changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
updates.config.ts Removes the TypeScript pin from updates tooling config.
tsconfig.json Updates TS compiler options for TS 6.0; enables strict and adds/removes related options.
pnpm-lock.yaml Large dependency lock refresh reflecting package upgrades (TS, eslint plugins, vite/rollup, etc.).
playwright.config.ts Minor formatting tweak (blank line).
package.json Bumps dependency versions (katex, TS, eslint/stylelint/unicorn, updates, happy-dom, etc.).
options/fileicon/material-icon-svgs.json Adds/regenerates icon SVG entries (folders and file icons).
options/fileicon/material-icon-rules.json Adds new icon rules for folder names, extensions, and filenames (nginx/r/deprecated/etc.).
Makefile Lowers Vite log level for watch-frontend.
eslint.config.ts Enables additional eslint-plugin-unicorn rules.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

TypeScript 6.0 includes these in the dom lib automatically.

Co-Authored-By: Claude (Opus 4.6) <noreply@anthropic.com>
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Apr 1, 2026
silverwind and others added 2 commits April 1, 2026 17:11
Co-Authored-By: Claude (Opus 4.6) <noreply@anthropic.com>
@silverwind
Copy link
Copy Markdown
Member Author

Add env var, update again, tested mermaid and codemirror.

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Apr 1, 2026
@silverwind silverwind added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Apr 1, 2026
@silverwind silverwind merged commit 3a9cab0 into go-gitea:main Apr 1, 2026
26 checks passed
@silverwind silverwind deleted the deps-115 branch April 1, 2026 18:15
@GiteaBot GiteaBot added this to the 1.26.0 milestone Apr 1, 2026
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Apr 1, 2026
silverwind added a commit to silverwind/gitea that referenced this pull request Apr 1, 2026
* origin/main:
  Update JS dependencies and misc tweaks (go-gitea#37064)
  Redirect to the only OAuth2 provider when no other login methods and fix various problems (go-gitea#36901)
  Show workflow link (go-gitea#37070)
  Remove leftover `webpackChunkName` comments from codeeditor (go-gitea#37062)
  Update Go dependencies (go-gitea#36781)
  Add webhook name field to improve webhook identification (go-gitea#37025) (go-gitea#37040)
  Upgrade `go-git` to v5.17.2 (go-gitea#37060)
  Replace Monaco with CodeMirror (go-gitea#36764)
  Update Combine method to treat warnings as failures and adjust tests (go-gitea#37048)
  Raise minimum Node.js version to 22.18.0 (go-gitea#37058)
  Update golangci-lint to v2.11.4 (go-gitea#37059)
  Upgrade `golang.org/x/image` to v0.38.0 (go-gitea#37054)

# Conflicts:
#	web_src/css/themes/theme-gitea-dark.css
zjjhot added a commit to zjjhot/gitea that referenced this pull request Apr 2, 2026
* main:
  Fix NuGet package upload error handling (go-gitea#37074)
  Desaturate dark theme background colors (go-gitea#37056)
  Update JS dependencies and misc tweaks (go-gitea#37064)
  Redirect to the only OAuth2 provider when no other login methods and fix various problems (go-gitea#36901)
  Show workflow link (go-gitea#37070)
  Remove leftover `webpackChunkName` comments from codeeditor (go-gitea#37062)
  Update Go dependencies (go-gitea#36781)
  Add webhook name field to improve webhook identification (go-gitea#37025) (go-gitea#37040)
  Upgrade `go-git` to v5.17.2 (go-gitea#37060)
  Replace Monaco with CodeMirror (go-gitea#36764)
  Update Combine method to treat warnings as failures and adjust tests (go-gitea#37048)
  Raise minimum Node.js version to 22.18.0 (go-gitea#37058)
  Update golangci-lint to v2.11.4 (go-gitea#37059)
  Upgrade `golang.org/x/image` to v0.38.0 (go-gitea#37054)
  Increase e2e test timeouts on CI to fix flaky tests (go-gitea#37053)
  Refactor "org teams" page and help new users to "add member" to an org (go-gitea#37051)
silverwind added a commit to silverwind/gitea that referenced this pull request Apr 2, 2026
* origin/main: (192 commits)
  Fix NuGet package upload error handling (go-gitea#37074)
  Desaturate dark theme background colors (go-gitea#37056)
  Update JS dependencies and misc tweaks (go-gitea#37064)
  Redirect to the only OAuth2 provider when no other login methods and fix various problems (go-gitea#36901)
  Show workflow link (go-gitea#37070)
  Remove leftover `webpackChunkName` comments from codeeditor (go-gitea#37062)
  Update Go dependencies (go-gitea#36781)
  Add webhook name field to improve webhook identification (go-gitea#37025) (go-gitea#37040)
  Upgrade `go-git` to v5.17.2 (go-gitea#37060)
  Replace Monaco with CodeMirror (go-gitea#36764)
  Update Combine method to treat warnings as failures and adjust tests (go-gitea#37048)
  Raise minimum Node.js version to 22.18.0 (go-gitea#37058)
  Update golangci-lint to v2.11.4 (go-gitea#37059)
  Upgrade `golang.org/x/image` to v0.38.0 (go-gitea#37054)
  Increase e2e test timeouts on CI to fix flaky tests (go-gitea#37053)
  Refactor "org teams" page and help new users to "add member" to an org (go-gitea#37051)
  Refactor issue sidebar and fix various problems (go-gitea#37045)
  Add tests for pull request's content_version in API (go-gitea#37044)
  Enable concurrent vitest execution (go-gitea#36998)
  Fix theme discovery and Vite dev server in dev mode (go-gitea#37033)
  ...

# Conflicts:
#	templates/user/dashboard/feeds.tmpl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/code-linting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants