@nx/express 22.7.0-beta.8 → 22.7.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/generators.json +18 -18
- package/migrations.json +2 -2
- package/package.json +4 -4
- package/src/generators/application/schema.json +80 -80
- package/src/generators/init/schema.json +24 -24
package/generators.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
2
|
+
"name": "Nx Express",
|
|
3
|
+
"version": "0.1",
|
|
4
|
+
"extends": ["@nx/workspace"],
|
|
5
|
+
"generators": {
|
|
6
|
+
"init": {
|
|
7
|
+
"factory": "./src/generators/init/init#initGenerator",
|
|
8
|
+
"schema": "./src/generators/init/schema.json",
|
|
9
|
+
"description": "Initialize the `@nx/express` plugin.",
|
|
10
|
+
"aliases": ["ng-add"],
|
|
11
|
+
"hidden": true
|
|
12
|
+
},
|
|
13
|
+
"application": {
|
|
14
|
+
"factory": "./src/generators/application/application#applicationGeneratorInternal",
|
|
15
|
+
"schema": "./src/generators/application/schema.json",
|
|
16
|
+
"aliases": ["app"],
|
|
17
|
+
"x-type": "application",
|
|
18
|
+
"description": "Create an Express application."
|
|
19
|
+
}
|
|
19
20
|
}
|
|
20
|
-
}
|
|
21
21
|
}
|
package/migrations.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/express",
|
|
3
|
-
"version": "22.7.0-beta.
|
|
3
|
+
"version": "22.7.0-beta.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for Express contains executors and generators for allowing your workspace to create powerful Express Node applications and APIs.",
|
|
6
6
|
"repository": {
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"migrations": "./migrations.json"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@nx/devkit": "22.7.0-beta.
|
|
36
|
-
"@nx/js": "22.7.0-beta.
|
|
37
|
-
"@nx/node": "22.7.0-beta.
|
|
35
|
+
"@nx/devkit": "22.7.0-beta.9",
|
|
36
|
+
"@nx/js": "22.7.0-beta.9",
|
|
37
|
+
"@nx/node": "22.7.0-beta.9",
|
|
38
38
|
"tslib": "^2.3.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"cli": "nx",
|
|
4
|
+
"$id": "SchematicsNxExpressApp",
|
|
5
|
+
"title": "Nx Application Options Schema",
|
|
6
|
+
"description": "Nx Application Options Schema.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"directory": {
|
|
10
|
+
"description": "The directory of the new application.",
|
|
11
|
+
"type": "string",
|
|
12
|
+
"$default": {
|
|
13
|
+
"$source": "argv",
|
|
14
|
+
"index": 0
|
|
15
|
+
},
|
|
16
|
+
"x-prompt": "Which directory do you want to create the application in?"
|
|
17
|
+
},
|
|
18
|
+
"name": {
|
|
19
|
+
"description": "The name of the application.",
|
|
20
|
+
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"skipFormat": {
|
|
24
|
+
"description": "Skip formatting files.",
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"default": false
|
|
27
|
+
},
|
|
28
|
+
"skipPackageJson": {
|
|
29
|
+
"type": "boolean",
|
|
30
|
+
"default": false,
|
|
31
|
+
"description": "Do not add dependencies to `package.json`."
|
|
32
|
+
},
|
|
33
|
+
"linter": {
|
|
34
|
+
"description": "The tool to use for running lint checks.",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"enum": ["eslint", "none"],
|
|
37
|
+
"default": "none",
|
|
38
|
+
"x-prompt": "Which linter would you like to use?",
|
|
39
|
+
"x-priority": "important"
|
|
40
|
+
},
|
|
41
|
+
"unitTestRunner": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"enum": ["jest", "none"],
|
|
44
|
+
"description": "Test runner to use for unit tests.",
|
|
45
|
+
"default": "none",
|
|
46
|
+
"x-prompt": "Which unit test runner would you like to use?"
|
|
47
|
+
},
|
|
48
|
+
"tags": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"description": "Add tags to the application (used for linting)."
|
|
51
|
+
},
|
|
52
|
+
"frontendProject": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "Frontend project that needs to access this application. This sets up proxy configuration."
|
|
55
|
+
},
|
|
56
|
+
"swcJest": {
|
|
57
|
+
"type": "boolean",
|
|
58
|
+
"description": "Use `@swc/jest` instead `ts-jest` for faster test compilation.",
|
|
59
|
+
"default": false
|
|
60
|
+
},
|
|
61
|
+
"babelJest": {
|
|
62
|
+
"type": "boolean",
|
|
63
|
+
"description": "Use `babel` instead `ts-jest`.",
|
|
64
|
+
"default": false,
|
|
65
|
+
"x-deprecated": "Use --swcJest instead for faster compilation"
|
|
66
|
+
},
|
|
67
|
+
"js": {
|
|
68
|
+
"type": "boolean",
|
|
69
|
+
"description": "Generate JavaScript files rather than TypeScript files.",
|
|
70
|
+
"default": false
|
|
71
|
+
},
|
|
72
|
+
"setParserOptionsProject": {
|
|
73
|
+
"type": "boolean",
|
|
74
|
+
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|
|
75
|
+
"default": false
|
|
76
|
+
},
|
|
77
|
+
"useProjectJson": {
|
|
78
|
+
"type": "boolean",
|
|
79
|
+
"description": "Use a `project.json` configuration file instead of inlining the Nx configuration in the `package.json` file."
|
|
80
|
+
}
|
|
17
81
|
},
|
|
18
|
-
"
|
|
19
|
-
"description": "The name of the application.",
|
|
20
|
-
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
|
|
21
|
-
"type": "string"
|
|
22
|
-
},
|
|
23
|
-
"skipFormat": {
|
|
24
|
-
"description": "Skip formatting files.",
|
|
25
|
-
"type": "boolean",
|
|
26
|
-
"default": false
|
|
27
|
-
},
|
|
28
|
-
"skipPackageJson": {
|
|
29
|
-
"type": "boolean",
|
|
30
|
-
"default": false,
|
|
31
|
-
"description": "Do not add dependencies to `package.json`."
|
|
32
|
-
},
|
|
33
|
-
"linter": {
|
|
34
|
-
"description": "The tool to use for running lint checks.",
|
|
35
|
-
"type": "string",
|
|
36
|
-
"enum": ["eslint", "none"],
|
|
37
|
-
"default": "none",
|
|
38
|
-
"x-prompt": "Which linter would you like to use?",
|
|
39
|
-
"x-priority": "important"
|
|
40
|
-
},
|
|
41
|
-
"unitTestRunner": {
|
|
42
|
-
"type": "string",
|
|
43
|
-
"enum": ["jest", "none"],
|
|
44
|
-
"description": "Test runner to use for unit tests.",
|
|
45
|
-
"default": "none",
|
|
46
|
-
"x-prompt": "Which unit test runner would you like to use?"
|
|
47
|
-
},
|
|
48
|
-
"tags": {
|
|
49
|
-
"type": "string",
|
|
50
|
-
"description": "Add tags to the application (used for linting)."
|
|
51
|
-
},
|
|
52
|
-
"frontendProject": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"description": "Frontend project that needs to access this application. This sets up proxy configuration."
|
|
55
|
-
},
|
|
56
|
-
"swcJest": {
|
|
57
|
-
"type": "boolean",
|
|
58
|
-
"description": "Use `@swc/jest` instead `ts-jest` for faster test compilation.",
|
|
59
|
-
"default": false
|
|
60
|
-
},
|
|
61
|
-
"babelJest": {
|
|
62
|
-
"type": "boolean",
|
|
63
|
-
"description": "Use `babel` instead `ts-jest`.",
|
|
64
|
-
"default": false,
|
|
65
|
-
"x-deprecated": "Use --swcJest instead for faster compilation"
|
|
66
|
-
},
|
|
67
|
-
"js": {
|
|
68
|
-
"type": "boolean",
|
|
69
|
-
"description": "Generate JavaScript files rather than TypeScript files.",
|
|
70
|
-
"default": false
|
|
71
|
-
},
|
|
72
|
-
"setParserOptionsProject": {
|
|
73
|
-
"type": "boolean",
|
|
74
|
-
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|
|
75
|
-
"default": false
|
|
76
|
-
},
|
|
77
|
-
"useProjectJson": {
|
|
78
|
-
"type": "boolean",
|
|
79
|
-
"description": "Use a `project.json` configuration file instead of inlining the Nx configuration in the `package.json` file."
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
"required": ["directory"]
|
|
82
|
+
"required": ["directory"]
|
|
83
83
|
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"cli": "nx",
|
|
4
|
+
"$id": "NxExpressInit",
|
|
5
|
+
"title": "Init Express Plugin",
|
|
6
|
+
"description": "Init Express Plugin.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"skipFormat": {
|
|
10
|
+
"description": "Skip formatting files.",
|
|
11
|
+
"type": "boolean",
|
|
12
|
+
"default": false
|
|
13
|
+
},
|
|
14
|
+
"skipPackageJson": {
|
|
15
|
+
"type": "boolean",
|
|
16
|
+
"default": false,
|
|
17
|
+
"description": "Do not add dependencies to `package.json`."
|
|
18
|
+
},
|
|
19
|
+
"keepExistingVersions": {
|
|
20
|
+
"type": "boolean",
|
|
21
|
+
"x-priority": "internal",
|
|
22
|
+
"description": "Keep existing dependencies versions",
|
|
23
|
+
"default": false
|
|
24
|
+
}
|
|
13
25
|
},
|
|
14
|
-
"
|
|
15
|
-
"type": "boolean",
|
|
16
|
-
"default": false,
|
|
17
|
-
"description": "Do not add dependencies to `package.json`."
|
|
18
|
-
},
|
|
19
|
-
"keepExistingVersions": {
|
|
20
|
-
"type": "boolean",
|
|
21
|
-
"x-priority": "internal",
|
|
22
|
-
"description": "Keep existing dependencies versions",
|
|
23
|
-
"default": false
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"required": []
|
|
26
|
+
"required": []
|
|
27
27
|
}
|