Skip to content
This repository was archived by the owner on Jul 17, 2025. It is now read-only.

Commit d84c472

Browse files
authored
rekey/clr update (#330)
* Rekey/clr update (#326) * update tsconfig * update angular@8 * update angular@9 * update uninstall ng2-charts * update new npm i * update delete module and package-lock * update package-lock * update angular@10 * update clean the repository * update @ng-select/ng-select@6 * update clean repository * update angular@11 * update @clr/icon and tsconfig * update fix upgrade issue * modify tsconfig to es5 * Merge branch 'master' of https://github.com/rekey136015670/data-annotator-for-machine-learning-1 into rekey/clr-update * Rekey/clr update (#329) * update the copyright info * change new buffer to buffer from * fix some bugs * rekey/clr update (#331) * update app copyright info
1 parent acedeba commit d84c472

File tree

155 files changed

+16714
-12394
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+16714
-12394
lines changed

BUILD.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The project includes three components:
44

5-
- [**_annotation-app_**](./annotation-app): Angular application built with [Angular 8.x](https://angular.io/guide/router-tutorial)
5+
- [**_annotation-app_**](./annotation-app): Angular application built with [Angular v11](https://angular.io/docs)
66
- [**_annotation-service_**](./annotation-service): Backend services built with [Node](https://nodejs.org/en/), [mongodb](https://www.mongodb.com/download-center/community), [express](https://www.npmjs.com/package/express)
77
- [**_active-learning-service_**](./active-learning-service): Django application providing active learning api built with [Python](https://www.python.org/downloads/) and [Django](https://www.djangoproject.com/) and [modAL](https://modal-python.readthedocs.io/en/latest/#) library for pool-based uncertainty sampling to rank the unlabelled data
88

File renamed without changes.

annotation-app/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2019-2021 VMware, Inc.
1+
# Copyright 2019-2022 VMware, Inc.
22
# SPDX-License-Identifier: Apache-2.0
33

44
### STAGE 1: Build ###

annotation-app/angular.json

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@
1111
"build": {
1212
"builder": "@angular-devkit/build-angular:browser",
1313
"options": {
14+
"aot": true,
1415
"outputPath": "dist",
1516
"index": "src/index.html",
1617
"main": "src/main.ts",
1718
"tsConfig": "src/tsconfig.json",
19+
"polyfills": "src/polyfills.ts",
20+
"preserveSymlinks": true,
21+
"allowedCommonJsDependencies": ["lodash", "jwt"],
1822
"assets": ["src/libs", "src/assets"],
1923
"styles": [
2024
"node_modules/@clr/icons/clr-icons.min.css",
@@ -38,10 +42,15 @@
3842
},
3943
"configurations": {
4044
"production": {
45+
"budgets": [
46+
{
47+
"type": "anyComponentStyle",
48+
"maximumWarning": "6kb"
49+
}
50+
],
4151
"optimization": true,
4252
"outputHashing": "all",
4353
"sourceMap": false,
44-
"extractCss": true,
4554
"namedChunks": false,
4655
"aot": true,
4756
"extractLicenses": true,
@@ -64,7 +73,6 @@
6473
"optimization": true,
6574
"outputHashing": "all",
6675
"sourceMap": false,
67-
"extractCss": true,
6876
"namedChunks": false,
6977
"aot": true,
7078
"extractLicenses": true,
@@ -75,6 +83,10 @@
7583
"type": "initial",
7684
"maximumWarning": "2mb",
7785
"maximumError": "5mb"
86+
},
87+
{
88+
"type": "anyComponentStyle",
89+
"maximumWarning": "6kb"
7890
}
7991
]
8092
},
@@ -88,7 +100,6 @@
88100
"optimization": true,
89101
"outputHashing": "all",
90102
"sourceMap": false,
91-
"extractCss": true,
92103
"namedChunks": false,
93104
"aot": true,
94105
"extractLicenses": true,
@@ -99,6 +110,10 @@
99110
"type": "initial",
100111
"maximumWarning": "2mb",
101112
"maximumError": "5mb"
113+
},
114+
{
115+
"type": "anyComponentStyle",
116+
"maximumWarning": "6kb"
102117
}
103118
]
104119
}
@@ -182,7 +197,7 @@
182197
"schematics": {
183198
"@schematics/angular:component": {
184199
"prefix": "app",
185-
"styleext": "scss"
200+
"style": "scss"
186201
},
187202
"@schematics/angular:directive": {
188203
"prefix": "app"

annotation-app/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
# Copyright 2019-2021 VMware, Inc.
3+
# Copyright 2019-2022 VMware, Inc.
44
# SPDX-License-Identifier: Apache-2.0
55

66
## Substitutes env variables in main.*.js bundle

0 commit comments

Comments
 (0)