Skip to content
This repository was archived by the owner on Dec 6, 2022. It is now read-only.

Changes to the msbuild signing project to remove unwanted files #622

Merged
merged 9 commits into from
Mar 19, 2018

Conversation

msft-cwells
Copy link
Contributor

Removes the dll, pdb, and zip files, which we don't want in the published NuGet package.

$(OutDir)node_modules\resolve\test\resolver\mug.js;
$(OutDir)node_modules\resolve\test\pathfilter\deep_ref\main.js;
$(OutDir)node_modules\resolve\test\resolver\baz\doom.js;
$(OutDir)node_modules\vsce\node_modules\tmp\test\symlinkme\file.js;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious where this list of node_modules comes from?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's really the list of files that cause the signing step to fail...but interestingly, they cause the signing step to fail because they are empty JS files (and apparently the signing tool refuses to append our Authenticode cert block to an empty *.js file).

I think we've found a way to simplify some of this process, so hopefully we'll be able to remove that exclusion list in the near future.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These all appear to be devDependencies, which don't need to be shipped. I would recommend not shipping any devDependencies, it will make the released version much smaller!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed. One of the effects of our planned simplification change will be to not copy/sign/package/ship devDependencies. Thanks Rob!

@roblourens roblourens merged commit b1192af into microsoft:master Mar 19, 2018
@roblourens roblourens added this to the March 2018 milestone Apr 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants