Merge pull request #2350 from openvinotoolkit/dk/ui-build-ci

Using npm ci
main
Boris Sekachev 5 years ago committed by GitHub
commit 947d35673a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -40,6 +40,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Updated `docker-compose` file version from `2.3` to `3.3`(<https://github.com/openvinotoolkit/cvat/pull/2235>) - Updated `docker-compose` file version from `2.3` to `3.3`(<https://github.com/openvinotoolkit/cvat/pull/2235>)
- Added auto inference of url schema from host in CLI, if provided (<https://github.com/openvinotoolkit/cvat/pull/2240>) - Added auto inference of url schema from host in CLI, if provided (<https://github.com/openvinotoolkit/cvat/pull/2240>)
- Track frames in skips between annotation is presented in MOT and MOTS formats are marked `outside` (<https://github.com/openvinotoolkit/cvat/pull/2198>) - Track frames in skips between annotation is presented in MOT and MOTS formats are marked `outside` (<https://github.com/openvinotoolkit/cvat/pull/2198>)
- UI packages installation with `npm ci` instead of `npm install` (<https://github.com/openvinotoolkit/cvat/pull/2350>)
### Deprecated ### Deprecated

@ -67,9 +67,9 @@ patches and features.
- Install npm packages for UI and start UI debug server (run the following command from CVAT root directory): - Install npm packages for UI and start UI debug server (run the following command from CVAT root directory):
```sh ```sh
npm install && \ npm ci && \
cd cvat-core && npm install && \ cd cvat-core && npm ci && \
cd ../cvat-ui && npm install && npm start cd ../cvat-ui && npm ci && npm start
``` ```
> Note for Mac users > Note for Mac users

@ -25,19 +25,19 @@ RUN npm config set loglevel info
# Install cvat-data dependencies # Install cvat-data dependencies
WORKDIR /tmp/cvat-data/ WORKDIR /tmp/cvat-data/
RUN npm install RUN npm ci
# Install cvat-core dependencies # Install cvat-core dependencies
WORKDIR /tmp/cvat-core/ WORKDIR /tmp/cvat-core/
RUN npm install RUN npm ci
# Install cvat-canvas dependencies # Install cvat-canvas dependencies
WORKDIR /tmp/cvat-canvas/ WORKDIR /tmp/cvat-canvas/
RUN npm install RUN npm ci
# Install cvat-ui dependencies # Install cvat-ui dependencies
WORKDIR /tmp/cvat-ui/ WORKDIR /tmp/cvat-ui/
RUN npm install RUN npm ci
# Build source code # Build source code
COPY cvat-data/ /tmp/cvat-data/ COPY cvat-data/ /tmp/cvat-data/

@ -18,7 +18,7 @@ If you make changes in this package, please do following:
- Dependencies installation - Dependencies installation
```bash ```bash
npm install npm ci
``` ```
- Building the module from sources in the `dist` directory: - Building the module from sources in the `dist` directory:

@ -20,7 +20,7 @@ you also need to do `npm install` to update `package-lock.json`
- Installing dependencies: - Installing dependencies:
```bash ```bash
cd ../cvat-core && npm install && cd - && npm install cd ../cvat-core && npm ci && cd - && npm ci
``` ```
- Running development UI server with autorebuild on change - Running development UI server with autorebuild on change

@ -12874,7 +12874,6 @@
"requires": { "requires": {
"axios": "^0.20.0", "axios": "^0.20.0",
"browser-or-node": "^1.2.1", "browser-or-node": "^1.2.1",
"cvat-data": "file:../cvat-data",
"detect-browser": "^5.0.0", "detect-browser": "^5.0.0",
"error-stack-parser": "^2.0.2", "error-stack-parser": "^2.0.2",
"form-data": "^2.5.0", "form-data": "^2.5.0",

Loading…
Cancel
Save