@nx/node 0.0.0-pr-29122-4727ac1 → 0.0.0-pr-29156-41ae81c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/node",
3
- "version": "0.0.0-pr-29122-4727ac1",
3
+ "version": "0.0.0-pr-29156-41ae81c",
4
4
  "private": false,
5
5
  "description": "The Node Plugin for Nx contains generators to manage Node applications within an Nx workspace.",
6
6
  "repository": {
@@ -32,10 +32,10 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "tslib": "^2.3.0",
35
- "@nx/devkit": "0.0.0-pr-29122-4727ac1",
36
- "@nx/jest": "0.0.0-pr-29122-4727ac1",
37
- "@nx/js": "0.0.0-pr-29122-4727ac1",
38
- "@nx/eslint": "0.0.0-pr-29122-4727ac1"
35
+ "@nx/devkit": "0.0.0-pr-29156-41ae81c",
36
+ "@nx/jest": "0.0.0-pr-29156-41ae81c",
37
+ "@nx/js": "0.0.0-pr-29156-41ae81c",
38
+ "@nx/eslint": "0.0.0-pr-29156-41ae81c"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public"
@@ -98,20 +98,6 @@ function getServeConfig(options) {
98
98
  },
99
99
  };
100
100
  }
101
- function getNestWebpackBuildConfig() {
102
- return {
103
- executor: 'nx:run-commands',
104
- options: {
105
- command: 'webpack-cli build',
106
- args: ['node-env=production'],
107
- },
108
- configurations: {
109
- development: {
110
- args: ['node-env=development'],
111
- },
112
- },
113
- };
114
- }
115
101
  function addProject(tree, options) {
116
102
  const project = {
117
103
  root: options.appProjectRoot,
@@ -129,11 +115,6 @@ function addProject(tree, options) {
129
115
  (0, target_defaults_utils_1.addBuildTargetDefaults)(tree, `@nx/webpack:webpack`);
130
116
  project.targets.build = getWebpackBuildConfig(project, options);
131
117
  }
132
- else if (options.isNest) {
133
- // If we are using Nest that has the webpack plugin we need to override the
134
- // build target so that node-env can be set to production or development so the serve target can be run in development mode
135
- project.targets.build = getNestWebpackBuildConfig();
136
- }
137
118
  }
138
119
  project.targets.serve = getServeConfig(options);
139
120
  (0, devkit_1.addProjectConfiguration)(tree, options.name, project, options.standaloneConfig);