@nx/web 16.7.0-beta.3 → 16.7.0-beta.5

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.7.0-beta.3",
3
+ "version": "16.7.0-beta.5",
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": {
@@ -15,7 +15,7 @@
15
15
  "Cypress",
16
16
  "CLI"
17
17
  ],
18
- "main": "./index",
18
+ "main": "./index.js",
19
19
  "typings": "./index.d.ts",
20
20
  "author": "Victor Savkin",
21
21
  "license": "MIT",
@@ -30,9 +30,9 @@
30
30
  "migrations": "./migrations.json"
31
31
  },
32
32
  "dependencies": {
33
- "@nrwl/web": "16.7.0-beta.3",
34
- "@nx/devkit": "16.7.0-beta.3",
35
- "@nx/js": "16.7.0-beta.3",
33
+ "@nrwl/web": "16.7.0-beta.5",
34
+ "@nx/devkit": "16.7.0-beta.5",
35
+ "@nx/js": "16.7.0-beta.5",
36
36
  "chalk": "^4.1.0",
37
37
  "chokidar": "^3.5.1",
38
38
  "detect-port": "^1.5.1",
@@ -43,6 +43,6 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "types": "./index.d.ts",
47
- "gitHead": "118faf4e432667fd041954d96aa6c9c99fea5ebd"
46
+ "type": "commonjs",
47
+ "gitHead": "fa513731d4e6a960f112a5af6b0d725b2e624b36"
48
48
  }
@@ -180,6 +180,8 @@ function applicationGenerator(host, schema) {
180
180
  js: false,
181
181
  linter: options.linter,
182
182
  setParserOptionsProject: options.setParserOptionsProject,
183
+ webServerCommand: `${(0, devkit_1.getPackageManagerCommand)().exec} nx serve ${options.name}`,
184
+ webServerAddress: 'http://localhost:4200',
183
185
  });
184
186
  tasks.push(playwrightTask);
185
187
  }