Open osher opened 2 months ago
oh. there's more diet to do...
28K @microsoft/tsdoc/lib-commonjs/__tests__
36K @microsoft/tsdoc/lib-commonjs/beta/__tests__
12K @microsoft/tsdoc/lib-commonjs/emitters/__tests__
120K @microsoft/tsdoc/lib-commonjs/parser/__tests__
52K @microsoft/tsdoc/lib/__tests__
40K @microsoft/tsdoc/lib/beta/__tests__
20K @microsoft/tsdoc/lib/emitters/__tests__
232K @microsoft/tsdoc/lib/parser/__tests__
note that it's all shipped twice 😛 - just the __tests__
thingy
@microsoft-github-policy-service agree
@iclanton - the CI seems stuck... help?
@osher - I'll take a look this week.
You need to run rush change
, and we should try to eliminate the .npmignore
files if we're going to move to the "files"
package.json
field.
You also don't need to ship map files for ts.
.ts.map
files are useful for mapping declaration issues back to the location in source, but we aren't embedding the source in those files, so shipping them is indeed not all that useful.
this will reduce your on-disk node_modules footprint from ~500K to ~80K.
I mean, good work with the tests and all, but don't ship them...
You also don't need to ship map files for
ts
.P.S. I would put more accurate numbers like I did for
resolve
- (which BTW affects you too!), butnpm i
fails... I saw you use a different toolchain, but could not get started with thisrush
. all kinds of wierd errors... :P I had to give up.