Skip to content

build: update to typescript v3.9.5 #19646

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions goldens/size-test.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
cdk/drag-drop/all-directives: 153594
cdk/drag-drop/basic: 150852
material-experimental/mdc-chips/basic: 147613
material-experimental/mdc-form-field/advanced: 220865
material-experimental/mdc-form-field/basic: 220028
material/autocomplete/without-optgroup: 208091
material/button-toggle/standalone: 119400
material/chips/basic: 162733
material/datepicker/range-picker/without-form-field: 330747
material/expansion/without-accordion: 130562
material/form-field/advanced: 186234
material/form-field/basic: 185008
material/list/nav-list: 130473
material/menu/without-lazy-content: 210751
material/radio/without-group: 121448
material/select/basic: 256613
material/tabs/advanced: 183627
material/tabs/basic: 182824
material-experimental/mdc-chips/basic: 147608
material-experimental/mdc-form-field/advanced: 220897
material-experimental/mdc-form-field/basic: 220060
material/autocomplete/without-optgroup: 208202
material/button-toggle/standalone: 119486
material/chips/basic: 162755
material/datepicker/range-picker/without-form-field: 330729
material/expansion/without-accordion: 130701
material/form-field/advanced: 186274
material/form-field/basic: 185048
material/list/nav-list: 130612
material/menu/without-lazy-content: 210862
material/radio/without-group: 121587
material/select/basic: 256617
material/tabs/advanced: 183612
material/tabs/basic: 182809
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"ts-circular-deps:approve": "yarn -s ts-circular-deps approve --config ./src/circular-deps-test.conf.js",
"merge": "ng-dev pr merge",
"approve-api": "node ./scripts/approve-api-golden.js",
"approve-size-tests": "node ./scripts/approve-size-golden.js",
"integration-tests": "bazel test //integration/... --test_tag_filters=-view-engine-only --build_tests_only",
"integration-tests:view-engine": "bazel test //integration/... --test_tag_filters=view-engine-only --build_tests_only --config=view-engine"
},
Expand Down Expand Up @@ -164,7 +165,7 @@
"tsickle": "0.38.1",
"tslint": "^6.1.0",
"tsutils": "^3.17.1",
"typescript": "3.9.2",
"typescript": "3.9.5",
"typescript-3.6": "npm:typescript@~3.6.4",
"typescript-3.7": "npm:typescript@~3.7.0",
"typescript-3.8": "npm:typescript@~3.8.0",
Expand All @@ -173,7 +174,7 @@
"yargs": "15.3.0"
},
"resolutions": {
"dgeni-packages/typescript": "3.9.2",
"dgeni-packages/typescript": "3.9.5",
"**/graceful-fs": "4.2.2"
}
}
2 changes: 2 additions & 0 deletions scripts/approve-api-golden.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env node

const shelljs = require('shelljs');
const chalk = require('chalk');
const path = require('path');
Expand Down
26 changes: 26 additions & 0 deletions scripts/approve-size-golden.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/usr/bin/env node

const shelljs = require('shelljs');
const path = require('path');
const yaml = require('yaml');
const fs = require('fs');

const projectDir = path.join(__dirname, '../');
const goldenPath = path.join(projectDir, './goldens/size-test.yaml');
const golden = yaml.parse(fs.readFileSync(goldenPath, 'utf8'));
const tests = Object.keys(golden);

if (tests.length === 0) {
console.error('No tests captured in size test golden.');
process.exit(1);
}

shelljs.set('-e');
shelljs.cd(projectDir);

for (const testId of tests) {
const testIdParts = testId.split('/');
const targetLabel = testIdParts.slice(0, -1).join('/');
const targetName = testIdParts[testIdParts.length - 1];
shelljs.exec(`bazel run //integration/size-test/${targetLabel}:${targetName}.approve`);
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12035,10 +12035,10 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061"
integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==

typescript@3.9.2, typescript@^3.2.2:
version "3.9.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.2.tgz#64e9c8e9be6ea583c54607677dd4680a1cf35db9"
integrity sha512-q2ktq4n/uLuNNShyayit+DTobV2ApPEo/6so68JaD5ojvc/6GClBipedB9zNWYxRSAlZXAe405Rlijzl6qDiSw==
typescript@3.9.5, typescript@^3.2.2:
version "3.9.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.5.tgz#586f0dba300cde8be52dd1ac4f7e1009c1b13f36"
integrity sha512-hSAifV3k+i6lEoCJ2k6R2Z/rp/H3+8sdmcn5NrS3/3kE7+RyZXm9aqvxWqjEXHAd8b0pShatpcdMTvEdvAJltQ==

typescript@^3.0.3, typescript@^3.4.5:
version "3.5.3"
Expand Down