@nx/webpack 22.7.0-beta.6 → 22.7.0-beta.8

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/assets.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
- "outDir": "dist/packages/webpack",
3
- "assets": [
4
- {
5
- "glob": "**/files/**"
6
- },
7
- {
8
- "glob": "**/files/**/.gitkeep"
9
- },
10
- {
11
- "glob": "**/*.json",
12
- "ignore": ["tsconfig*.json", "project.json", ".eslintrc.json"]
13
- },
14
- {
15
- "glob": "**/*.js",
16
- "ignore": ["**/jest.config.js"]
17
- },
18
- {
19
- "glob": "**/*.d.ts"
20
- },
21
- "LICENSE"
22
- ]
2
+ "outDir": "dist/packages/webpack",
3
+ "assets": [
4
+ {
5
+ "glob": "**/files/**"
6
+ },
7
+ {
8
+ "glob": "**/files/**/.gitkeep"
9
+ },
10
+ {
11
+ "glob": "**/*.json",
12
+ "ignore": ["tsconfig*.json", "project.json", ".eslintrc.json"]
13
+ },
14
+ {
15
+ "glob": "**/*.js",
16
+ "ignore": ["**/jest.config.js"]
17
+ },
18
+ {
19
+ "glob": "**/*.d.ts"
20
+ },
21
+ "LICENSE"
22
+ ]
23
23
  }
package/executors.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
- "executors": {
3
- "webpack": {
4
- "implementation": "./src/executors/webpack/webpack.impl",
5
- "schema": "./src/executors/webpack/schema.json",
6
- "description": "Run webpack build."
7
- },
8
- "dev-server": {
9
- "implementation": "./src/executors/dev-server/dev-server.impl",
10
- "schema": "./src/executors/dev-server/schema.json",
11
- "description": "Serve a web application."
12
- },
13
- "ssr-dev-server": {
14
- "implementation": "./src/executors/ssr-dev-server/ssr-dev-server.impl",
15
- "schema": "./src/executors/ssr-dev-server/schema.json",
16
- "description": "Serve a SSR application."
2
+ "executors": {
3
+ "webpack": {
4
+ "implementation": "./src/executors/webpack/webpack.impl",
5
+ "schema": "./src/executors/webpack/schema.json",
6
+ "description": "Run webpack build."
7
+ },
8
+ "dev-server": {
9
+ "implementation": "./src/executors/dev-server/dev-server.impl",
10
+ "schema": "./src/executors/dev-server/schema.json",
11
+ "description": "Serve a web application."
12
+ },
13
+ "ssr-dev-server": {
14
+ "implementation": "./src/executors/ssr-dev-server/ssr-dev-server.impl",
15
+ "schema": "./src/executors/ssr-dev-server/schema.json",
16
+ "description": "Serve a SSR application."
17
+ }
17
18
  }
18
- }
19
19
  }
