@nx/react 22.7.0-pr.33655.527519b → 22.7.0-pr.33655.d8f5d50

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/assets.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "outDir": "dist/packages/react",
3
+ "assets": [
4
+ {
5
+ "glob": "**/files/**"
6
+ },
7
+ {
8
+ "glob": "**/files/**/.gitkeep"
9
+ },
10
+ {
11
+ "glob": "**/*.json",
12
+ "ignore": ["tsconfig*.json", "project.json", ".eslintrc.json"]
13
+ },
14
+ {
15
+ "glob": "**/*.d.ts"
16
+ },
17
+ {
18
+ "glob": "**/*.js",
19
+ "ignore": ["**/jest.config.js"]
20
+ },
21
+ "LICENSE"
22
+ ]
23
+ }
package/executors.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
- "executors": {
3
- "module-federation-dev-server": {
4
- "implementation": "./src/executors/module-federation-dev-server/module-federation-dev-server.impl",
5
- "schema": "./src/executors/module-federation-dev-server/schema.json",
6
- "description": "Serve a host or remote application."
7
- },
8
- "module-federation-ssr-dev-server": {
9
- "implementation": "./src/executors/module-federation-ssr-dev-server/module-federation-ssr-dev-server.impl",
10
- "schema": "./src/executors/module-federation-ssr-dev-server/schema.json",
11
- "description": "Serve a host application along with it's known remotes."
12
- },
13
- "module-federation-static-server": {
14
- "implementation": "./src/executors/module-federation-static-server/module-federation-static-server.impl",
15
- "schema": "./src/executors/module-federation-static-server/schema.json",
16
- "description": "Serve a host and its remotes statically."
2
+ "executors": {
3
+ "module-federation-dev-server": {
4
+ "implementation": "./src/executors/module-federation-dev-server/module-federation-dev-server.impl",
5
+ "schema": "./src/executors/module-federation-dev-server/schema.json",
6
+ "description": "Serve a host or remote application."
7
+ },
8
+ "module-federation-ssr-dev-server": {
9
+ "implementation": "./src/executors/module-federation-ssr-dev-server/module-federation-ssr-dev-server.impl",
10
+ "schema": "./src/executors/module-federation-ssr-dev-server/schema.json",
11
+ "description": "Serve a host application along with it's known remotes."
12
+ },
13
+ "module-federation-static-server": {
14
+ "implementation": "./src/executors/module-federation-static-server/module-federation-static-server.impl",
15
+ "schema": "./src/executors/module-federation-static-server/schema.json",
16
+ "description": "Serve a host and its remotes statically."
17
+ }
17
18
  }
18
- }
19
19
  }
