Description: Briefly describe the changes in this pull request.
Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
Documentation: Have you updated relevant documentation?
Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
Description
Adds a format:backend npm script that matches the current formatter behaviour in CI, and switch CI to using the script so that formatting behaviour is consistent between local dev and CI.
🔄 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/open-webui/pull/1372
**Author:** [@cheahjs](https://github.com/cheahjs)
**Created:** 3/31/2024
**Status:** ✅ Merged
**Merged:** 3/31/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `chore/update-npm-format-scripts`
---
### 📝 Commits (1)
- [`11850b7`](https://github.com/open-webui/open-webui/commit/11850b75c8f57e5d7deed64315973ef0ee94b535) chore: add format:backend npm script to match ci
### 📊 Changes
**2 files changed** (+2 additions, -1 deletions)
<details>
<summary>View changed files</summary>
📝 `.github/workflows/format-backend.yaml` (+1 -1)
📝 `package.json` (+1 -0)
</details>
### 📄 Description
## Pull Request Checklist
- [x] **Description:** Briefly describe the changes in this pull request.
- [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [x] **Documentation:** Have you updated relevant documentation?
- [x] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
---
## Description
Adds a `format:backend` npm script that matches the current formatter behaviour in CI, and switch CI to using the script so that formatting behaviour is consistent between local dev and CI.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/1372
Author: @cheahjs
Created: 3/31/2024
Status: ✅ Merged
Merged: 3/31/2024
Merged by: @tjbck
Base:
dev← Head:chore/update-npm-format-scripts📝 Commits (1)
11850b7chore: add format:backend npm script to match ci📊 Changes
2 files changed (+2 additions, -1 deletions)
View changed files
📝
.github/workflows/format-backend.yaml(+1 -1)📝
package.json(+1 -0)📄 Description
Pull Request Checklist
Description
Adds a
format:backendnpm script that matches the current formatter behaviour in CI, and switch CI to using the script so that formatting behaviour is consistent between local dev and CI.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.