package/generators.json CHANGED
@@ -1,30 +1,30 @@
1
1
  {
2
- "name": "Nx Webpack",
3
- "version": "0.1",
4
- "generators": {
5
- "init": {
6
- "factory": "./src/generators/init/init#webpackInitGeneratorInternal",
7
- "schema": "./src/generators/init/schema.json",
8
- "description": "Initialize the `@nx/webpack` plugin.",
9
- "aliases": ["ng-add"],
10
- "hidden": true
11
- },
12
- "configuration": {
13
- "aliases": ["webpack-project"],
14
- "factory": "./src/generators/configuration/configuration#configurationGeneratorInternal",
15
- "schema": "./src/generators/configuration/schema.json",
16
- "description": "Add webpack configuration to a project.",
17
- "hidden": true
18
- },
19
- "convert-config-to-webpack-plugin": {
20
- "factory": "./src/generators/convert-config-to-webpack-plugin/convert-config-to-webpack-plugin",
21
- "schema": "./src/generators/convert-config-to-webpack-plugin/schema.json",
22
- "description": "Convert the project to use the `NxAppWebpackPlugin` and `NxReactWebpackPlugin`."
23
- },
24
- "convert-to-inferred": {
25
- "factory": "./src/generators/convert-to-inferred/convert-to-inferred#convertToInferred",
26
- "schema": "./src/generators/convert-to-inferred/schema.json",
27
- "description": "Convert existing Webpack project(s) using `@nx/webpack:wepack` executor to use `@nx/webpack/plugin`."
2
+ "name": "Nx Webpack",
3
+ "version": "0.1",
4
+ "generators": {
5
+ "init": {
6
+ "factory": "./src/generators/init/init#webpackInitGeneratorInternal",
7
+ "schema": "./src/generators/init/schema.json",
8
+ "description": "Initialize the `@nx/webpack` plugin.",
9
+ "aliases": ["ng-add"],
10
+ "hidden": true
11
+ },
12
+ "configuration": {
13
+ "aliases": ["webpack-project"],
14
+ "factory": "./src/generators/configuration/configuration#configurationGeneratorInternal",
15
+ "schema": "./src/generators/configuration/schema.json",
16
+ "description": "Add webpack configuration to a project.",
17
+ "hidden": true
18
+ },
19
+ "convert-config-to-webpack-plugin": {
20
+ "factory": "./src/generators/convert-config-to-webpack-plugin/convert-config-to-webpack-plugin",
21
+ "schema": "./src/generators/convert-config-to-webpack-plugin/schema.json",
22
+ "description": "Convert the project to use the `NxAppWebpackPlugin` and `NxReactWebpackPlugin`."
23
+ },
24
+ "convert-to-inferred": {
25
+ "factory": "./src/generators/convert-to-inferred/convert-to-inferred#convertToInferred",
26
+ "schema": "./src/generators/convert-to-inferred/schema.json",
27
+ "description": "Convert existing Webpack project(s) using `@nx/webpack:wepack` executor to use `@nx/webpack/plugin`."
28
+ }
28
29
  }
29
- }
30
30
  }
package/migrations.json CHANGED
@@ -1,49 +1,49 @@
1
1
  {
2
- "generators": {
3
- "update-21-0-0-remove-isolated-config": {
4
- "cli": "nx",
5
- "version": "21.0.0-beta.11",
6
- "description": "Remove isolatedConfig option for @nx/webpack:webpack",
7
- "implementation": "./src/migrations/update-21-0-0/remove-isolated-config"
8
- },
9
- "update-22-0-0-remove-deprecated-options": {
10
- "cli": "nx",
11
- "version": "22.0.0-beta.0",
12
- "description": "Remove deprecated deleteOutputPath and sassImplementation options from @nx/webpack:webpack",
13
- "implementation": "./src/migrations/update-22-0-0/remove-deprecated-options"
14
- }
15
- },
16
- "packageJsonUpdates": {
17
- "20.5.0": {
18
- "version": "20.5.0-beta.3",
19
- "packages": {
20
- "sass-loader": {
21
- "version": "^16.0.4",
22
- "alwaysAddToPackageJson": false
23
- }
24
- }
25
- },
26
- "20.7.1": {
27
- "version": "20.7.1-beta.0",
28
- "packages": {
29
- "webpack": {
30
- "version": "5.98.0",
31
- "alwaysAddToPackageJson": false
2
+ "generators": {
3
+ "update-21-0-0-remove-isolated-config": {
4
+ "cli": "nx",
5
+ "version": "21.0.0-beta.11",
6
+ "description": "Remove isolatedConfig option for @nx/webpack:webpack",
7
+ "implementation": "./src/migrations/update-21-0-0/remove-isolated-config"
32
8
  },
33
- "webpack-dev-server": {
34
- "version": "^5.2.1",
35
- "alwaysAddToPackageJson": false
9
+ "update-22-0-0-remove-deprecated-options": {
10
+ "cli": "nx",
11
+ "version": "22.0.0-beta.0",
12
+ "description": "Remove deprecated deleteOutputPath and sassImplementation options from @nx/webpack:webpack",
13
+ "implementation": "./src/migrations/update-22-0-0/remove-deprecated-options"
36
14
  }
37
- }
38
15
  },
39
- "21.5.0": {
40
- "version": "21.5.0-beta.0",
41
- "packages": {
42
- "webpack": {
43
- "version": "5.101.3",
44
- "alwaysAddToPackageJson": false
16
+ "packageJsonUpdates": {
17
+ "20.5.0": {
18
+ "version": "20.5.0-beta.3",
19
+ "packages": {
20
+ "sass-loader": {
21
+ "version": "^16.0.4",
22
+ "alwaysAddToPackageJson": false
23
+ }
24
+ }
25
+ },
26
+ "20.7.1": {
27
+ "version": "20.7.1-beta.0",
28
+ "packages": {
29
+ "webpack": {
30
+ "version": "5.98.0",
31
+ "alwaysAddToPackageJson": false
32
+ },
33
+ "webpack-dev-server": {
34
+ "version": "^5.2.1",
35
+ "alwaysAddToPackageJson": false
36
+ }
37
+ }
38
+ },
39
+ "21.5.0": {
40
+ "version": "21.5.0-beta.0",
41
+ "packages": {
42
+ "webpack": {
43
+ "version": "5.101.3",
44
+ "alwaysAddToPackageJson": false
45
+ }
46
+ }
45
47
  }
46
- }
47
48
  }
48
- }
49
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/webpack",
3
- "version": "22.7.0-beta.6",
3
+ "version": "22.7.0-beta.8",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Webpack contains executors and generators that support building applications using Webpack.",
6
6
  "repository": {
@@ -50,7 +50,7 @@
50
50
  "parse5": "4.0.0",
51
51
  "postcss": "^8.4.38",
52
52
  "postcss-import": "~14.1.0",
53
- "postcss-loader": "^6.1.1",
53
+ "postcss-loader": "^8.2.1",
54
54
  "rxjs": "^7.8.0",
55
55
  "sass": "^1.85.0",
56
56
  "sass-embedded": "^1.83.4",
@@ -65,11 +65,11 @@
65
65
  "webpack-dev-server": "^5.2.1",
66
66
  "webpack-node-externals": "^3.0.0",
67
67
  "webpack-subresource-integrity": "^5.1.0",
68
- "@nx/devkit": "22.7.0-beta.6",
69
- "@nx/js": "22.7.0-beta.6"
68
+ "@nx/devkit": "22.7.0-beta.8",
69
+ "@nx/js": "22.7.0-beta.8"
70
70
  },
71
71
  "devDependencies": {
72
- "nx": "22.7.0-beta.6"
72
+ "nx": "22.7.0-beta.8"
73
73
  },
74
74
  "publishConfig": {
75
75
  "access": "public"
@@ -1,77 +1,77 @@
1
1
  {
2
- "version": 2,
3
- "continuous": true,
4
- "outputCapture": "direct-nodejs",
5
- "title": "Webpack dev server",
6
- "description": "Serve an application using webpack.",
7
- "cli": "nx",
8
- "type": "object",
9
- "properties": {
10
- "buildTarget": {
11
- "type": "string",
12
- "description": "Target which builds the application.",
13
- "x-priority": "important"
14
- },
15
- "port": {
16
- "type": "number",
17
- "description": "Port to listen on.",
18
- "default": 4200,
19
- "x-priority": "important"
20
- },
21
- "host": {
22
- "type": "string",
23
- "description": "Host to listen on.",
24
- "default": "localhost"
25
- },
26
- "ssl": {
27
- "type": "boolean",
28
- "description": "Serve using `HTTPS`.",
29
- "default": false
30
- },
31
- "sslKey": {
32
- "type": "string",
33
- "description": "SSL key to use for serving `HTTPS`."
34
- },
35
- "sslCert": {
36
- "type": "string",
37
- "description": "SSL certificate to use for serving `HTTPS`."
38
- },
39
- "watch": {
40
- "type": "boolean",
41
- "description": "Watches for changes and rebuilds application.",
42
- "default": true
43
- },
44
- "liveReload": {
45
- "type": "boolean",
46
- "description": "Whether to reload the page on change, using live-reload.",
47
- "default": true
48
- },
49
- "hmr": {
50
- "type": "boolean",
51
- "description": "Enable hot module replacement.",
52
- "default": false
53
- },
54
- "publicHost": {
55
- "type": "string",
56
- "description": "Public URL where the application will be served."
57
- },
58
- "open": {
59
- "type": "boolean",
60
- "description": "Open the application in the browser.",
61
- "default": false,
62
- "x-priority": "important"
63
- },
64
- "allowedHosts": {
65
- "type": "string",
66
- "description": "This option allows you to whitelist services that are allowed to access the dev server."
67
- },
68
- "memoryLimit": {
69
- "type": "number",
70
- "description": "Memory limit for type checking service process in `MB`."
71
- },
72
- "baseHref": {
73
- "type": "string",
74
- "description": "Base url for the application being built."
2
+ "version": 2,
3
+ "continuous": true,
4
+ "outputCapture": "direct-nodejs",
5
+ "title": "Webpack dev server",
6
+ "description": "Serve an application using webpack.",
7
+ "cli": "nx",
8
+ "type": "object",
9
+ "properties": {
10
+ "buildTarget": {
11
+ "type": "string",
12
+ "description": "Target which builds the application.",
13
+ "x-priority": "important"
14
+ },
15
+ "port": {
16
+ "type": "number",
17
+ "description": "Port to listen on.",
18
+ "default": 4200,
19
+ "x-priority": "important"
20
+ },
21
+ "host": {
22
+ "type": "string",
23
+ "description": "Host to listen on.",
24
+ "default": "localhost"
25
+ },
26
+ "ssl": {
27
+ "type": "boolean",
28
+ "description": "Serve using `HTTPS`.",
29
+ "default": false
30
+ },
31
+ "sslKey": {
32
+ "type": "string",
33
+ "description": "SSL key to use for serving `HTTPS`."
34
+ },
35
+ "sslCert": {
36
+ "type": "string",
37
+ "description": "SSL certificate to use for serving `HTTPS`."
38
+ },
39
+ "watch": {
40
+ "type": "boolean",
41
+ "description": "Watches for changes and rebuilds application.",
42
+ "default": true
43
+ },
44
+ "liveReload": {
45
+ "type": "boolean",
46
+ "description": "Whether to reload the page on change, using live-reload.",
47
+ "default": true
48
+ },
49
+ "hmr": {
50
+ "type": "boolean",
51
+ "description": "Enable hot module replacement.",
52
+ "default": false
53
+ },
54
+ "publicHost": {
55
+ "type": "string",
56
+ "description": "Public URL where the application will be served."
57
+ },
58
+ "open": {
59
+ "type": "boolean",
60
+ "description": "Open the application in the browser.",
61
+ "default": false,
62
+ "x-priority": "important"
63
+ },
64
+ "allowedHosts": {
65
+ "type": "string",
66
+ "description": "This option allows you to whitelist services that are allowed to access the dev server."
67
+ },
68
+ "memoryLimit": {
69
+ "type": "number",
70
+ "description": "Memory limit for type checking service process in `MB`."
71
+ },
72
+ "baseHref": {
73
+ "type": "string",
74
+ "description": "Base url for the application being built."
75
+ }
75
76
  }
76
- }
77
77
  }
@@ -1,38 +1,38 @@
1
1
  {
2
- "version": 2,
3
- "continuous": true,
4
- "outputCapture": "direct-nodejs",
5
- "title": "Webpack SSR Dev Server",
6
- "description": "Serve a SSR application using webpack.",
7
- "cli": "nx",
8
- "type": "object",
9
- "properties": {
10
- "browserTarget": {
11
- "type": "string",
12
- "description": "Target which builds the browser application.",
13
- "x-priority": "important"
2
+ "version": 2,
3
+ "continuous": true,
4
+ "outputCapture": "direct-nodejs",
5
+ "title": "Webpack SSR Dev Server",
6
+ "description": "Serve a SSR application using webpack.",
7
+ "cli": "nx",
8
+ "type": "object",
9
+ "properties": {
10
+ "browserTarget": {
11
+ "type": "string",
12
+ "description": "Target which builds the browser application.",
13
+ "x-priority": "important"
14
+ },
15
+ "serverTarget": {
16
+ "type": "string",
17
+ "description": "Target which builds the server application.",
18
+ "x-priority": "important"
19
+ },
20
+ "port": {
21
+ "type": "number",
22
+ "description": "The port to be set on `process.env.PORT` for use in the server.",
23
+ "default": 4200,
24
+ "x-priority": "important"
25
+ },
26
+ "browserTargetOptions": {
27
+ "type": "object",
28
+ "description": "Additional options to pass into the browser build target.",
29
+ "default": {}
30
+ },
31
+ "serverTargetOptions": {
32
+ "type": "object",
33
+ "description": "Additional options to pass into the server build target.",
34
+ "default": {}
35
+ }
14
36
  },
15
- "serverTarget": {
16
- "type": "string",
17
- "description": "Target which builds the server application.",
18
- "x-priority": "important"
19
- },
20
- "port": {
21
- "type": "number",
22
- "description": "The port to be set on `process.env.PORT` for use in the server.",
23
- "default": 4200,
24
- "x-priority": "important"
25
- },
26
- "browserTargetOptions": {
27
- "type": "object",
28
- "description": "Additional options to pass into the browser build target.",
29
- "default": {}
30
- },
31
- "serverTargetOptions": {
32
- "type": "object",
33
- "description": "Additional options to pass into the server build target.",
34
- "default": {}
35
- }
36
- },
37
- "required": ["browserTarget", "serverTarget"]
37
+ "required": ["browserTarget", "serverTarget"]
38
38
  }