[PR #227] [MERGED] Bump deps, add ci (lint, formatting checks) and fix linting and formatting issues #328

Closed
opened 2026-02-15 17:16:24 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/docs/pull/227
Author: @sebdanielsson
Created: 9/25/2024
Status: Merged
Merged: 9/25/2024
Merged by: @tjbck

Base: mainHead: main


📝 Commits (10+)

  • 94e53ad Bump dependancies and install lint and format packages
  • 50527d0 Remove unused components and pages
  • fae3665 Switch to ts and ESM configs
  • 606fbc5 Run prettier
  • 04661d4 Add truncate to fix Docusaurus warning
  • 0b12ebd Fix broken link warning
  • 1f032c2 Change from Twitter to X
  • c02fd88 Add stylelint config
  • 4efcba1 Add eslint flat config
  • 3df4ac7 Apply stylelint fixes

📊 Changes

29 files changed (+5278 additions, -1802 deletions)

View changed files

.github/workflows/ci.yml (+34 -0)
📝 .github/workflows/gh-pages.yml (+2 -1)
.node-version (+1 -0)
.prettierrc.json (+0 -12)
.prettierrc.mjs (+15 -0)
.stylelintrc.json (+11 -0)
babel.config.js (+0 -3)
babel.config.mjs (+3 -0)
📝 blog/2024-06-11-UI-Should-Not-Be-The-Bottleneck/index.md (+2 -0)
📝 docs/faq.mdx (+1 -1)
📝 docs/pipelines/_category_.json (+1 -1)
📝 docs/troubleshooting/network-diagrams.mdx (+1 -14)
📝 docs/tutorials/_category_.json (+1 -1)
📝 docusaurus.config.ts (+2 -2)
eslint.config.mjs (+16 -0)
📝 package-lock.json (+4979 -1495)
📝 package.json (+33 -19)
src/components/HomepageFeatures/index.tsx (+0 -64)
src/components/HomepageFeatures/styles.module.css (+0 -11)
📝 src/components/SponsorList.tsx (+1 -1)

...and 9 more files

📄 Description

Changes

To avoid breaking changes in the future and enable automatic dependency updates, I've bumped the dependencies and added many checks that will run on every PR. This way, most regressions can be caught before merging. I've also fixed many linting and formatting issues that were already present.

Changes:

  • Bump dependancies and install lint and format packages
  • Remove unused components and pages
  • Switch to ts and ESM configs
  • Run prettier
  • Add truncate to fix Docusaurus warning
  • Fix broken link warning
  • Change from Twitter to X
  • Add stylelint config
  • Add eslint flat config
  • Apply stylelint fixes
  • Use node-version file to set the version once
  • Add CI to check PR:s before merging

Demo

CI Workflow run (new)

https://github.com/sebdanielsson/docs/actions/runs/11042997848/job/30676452588

Deploy workflow (same as before)

https://github.com/sebdanielsson/docs/actions/runs/11042977631/job/30676442768


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/docs/pull/227 **Author:** [@sebdanielsson](https://github.com/sebdanielsson) **Created:** 9/25/2024 **Status:** ✅ Merged **Merged:** 9/25/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`94e53ad`](https://github.com/open-webui/docs/commit/94e53ad7926384f6805b448fd54c37def5eecb32) Bump dependancies and install lint and format packages - [`50527d0`](https://github.com/open-webui/docs/commit/50527d03cb830aea6183c196d40b797e10401560) Remove unused components and pages - [`fae3665`](https://github.com/open-webui/docs/commit/fae36652f24b8c870f735c01e77ffc16e365c751) Switch to ts and ESM configs - [`606fbc5`](https://github.com/open-webui/docs/commit/606fbc5204a4c278843fb77b562a2db6e52c43f7) Run prettier - [`04661d4`](https://github.com/open-webui/docs/commit/04661d4453a90b129046e6397edede6fec16a84b) Add truncate to fix Docusaurus warning - [`0b12ebd`](https://github.com/open-webui/docs/commit/0b12ebd18c2844f0817eb1fc88a2bf65324a4a71) Fix broken link warning - [`1f032c2`](https://github.com/open-webui/docs/commit/1f032c2954cd7b5625370cf8f5fda4573eb1f3cb) Change from Twitter to X - [`c02fd88`](https://github.com/open-webui/docs/commit/c02fd889dd5d2f4f73ef27a3475e7fc3199f906e) Add stylelint config - [`4efcba1`](https://github.com/open-webui/docs/commit/4efcba1796cdceef9235601049d455439dabf768) Add eslint flat config - [`3df4ac7`](https://github.com/open-webui/docs/commit/3df4ac79dbeac03aa89607e6c3d31dda4864c8f0) Apply stylelint fixes ### 📊 Changes **29 files changed** (+5278 additions, -1802 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/ci.yml` (+34 -0) 📝 `.github/workflows/gh-pages.yml` (+2 -1) ➕ `.node-version` (+1 -0) ➖ `.prettierrc.json` (+0 -12) ➕ `.prettierrc.mjs` (+15 -0) ➕ `.stylelintrc.json` (+11 -0) ➖ `babel.config.js` (+0 -3) ➕ `babel.config.mjs` (+3 -0) 📝 `blog/2024-06-11-UI-Should-Not-Be-The-Bottleneck/index.md` (+2 -0) 📝 `docs/faq.mdx` (+1 -1) 📝 `docs/pipelines/_category_.json` (+1 -1) 📝 `docs/troubleshooting/network-diagrams.mdx` (+1 -14) 📝 `docs/tutorials/_category_.json` (+1 -1) 📝 `docusaurus.config.ts` (+2 -2) ➕ `eslint.config.mjs` (+16 -0) 📝 `package-lock.json` (+4979 -1495) 📝 `package.json` (+33 -19) ➖ `src/components/HomepageFeatures/index.tsx` (+0 -64) ➖ `src/components/HomepageFeatures/styles.module.css` (+0 -11) 📝 `src/components/SponsorList.tsx` (+1 -1) _...and 9 more files_ </details> ### 📄 Description # Changes To avoid breaking changes in the future and enable automatic dependency updates, I've bumped the dependencies and added many checks that will run on every PR. This way, most regressions can be caught before merging. I've also fixed many linting and formatting issues that were already present. ## Changes: * Bump dependancies and install lint and format packages * Remove unused components and pages * Switch to ts and ESM configs * Run prettier * Add truncate to fix Docusaurus warning * Fix broken link warning * Change from Twitter to X * Add stylelint config * Add eslint flat config * Apply stylelint fixes * Use node-version file to set the version once * Add CI to check PR:s before merging ## Demo ### CI Workflow run (new) https://github.com/sebdanielsson/docs/actions/runs/11042997848/job/30676452588 ### Deploy workflow (same as before) https://github.com/sebdanielsson/docs/actions/runs/11042977631/job/30676442768 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 17:16:24 -05:00
yindo closed this issue 2026-02-15 17:16:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/docs#328