@nx/webpack 22.7.0-beta.7 → 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.
@@ -1,77 +1,77 @@
1
1
  {
2
- "$schema": "https://json-schema.org/schema",
3
- "$id": "NxWebpackProject",
4
- "cli": "nx",
5
- "title": "Add Webpack Configuration to a project",
6
- "description": "Add Webpack Configuration to a project.",
7
- "type": "object",
8
- "properties": {
9
- "project": {
10
- "type": "string",
11
- "description": "The name of the project.",
12
- "$default": {
13
- "$source": "argv",
14
- "index": 0
15
- },
16
- "x-dropdown": "project",
17
- "x-prompt": "What is the name of the project to set up a webpack for?",
18
- "x-priority": "important"
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "NxWebpackProject",
4
+ "cli": "nx",
5
+ "title": "Add Webpack Configuration to a project",
6
+ "description": "Add Webpack Configuration to a project.",
7
+ "type": "object",
8
+ "properties": {
9
+ "project": {
10
+ "type": "string",
11
+ "description": "The name of the project.",
12
+ "$default": {
13
+ "$source": "argv",
14
+ "index": 0
15
+ },
16
+ "x-dropdown": "project",
17
+ "x-prompt": "What is the name of the project to set up a webpack for?",
18
+ "x-priority": "important"
19
+ },
20
+ "compiler": {
21
+ "type": "string",
22
+ "enum": ["babel", "swc", "tsc"],
23
+ "description": "The compiler to use to build source.",
24
+ "default": "swc"
25
+ },
26
+ "main": {
27
+ "type": "string",
28
+ "description": "Path relative to the workspace root for the main entry file. Defaults to '<projectRoot>/src/main.ts'.",
29
+ "x-priority": "important"
30
+ },
31
+ "tsConfig": {
32
+ "type": "string",
33
+ "description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '<projectRoot>/tsconfig.app.json'.",
34
+ "x-priority": "important"
35
+ },
36
+ "target": {
37
+ "type": "string",
38
+ "description": "Target platform for the build, same as the Webpack config option.",
39
+ "enum": ["node", "web", "webworker"],
40
+ "default": "web"
41
+ },
42
+ "skipFormat": {
43
+ "description": "Skip formatting files.",
44
+ "type": "boolean",
45
+ "default": false,
46
+ "x-priority": "internal"
47
+ },
48
+ "skipPackageJson": {
49
+ "type": "boolean",
50
+ "default": false,
51
+ "description": "Do not add dependencies to `package.json`.",
52
+ "x-priority": "internal"
53
+ },
54
+ "skipValidation": {
55
+ "type": "boolean",
56
+ "default": false,
57
+ "description": "Do not perform any validation on existing project.",
58
+ "x-priority": "internal"
59
+ },
60
+ "devServer": {
61
+ "type": "boolean",
62
+ "description": "Add a serve target to run a local webpack dev-server",
63
+ "default": false
64
+ },
65
+ "webpackConfig": {
66
+ "type": "string",
67
+ "description": "Path relative to workspace root to a custom webpack file that takes a config object and returns an updated config.",
68
+ "x-priority": "internal"
69
+ },
70
+ "babelConfig": {
71
+ "type": "string",
72
+ "description": "Optionally specify a path relative to workspace root to the babel configuration file of your project.",
73
+ "x-completion-type": "file"
74
+ }
19
75
  },
20
- "compiler": {
21
- "type": "string",
22
- "enum": ["babel", "swc", "tsc"],
23
- "description": "The compiler to use to build source.",
24
- "default": "swc"
25
- },
26
- "main": {
27
- "type": "string",
28
- "description": "Path relative to the workspace root for the main entry file. Defaults to '<projectRoot>/src/main.ts'.",
29
- "x-priority": "important"
30
- },
31
- "tsConfig": {
32
- "type": "string",
33
- "description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '<projectRoot>/tsconfig.app.json'.",
34
- "x-priority": "important"
35
- },
36
- "target": {
37
- "type": "string",
38
- "description": "Target platform for the build, same as the Webpack config option.",
39
- "enum": ["node", "web", "webworker"],
40
- "default": "web"
41
- },
42
- "skipFormat": {
43
- "description": "Skip formatting files.",
44
- "type": "boolean",
45
- "default": false,
46
- "x-priority": "internal"
47
- },
48
- "skipPackageJson": {
49
- "type": "boolean",
50
- "default": false,
51
- "description": "Do not add dependencies to `package.json`.",
52
- "x-priority": "internal"
53
- },
54
- "skipValidation": {
55
- "type": "boolean",
56
- "default": false,
57
- "description": "Do not perform any validation on existing project.",
58
- "x-priority": "internal"
59
- },
60
- "devServer": {
61
- "type": "boolean",
62
- "description": "Add a serve target to run a local webpack dev-server",
63
- "default": false
64
- },
65
- "webpackConfig": {
66
- "type": "string",
67
- "description": "Path relative to workspace root to a custom webpack file that takes a config object and returns an updated config.",
68
- "x-priority": "internal"
69
- },
70
- "babelConfig": {
71
- "type": "string",
72
- "description": "Optionally specify a path relative to workspace root to the babel configuration file of your project.",
73
- "x-completion-type": "file"
74
- }
75
- },
76
- "required": []
76
+ "required": []
77
77
  }
@@ -1,19 +1,19 @@
1
1
  {
2
- "$schema": "https://json-schema.org/schema",
3
- "$id": "NxWebpackConvertConfigToWebpackPlugin",
4
- "description": "Convert existing Webpack project(s) using `@nx/webpack:webpack` executor that uses `withNx` to use `NxAppWebpackPlugin`. Defaults to migrating all projects. Pass '--project' to migrate only one target.",
5
- "title": "Convert Webpack project using withNx to NxAppWebpackPlugin",
6
- "type": "object",
7
- "properties": {
8
- "project": {
9
- "type": "string",
10
- "description": "The project to convert from using the `@nx/webpack:webpack` executor and `withNx` plugin to use `NxAppWebpackPlugin`.",
11
- "x-priority": "important"
12
- },
13
- "skipFormat": {
14
- "type": "boolean",
15
- "description": "Whether to format files at the end of the migration.",
16
- "default": false
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "NxWebpackConvertConfigToWebpackPlugin",
4
+ "description": "Convert existing Webpack project(s) using `@nx/webpack:webpack` executor that uses `withNx` to use `NxAppWebpackPlugin`. Defaults to migrating all projects. Pass '--project' to migrate only one target.",
5
+ "title": "Convert Webpack project using withNx to NxAppWebpackPlugin",
6
+ "type": "object",
7
+ "properties": {
8
+ "project": {
9
+ "type": "string",
10
+ "description": "The project to convert from using the `@nx/webpack:webpack` executor and `withNx` plugin to use `NxAppWebpackPlugin`.",
11
+ "x-priority": "important"
12
+ },
13
+ "skipFormat": {
14
+ "type": "boolean",
15
+ "description": "Whether to format files at the end of the migration.",
16
+ "default": false
17
+ }
17
18
  }
18
- }
19
19
  }
@@ -1,19 +1,19 @@
1
1
  {
2
- "$schema": "https://json-schema.org/schema",
3
- "$id": "NxWebpackConvertToInferred",
4
- "description": "Convert existing Webpack project(s) using `@nx/webpack:wepack` executor to use `@nx/webpack/plugin`.",
5
- "title": "Convert a Webpack project from executor to plugin",
6
- "type": "object",
7
- "properties": {
8
- "project": {
9
- "type": "string",
10
- "description": "The project to convert from using the `@nx/webpack:webpack` executor to use `@nx/webpack/plugin`. If not provided, all projects using the `@nx/webpack:webpack` executor will be converted.",
11
- "x-priority": "important"
12
- },
13
- "skipFormat": {
14
- "type": "boolean",
15
- "description": "Whether to format files.",
16
- "default": false
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "NxWebpackConvertToInferred",
4
+ "description": "Convert existing Webpack project(s) using `@nx/webpack:wepack` executor to use `@nx/webpack/plugin`.",
5
+ "title": "Convert a Webpack project from executor to plugin",
6
+ "type": "object",
7
+ "properties": {
8
+ "project": {
9
+ "type": "string",
10
+ "description": "The project to convert from using the `@nx/webpack:webpack` executor to use `@nx/webpack/plugin`. If not provided, all projects using the `@nx/webpack:webpack` executor will be converted.",
11
+ "x-priority": "important"
12
+ },
13
+ "skipFormat": {
14
+ "type": "boolean",
15
+ "description": "Whether to format files.",
16
+ "default": false
17
+ }
17
18
  }
18
- }
19
19
  }
@@ -1,33 +1,33 @@
1
1
  {
2
- "$schema": "https://json-schema.org/schema",
3
- "$id": "NxWebpackInit",
4
- "cli": "nx",
5
- "title": "Init Webpack Plugin",
6
- "description": "Initialize the Webpack Plugin.",
7
- "type": "object",
8
- "properties": {
9
- "skipFormat": {
10
- "description": "Skip formatting files.",
11
- "type": "boolean",
12
- "default": false
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "NxWebpackInit",
4
+ "cli": "nx",
5
+ "title": "Init Webpack Plugin",
6
+ "description": "Initialize the Webpack Plugin.",
7
+ "type": "object",
8
+ "properties": {
9
+ "skipFormat": {
10
+ "description": "Skip formatting files.",
11
+ "type": "boolean",
12
+ "default": false
13
+ },
14
+ "skipPackageJson": {
15
+ "description": "Do not add dependencies to `package.json`.",
16
+ "type": "boolean",
17
+ "default": false
18
+ },
19
+ "keepExistingVersions": {
20
+ "type": "boolean",
21
+ "x-priority": "internal",
22
+ "description": "Keep existing dependencies versions",
23
+ "default": false
24
+ },
25
+ "updatePackageScripts": {
26
+ "type": "boolean",
27
+ "x-priority": "internal",
28
+ "description": "Update `package.json` scripts with inferred targets",
29
+ "default": false
30
+ }
13
31
  },
14
- "skipPackageJson": {
15
- "description": "Do not add dependencies to `package.json`.",
16
- "type": "boolean",
17
- "default": false
18
- },
19
- "keepExistingVersions": {
20
- "type": "boolean",
21
- "x-priority": "internal",
22
- "description": "Keep existing dependencies versions",
23
- "default": false
24
- },
25
- "updatePackageScripts": {
26
- "type": "boolean",
27
- "x-priority": "internal",
28
- "description": "Update `package.json` scripts with inferred targets",
29
- "default": false
30
- }
31
- },
32
- "required": []
32
+ "required": []
33
33
  }