@nx/remix 18.0.0-beta.0 → 18.0.0-beta.1
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 +1 -1
- package/package.json +5 -5
- package/src/executors/build/schema.json +1 -1
- package/src/generators/action/schema.d.ts +1 -1
- package/src/generators/action/schema.json +2 -2
- package/src/generators/application/application.impl.js +4 -0
- package/src/generators/application/schema.json +1 -1
- package/src/generators/cypress/schema.json +1 -1
- package/src/generators/error-boundary/schema.d.ts +1 -1
- package/src/generators/error-boundary/schema.json +2 -2
- package/src/generators/init/schema.json +1 -1
- package/src/generators/library/schema.json +1 -1
- package/src/generators/loader/schema.d.ts +1 -1
- package/src/generators/loader/schema.json +2 -2
- package/src/generators/meta/schema.d.ts +1 -1
- package/src/generators/meta/schema.json +2 -2
- package/src/generators/preset/schema.json +1 -1
- package/src/generators/resource-route/schema.d.ts +1 -1
- package/src/generators/resource-route/schema.json +2 -2
- package/src/generators/route/schema.d.ts +1 -1
- package/src/generators/route/schema.json +2 -2
- package/src/generators/setup/schema.json +1 -1
- package/src/generators/setup-tailwind/schema.json +1 -1
- package/src/generators/storybook-configuration/schema.json +1 -1
- package/src/generators/style/schema.d.ts +1 -1
- package/src/generators/style/schema.json +2 -2
package/generators.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/remix",
|
|
3
|
-
"version": "18.0.0-beta.
|
|
3
|
+
"version": "18.0.0-beta.1",
|
|
4
4
|
"description": "The Remix plugin for Nx contains executors and generators for managing Remix applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Vitest, Jest, Cypress, and Storybook.\n\n- Generators for applications, libraries, routes, loaders, and more.\n\n- Library build support for publishing packages to npm or other registries.\n\n- Utilities for automatic workspace refactoring.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"migrations": "./migrations.json"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@nx/devkit": "18.0.0-beta.
|
|
32
|
-
"@nx/js": "18.0.0-beta.
|
|
33
|
-
"@nx/react": "18.0.0-beta.
|
|
31
|
+
"@nx/devkit": "18.0.0-beta.1",
|
|
32
|
+
"@nx/js": "18.0.0-beta.1",
|
|
33
|
+
"@nx/react": "18.0.0-beta.1",
|
|
34
34
|
"tslib": "^2.3.1",
|
|
35
35
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
36
|
-
"@nrwl/remix": "18.0.0-beta.
|
|
36
|
+
"@nrwl/remix": "18.0.0-beta.1"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {},
|
|
39
39
|
"publishConfig": {
|
|
@@ -4,7 +4,7 @@ export interface LoaderSchema {
|
|
|
4
4
|
path: string;
|
|
5
5
|
nameAndDirectoryFormat?: NameAndDirectoryFormat;
|
|
6
6
|
/**
|
|
7
|
-
* @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx
|
|
7
|
+
* @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19.
|
|
8
8
|
*/
|
|
9
9
|
project?: string;
|
|
10
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"$id": "action",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"description": "Generate an action for a given route.",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"type": "string",
|
|
23
23
|
"description": "The name of the project.",
|
|
24
24
|
"pattern": "^[a-zA-Z].*$",
|
|
25
|
-
"x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx
|
|
25
|
+
"x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19."
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"required": ["path"]
|
|
@@ -8,6 +8,7 @@ const update_dependencies_1 = require("../utils/update-dependencies");
|
|
|
8
8
|
const init_1 = require("../init/init");
|
|
9
9
|
const js_1 = require("@nx/js");
|
|
10
10
|
const add_build_target_defaults_1 = require("@nx/devkit/src/generators/add-build-target-defaults");
|
|
11
|
+
const log_show_project_command_1 = require("@nx/devkit/src/utils/log-show-project-command");
|
|
11
12
|
async function default_1(tree, _options) {
|
|
12
13
|
const options = await (0, lib_1.normalizeOptions)(tree, _options);
|
|
13
14
|
const tasks = [
|
|
@@ -186,6 +187,9 @@ async function default_1(tree, _options) {
|
|
|
186
187
|
if (!options.skipFormat) {
|
|
187
188
|
await (0, devkit_1.formatFiles)(tree);
|
|
188
189
|
}
|
|
190
|
+
tasks.push(() => {
|
|
191
|
+
(0, log_show_project_command_1.logShowProjectCommand)(options.projectName);
|
|
192
|
+
});
|
|
189
193
|
return (0, devkit_1.runTasksInSerial)(...tasks);
|
|
190
194
|
}
|
|
191
195
|
exports.default = default_1;
|
|
@@ -5,7 +5,7 @@ export interface ErrorBoundarySchema {
|
|
|
5
5
|
skipFormat?: false;
|
|
6
6
|
nameAndDirectoryFormat?: NameAndDirectoryFormat;
|
|
7
7
|
/**
|
|
8
|
-
* @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx
|
|
8
|
+
* @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19.
|
|
9
9
|
*/
|
|
10
10
|
project?: string;
|
|
11
11
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"$id": "NxRemixErrorBoundary",
|
|
4
4
|
"title": "Create an ErrorBoundary for a Route",
|
|
5
5
|
"description": "Generate an ErrorBoundary for a given route.",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"type": "string",
|
|
25
25
|
"description": "The name of the project.",
|
|
26
26
|
"pattern": "^[a-zA-Z].*$",
|
|
27
|
-
"x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx
|
|
27
|
+
"x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19."
|
|
28
28
|
},
|
|
29
29
|
"skipFormat": {
|
|
30
30
|
"type": "boolean",
|
|
@@ -4,7 +4,7 @@ export interface LoaderSchema {
|
|
|
4
4
|
path: string;
|
|
5
5
|
nameAndDirectoryFormat?: NameAndDirectoryFormat;
|
|
6
6
|
/**
|
|
7
|
-
* @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx
|
|
7
|
+
* @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19.
|
|
8
8
|
*/
|
|
9
9
|
project?: string;
|
|
10
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"$id": "data-loader",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"description": "Generate an loader for a given route.",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"type": "string",
|
|
23
23
|
"description": "The name of the project.",
|
|
24
24
|
"pattern": "^[a-zA-Z].*$",
|
|
25
|
-
"x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx
|
|
25
|
+
"x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19."
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"required": ["path"]
|
|
@@ -4,7 +4,7 @@ export interface MetaSchema {
|
|
|
4
4
|
path: string;
|
|
5
5
|
nameAndDirectoryFormat?: NameAndDirectoryFormat;
|
|
6
6
|
/**
|
|
7
|
-
* @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx
|
|
7
|
+
* @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19.
|
|
8
8
|
*/
|
|
9
9
|
project?: string;
|
|
10
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"$id": "meta",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"description": "Generate a meta function for a given route.",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"type": "string",
|
|
23
23
|
"description": "The name of the project.",
|
|
24
24
|
"pattern": "^[a-zA-Z].*$",
|
|
25
|
-
"x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx
|
|
25
|
+
"x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19."
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"required": ["path"]
|
|
@@ -7,7 +7,7 @@ export interface RemixRouteSchema {
|
|
|
7
7
|
loader: boolean;
|
|
8
8
|
skipChecks: boolean;
|
|
9
9
|
/**
|
|
10
|
-
* @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx
|
|
10
|
+
* @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19.
|
|
11
11
|
*/
|
|
12
12
|
project?: string;
|
|
13
13
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"$id": "NxRemixResourceRoute",
|
|
4
4
|
"title": "Create a Resource Route",
|
|
5
5
|
"type": "object",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"type": "string",
|
|
30
30
|
"description": "The name of the project.",
|
|
31
31
|
"pattern": "^[a-zA-Z].*$",
|
|
32
|
-
"x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx
|
|
32
|
+
"x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19."
|
|
33
33
|
},
|
|
34
34
|
"action": {
|
|
35
35
|
"type": "boolean",
|
|
@@ -9,7 +9,7 @@ export interface RemixRouteSchema {
|
|
|
9
9
|
loader: boolean;
|
|
10
10
|
skipChecks: boolean;
|
|
11
11
|
/**
|
|
12
|
-
* @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx
|
|
12
|
+
* @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19.
|
|
13
13
|
*/
|
|
14
14
|
project?: string;
|
|
15
15
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"$id": "NxRemixRoute",
|
|
4
4
|
"title": "Create a Route",
|
|
5
5
|
"description": "Generate a route.",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"type": "string",
|
|
30
30
|
"description": "The name of the project.",
|
|
31
31
|
"pattern": "^[a-zA-Z].*$",
|
|
32
|
-
"x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx
|
|
32
|
+
"x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19."
|
|
33
33
|
},
|
|
34
34
|
"style": {
|
|
35
35
|
"type": "string",
|
|
@@ -4,7 +4,7 @@ export interface RemixStyleSchema {
|
|
|
4
4
|
path: string;
|
|
5
5
|
nameAndDirectoryFormat?: NameAndDirectoryFormat;
|
|
6
6
|
/**
|
|
7
|
-
* @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx
|
|
7
|
+
* @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19.
|
|
8
8
|
*/
|
|
9
9
|
project?: string;
|
|
10
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"$id": "NxRemixRouteStyle",
|
|
4
4
|
"title": "Add style import to a route",
|
|
5
5
|
"description": "Generate a style import and file for a given route.",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"type": "string",
|
|
30
30
|
"description": "The name of the project.",
|
|
31
31
|
"pattern": "^[a-zA-Z].*$",
|
|
32
|
-
"x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx
|
|
32
|
+
"x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19."
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"required": ["path"]
|