This repository was archived by the owner on Jan 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 4
4
*/
5
5
const { join} = require ( 'path' ) ;
6
6
7
+ const package = require ( './package.json' ) ;
8
+
7
9
/** Current version of the project*/
8
- const buildVersion = require ( './package.json' ) . version ;
10
+ const buildVersion = package . version ;
11
+
12
+ /** Required Angular version for the project. */
13
+ const angularVersion = package . dependencies [ '@angular/core' ] ;
9
14
10
15
/** License that will be placed inside of all created bundles. */
11
16
const buildLicense = `/**
@@ -18,6 +23,7 @@ const buildLicense = `/**
18
23
19
24
module . exports = {
20
25
projectVersion : buildVersion ,
26
+ angularVersion : angularVersion ,
21
27
projectDir : __dirname ,
22
28
packagesDir : join ( __dirname , 'src' ) ,
23
29
outputDir : join ( __dirname , 'dist' ) ,
Original file line number Diff line number Diff line change 24
24
},
25
25
"homepage" : " https://github.com/angular/flex-layout#readme" ,
26
26
"peerDependencies" : {
27
- "@angular/core" : " ^4 .0.0" ,
28
- "@angular/common" : " ^4 .0.0"
27
+ "@angular/core" : " 0 .0.0-NG " ,
28
+ "@angular/common" : " 0 .0.0-NG "
29
29
},
30
30
"dependencies" : {
31
31
"tslib" : " ^1.7.1"
You can’t perform that action at this time.
0 commit comments