Skip to content

Commit

Permalink
build: update deps to fix vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivelin Ivanov authored Apr 20, 2022
2 parents bb5b97b + 4d07aad commit 8cfaa4a
Show file tree
Hide file tree
Showing 6 changed files with 5,370 additions and 17,485 deletions.
19 changes: 8 additions & 11 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@ image:

tasks:
- init: |
touch /tmp/.npm-lock
# bring in secret access tokens from gitpod user dashboard
eval $(gp env -e)
npm install
npm run prepare
npm update
npm audit fix
npm install -g @vue/cli
rm /tmp/.npm-lock
gp sync-done install
- init: |
echo "Waiting for npm install to complete"
sleep 1 && while [ -f /tmp/.npm-lock ]; do sleep 1; done
gp sync-await install
command: |
echo "Starting Ambianic UI in dev mode:"
npm run serve
- init: |
echo "Waiting for npm install to complete"
sleep 1 && while [ -f /tmp/.npm-lock ]; do sleep 1; done
gp sync-await install
# echo "Waiting for Ambianic UI to start..."
# gp await-port 8080 && gp preview $(gp url 8080)/index.html
command: |
Expand All @@ -30,24 +31,20 @@ tasks:
npm run test
- init: |
echo "Waiting for npm install to complete"
sleep 1 && while [ -f /tmp/.npm-lock ]; do sleep 1; done
gp sync-await install
# echo "Waiting for Ambianic UI to start.."
# gp await-port 8080 && gp preview $(gp url 8080)/index.html
gp await-port 8080 && gp preview $(gp url 8080)/index.html
command: |
echo "Starting Cypress in Interactive Mode"
npm run cy:open
- init: |
echo "Waiting for npm install to complete"
sleep 1 && while [ -f /tmp/.npm-lock ]; do sleep 1; done
gp sync-await install
command: |
echo "Starting http server for local HTML file preview"
npm install -g browser-sync
npx browser-sync start --watch --directory --server
# vscode:
# extensions:
# - octref.vetur@0.31.3:QHyAEoimIBiRDoL6WtEoRg==

ports:
- port: 8080 # Ambianic UI App
onOpen: open-browser
Expand Down
Loading

0 comments on commit 8cfaa4a

Please sign in to comment.