ericcornelissen/webmangler

Use "lib" for published JavaScript code

Opened this issue · 2 comments

Initiative

Description

Currently, most of the packages compile into an "outDir" named "build". This is fine in theory - as it is entirely abstracted from the package user - but a clearer and more standard name would still be preferable.

Notes

  1. I will update this for each package when releases happens.
  2. For some package, just changing the tsconfig.json file is enough but for some more changes are required. For example to keep the internal dependencies working or to keep the package exports working.

Progress

Followup

Related


As this issue concerns all package, the labels of individual packages won't be added.

The nyc configuration file needs to be updated to exclude the lib/ directory when creating a coverage report.

EDIT: This is fixed in a87c7f4

If #194 (specifically 70d0ff0) gets merged, then once all packages have been changed from build to lib the cached paths should be updated to omit packages/*/build.

EDIT: with #194 merged, I incorporated this as a followup in the issue description.