package/generators.json CHANGED
@@ -1,109 +1,109 @@
1
1
  {
2
- "name": "Nx React",
3
- "version": "0.1",
4
- "extends": ["@nx/workspace"],
5
- "generators": {
6
- "init": {
7
- "factory": "./src/generators/init/init#reactInitGenerator",
8
- "schema": "./src/generators/init/schema.json",
9
- "description": "Initialize the `@nx/react` 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 a React application."
19
- },
20
- "library": {
21
- "factory": "./src/generators/library/library#libraryGeneratorInternal",
22
- "schema": "./src/generators/library/schema.json",
23
- "aliases": ["lib"],
24
- "x-type": "library",
25
- "description": "Create a React library."
26
- },
27
- "component": {
28
- "factory": "./src/generators/component/component",
29
- "schema": "./src/generators/component/schema.json",
30
- "description": "Create a React component.",
31
- "aliases": ["c"]
32
- },
33
- "redux": {
34
- "factory": "./src/generators/redux/redux",
35
- "schema": "./src/generators/redux/schema.json",
36
- "description": "Create a Redux slice for a project.",
37
- "aliases": ["slice"]
38
- },
39
- "storybook-configuration": {
40
- "factory": "./src/generators/storybook-configuration/configuration#storybookConfigurationGeneratorInternal",
41
- "schema": "./src/generators/storybook-configuration/schema.json",
42
- "description": "Set up storybook for a React app or library.",
43
- "hidden": false
44
- },
45
- "component-story": {
46
- "factory": "./src/generators/component-story/component-story#componentStoryGenerator",
47
- "schema": "./src/generators/component-story/schema.json",
48
- "description": "Generate storybook story for a React component",
49
- "hidden": false
50
- },
51
- "stories": {
52
- "factory": "./src/generators/stories/stories#storiesGenerator",
53
- "schema": "./src/generators/stories/schema.json",
54
- "description": "Create stories/specs for all components declared in an app or library.",
55
- "hidden": false
56
- },
57
- "hook": {
58
- "factory": "./src/generators/hook/hook",
59
- "schema": "./src/generators/hook/schema.json",
60
- "description": "Create a hook.",
61
- "aliases": ["c"]
62
- },
63
- "host": {
64
- "factory": "./src/generators/host/host",
65
- "schema": "./src/generators/host/schema.json",
66
- "x-type": "application",
67
- "description": "Generate a host react application",
68
- "aliases": ["consumer"]
69
- },
70
- "remote": {
71
- "factory": "./src/generators/remote/remote",
72
- "schema": "./src/generators/remote/schema.json",
73
- "x-type": "application",
74
- "description": "Generate a remote react application",
75
- "aliases": ["producer"]
76
- },
77
- "cypress-component-configuration": {
78
- "factory": "./src/generators/cypress-component-configuration/cypress-component-configuration#cypressComponentConfigGenerator",
79
- "schema": "./src/generators/cypress-component-configuration/schema.json",
80
- "description": "Setup Cypress component testing for a React project",
81
- "hidden": false
82
- },
83
- "component-test": {
84
- "factory": "./src/generators/component-test/component-test#componentTestGenerator",
85
- "schema": "./src/generators/component-test/schema.json",
86
- "description": "Generate a Cypress component test for a React component",
87
- "hidden": false
88
- },
89
- "setup-tailwind": {
90
- "factory": "./src/generators/setup-tailwind/setup-tailwind#setupTailwindGenerator",
91
- "schema": "./src/generators/setup-tailwind/schema.json",
92
- "description": "Set up Tailwind configuration for a project.",
93
- "hidden": false,
94
- "x-deprecated": "Generating Tailwind configuration is no longer maintained. This generator will be removed in Nx 23."
95
- },
96
- "setup-ssr": {
97
- "factory": "./src/generators/setup-ssr/setup-ssr#setupSsrGenerator",
98
- "schema": "./src/generators/setup-ssr/schema.json",
99
- "description": "Set up SSR configuration for a project.",
100
- "hidden": false
101
- },
102
- "federate-module": {
103
- "factory": "./src/generators/federate-module/federate-module#federateModuleGenerator",
104
- "schema": "./src/generators/federate-module/schema.json",
105
- "description": "Federate a module.",
106
- "hidden": false
2
+ "name": "Nx React",
3
+ "version": "0.1",
4
+ "extends": ["@nx/workspace"],
5
+ "generators": {
6
+ "init": {
7
+ "factory": "./src/generators/init/init#reactInitGenerator",
8
+ "schema": "./src/generators/init/schema.json",
9
+ "description": "Initialize the `@nx/react` 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 a React application."
19
+ },
20
+ "library": {
21
+ "factory": "./src/generators/library/library#libraryGeneratorInternal",
22
+ "schema": "./src/generators/library/schema.json",
23
+ "aliases": ["lib"],
24
+ "x-type": "library",
25
+ "description": "Create a React library."
26
+ },
27
+ "component": {
28
+ "factory": "./src/generators/component/component",
29
+ "schema": "./src/generators/component/schema.json",
30
+ "description": "Create a React component.",
31
+ "aliases": ["c"]
32
+ },
33
+ "redux": {
34
+ "factory": "./src/generators/redux/redux",
35
+ "schema": "./src/generators/redux/schema.json",
36
+ "description": "Create a Redux slice for a project.",
37
+ "aliases": ["slice"]
38
+ },
39
+ "storybook-configuration": {
40
+ "factory": "./src/generators/storybook-configuration/configuration#storybookConfigurationGeneratorInternal",
41
+ "schema": "./src/generators/storybook-configuration/schema.json",
42
+ "description": "Set up storybook for a React app or library.",
43
+ "hidden": false
44
+ },
45
+ "component-story": {
46
+ "factory": "./src/generators/component-story/component-story#componentStoryGenerator",
47
+ "schema": "./src/generators/component-story/schema.json",
48
+ "description": "Generate storybook story for a React component",
49
+ "hidden": false
50
+ },
51
+ "stories": {
52
+ "factory": "./src/generators/stories/stories#storiesGenerator",
53
+ "schema": "./src/generators/stories/schema.json",
54
+ "description": "Create stories/specs for all components declared in an app or library.",
55
+ "hidden": false
56
+ },
57
+ "hook": {
58
+ "factory": "./src/generators/hook/hook",
59
+ "schema": "./src/generators/hook/schema.json",
60
+ "description": "Create a hook.",
61
+ "aliases": ["c"]
62
+ },
63
+ "host": {
64
+ "factory": "./src/generators/host/host",
65
+ "schema": "./src/generators/host/schema.json",
66
+ "x-type": "application",
67
+ "description": "Generate a host react application",
68
+ "aliases": ["consumer"]
69
+ },
70
+ "remote": {
71
+ "factory": "./src/generators/remote/remote",
72
+ "schema": "./src/generators/remote/schema.json",
73
+ "x-type": "application",
74
+ "description": "Generate a remote react application",
75
+ "aliases": ["producer"]
76
+ },
77
+ "cypress-component-configuration": {
78
+ "factory": "./src/generators/cypress-component-configuration/cypress-component-configuration#cypressComponentConfigGenerator",
79
+ "schema": "./src/generators/cypress-component-configuration/schema.json",
80
+ "description": "Setup Cypress component testing for a React project",
81
+ "hidden": false
82
+ },
83
+ "component-test": {
84
+ "factory": "./src/generators/component-test/component-test#componentTestGenerator",
85
+ "schema": "./src/generators/component-test/schema.json",
86
+ "description": "Generate a Cypress component test for a React component",
87
+ "hidden": false
88
+ },
89
+ "setup-tailwind": {
90
+ "factory": "./src/generators/setup-tailwind/setup-tailwind#setupTailwindGenerator",
91
+ "schema": "./src/generators/setup-tailwind/schema.json",
92
+ "description": "Set up Tailwind configuration for a project.",
93
+ "hidden": false,
94
+ "x-deprecated": "Generating Tailwind configuration is no longer maintained. This generator will be removed in Nx 23."
95
+ },
96
+ "setup-ssr": {
97
+ "factory": "./src/generators/setup-ssr/setup-ssr#setupSsrGenerator",
98
+ "schema": "./src/generators/setup-ssr/schema.json",
99
+ "description": "Set up SSR configuration for a project.",
100
+ "hidden": false
101
+ },
102
+ "federate-module": {
103
+ "factory": "./src/generators/federate-module/federate-module#federateModuleGenerator",
104
+ "schema": "./src/generators/federate-module/schema.json",
105
+ "description": "Federate a module.",
106
+ "hidden": false
107
+ }
107
108
  }
108
- }
109
109
  }