@nrwl/js:tsc
doesn't have packageJson
option
#9513
Labels
outdated
scope: js
scope: node
Issues related to Node, Express, NestJS support for Nx
stale
type: bug
Current Behavior
Trying to migrate from
@nrwl/node:package
to@nrwl/js:tsc
to build publishable libs because of #9086.Get the following error when I build with
@nrwl/js:tsc
Situations;
@nrwl/node:package
hadpackageJson
option, but@nrwl/js:tsc
does not have it, instead it always refers to${projectRoot}/package.json
.nx/packages/js/src/utils/update-package-json.ts
Line 31 in d4b5c30
In our case, we set
root
(inproject.json
) tolibs
because the library depends on the other librrary.With
packageJson
option, we could specify a separate path forpackage.json
, but it doesn't seem to be possible with@nrwl/js:tsc
.Expected Behavior
package.json
can be specified with@nrwl/js:tsc
Steps to Reproduce
Failure Logs
Environment
The text was updated successfully, but these errors were encountered: