Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gwells 2190 vue update 2 to 3 #2261

Draft
wants to merge 18 commits into
base: release
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/.s2i/bin/assemble
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ fi

cd ..
cd frontend

npm install
# Run unit tests in build stage with the code below
echo "--> testing and building frontend files"
Expand Down
1 change: 1 addition & 0 deletions app/frontend/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.12.0
1 change: 1 addition & 0 deletions app/frontend/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.10
21 changes: 21 additions & 0 deletions app/frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM node:18.12.0-slim

# RUN apt-get -y update

# RUN apt-get -y install git build-essential

RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
make \
g++

WORKDIR /app

COPY package*.json ./

RUN npm install --legacy-peer-deps

COPY . /app

RUN npm i --legacy-peer-deps && npm run build --legacy-peer-deps
3 changes: 2 additions & 1 deletion app/frontend/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
presets: [
'@vue/app'
['@vue/app', { useBuiltIns: "entry" }],
'@babel/preset-env',
]
}
Loading
Loading