mirror of
https://github.com/open-webui/docs.git
synced 2026-07-20 15:38:19 -04:00
[PR #227] [MERGED] Bump deps, add ci (lint, formatting checks) and fix linting and formatting issues #328
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
main← Head:main📝 Commits (10+)
94e53adBump dependancies and install lint and format packages50527d0Remove unused components and pagesfae3665Switch to ts and ESM configs606fbc5Run prettier04661d4Add truncate to fix Docusaurus warning0b12ebdFix broken link warning1f032c2Change from Twitter to Xc02fd88Add stylelint config4efcba1Add eslint flat config3df4ac7Apply 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:
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.