@nx/react 19.3.0-beta.0 → 19.3.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/react",
|
|
3
|
-
"version": "19.3.0-beta.
|
|
3
|
+
"version": "19.3.0-beta.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The React plugin for Nx contains executors and generators for managing React applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Vitest, Playwright, Cypress, and Storybook.\n\n- Generators for applications, libraries, components, hooks, and more.\n\n- Library build support for publishing packages to npm or other registries.\n\n- Utilities for automatic workspace refactoring.",
|
|
6
6
|
"repository": {
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"file-loader": "^6.2.0",
|
|
39
39
|
"minimatch": "9.0.3",
|
|
40
40
|
"tslib": "^2.3.0",
|
|
41
|
-
"@nx/devkit": "19.3.0-beta.
|
|
42
|
-
"@nx/js": "19.3.0-beta.
|
|
43
|
-
"@nx/eslint": "19.3.0-beta.
|
|
44
|
-
"@nx/web": "19.3.0-beta.
|
|
45
|
-
"@nrwl/react": "19.3.0-beta.
|
|
41
|
+
"@nx/devkit": "19.3.0-beta.1",
|
|
42
|
+
"@nx/js": "19.3.0-beta.1",
|
|
43
|
+
"@nx/eslint": "19.3.0-beta.1",
|
|
44
|
+
"@nx/web": "19.3.0-beta.1",
|
|
45
|
+
"@nrwl/react": "19.3.0-beta.1"
|
|
46
46
|
},
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"items": {
|
|
37
37
|
"type": "string"
|
|
38
38
|
},
|
|
39
|
-
"description": "List of remote applications to not automatically serve, either statically or in development mode. This will not remove the remotes from the `module-federation.config` file, and therefore the application may still try to fetch these remotes.\nThis option is useful
|
|
39
|
+
"description": "List of remote applications to not automatically serve, either statically or in development mode. This will not remove the remotes from the `module-federation.config` file, and therefore the application may still try to fetch these remotes.\nThis option is useful if you have other means for serving the `remote` application(s).\n**NOTE:** Remotes that are not in the workspace will be skipped automatically.",
|
|
40
40
|
"x-priority": "important"
|
|
41
41
|
},
|
|
42
42
|
"buildTarget": {
|
|
@@ -23,10 +23,6 @@ import { Route, Link } from 'react-router-dom';
|
|
|
23
23
|
var extras = '';
|
|
24
24
|
} %>
|
|
25
25
|
|
|
26
|
-
/* eslint-disable-next-line */
|
|
27
|
-
export interface <%= className %>Props {
|
|
28
|
-
}
|
|
29
|
-
|
|
30
26
|
<% if (styledModule && styledModule !== 'styled-jsx') { %>
|
|
31
27
|
const Styled<%= className %> = styled.div`
|
|
32
28
|
color: pink;
|
|
@@ -34,7 +30,7 @@ const Styled<%= className %> = styled.div`
|
|
|
34
30
|
<% }%>
|
|
35
31
|
<% if(!isNextPage) { %>
|
|
36
32
|
<% if (classComponent) { %>
|
|
37
|
-
export class <%= className %> extends Component
|
|
33
|
+
export class <%= className %> extends Component<{}> {
|
|
38
34
|
override render() {
|
|
39
35
|
return (
|
|
40
36
|
<<%= wrapper %><%- extras %>>
|
|
@@ -51,7 +47,7 @@ const Styled<%= className %> = styled.div`
|
|
|
51
47
|
}
|
|
52
48
|
}
|
|
53
49
|
<% } else { %>
|
|
54
|
-
export function <%= className %>(
|
|
50
|
+
export function <%= className %>() {
|
|
55
51
|
return (
|
|
56
52
|
<<%= wrapper %><%- extras %>>
|
|
57
53
|
<% if (styledModule === 'styled-jsx') { %><style jsx>{`div { color: pink; }`}</style><% } %>
|
|
@@ -69,7 +65,7 @@ const Styled<%= className %> = styled.div`
|
|
|
69
65
|
|
|
70
66
|
export default <%= className %>;
|
|
71
67
|
<% } else { %>
|
|
72
|
-
export default function <%= className %>(
|
|
68
|
+
export default function <%= className %>() {
|
|
73
69
|
return (
|
|
74
70
|
<<%= wrapper %><%- extras %>>
|
|
75
71
|
<% if (styledModule === 'styled-jsx') { %><style jsx>{`div { color: pink; }`}</style><% } %>
|