Skip to content

Commit c43eb55

Browse files
committed
Merge branch 'main' into aggregateTimes
2 parents 53216fe + b8f6488 commit c43eb55

File tree

323 files changed

+17605
-14821
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

323 files changed

+17605
-14821
lines changed

.github/workflows/nightly.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v2
1818
- uses: actions/setup-node@v3
19+
with:
20+
# Use NODE_AUTH_TOKEN environment variable to authenticate to this registry.
21+
registry-url: https://registry.npmjs.org/
1922
- name: Setup and publish nightly
2023
run: |
2124
npm whoami
@@ -26,4 +29,4 @@ jobs:
2629
gulp clean
2730
npm publish --tag next
2831
env:
29-
NPM_TOKEN: ${{secrets.npm_token}}
32+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

.github/workflows/update-package-lock.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717
- uses: actions/setup-node@v3
18+
with:
19+
node-version: 14
1820

1921
- name: Configure git and update package-lock.json
2022
run: |
2123
git config user.email "[email protected]"
2224
git config user.name "TypeScript Bot"
23-
npm install --package-lock-only
25+
npm install --package-lock-only --ignore-scripts
2426
git add -f package-lock.json
2527
if git commit -m "Update package-lock.json"; then
2628
git push

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/compiler/builder.ts

Lines changed: 308 additions & 242 deletions
Large diffs are not rendered by default.

src/compiler/builderPublic.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ namespace ts {
2525
*/
2626
/*@internal*/
2727
storeFilesChangingSignatureDuringEmit?: boolean;
28+
/**
29+
* Gets the current time
30+
*/
31+
/*@internal*/
32+
now?(): Date;
2833
}
2934

3035
/**
@@ -34,9 +39,9 @@ namespace ts {
3439
/*@internal*/
3540
getState(): ReusableBuilderProgramState;
3641
/*@internal*/
37-
backupState(): void;
42+
saveEmitState(): SavedBuildProgramEmitState;
3843
/*@internal*/
39-
restoreState(): void;
44+
restoreEmitState(saved: SavedBuildProgramEmitState): void;
4045
/**
4146
* Returns current program
4247
*/

src/compiler/builderState.ts

Lines changed: 64 additions & 122 deletions
Large diffs are not rendered by default.

src/compiler/builderStatePublic.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ namespace ts {
1010
name: string;
1111
writeByteOrderMark: boolean;
1212
text: string;
13+
/* @internal */ buildInfo?: BuildInfo
1314
}
1415
}

0 commit comments

Comments
 (0)