Skip to content
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

Project reference support enhancements #1076

Merged
merged 20 commits into from
Apr 15, 2020
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
d662385
Add test for package json existance
sheetalkamat Oct 3, 2019
00d40db
Show how output is different when module resolution resolves to .js/.…
sheetalkamat Apr 8, 2020
a3a39e3
Add input file of reference as dependency instead of .d.ts file
sheetalkamat Oct 3, 2019
d5474b2
Store tsbuildinfos written on solution builder host and hand it off a…
sheetalkamat Oct 7, 2019
f57b8fc
.d.ts as assets only if written
sheetalkamat Oct 7, 2019
453ce34
Make every project include just app and not other lib files
sheetalkamat Oct 7, 2019
35d283c
Fix watching for solution watched files
sheetalkamat Oct 7, 2019
cecfc8a
Dont depend on .d.ts output of the referenced project since we are de…
sheetalkamat Oct 9, 2019
cdfce32
Make sure to build all solution builder files before and track input …
sheetalkamat Apr 2, 2020
bf49856
Add all the files from composite project as dependencies as any chang…
sheetalkamat Apr 6, 2020
0561a9f
Get output from solutionBuilder for referenced files in transpileOnly…
sheetalkamat Apr 8, 2020
eb4b4fc
Read and write output files from referenced projects to disk
sheetalkamat Apr 9, 2020
61e7b3a
Test on already built
sheetalkamat Apr 9, 2020
e3bd56e
Handle written files by solution builder a bit better
sheetalkamat Apr 9, 2020
9d62b44
Fix comparison tests where the multiple compilation callbacks were no…
sheetalkamat Apr 10, 2020
6cd9347
Because comparison tests are run only on newer typescript build, buil…
sheetalkamat Apr 10, 2020
1977b89
Remove node 8 build from travis
sheetalkamat Apr 10, 2020
399b60a
Fix test baselines
sheetalkamat Apr 10, 2020
7b0ec7d
Revert multiple compilation stats per patch, has incorrect baseline t…
sheetalkamat Apr 13, 2020
43695e4
update package.json and CHANGELOG.md
johnnyreilly Apr 14, 2020
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
Prev Previous commit
Next Next commit
Fix test baselines
sheetalkamat committed Apr 10, 2020
commit 399b60ab102b0cc9a2e2c9b8570dfc061ff89647
Original file line number Diff line number Diff line change
@@ -7,5 +7,17 @@ Entrypoint main = bundle.js

ERROR in src\error2.js
./src/error2.js
[tsl] ERROR in src\error2.js(4,10)
[tsl] ERROR in src\error2.js(4,10)
 TS2339: Property 'bar' does not exist on type 'Class2'.

Asset Size Chunks Chunk Names
bundle.js 5.15 KiB main main
Entrypoint main = bundle.js
[./src/error1.js] 265 bytes {main}
[./src/error2.js] 278 bytes {main} [1 error]
[./src/index.js] 207 bytes {main} [built]

ERROR in src\error2.js
./src/error2.js
[tsl] ERROR in src\error2.js(4,10)
 TS2339: Property 'bar' does not exist on type 'Class2'.
Original file line number Diff line number Diff line change
@@ -20,43 +20,6 @@ ERROR in [tsl] ERROR in [36
ERROR in [tsl] ERROR in lib\fileWithError.ts(2,5)
 TS2322: Type 'false' is not assignable to type 'string'.

ERROR in ./lib/index.ts
Module build failed (from /index.js):
Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects.
at makeSourceMapAndFinish (dist\index.js:87:18)
at successLoader (dist\index.js:73:9)
at Object.loader (dist\index.js:24:5)
@ ./app.ts 3:12-28

ERROR in ./utils/index.ts
Module build failed (from /index.js):
Error: TypeScript emitted no output for utils\index.ts. The most common cause for this is having errors when building referenced projects.
at makeSourceMapAndFinish (dist\index.js:87:18)
at successLoader (dist\index.js:73:9)
at Object.loader (dist\index.js:24:5)
@ ./app.ts 4:14-32

Asset Size Chunks Chunk Names
bundle.js 5.57 KiB main main
Entrypoint main = bundle.js
[./app.ts] 218 bytes {main} [2 errors]
[./lib/index.ts] 493 bytes {main} [built] [failed] [3 errors]
[./utils/index.ts] 495 bytes {main} [built] [failed] [1 error]

ERROR in [tsl] ERROR in indirectWithError\fileWithError.ts(2,5)
 TS2322: Type 'false' is not assignable to type 'string'.

ERROR in [tsl] ERROR in indirectWithError\fileWithError.ts(2,5)
 TS2322: Type 'false' is not assignable to type 'string'.
@ ./app.ts 3:12-28

ERROR in [tsl] ERROR in lib\fileWithError.ts(2,5)
 TS2322: Type 'false' is not assignable to type 'string'.

ERROR in [tsl] ERROR in lib\fileWithError.ts(2,5)
 TS2322: Type 'false' is not assignable to type 'string'.
@ ./app.ts 3:12-28

ERROR in ./lib/index.ts
Module build failed (from /index.js):
Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects.