File tree 4 files changed +13
-5
lines changed
4 files changed +13
-5
lines changed Original file line number Diff line number Diff line change
1
+ > 0.5%
2
+ last 2 versions
3
+ Firefox ESR
4
+ not dead
5
+ not IE 9-11
Original file line number Diff line number Diff line change 1
- import { version } from '../../projects/swimlane/ngx-graph/package.json' ;
1
+ // eslint-disable-next-line
2
+ const packageVersion = require ( '../../projects/swimlane/ngx-graph/package.json' ) . version ;
2
3
3
4
export const environment = {
4
5
production : true ,
5
- version
6
+ version : packageVersion
6
7
} ;
Original file line number Diff line number Diff line change 1
- import packageInfo from '../../projects/swimlane/ngx-graph/package.json' ;
1
+ // eslint-disable-next-line
2
+ const packageVersion = require ( '../../projects/swimlane/ngx-graph/package.json' ) . version ;
2
3
3
4
// This file can be replaced during build by using the `fileReplacements` array.
4
5
// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.
5
6
// The list of file replacements can be found in `angular.json`.
6
7
7
8
export const environment = {
8
9
production : false ,
9
- version : packageInfo . version
10
+ version : packageVersion
10
11
} ;
11
12
12
13
/*
Original file line number Diff line number Diff line change 17
17
"paths" : {
18
18
"@swimlane/ngx-graph" : [" projects/swimlane/ngx-graph/src/public_api" ],
19
19
"@swimlane/ngx-graph/*" : [" projects/swimlane/ngx-graph/src/*" ]
20
- }
20
+ },
21
+ "types" : [" node" ]
21
22
},
22
23
"angularCompilerOptions" : {
23
24
"fullTemplateTypeCheck" : true
You can’t perform that action at this time.
0 commit comments