@nx/rsbuild 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.
- package/executors.json +2 -2
- package/generators.json +15 -15
- package/package.json +4 -4
- package/src/generators/configuration/schema.json +44 -44
- package/src/generators/init/schema.json +33 -33
package/executors.json
CHANGED
package/generators.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
2
|
+
"name": "Nx Rsbuild",
|
|
3
|
+
"version": "0.1",
|
|
4
|
+
"generators": {
|
|
5
|
+
"init": {
|
|
6
|
+
"factory": "./src/generators/init/init#initGeneratorInternal",
|
|
7
|
+
"schema": "./src/generators/init/schema.json",
|
|
8
|
+
"description": "Initialize the `@nx/rsbuild` plugin.",
|
|
9
|
+
"aliases": ["ng-add"],
|
|
10
|
+
"hidden": true
|
|
11
|
+
},
|
|
12
|
+
"configuration": {
|
|
13
|
+
"factory": "./src/generators/configuration/configuration",
|
|
14
|
+
"schema": "./src/generators/configuration/schema.json",
|
|
15
|
+
"description": "Add an Rsbuild configuration for the provided project."
|
|
16
|
+
}
|
|
16
17
|
}
|
|
17
|
-
}
|
|
18
18
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/rsbuild",
|
|
3
3
|
"description": "The Nx Plugin for Rsbuild contains an Nx plugin, executors and utilities that support building applications using Rsbuild.",
|
|
4
|
-
"version": "22.7.0-beta.
|
|
4
|
+
"version": "22.7.0-beta.8",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
"executors": "./executors.json",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"tslib": "^2.3.0",
|
|
33
|
-
"@nx/devkit": "22.7.0-beta.
|
|
34
|
-
"@nx/js": "22.7.0-beta.
|
|
33
|
+
"@nx/devkit": "22.7.0-beta.8",
|
|
34
|
+
"@nx/js": "22.7.0-beta.8",
|
|
35
35
|
"@rsbuild/core": "1.1.8",
|
|
36
36
|
"minimatch": "10.2.4",
|
|
37
37
|
"@phenomnomnominal/tsquery": "~6.1.4"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"nx": "22.7.0-beta.
|
|
40
|
+
"nx": "22.7.0-beta.8"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {},
|
|
43
43
|
"nx-migrations": {
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "Rsbuild",
|
|
4
|
+
"title": "Nx Rsbuild Configuration Generator",
|
|
5
|
+
"description": "Rsbuild configuration generator.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"project": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "The name of the project.",
|
|
11
|
+
"$default": {
|
|
12
|
+
"$source": "argv",
|
|
13
|
+
"index": 0
|
|
14
|
+
},
|
|
15
|
+
"x-dropdown": "project",
|
|
16
|
+
"x-prompt": "What is the name of the project to set up a Rsbuild for?",
|
|
17
|
+
"x-priority": "important"
|
|
18
|
+
},
|
|
19
|
+
"entry": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "Path relative to the workspace root for the entry file. Defaults to '<projectRoot>/src/index.ts'.",
|
|
22
|
+
"x-priority": "important"
|
|
23
|
+
},
|
|
24
|
+
"tsConfig": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '<projectRoot>/tsconfig.app.json'.",
|
|
27
|
+
"x-priority": "important"
|
|
28
|
+
},
|
|
29
|
+
"devServerPort": {
|
|
30
|
+
"type": "number",
|
|
31
|
+
"description": "The port for the dev server to listen on.",
|
|
32
|
+
"default": 4200
|
|
33
|
+
},
|
|
34
|
+
"target": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "Target platform for the build, same as the Rsbuild output.target config option.",
|
|
37
|
+
"enum": ["node", "web", "web-worker"],
|
|
38
|
+
"default": "web"
|
|
39
|
+
},
|
|
40
|
+
"skipFormat": {
|
|
41
|
+
"description": "Skip formatting files.",
|
|
42
|
+
"type": "boolean",
|
|
43
|
+
"default": false,
|
|
44
|
+
"x-priority": "internal"
|
|
45
|
+
}
|
|
45
46
|
}
|
|
46
|
-
}
|
|
47
47
|
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "Init",
|
|
4
|
+
"title": "Nx Rsbuild Init Generator",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"description": "Rsbuild init generator.",
|
|
7
|
+
"properties": {
|
|
8
|
+
"rootProject": {
|
|
9
|
+
"type": "boolean",
|
|
10
|
+
"x-priority": "internal"
|
|
11
|
+
},
|
|
12
|
+
"keepExistingVersions": {
|
|
13
|
+
"type": "boolean",
|
|
14
|
+
"x-priority": "internal",
|
|
15
|
+
"description": "Keep existing dependencies versions",
|
|
16
|
+
"default": false
|
|
17
|
+
},
|
|
18
|
+
"updatePackageScripts": {
|
|
19
|
+
"type": "boolean",
|
|
20
|
+
"x-priority": "internal",
|
|
21
|
+
"description": "Update package scripts",
|
|
22
|
+
"default": false
|
|
23
|
+
},
|
|
24
|
+
"skipFormat": {
|
|
25
|
+
"description": "Skip formatting files.",
|
|
26
|
+
"type": "boolean",
|
|
27
|
+
"default": false
|
|
28
|
+
},
|
|
29
|
+
"skipPackageJson": {
|
|
30
|
+
"description": "Do not add dependencies to `package.json`.",
|
|
31
|
+
"type": "boolean",
|
|
32
|
+
"default": false
|
|
33
|
+
}
|
|
11
34
|
},
|
|
12
|
-
"
|
|
13
|
-
"type": "boolean",
|
|
14
|
-
"x-priority": "internal",
|
|
15
|
-
"description": "Keep existing dependencies versions",
|
|
16
|
-
"default": false
|
|
17
|
-
},
|
|
18
|
-
"updatePackageScripts": {
|
|
19
|
-
"type": "boolean",
|
|
20
|
-
"x-priority": "internal",
|
|
21
|
-
"description": "Update package scripts",
|
|
22
|
-
"default": false
|
|
23
|
-
},
|
|
24
|
-
"skipFormat": {
|
|
25
|
-
"description": "Skip formatting files.",
|
|
26
|
-
"type": "boolean",
|
|
27
|
-
"default": false
|
|
28
|
-
},
|
|
29
|
-
"skipPackageJson": {
|
|
30
|
-
"description": "Do not add dependencies to `package.json`.",
|
|
31
|
-
"type": "boolean",
|
|
32
|
-
"default": false
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"required": []
|
|
35
|
+
"required": []
|
|
36
36
|
}
|