mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Mantine (#5274)
* Add .gitignore for compiles web assets * Update react dependencies - Add mantine/core - Add mantine-datatable * Add more packages - mantine/dropzone - mantine/notifications * Fix for development docker image
This commit is contained in:
parent
6d3978ea28
commit
1125bf4396
@ -131,7 +131,7 @@ CMD gunicorn -c ./gunicorn.conf.py InvenTree.wsgi -b 0.0.0.0:8000 --chdir ./Inve
|
||||
FROM inventree_base as dev
|
||||
|
||||
# Install nodejs / npm / yarn
|
||||
RUN apk add --no-cache --update nodejs npm && npm cache clean -f && npm install -g n && n stable && npm install -g yarn
|
||||
RUN apk add --no-cache --update nodejs npm && npm install -g yarn
|
||||
|
||||
# The development image requires the source code to be mounted to /home/inventree/
|
||||
# So from here, we don't actually "do" anything, apart from some file management
|
||||
|
2
InvenTree/web/.gitignore
vendored
Normal file
2
InvenTree/web/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
# Ignore compiled react files
|
||||
./static/web/
|
@ -1,6 +1,12 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"@emotion/react": "^11.11.1",
|
||||
"@mantine/core": "^6.0.17",
|
||||
"@mantine/dropzone": "^6.0.17",
|
||||
"@mantine/hooks": "^6.0.17",
|
||||
"@mantine/notifications": "^6.0.17",
|
||||
"eslint": "^8.41.0",
|
||||
"eslint-config-google": "^0.14.0"
|
||||
"eslint-config-google": "^0.14.0",
|
||||
"mantine-datatable": "^2.8.5"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user