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