Describe the bug
The source code for generating package,json claims that "If a package.json exists in the project, it will reuse that.", but that is not the case when the project dir is "apps/project-name/package.json" - which is similar to output of "${options.projectRoot}/package.json`".
for that to be the expected behaviour? Or is this intended??
MOREOVER:
It looks like during packaging or making process, it's using workspace root package.json dependencies instead of the calculated /generated dependencies for the local project. This:
affects local project package.json configuration or fields. E.g. descriptions, versions, etc.
leads to warnings like: "description is missed in the package.json", even though these fields were set in the local project.
How can we set the "appPackageFile" to use "dist/apps/project-name/package.json" that was generated? Or am I doing it wrong??
THANKS
Describe the bug The source code for generating package,json claims that "If a package.json exists in the project, it will reuse that.", but that is not the case when the project dir is "apps/project-name/package.json" - which is similar to output of "${options.projectRoot}/package.json`".
To Reproduce The existing code for that is like:
Expected behavior Shouldn't it be:
for that to be the expected behaviour? Or is this intended??
MOREOVER: It looks like during packaging or making process, it's using workspace root package.json dependencies instead of the calculated /generated dependencies for the local project. This:
How can we set the "appPackageFile" to use "dist/apps/project-name/package.json" that was generated? Or am I doing it wrong?? THANKS