Skip to content

Commit 5c520d4

Browse files
committed
release: 2.0.0-beta.31
1 parent 5f54bf8 commit 5c520d4

File tree

23 files changed

+320
-388
lines changed

23 files changed

+320
-388
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
applyTo: "**"
3+
---
4+
5+
// This file is automatically generated by Nx Console
6+
7+
You are in an nx workspace using Nx 21.4.0 and pnpm as the package manager.
8+
9+
You have access to the Nx MCP server and the tools it provides. Use them. Follow these guidelines in order to best help the user:
10+
11+
## General Guidelines
12+
13+
- When answering questions, use the nx_workspace tool first to gain an understanding of the workspace architecture
14+
- For questions around nx configuration, best practices or if you're unsure, use the nx_docs tool to get relevant, up-to-date docs!! Always use this instead of assuming things about nx configuration
15+
- If the user needs help with an Nx configuration or project graph error, use the 'nx_workspace' tool to get any errors
16+
- To help answer questions about the workspace structure or simply help with demonstrating how tasks depend on each other, use the 'nx_visualize_graph' tool
17+
18+
## Generation Guidelines
19+
20+
If the user wants to generate something, use the following flow:
21+
22+
- learn about the nx workspace and any specifics the user needs by using the 'nx_workspace' tool and the 'nx_project_details' tool if applicable
23+
- get the available generators using the 'nx_generators' tool
24+
- decide which generator to use. If no generators seem relevant, check the 'nx_available_plugins' tool to see if the user could install a plugin to help them
25+
- get generator details using the 'nx_generator_schema' tool
26+
- you may use the 'nx_docs' tool to learn more about a specific generator or technology if you're unsure
27+
- decide which options to provide in order to best complete the user's request. Don't make any assumptions and keep the options minimalistic
28+
- open the generator UI using the 'nx_open_generate_ui' tool
29+
- wait for the user to finish the generator
30+
- read the generator log file using the 'nx_read_generator_log' tool
31+
- use the information provided in the log file to answer the user's question or continue with what they were doing
32+
33+
## Running Tasks Guidelines
34+
35+
If the user wants help with tasks or commands (which include keywords like "test", "build", "lint", or other similar actions), use the following flow:
36+
37+
- Use the 'nx_current_running_tasks_details' tool to get the list of tasks (this can include tasks that were completed, stopped or failed).
38+
- If there are any tasks, ask the user if they would like help with a specific task then use the 'nx_current_running_task_output' tool to get the terminal output for that task/command
39+
- Use the terminal output from 'nx_current_running_task_output' to see what's wrong and help the user fix their problem. Use the appropriate tools if necessary
40+
- If the user would like to rerun the task or command, always use `nx run <taskId>` to rerun in the terminal. This will ensure that the task will run in the nx context and will be run the same way it originally executed
41+
- If the task was marked as "continuous" do not offer to rerun the task. This task is already running and the user can see the output in the terminal. You can use 'nx_current_running_task_output' to get the output of the task to verify the output.

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,6 @@
4444
"mdx.server.enable": true,
4545
"npm.packageManager": "pnpm",
4646
"typescript.preferences.importModuleSpecifier": "non-relative",
47-
"typescript.tsdk": "node_modules/typescript/lib"
47+
"typescript.tsdk": "node_modules/typescript/lib",
48+
"nxConsole.generateAiAgentRules": true
4849
}

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.0-beta.30
1+
2.0.0-beta.31

apps/website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"@tsconfig/strictest": "^2.0.5",
4545
"@types/hast": "^3.0.4",
4646
"@types/mdx": "^2.0.13",
47-
"@types/node": "^24.2.1",
47+
"@types/node": "^24.3.0",
4848
"@types/react": "^19.1.10",
4949
"@types/react-dom": "^19.1.7",
5050
"autoprefixer": "^10.4.21",

examples/next-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@tsconfig/next": "^2.0.3",
2323
"@tsconfig/node22": "^22.0.2",
2424
"@tsconfig/strictest": "^2.0.5",
25-
"@types/node": "^24.2.1",
25+
"@types/node": "^24.3.0",
2626
"@types/react": "^19.1.10",
2727
"@types/react-dom": "^19.1.7",
2828
"eslint": "^9.33.0",

examples/rspeedy-react-lynx-app/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
"preview": "rspeedy preview"
1616
},
1717
"dependencies": {
18-
"@lynx-js/react": "^0.112.2"
18+
"@lynx-js/react": "^0.112.3"
1919
},
2020
"devDependencies": {
2121
"@eslint/config-inspector": "^1.2.0",
2222
"@eslint/js": "^9.33.0",
2323
"@lynx-js/qrcode-rsbuild-plugin": "^0.4.0",
24-
"@lynx-js/react-rsbuild-plugin": "^0.10.11",
25-
"@lynx-js/rspeedy": "^0.10.6",
24+
"@lynx-js/react-rsbuild-plugin": "^0.10.12",
25+
"@lynx-js/rspeedy": "^0.10.7",
2626
"@lynx-js/types": "^3.3.0",
2727
"@rsbuild/plugin-sass": "^1.3.5",
2828
"@rsbuild/plugin-type-check": "^1.2.4",

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/monorepo",
3-
"version": "2.0.0-beta.30",
3+
"version": "2.0.0-beta.31",
44
"private": true,
55
"description": "Monorepo for eslint-plugin-react-[x, dom, web-api, naming-convention].",
66
"keywords": [
@@ -58,7 +58,7 @@
5858
"@swc/core": "^1.13.3",
5959
"@tsconfig/node22": "^22.0.2",
6060
"@tsconfig/strictest": "^2.0.5",
61-
"@types/node": "^24.2.1",
61+
"@types/node": "^24.3.0",
6262
"@types/react": "^19.1.10",
6363
"@types/react-dom": "^19.1.7",
6464
"@typescript-eslint/parser": "^8.39.1",
@@ -76,7 +76,7 @@
7676
"jiti": "^2.5.1",
7777
"lefthook": "^1.12.3",
7878
"markdownlint": "^0.38.0",
79-
"nx": "^21.3.11",
79+
"nx": "^21.4.0",
8080
"publint": "^0.3.12",
8181
"react": "^19.1.1",
8282
"react-dom": "^19.1.1",

packages/core/docs/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@
129129
- [isGetInitialState](functions/isGetInitialState.md)
130130
- [isGetSnapshotBeforeUpdate](functions/isGetSnapshotBeforeUpdate.md)
131131
- [isHostElement](functions/isHostElement.md)
132-
- [isInitializedFromReact](functions/isInitializedFromReact.md)
133132
- [isJsxLike](functions/isJsxLike.md)
134133
- [isJsxText](functions/isJsxText.md)
135134
- [isPureComponent](functions/isPureComponent.md)

packages/core/docs/functions/isInitializedFromReact.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/core",
3-
"version": "2.0.0-beta.30",
3+
"version": "2.0.0-beta.31",
44
"description": "ESLint React's ESLint utility module for static analysis of React core APIs and patterns.",
55
"homepage": "https://github.com/Rel1cx/eslint-react",
66
"bugs": {

0 commit comments

Comments
 (0)