@nrwl/js 13.10.0-beta.6 → 13.10.0-beta.9
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 +3 -3
- package/package.json +6 -6
- package/src/executors/swc/schema.json +3 -3
- package/src/executors/tsc/schema.json +2 -2
- package/src/generators/convert-to-swc/schema.json +7 -6
- package/src/generators/library/schema.json +12 -11
- package/src/utils/versions.js +1 -1
package/executors.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"swc": {
|
|
10
10
|
"implementation": "./src/executors/swc/swc.impl",
|
|
11
11
|
"schema": "./src/executors/swc/schema.json",
|
|
12
|
-
"description": "Build a project using SWC"
|
|
12
|
+
"description": "Build a project using SWC."
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"builders": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"swc": {
|
|
22
22
|
"implementation": "./src/executors/swc/compat",
|
|
23
23
|
"schema": "./src/executors/swc/schema.json",
|
|
24
|
-
"description": "Build a project using SWC"
|
|
24
|
+
"description": "Build a project using SWC."
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
}
|
package/generators.json
CHANGED
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
"schema": "./src/generators/library/schema.json",
|
|
8
8
|
"aliases": ["lib"],
|
|
9
9
|
"x-type": "library",
|
|
10
|
-
"description": "Create a library"
|
|
10
|
+
"description": "Create a library."
|
|
11
11
|
},
|
|
12
12
|
"convert-to-swc": {
|
|
13
13
|
"factory": "./src/generators/convert-to-swc/convert-to-swc#convertToSwcSchematic",
|
|
14
14
|
"schema": "./src/generators/convert-to-swc/schema.json",
|
|
15
15
|
"aliases": ["swc"],
|
|
16
16
|
"x-type": "library",
|
|
17
|
-
"description": "Convert a
|
|
17
|
+
"description": "Convert a TypeScript library to compile with SWC."
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"generators": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"schema": "./src/generators/convert-to-swc/schema.json",
|
|
31
31
|
"aliases": ["swc"],
|
|
32
32
|
"x-type": "library",
|
|
33
|
-
"description": "Convert a
|
|
33
|
+
"description": "Convert a TypeScript library to compile with SWC."
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/js",
|
|
3
|
-
"version": "13.10.0-beta.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "13.10.0-beta.9",
|
|
4
|
+
"description": "The Nx plugin that provides the best experience for developing JavaScript and TypeScript projects.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/nrwl/nx.git",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"executors": "./executors.json",
|
|
32
32
|
"builders": "./executors.json",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@nrwl/workspace": "13.10.0-beta.
|
|
35
|
-
"@nrwl/devkit": "13.10.0-beta.
|
|
36
|
-
"@nrwl/jest": "13.10.0-beta.
|
|
37
|
-
"@nrwl/linter": "13.10.0-beta.
|
|
34
|
+
"@nrwl/workspace": "13.10.0-beta.9",
|
|
35
|
+
"@nrwl/devkit": "13.10.0-beta.9",
|
|
36
|
+
"@nrwl/jest": "13.10.0-beta.9",
|
|
37
|
+
"@nrwl/linter": "13.10.0-beta.9",
|
|
38
38
|
"@parcel/watcher": "2.0.4",
|
|
39
39
|
"chalk": "4.1.0",
|
|
40
40
|
"fast-glob": "3.2.7",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/schema",
|
|
3
3
|
"cli": "nx",
|
|
4
4
|
"title": "Typescript Build Target",
|
|
5
|
-
"description": "Builds using SWC",
|
|
5
|
+
"description": "Builds using SWC.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"main": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"swcExclude": {
|
|
39
39
|
"type": "array",
|
|
40
|
-
"description": "List of SWC Glob/Regex to be excluded from compilation (https://swc.rs/docs/configuration/compilation#exclude)",
|
|
40
|
+
"description": "List of SWC Glob/Regex to be excluded from compilation (https://swc.rs/docs/configuration/compilation#exclude).",
|
|
41
41
|
"default": [
|
|
42
42
|
"./src/**/.*.spec.ts$",
|
|
43
43
|
"./**/.*.spec.ts$",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
},
|
|
49
49
|
"updateBuildableProjectDepsInPackageJson": {
|
|
50
50
|
"type": "boolean",
|
|
51
|
-
"description": "Whether to update the buildable project dependencies in package.json
|
|
51
|
+
"description": "Whether to update the buildable project dependencies in `package.json`.",
|
|
52
52
|
"default": true
|
|
53
53
|
},
|
|
54
54
|
"buildableProjectDepsInPackageJsonType": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Typescript Build Target",
|
|
3
|
-
"description": "Builds using TypeScript",
|
|
3
|
+
"description": "Builds using TypeScript.",
|
|
4
4
|
"cli": "nx",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"updateBuildableProjectDepsInPackageJson": {
|
|
41
41
|
"type": "boolean",
|
|
42
|
-
"description": "Whether to update the buildable project dependencies in package.json
|
|
42
|
+
"description": "Whether to update the buildable project dependencies in `package.json`.",
|
|
43
43
|
"default": true
|
|
44
44
|
},
|
|
45
45
|
"buildableProjectDepsInPackageJsonType": {
|
|
@@ -2,18 +2,19 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/schema",
|
|
3
3
|
"$id": "NxTypescriptLibrary",
|
|
4
4
|
"cli": "nx",
|
|
5
|
-
"title": "Convert a
|
|
5
|
+
"title": "Convert a TSC library to SWC",
|
|
6
|
+
"description": "Convert a TSC library to SWC.",
|
|
6
7
|
"type": "object",
|
|
7
8
|
"examples": [
|
|
8
9
|
{
|
|
9
|
-
"command": "g swc mylib",
|
|
10
|
-
"description": "Convert libs/myapp/mylib to
|
|
10
|
+
"command": "nx g swc mylib",
|
|
11
|
+
"description": "Convert `libs/myapp/mylib` to SWC."
|
|
11
12
|
}
|
|
12
13
|
],
|
|
13
14
|
"properties": {
|
|
14
15
|
"project": {
|
|
15
16
|
"type": "string",
|
|
16
|
-
"description": "Library name",
|
|
17
|
+
"description": "Library name.",
|
|
17
18
|
"$default": {
|
|
18
19
|
"$source": "argv",
|
|
19
20
|
"index": 0
|
|
@@ -23,10 +24,10 @@
|
|
|
23
24
|
},
|
|
24
25
|
"targets": {
|
|
25
26
|
"type": "array",
|
|
26
|
-
"description": "List of targets to convert",
|
|
27
|
+
"description": "List of targets to convert.",
|
|
27
28
|
"items": {
|
|
28
29
|
"type": "string",
|
|
29
|
-
"description": "Target to convert"
|
|
30
|
+
"description": "Target to convert."
|
|
30
31
|
},
|
|
31
32
|
"default": ["build"]
|
|
32
33
|
}
|
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
"$id": "NxTypescriptLibrary",
|
|
4
4
|
"cli": "nx",
|
|
5
5
|
"title": "Create a TypeScript Library",
|
|
6
|
+
"description": "Create a TypeScript Library.",
|
|
6
7
|
"type": "object",
|
|
7
8
|
"examples": [
|
|
8
9
|
{
|
|
9
|
-
"command": "g lib mylib --directory=myapp",
|
|
10
|
+
"command": "nx g lib mylib --directory=myapp",
|
|
10
11
|
"description": "Generate libs/myapp/mylib"
|
|
11
12
|
}
|
|
12
13
|
],
|
|
13
14
|
"properties": {
|
|
14
15
|
"name": {
|
|
15
16
|
"type": "string",
|
|
16
|
-
"description": "Library name",
|
|
17
|
+
"description": "Library name.",
|
|
17
18
|
"$default": {
|
|
18
19
|
"$source": "argv",
|
|
19
20
|
"index": 0
|
|
@@ -23,7 +24,7 @@
|
|
|
23
24
|
},
|
|
24
25
|
"directory": {
|
|
25
26
|
"type": "string",
|
|
26
|
-
"description": "A directory where the lib is placed"
|
|
27
|
+
"description": "A directory where the lib is placed."
|
|
27
28
|
},
|
|
28
29
|
"linter": {
|
|
29
30
|
"description": "The tool to use for running lint checks.",
|
|
@@ -34,15 +35,15 @@
|
|
|
34
35
|
"unitTestRunner": {
|
|
35
36
|
"type": "string",
|
|
36
37
|
"enum": ["jest", "none"],
|
|
37
|
-
"description": "Test runner to use for unit tests",
|
|
38
|
+
"description": "Test runner to use for unit tests.",
|
|
38
39
|
"default": "jest"
|
|
39
40
|
},
|
|
40
41
|
"tags": {
|
|
41
42
|
"type": "string",
|
|
42
|
-
"description": "Add tags to the library (used for linting)"
|
|
43
|
+
"description": "Add tags to the library (used for linting)."
|
|
43
44
|
},
|
|
44
45
|
"skipFormat": {
|
|
45
|
-
"description": "Skip formatting files",
|
|
46
|
+
"description": "Skip formatting files.",
|
|
46
47
|
"type": "boolean",
|
|
47
48
|
"default": false
|
|
48
49
|
},
|
|
@@ -54,12 +55,12 @@
|
|
|
54
55
|
"testEnvironment": {
|
|
55
56
|
"type": "string",
|
|
56
57
|
"enum": ["jsdom", "node"],
|
|
57
|
-
"description": "The test environment to use if unitTestRunner is set to jest",
|
|
58
|
+
"description": "The test environment to use if unitTestRunner is set to jest.",
|
|
58
59
|
"default": "jsdom"
|
|
59
60
|
},
|
|
60
61
|
"importPath": {
|
|
61
62
|
"type": "string",
|
|
62
|
-
"description": "The library name used to import it, like @myorg/my-awesome-lib"
|
|
63
|
+
"description": "The library name used to import it, like @myorg/my-awesome-lib."
|
|
63
64
|
},
|
|
64
65
|
"pascalCaseFiles": {
|
|
65
66
|
"type": "boolean",
|
|
@@ -69,7 +70,7 @@
|
|
|
69
70
|
},
|
|
70
71
|
"js": {
|
|
71
72
|
"type": "boolean",
|
|
72
|
-
"description": "Generate JavaScript files rather than TypeScript files",
|
|
73
|
+
"description": "Generate JavaScript files rather than TypeScript files.",
|
|
73
74
|
"default": false
|
|
74
75
|
},
|
|
75
76
|
"strict": {
|
|
@@ -89,14 +90,14 @@
|
|
|
89
90
|
},
|
|
90
91
|
"setParserOptionsProject": {
|
|
91
92
|
"type": "boolean",
|
|
92
|
-
"description": "Whether or not to configure the ESLint
|
|
93
|
+
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|
|
93
94
|
"default": false
|
|
94
95
|
},
|
|
95
96
|
"config": {
|
|
96
97
|
"type": "string",
|
|
97
98
|
"enum": ["workspace", "project", "npm-scripts"],
|
|
98
99
|
"default": "project",
|
|
99
|
-
"description": "Determines whether the project's executors should be configured in workspace.json
|
|
100
|
+
"description": "Determines whether the project's executors should be configured in `workspace.json`, `project.json` or as npm scripts."
|
|
100
101
|
},
|
|
101
102
|
"compiler": {
|
|
102
103
|
"type": "string",
|
package/src/utils/versions.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.swcHelpersVersion = exports.swcCliVersion = exports.swcCoreVersion = exports.nxVersion = void 0;
|
|
4
|
-
exports.nxVersion = '13.10.0-beta.
|
|
4
|
+
exports.nxVersion = '13.10.0-beta.9';
|
|
5
5
|
exports.swcCoreVersion = '~1.2.143';
|
|
6
6
|
exports.swcCliVersion = '~0.1.55';
|
|
7
7
|
exports.swcHelpersVersion = '~0.3.3';
|