diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6633b1ad..c3ecb306 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,11 +19,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [12.x] + node-version: [16.x] steps: - uses: actions/checkout@v3 - name: NPM install - run: npm i --force + run: npm i - name: Build using Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: diff --git a/package.json b/package.json index 2460d483..981f2e30 100644 --- a/package.json +++ b/package.json @@ -3,27 +3,12 @@ "version": "7.8.1", "scripts": { "ng": "ng", - "inst_dev": "npm install && npm run dev", "start": "ng serve --port 80", - "dev": "ng serve --configuration=development --port=80 --disable-host-check --host=0.0.0.0 --open", - "de9": "ng serve --configuration=development --port=8002 --host=0.0.0.0 --disable-host-check", - "de9-alpha": "ng serve --configuration=development --port=8003 --host=0.0.0.0 --disable-host-check", - "webapp": "ng serve --configuration=webapp --port=8099", - "build": "ng build --configuration=production && gzip -9 ./dist/homer-ui/*.js && npm run extract-version", - "extract-version": "egrep -o '[0-9]+.[0-9]+.[0-9]+' ./src/VERSION.ts > ./dist/homer-ui/version.txt", + "dev": "ng serve --configuration=development --port=80 --disable-host-check", + "webapp": "ng serve --host 0.0.0.0 --configuration=development --port=8099 --disable-host-check", + "build": "ng build --configuration=production && gzip -9 ./dist/homer-ui/*.js", + "build-noenv": "ng build --configuration=production-noenv", "build-keep-js": "ng build --configuration=production && gzip -9 -k ./dist/homer-ui/*.js", - "build-dev": "ng build --configuration=preprod && gzip -9 ./dist/homer-ui/*.js && npm run extract-version", - "serve:all": "concurrently --kill-others \"npm run serve:hepic-view\" \"npm run dev\" \"npm run serve:hepic-export\"", - "serve:hepic-view": "concurrently --kill-others \"ng serve hepic-view --configuration=development --port=83 --open --proxy-config .\\projects\\hepic-view\\proxy.conf.json\" \"node .\\projects\\hepic-view\\proxy\\index.js\"", - "serve:dev": "concurrently --kill-others \"npm run dev\" \"ng serve hepic-view --port=83 --host=0.0.0.0 --disable-host-check\"", - "serve:dev:de9": "concurrently --kill-others \"npm run de9\" \"ng serve hepic-view --port=9987 --host=0.0.0.0 --disable-host-check\"", - "serve:hepic-export": "ng serve hepic-export --configuration=development --open --port=84 --disable-host-check", - "build:hepic-view": "ng build hepic-view --configuration=production", - "build:hepic-export": "ng build hepic-export --configuration=production", - "build-prod:hepic-export": "ng build hepic-export --configuration=production --output-hashing=none --single-bundle true", - "build:all-prod": "npm run build:hepic-view && npm run build", - "build:hepic-admin": "cd projects/hepic-admin/ && npm install && npm run build && cd ./../.. && gzip -9 -k ./dist/hepic-admin/*.js", - "serve:hepic-admin": "cd projects/hepic-admin/ && npm install && ng serve --port=8003 --disable-host-check --host=0.0.0.0 --open", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e"