File tree Expand file tree Collapse file tree 2 files changed +3
-16
lines changed Expand file tree Collapse file tree 2 files changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { setRegistry as setNPMConfigRegistry } from '../utils/packages';
6
6
import { ng , npm } from '../utils/process' ;
7
7
import { prepareProjectForE2e , updateJsonFile } from '../utils/project' ;
8
8
9
- export default async function ( ) {
9
+ export default async function ( ) {
10
10
const argv = getGlobalVariable ( 'argv' ) ;
11
11
12
12
if ( argv . noproject ) {
@@ -28,15 +28,6 @@ export default async function() {
28
28
await expectFileToExist ( join ( process . cwd ( ) , 'test-project' ) ) ;
29
29
process . chdir ( './test-project' ) ;
30
30
31
- // Disable the TS version check to make TS updates easier.
32
- // Only VE does it, but on Ivy the i18n extraction uses VE.
33
- await updateJsonFile ( 'tsconfig.json' , config => {
34
- if ( ! config . angularCompilerOptions ) {
35
- config . angularCompilerOptions = { } ;
36
- }
37
- config . angularCompilerOptions . disableTypeScriptVersionCheck = true ;
38
- } ) ;
39
-
40
31
// If on CI, the user configuration set above will handle project usage
41
32
if ( ! isCI ) {
42
33
// Ensure local test registry is used inside a project
Original file line number Diff line number Diff line change @@ -4,18 +4,14 @@ import { updateJsonFile } from '../../utils/project';
4
4
import { expectToFail } from '../../utils/utils' ;
5
5
import { externalServer , langTranslations , setupI18nConfig } from './setup' ;
6
6
7
- export default async function ( ) {
7
+ export default async function ( ) {
8
8
// Setup i18n tests and config.
9
9
await setupI18nConfig ( ) ;
10
10
11
11
// Ensure a es2017 build is used.
12
12
await writeFile ( '.browserslistrc' , 'Chrome 65' ) ;
13
- await updateJsonFile ( 'tsconfig.json' , config => {
13
+ await updateJsonFile ( 'tsconfig.json' , ( config ) => {
14
14
config . compilerOptions . target = 'es2017' ;
15
- if ( ! config . angularCompilerOptions ) {
16
- config . angularCompilerOptions = { } ;
17
- }
18
- config . angularCompilerOptions . disableTypeScriptVersionCheck = true ;
19
15
} ) ;
20
16
21
17
await ng ( 'build' , '--source-map' ) ;
You can’t perform that action at this time.
0 commit comments