@@ -24,21 +24,24 @@ const {set, cd, sed, rm} = require('shelljs');
24
24
const path = require ( 'path' ) ;
25
25
const log = console . log ;
26
26
27
- log ( '===== about to run the postinstall-patches.js script =====' ) ;
28
- // fail on first error
29
- set ( '-e' ) ;
30
- // print commands as being executed
31
- set ( '-v' ) ;
32
- // jump to project root
33
- cd ( path . join ( __dirname , '../' ) ) ;
27
+ // COMMENTED OUT BECAUSE WE CURRENTLY REQUIRE NO PATCHES
28
+ // UNCOMMENT TO REENABLE PATCHING AND LOG OUTPUT
29
+ //
30
+ // log('===== about to run the postinstall-patches.js script =====');
31
+ // // fail on first error
32
+ // set('-e');
33
+ // // print commands as being executed
34
+ // set('-v');
35
+ // // jump to project root
36
+ // cd(path.join(__dirname, '../'));
34
37
35
- /* EXAMPLE PATCH:
36
- // https://github.com/ReactiveX/rxjs/pull/3302
37
- // make node_modules/rxjs compilable with Typescript 2.7
38
- // remove when we update to rxjs v6
39
- log('\n# patch: reactivex/rxjs#3302 make node_modules/rxjs compilable with Typescript 2.7');
40
- sed('-i', '(\'response\' in xhr)', '(\'response\' in (xhr as any))',
41
- 'node_modules/rxjs/src/observable/dom/AjaxObservable.ts');
42
- */
38
+ // / * EXAMPLE PATCH:
39
+ // // https://github.com/ReactiveX/rxjs/pull/3302
40
+ // // make node_modules/rxjs compilable with Typescript 2.7
41
+ // // remove when we update to rxjs v6
42
+ // log('\n# patch: reactivex/rxjs#3302 make node_modules/rxjs compilable with Typescript 2.7');
43
+ // sed('-i', '(\'response\' in xhr)', '(\'response\' in (xhr as any))',
44
+ // 'node_modules/rxjs/src/observable/dom/AjaxObservable.ts');
45
+ // */
43
46
44
- log ( '===== finished running the postinstall-patches.js script =====' ) ;
47
+ // log('===== finished running the postinstall-patches.js script =====');
0 commit comments