@nrwl/node generatePackageJson generated package.json should include tslib as dependency
See original GitHub issueCurrent Behavior
generating a @nrwl/node:app generates a typescript project, add generatePackageJson to the project.json and build will then create a package.json, however you cannot actually run the built app because tslib is required and not included as a dependency.
Expected Behavior
package.json should included all dependencies, including tslib
Steps to Reproduce
This issue may not be prioritized if details are not provided to help us reproduce the issue.
Failure Logs
Environment
Node : 16.13.0 OS : darwin arm64 npm : 8.1.4
nx : 13.7.1 @nrwl/angular : undefined @nrwl/cli : 13.7.1 @nrwl/cypress : 13.7.1 @nrwl/detox : undefined @nrwl/devkit : 13.7.1 @nrwl/eslint-plugin-nx : 13.7.1 @nrwl/express : 13.8.3 @nrwl/jest : 13.7.1 @nrwl/js : 13.7.1 @nrwl/linter : 13.7.1 @nrwl/nest : undefined @nrwl/next : undefined @nrwl/node : 13.8.3 @nrwl/nx-cloud : undefined @nrwl/react : 13.7.1 @nrwl/react-native : undefined @nrwl/schematics : undefined @nrwl/storybook : 13.7.1 @nrwl/tao : 13.7.1 @nrwl/web : 13.7.1 @nrwl/workspace : 13.7.1 typescript : 4.5.5 rxjs : 6.6.7
Community plugins: @otterdev/nx-cdk: 0.0.11 @otterdev/nx-cdk: 0.0.11
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:10 (4 by maintainers)
Ah, yes. My bad… It should be included in the next release.
I’m going to close this, since it should have been linked to that PR.
Fixed by #11419
@AgentEnder ran
nx migrate latest
, though it didn’t yield anything new.Checking out that code you linked, it looks like it was merged 3 hours ago … safe to assume it hasn’t been released yet?