fix local dependencies in demo project
This commit is contained in:
parent
5a9eee1d14
commit
8c1ba32818
13
angular.json
13
angular.json
@ -22,7 +22,7 @@
|
||||
"main": "src/main.ts",
|
||||
"polyfills": "src/polyfills.ts",
|
||||
"tsConfig": "tsconfig.app.json",
|
||||
"aot": false,
|
||||
"aot": true,
|
||||
"assets": [
|
||||
"src/favicon.ico",
|
||||
"src/assets"
|
||||
@ -45,7 +45,6 @@
|
||||
"sourceMap": false,
|
||||
"extractCss": true,
|
||||
"namedChunks": false,
|
||||
"aot": true,
|
||||
"extractLicenses": true,
|
||||
"vendorChunk": false,
|
||||
"buildOptimizer": true,
|
||||
@ -137,6 +136,11 @@
|
||||
"tsConfig": "projects/openharbor/ngx-data/tsconfig.lib.json",
|
||||
"project": "projects/openharbor/ngx-data/ng-package.json"
|
||||
}
|
||||
, "configurations": {
|
||||
"production": {
|
||||
"tsConfig": "projects/openharbor/ngx-data/tsconfig.lib.prod.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"test": {
|
||||
"builder": "@angular-devkit/build-angular:karma",
|
||||
@ -172,6 +176,11 @@
|
||||
"tsConfig": "projects/openharbor/ngx-data-apollo/tsconfig.lib.json",
|
||||
"project": "projects/openharbor/ngx-data-apollo/ng-package.json"
|
||||
}
|
||||
, "configurations": {
|
||||
"production": {
|
||||
"tsConfig": "projects/openharbor/ngx-data-apollo/tsconfig.lib.prod.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"test": {
|
||||
"builder": "@angular-devkit/build-angular:karma",
|
||||
|
37
package.json
37
package.json
@ -13,14 +13,14 @@
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "~8.2.4",
|
||||
"@angular/common": "~8.2.4",
|
||||
"@angular/compiler": "~8.2.4",
|
||||
"@angular/core": "~8.2.4",
|
||||
"@angular/forms": "~8.2.4",
|
||||
"@angular/platform-browser": "~8.2.4",
|
||||
"@angular/platform-browser-dynamic": "~8.2.4",
|
||||
"@angular/router": "~8.2.4",
|
||||
"@angular/animations": "~9.1.13",
|
||||
"@angular/common": "~9.1.13",
|
||||
"@angular/compiler": "~9.1.13",
|
||||
"@angular/core": "~9.1.13",
|
||||
"@angular/forms": "~9.1.13",
|
||||
"@angular/platform-browser": "~9.1.13",
|
||||
"@angular/platform-browser-dynamic": "~9.1.13",
|
||||
"@angular/router": "~9.1.13",
|
||||
"@poweredsoft/data": "0.0.32",
|
||||
"apollo-angular": "^1.8.0",
|
||||
"apollo-angular-link-http": "^1.9.0",
|
||||
@ -31,18 +31,18 @@
|
||||
"graphql-tag": "^2.10.0",
|
||||
"rxjs": "~6.5.3",
|
||||
"tslib": "^1.10.0",
|
||||
"zone.js": "~0.9.1"
|
||||
"zone.js": "~0.10.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "~0.803.3",
|
||||
"@angular-devkit/build-ng-packagr": "~0.803.3",
|
||||
"@angular/cli": "~8.3.3",
|
||||
"@angular/compiler-cli": "~8.2.4",
|
||||
"@angular/language-service": "~8.2.4",
|
||||
"@types/node": "~8.9.4",
|
||||
"@angular-devkit/build-angular": "~0.901.15",
|
||||
"@angular-devkit/build-ng-packagr": "~0.901.15",
|
||||
"@angular/cli": "~9.1.15",
|
||||
"@angular/compiler-cli": "~9.1.13",
|
||||
"@angular/language-service": "~9.1.13",
|
||||
"@types/node": "^12.11.1",
|
||||
"@types/jasmine": "~3.3.8",
|
||||
"@types/jasminewd2": "~2.0.3",
|
||||
"codelyzer": "^5.0.0",
|
||||
"codelyzer": "^5.1.2",
|
||||
"jasmine-core": "~3.4.0",
|
||||
"jasmine-spec-reporter": "~4.2.1",
|
||||
"karma": "~4.1.0",
|
||||
@ -50,12 +50,11 @@
|
||||
"karma-coverage-istanbul-reporter": "~2.0.1",
|
||||
"karma-jasmine": "~2.0.1",
|
||||
"karma-jasmine-html-reporter": "^1.4.0",
|
||||
"ng-packagr": "^5.4.0",
|
||||
"ng-packagr": "^9.0.0",
|
||||
"protractor": "~5.4.0",
|
||||
"ts-node": "~7.0.0",
|
||||
"tsickle": "^0.37.0",
|
||||
"tslint": "~5.15.0",
|
||||
"typescript": "~3.5.3"
|
||||
"typescript": "~3.8.3"
|
||||
},
|
||||
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
|
||||
}
|
||||
|
@ -12,7 +12,6 @@
|
||||
]
|
||||
},
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"skipTemplateCodegen": true,
|
||||
"strictMetadataEmit": true,
|
||||
"fullTemplateTypeCheck": true,
|
||||
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"extends": "./tsconfig.lib.json",
|
||||
"angularCompilerOptions": {
|
||||
"enableIvy": false
|
||||
}
|
||||
}
|
@ -12,7 +12,6 @@
|
||||
]
|
||||
},
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"skipTemplateCodegen": true,
|
||||
"strictMetadataEmit": true,
|
||||
"fullTemplateTypeCheck": true,
|
||||
|
6
projects/openharbor/ngx-data/tsconfig.lib.prod.json
Normal file
6
projects/openharbor/ngx-data/tsconfig.lib.prod.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"extends": "./tsconfig.lib.json",
|
||||
"angularCompilerOptions": {
|
||||
"enableIvy": false
|
||||
}
|
||||
}
|
@ -1,49 +1,41 @@
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
import { GenericRestDataSourceService } from 'projects/poweredsoft/ngx-data/src/public-api';
|
||||
import { of, Observable } from 'rxjs';
|
||||
import { DataSource, IDataSource, IQueryCriteria, IResolveCommandModelEvent } from '@poweredsoft/data';
|
||||
import { } from 'projects/poweredsoft/ngx-data-apollo/src/public-api';
|
||||
import { Apollo } from 'apollo-angular';
|
||||
import gql from 'graphql-tag';
|
||||
import { map } from 'rxjs/operators';
|
||||
import { DocumentNode } from 'graphql';
|
||||
import { GraphQLDataSourceService, IGraphQLAdvanceQueryInput } from 'projects/poweredsoft/ngx-data-apollo/src/public-api';
|
||||
import { TestService, ITestModel, IValidationTestCommand } from './services/test.service';
|
||||
import { HttpDataSourceService} from '@poweredsoft/ngx-data';
|
||||
import {of} from 'rxjs';
|
||||
import {IDataSource, IQueryCriteria} from '@poweredsoft/data';
|
||||
import {HttpDataSourceService} from '@openharbor/ngx-data';
|
||||
|
||||
export interface IContact
|
||||
{
|
||||
id: number
|
||||
displayName: string
|
||||
id: number;
|
||||
displayName: string;
|
||||
}
|
||||
|
||||
export interface IPerson {
|
||||
id: number,
|
||||
firstName: string,
|
||||
lastName: string
|
||||
id: number;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
}
|
||||
|
||||
export interface ICreatePerson {
|
||||
firstName: string
|
||||
lastName: string
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
}
|
||||
|
||||
export interface IEchoCommand {
|
||||
message: string
|
||||
message: string;
|
||||
}
|
||||
|
||||
export interface IMyQuery extends IQueryCriteria{
|
||||
params: {
|
||||
showDisabled: boolean
|
||||
showDisabled: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
export interface IOnePersonQuery {
|
||||
personId: number
|
||||
personId: number;
|
||||
}
|
||||
|
||||
export interface IListPersonQuery {
|
||||
search?: string
|
||||
search?: string;
|
||||
}
|
||||
|
||||
@Component({
|
||||
|
@ -9,7 +9,7 @@
|
||||
"src/polyfills.ts"
|
||||
],
|
||||
"include": [
|
||||
"src/**/*.ts"
|
||||
"src/**/*.d.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"src/test.ts",
|
||||
|
@ -20,18 +20,9 @@
|
||||
"esnext.asynciterable"
|
||||
],
|
||||
"paths": {
|
||||
"@poweredsoft/ngx-data": [
|
||||
"dist/poweredsoft/ngx-data"
|
||||
"@openharbor/ngx-data": [
|
||||
"./projects/openharbor/ngx-data/src/public-api"
|
||||
],
|
||||
"@poweredsoft/ngx-data/*": [
|
||||
"dist/poweredsoft/ngx-data/*"
|
||||
],
|
||||
"@poweredsoft/ngx-data-apollo": [
|
||||
"dist/poweredsoft/ngx-data-apollo"
|
||||
],
|
||||
"@poweredsoft/ngx-data-apollo/*": [
|
||||
"dist/poweredsoft/ngx-data-apollo/*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"angularCompilerOptions": {
|
||||
|
Loading…
Reference in New Issue
Block a user