@nx/remix 17.3.0 → 17.3.2
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/files/common/app/nx-welcome.tsx__tmpl__ +19 -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": "17.3.
|
|
3
|
+
"version": "17.3.2",
|
|
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": "17.3.
|
|
32
|
-
"@nx/js": "17.3.
|
|
33
|
-
"@nx/react": "17.3.
|
|
31
|
+
"@nx/devkit": "17.3.2",
|
|
32
|
+
"@nx/js": "17.3.2",
|
|
33
|
+
"@nx/react": "17.3.2",
|
|
34
34
|
"tslib": "^2.3.1",
|
|
35
35
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
36
|
-
"@nrwl/remix": "17.3.
|
|
36
|
+
"@nrwl/remix": "17.3.2"
|
|
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"]
|
|
@@ -795,6 +795,25 @@ export function NxWelcome({ title }: { title: string }) {
|
|
|
795
795
|
nx g @nx/react:component ui/src/lib/button
|
|
796
796
|
</pre>
|
|
797
797
|
</details>
|
|
798
|
+
<details>
|
|
799
|
+
<summary>
|
|
800
|
+
<svg
|
|
801
|
+
fill="none"
|
|
802
|
+
stroke="currentColor"
|
|
803
|
+
viewBox="0 0 24 24"
|
|
804
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
805
|
+
>
|
|
806
|
+
<path
|
|
807
|
+
strokeLinecap="round"
|
|
808
|
+
strokeLinejoin="round"
|
|
809
|
+
strokeWidth="2"
|
|
810
|
+
d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"
|
|
811
|
+
/>
|
|
812
|
+
</svg>
|
|
813
|
+
View project details
|
|
814
|
+
</summary>
|
|
815
|
+
<pre>nx show project { title } --web</pre>
|
|
816
|
+
</details>
|
|
798
817
|
<details>
|
|
799
818
|
<summary>
|
|
800
819
|
<svg
|
|
@@ -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"]
|