diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 52a2b0a..6012f24 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 #this installs node and npm for us with: - node-version: '10.x' + node-version: '18.x' - uses: actions/cache@v1 # this allows for re-using node_modules caching, making builds a bit faster. with: @@ -19,5 +19,5 @@ jobs: ${{ runner.os }}-node- - run: yarn install #TODO: --only-prod, le build crash à voir pq - - run: yarn install -g @angular/cli > /dev/null + - run: yarn global add @angular/cli > /dev/null - run: yarn build:prod diff --git a/package.json b/package.json index 2bc2fab..958df63 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "ng": "ng", "start": "ng serve", "start:local": "ng serve --proxy-config proxy.local.conf.json", + "start:local webchat": "ng serve --proxy-config proxy.local.conf.json --project=webchat", "start:dev": "ng serve --proxy-config proxy.dev.conf.json", "start:dev webchat": "ng serve --proxy-config proxy.dev.conf.json --project=webchat", "start:test": "ng serve --proxy-config proxy.test.conf.json", @@ -46,7 +47,7 @@ "ngx-panzoom": "^15.0.0", "ngx-toastr": "^16.0.2", "rxjs": "~6.6.7", - "socket.io-client": "^4.1.2", + "socket.io-client": "^4.6.2", "tslib": "^2.3.0", "uglify-js-es6": "^2.8.9", "web-animations-js": "^2.3.2", diff --git a/projects/webchat/src/app/app.component.html b/projects/webchat/src/app/app.component.html index 6656e4d..29342a7 100644 --- a/projects/webchat/src/app/app.component.html +++ b/projects/webchat/src/app/app.component.html @@ -1,5 +1,5 @@