feat: improve node container
This commit is contained in:
@@ -7,6 +7,7 @@ Building base container
|
|||||||
"
|
"
|
||||||
./build-helper.sh git.janishutz.com/registry/dev-container-base base
|
./build-helper.sh git.janishutz.com/registry/dev-container-base base
|
||||||
|
|
||||||
|
cp ~/projects/system/dotfiles/linters/eslint.config.mjs ./npm/ || true
|
||||||
echo "
|
echo "
|
||||||
Building npm container
|
Building npm container
|
||||||
"
|
"
|
||||||
|
|||||||
+4
-1
@@ -2,4 +2,7 @@ FROM git.janishutz.com/registry/dev-container-base
|
|||||||
|
|
||||||
RUN pacman --noconfirm -S nodejs npm yarn
|
RUN pacman --noconfirm -S nodejs npm yarn
|
||||||
|
|
||||||
RUN npm i -g express express-session @types/express @types/express-session
|
COPY eslint.config.mjs /eslint.config.mjs
|
||||||
|
COPY setup-eslint /usr/bin/setup-eslint
|
||||||
|
|
||||||
|
RUN npm i -g express express-session
|
||||||
|
|||||||
Executable
+5
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cp /eslint.config.mjs .
|
||||||
|
|
||||||
|
npm i --save-dev @eslint/js typescript-eslint @stylistic/eslint-plugin eslint-plugin-vue globals
|
||||||
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
FROM git.janishutz.com/registry/dev-container-npm
|
FROM git.janishutz.com/registry/dev-container-npm
|
||||||
|
|
||||||
RUN npm i -g create-vue vite typescript-eslint @eslint/js @stylistic/eslint-plugin eslint-plugin-vue globals
|
RUN npm i -g create-vue vite
|
||||||
|
|||||||
Reference in New Issue
Block a user