File tree 7 files changed +8
-14
lines changed
7 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 119
119
"devDependencies" : {
120
120
"@types/chai" : " ^3.4.32" ,
121
121
"@types/chalk" : " ^0.4.28" ,
122
- "@types/common-tags" : " ^1.2.3 " ,
122
+ "@types/common-tags" : " ^1.2.4 " ,
123
123
"@types/denodeify" : " ^1.2.29" ,
124
124
"@types/express" : " ^4.0.32" ,
125
125
"@types/fs-extra" : " ^0.0.31" ,
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ module.exports = {
24
24
'init' : require ( '../commands/init' ) . default ,
25
25
'test' : require ( '../commands/test' ) . default ,
26
26
'e2e' : require ( '../commands/e2e' ) . default ,
27
+ 'help' : require ( '../commands/help' ) . default ,
27
28
'lint' : require ( '../commands/lint' ) . default ,
28
29
'version' : require ( '../commands/version' ) . default ,
29
30
'completion' : require ( '../commands/completion' ) . default ,
File renamed without changes.
Original file line number Diff line number Diff line change 25
25
}
26
26
},
27
27
"exclude" : [
28
- " blueprints/*/files/**/*" ,
29
- " **/*.spec.ts"
28
+ " blueprints/*/files/**/*"
30
29
]
31
30
}
Original file line number Diff line number Diff line change
1
+ // This file is necessary when using a linked angular-cli to this repo, meaning that
2
+ // require('angular-cli/plugins/karma') will load this file, and we just forward to
3
+ // the actual published file.
1
4
module . exports = require ( '../packages/angular-cli/plugins/karma' ) ;
Original file line number Diff line number Diff line change @@ -30,19 +30,10 @@ function copy(from, to) {
30
30
}
31
31
32
32
33
- function patch ( ) {
34
- const filePath = path . join ( __dirname , '../../node_modules/@types/common-tags/common-tags.d.ts' ) ;
35
- const content = fs . readFileSync ( filePath , 'utf8' )
36
- . replace ( / l i t e r a l s : s t r i n g \[ \] / , 'literals: TemplateStringsArray' ) ;
37
- fs . writeFileSync ( filePath , content , 'utf8' ) ;
38
- }
39
-
40
33
// First delete the dist folder.
41
34
Promise . resolve ( )
42
35
. then ( ( ) => console . log ( 'Deleting dist folder...' ) )
43
36
. then ( ( ) => rimraf ( dist ) )
44
- . then ( ( ) => console . log ( 'Patching node_modules typings...' ) )
45
- . then ( ( ) => patch ( ) )
46
37
. then ( ( ) => console . log ( 'Compiling packages...' ) )
47
38
. then ( ( ) => {
48
39
const packages = require ( '../../lib/packages' ) ;
@@ -64,7 +55,7 @@ Promise.resolve()
64
55
return files
65
56
. map ( ( fileName ) => path . relative ( packagesRoot , fileName ) )
66
57
. filter ( ( fileName ) => {
67
- if ( / ^ a n g u l a r - c l i . b l u e p r i n t s / . test ( fileName ) ) {
58
+ if ( / ^ a n g u l a r - c l i [ \\ \/ ] b l u e p r i n t s / . test ( fileName ) ) {
68
59
return true ;
69
60
}
70
61
if ( / \. d \. t s $ / . test ( fileName ) ) {
Original file line number Diff line number Diff line change 6
6
"moduleResolution" : " node" ,
7
7
"noEmitOnError" : true ,
8
8
"noImplicitAny" : true ,
9
- "outDir" : " ./dist/asd " ,
9
+ "outDir" : " ./dist" ,
10
10
"rootDir" : " ." ,
11
11
"sourceMap" : true ,
12
12
"sourceRoot" : " " ,
You can’t perform that action at this time.
0 commit comments