mirror of
https://github.com/goharbor/harbor
synced 2025-04-20 16:16:00 +00:00
fix build fail for angular 6
Signed-off-by: Meina Zhou <meinaz@vmware.com>
This commit is contained in:
parent
a330d4e116
commit
806fbaa49c
|
@ -1,70 +0,0 @@
|
||||||
{
|
|
||||||
"project": {
|
|
||||||
"version": "1.0.0-beta.20-4",
|
|
||||||
"name": "clarity-seed"
|
|
||||||
},
|
|
||||||
"apps": [{
|
|
||||||
"root": "src",
|
|
||||||
"outDir": "dist",
|
|
||||||
"assets": [
|
|
||||||
"images",
|
|
||||||
"favicon.ico",
|
|
||||||
"setting.json"
|
|
||||||
],
|
|
||||||
"index": "index.html",
|
|
||||||
"main": "main.ts",
|
|
||||||
"test": "test.ts",
|
|
||||||
"tsconfig": "tsconfig.json",
|
|
||||||
"prefix": "app",
|
|
||||||
"mobile": false,
|
|
||||||
"styles": [
|
|
||||||
"../node_modules/clarity-icons/clarity-icons.min.css",
|
|
||||||
"../node_modules/clarity-ui/clarity-ui.min.css",
|
|
||||||
"../node_modules/prismjs/themes/prism-solarizedlight.css",
|
|
||||||
"styles.css"
|
|
||||||
],
|
|
||||||
"scripts": [
|
|
||||||
"../node_modules/core-js/client/shim.min.js",
|
|
||||||
"../node_modules/mutationobserver-shim/dist/mutationobserver.min.js",
|
|
||||||
"../node_modules/@webcomponents/custom-elements/custom-elements.min.js",
|
|
||||||
"../node_modules/clarity-icons/clarity-icons.min.js",
|
|
||||||
"../node_modules/web-animations-js/web-animations.min.js",
|
|
||||||
"../node_modules/marked/lib/marked.js",
|
|
||||||
"../node_modules/prismjs/prism.js",
|
|
||||||
"../node_modules/prismjs/components/prism-yaml.min.js"
|
|
||||||
],
|
|
||||||
"environmentSource": "environments/environment.ts",
|
|
||||||
"environments": {
|
|
||||||
"dev": "environments/environment.ts",
|
|
||||||
"prod": "environments/environment.prod.ts"
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
"addons": [],
|
|
||||||
"packages": [],
|
|
||||||
"e2e": {
|
|
||||||
"protractor": {
|
|
||||||
"config": "./protractor.config.js"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"test": {
|
|
||||||
"karma": {
|
|
||||||
"config": "./karma.conf.js"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"defaults": {
|
|
||||||
"styleExt": "scss",
|
|
||||||
"prefixInterfaces": false,
|
|
||||||
"inline": {
|
|
||||||
"style": false,
|
|
||||||
"template": false
|
|
||||||
},
|
|
||||||
"spec": {
|
|
||||||
"class": false,
|
|
||||||
"component": true,
|
|
||||||
"directive": true,
|
|
||||||
"module": false,
|
|
||||||
"pipe": true,
|
|
||||||
"service": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -12,7 +12,7 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import { Subject} from "rxjs";
|
import { Observable, Subject} from "rxjs";
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class ChannelService {
|
export class ChannelService {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import { Subject} from "rxjs";
|
import { Observable, Subject} from "rxjs";
|
||||||
import {OperateInfo} from "./operate";
|
import { OperateInfo } from "./operate";
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class OperationService {
|
export class OperationService {
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"baseUrl": "",
|
|
||||||
"declaration": false,
|
|
||||||
"emitDecoratorMetadata": true,
|
|
||||||
"experimentalDecorators": true,
|
|
||||||
"lib": [
|
|
||||||
"es6",
|
|
||||||
"dom"
|
|
||||||
],
|
|
||||||
"mapRoot": "./",
|
|
||||||
"module": "commonjs",
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"outDir": "../dist/out-tsc",
|
|
||||||
"sourceMap": true,
|
|
||||||
"target": "es5",
|
|
||||||
"typeRoots": [
|
|
||||||
"../node_modules/@types"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"exclude": [
|
|
||||||
"node_modules",
|
|
||||||
"dist"
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,25 +0,0 @@
|
||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"target": "es5",
|
|
||||||
"module": "es2015",
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"sourceMap": true,
|
|
||||||
"emitDecoratorMetadata": true,
|
|
||||||
"experimentalDecorators": true,
|
|
||||||
"lib": ["es2015", "dom"],
|
|
||||||
"noImplicitAny": true,
|
|
||||||
"suppressImplicitAnyIndexErrors": true,
|
|
||||||
"allowSyntheticDefaultImports": true,
|
|
||||||
"typeRoots": [
|
|
||||||
"./node_modules/@types/"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"files": [
|
|
||||||
"src/app/app.module.ts",
|
|
||||||
"src/main-aot.ts"
|
|
||||||
],
|
|
||||||
"angularCompilerOptions": {
|
|
||||||
"genDir": "aot",
|
|
||||||
"skipMetadataEmit" : true
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user