@nx/web 16.5.1 → 16.6.0-beta.1

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/web",
3
- "version": "16.5.1",
3
+ "version": "16.6.0-beta.1",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Web Components contains generators for managing Web Component applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Cypress, and Storybook.\n\n- Scaffolding for creating buildable libraries that can be published to npm.\n\n- Utilities for automatic workspace refactoring.",
6
6
  "repository": {
@@ -30,9 +30,9 @@
30
30
  "migrations": "./migrations.json"
31
31
  },
32
32
  "dependencies": {
33
- "@nrwl/web": "16.5.1",
34
- "@nx/devkit": "16.5.1",
35
- "@nx/js": "16.5.1",
33
+ "@nrwl/web": "16.6.0-beta.1",
34
+ "@nx/devkit": "16.6.0-beta.1",
35
+ "@nx/js": "16.6.0-beta.1",
36
36
  "chalk": "^4.1.0",
37
37
  "chokidar": "^3.5.1",
38
38
  "detect-port": "^1.5.1",
@@ -44,5 +44,5 @@
44
44
  "access": "public"
45
45
  },
46
46
  "types": "./index.d.ts",
47
- "gitHead": "7b7f1e7f72a34cb31cff43ea0ebb80d0eab1ac79"
47
+ "gitHead": "cf9f5cbe6a7ce3b916ec6505dc8488f669cbc52b"
48
48
  }
@@ -24,14 +24,13 @@ function setupBundler(tree, options) {
24
24
  (0, devkit_1.joinPathFragments)(options.appProjectRoot, 'src/assets'),
25
25
  ];
26
26
  if (options.bundler === 'webpack') {
27
- const { webpackProjectGenerator } = (0, devkit_1.ensurePackage)('@nx/webpack', versions_2.nxVersion);
28
- yield webpackProjectGenerator(tree, {
27
+ const { configurationGenerator } = (0, devkit_1.ensurePackage)('@nx/webpack', versions_2.nxVersion);
28
+ yield configurationGenerator(tree, {
29
29
  project: options.projectName,
30
30
  main,
31
31
  tsConfig,
32
32
  compiler: (_a = options.compiler) !== null && _a !== void 0 ? _a : 'babel',
33
33
  devServer: true,
34
- isolatedConfig: true,
35
34
  webpackConfig: (0, devkit_1.joinPathFragments)(options.appProjectRoot, 'webpack.config.js'),
36
35
  skipFormat: true,
37
36
  });
@@ -165,8 +164,8 @@ function applicationGenerator(host, schema) {
165
164
  tasks.push(cypressTask);
166
165
  }
167
166
  if (options.unitTestRunner === 'jest') {
168
- const { jestProjectGenerator } = yield (0, devkit_1.ensurePackage)('@nx/jest', versions_2.nxVersion);
169
- const jestTask = yield jestProjectGenerator(host, {
167
+ const { configurationGenerator } = yield (0, devkit_1.ensurePackage)('@nx/jest', versions_2.nxVersion);
168
+ const jestTask = yield configurationGenerator(host, {
170
169
  project: options.projectName,
171
170
  skipSerializers: true,
172
171
  setupFile: 'web-components',