GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [WIP] buildInfo to manipulate and update output of --out when .d.ts of reference doesnt change by sheetalkamat · Pull Request #29738 · microsoft/TypeScript

[WIP] buildInfo to manipulate and update output of --out when .d.ts of reference doesnt change #29738

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.

Sign up for GitHub

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

Closed
Sheetal Nandi (sheetalkamat) wants to merge 53 commits into master from usePrependToSkipBuild

Uh oh!

There was an error while loading. Please reload this page.

Closed

[WIP] buildInfo to manipulate and update output of --out when .d.ts of reference doesnt change #29738

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
edfc91a
Write testcase to baseline with strict, prologues, shebangs
sheetalkamat Nov 7, 2018
607891b
Generate readable source map baselines for -b --out scenario
sheetalkamat Jan 16, 2019
6e57709
Handle shebang when using prepend nodes
sheetalkamat Jan 16, 2019
a90ff10
Tests for multiple prologues
sheetalkamat Jan 16, 2019
c739def
Handle prologues in prepend outputs
sheetalkamat Jan 17, 2019
36eae04
Handle emit helpers in --out scenario
sheetalkamat Jan 23, 2019
ff027d4
Handle triple slash refs
sheetalkamat Jan 25, 2019
0aaa880
Use bundle info to store info about prologues, emit Helpers, referenc…
sheetalkamat Jan 26, 2019
d5b5f8d
Handle --clean with .tsbuildinfo
sheetalkamat Jan 29, 2019
9dabe69
Dont assert but verify sourceMapGenerator
sheetalkamat Jan 29, 2019
36ae7be
Create tests when bundleInfo file is not present
sheetalkamat Jan 29, 2019
717dad9
Dont use tsbundleInfo to determine if bundle needs to be rebuilt
sheetalkamat Jan 29, 2019
c8ff9ac
Merge branch 'master' into prependWithBundleInfo
sheetalkamat Jan 30, 2019
00873f6
Make file generic to be .tsbuildinfo
sheetalkamat Jan 30, 2019
0d9cf96
Make the bundle info into buildInfo
sheetalkamat Jan 30, 2019
315a4dd
Merge branch 'master' into prependWithBundleInfo
sheetalkamat Jan 30, 2019
bb76259
More logs verification
sheetalkamat Jan 30, 2019
d1f3aca
Test case when final project isnt composite project
sheetalkamat Jan 31, 2019
aa74fa1
Fix UnparsedPrologue kind
sheetalkamat Jan 31, 2019
bd76940
If the project only needs prepend output to be changed, prepare to ju…
sheetalkamat Jan 30, 2019
39e37a2
Generate .tsbuildInfo if bundle uses references with prepend
sheetalkamat Jan 31, 2019
362c78e
Create prepend text sections in .buildInfo
sheetalkamat Jan 31, 2019
b15cb6b
Create nodes for unparsed text, prepend text
sheetalkamat Jan 31, 2019
38e0d4d
Add SourceMapUrl to section
sheetalkamat Jan 31, 2019
f7281e3
Use same property name for BundleFileSection and UnparsedNode for eas…
sheetalkamat Jan 31, 2019
db3a4fe
Separate out the tests for tsbuild into its own folder
sheetalkamat Jan 31, 2019
4205eaf
Baseline incremental build baselines
sheetalkamat Feb 1, 2019
3cf46f1
Dont diff with only sources in incremental compilation, diff with the…
sheetalkamat Feb 1, 2019
b7defb3
Some more reorg in test
sheetalkamat Feb 1, 2019
10f0131
Dont do base build again for each incremental scenario
sheetalkamat Feb 1, 2019
79b5992
Verify header updates
sheetalkamat Feb 1, 2019
03fa5bd
Merge branch 'master' into usePrependToSkipBuild
sheetalkamat Feb 1, 2019
66dab21
More refactoring
sheetalkamat Feb 1, 2019
a41d546
Store commonSourceDirectory
sheetalkamat Feb 1, 2019
4050378
Add source information to bundle info and use it to emit header infor…
sheetalkamat Feb 2, 2019
e3eb7bc
Add helpers from source files to the bundleInfo to be used later
sheetalkamat Feb 2, 2019
00917a4
Store pologue information in bundle info
sheetalkamat Feb 4, 2019
aa5d62a
Perform only emit on js file if no decl file change
sheetalkamat Feb 1, 2019
acec3c1
Use stored helpers to emit incrementally
sheetalkamat Feb 2, 2019
a64e5ad
Even though .d.ts doesnt change, the map file most likely changes, so…
sheetalkamat Feb 2, 2019
d9ead78
Map dts file to sections to write and fix from
sheetalkamat Feb 2, 2019
16914cc
Factor out unparsed source file for own creation
sheetalkamat Feb 4, 2019
a0a4e6b
Update test baselines
sheetalkamat Feb 4, 2019
3593685
Use prologue directive information in buildInfo to emit prologues whe…
sheetalkamat Feb 4, 2019
87bb6c9
Merge branch 'master' into usePrependToSkipBuild
sheetalkamat Feb 4, 2019
207ab9c
Since dts file doesnt change the dts bundle info doesnt change either…
sheetalkamat Feb 5, 2019
e6b74ef
Factor out baseline generation into tsbuild helper so that sample can…
sheetalkamat Feb 5, 2019
0571631
Generate baseline of .tsbuildinfo sections
sheetalkamat Feb 6, 2019
ee9d343
Generate baselines for sample
sheetalkamat Feb 5, 2019
3a28fb0
Add another test to generate baseline when sample's logic config file…
sheetalkamat Feb 7, 2019
ab7d65e
Merge branch 'master' into usePrependToSkipBuild
sheetalkamat Feb 7, 2019
ada1c3f
Fix missing comma
sheetalkamat Feb 7, 2019
9794080
Merge branch 'master' into usePrependToSkipBuild
sheetalkamat Feb 7, 2019
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Prev Previous commit
Next Next commit
Test case when final project isnt composite project
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@sheetalkamat
sheetalkamat committed Jan 31, 2019
commit d1f3aca2d0d3b26f406b87cd7374442f01b703fb

There are no files selected for viewing

2 changes: 2 additions & 0 deletions 2 src/testRunner/unittests/tsbuild.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,8 @@ export const b = new A();`);

verifyOutFileScenario("baseline sectioned sourcemaps", noop);

verifyOutFileScenario("when final project is not composite but uses project references", fs => replaceFileContent(fs, "/src/third/tsconfig.json", `"composite": true,`, ""));

describe("downstream prepend projects always get rebuilt", () => {
function verify(modifyFs: (fs: vfs.FileSystem) => void, ...expectedDiagnostics: fakes.ExpectedDiagnostic[]) {
const fs = outFileFs.shadow();
Expand Down
Loading
Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.