mirror of
https://github.com/inventree/InvenTree.git
synced 2026-02-13 17:57:05 +00:00
@@ -37,9 +37,10 @@ RUN apt install -y nodejs npm
|
||||
# Update to the latest stable node version
|
||||
RUN npm install -g n --ignore-scripts && n lts
|
||||
|
||||
# Enable yarn
|
||||
RUN corepack enable && corepack prepare yarn@stable --activate
|
||||
# Install yarn
|
||||
RUN npm install -g yarn
|
||||
|
||||
# Ensure node and yarn are available at the command line
|
||||
RUN node --version && yarn --version
|
||||
|
||||
RUN yarn config set httpTimeout 600000 --home
|
||||
|
||||
@@ -18,7 +18,7 @@ repos:
|
||||
exclude: mkdocs.yml
|
||||
- id: mixed-line-ending
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.14.10
|
||||
rev: v0.15.0
|
||||
hooks:
|
||||
- id: ruff-format
|
||||
args: [--preview]
|
||||
@@ -29,7 +29,7 @@ repos:
|
||||
--preview
|
||||
]
|
||||
- repo: https://github.com/astral-sh/uv-pre-commit
|
||||
rev: 0.9.22
|
||||
rev: 0.10.2
|
||||
hooks:
|
||||
- id: pip-compile
|
||||
name: pip-compile requirements-dev.in
|
||||
@@ -79,7 +79,7 @@ repos:
|
||||
src/frontend/vite.config.ts |
|
||||
)$
|
||||
- repo: https://github.com/biomejs/pre-commit
|
||||
rev: v2.3.10
|
||||
rev: v2.3.14
|
||||
hooks:
|
||||
- id: biome-check
|
||||
additional_dependencies: ["@biomejs/biome@1.9.4"]
|
||||
|
||||
Reference in New Issue
Block a user