-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Your feedback on beta of nx-go 3 #107
Comments
Will you be releasing |
Everything looks great, well done! |
Sorry for the misunderstanding, I prepared this post in anticipation of releasing the beta. It is available now! |
Will definitely give it a shot on some of our projects to see if there are any compatibility issues! Thanks for all the effort! |
Tested Thanks @utarwyn! |
@utarwyn with the change to the linter args type from a In my projects we have a value like |
Yes, that's a great idea! I hadn't thought about this migration, so I'll add it to the to-do list. |
Aside from the abovementioned schema change to |
Hi @utarwyn , still learning go and I use this package for my personal project. Thanks for the hardwork. |
Hello @rodentskie, thanks for the kind words! Version 3 of nx-go uses a multi-module Go workspace by default. This explains why each project has its own It might be interesting to have an executor in nx-go to run this command in all projects at once 👍 Note: you can revert to the old approach by deleting the |
No issues until now! Just need more executors, for tidy and get. usage: {
// ...
"targets": {
// ...
"tidy": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"command": "go mod tidy"
}
},
"get": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"command": "go get"
}
}
}
} |
Thank you for the feedback! Much appreciated 👍 |
Thanks for the reply. Also, what I did was I created a custom executor exactly what @llucasshenrique did too. Hoping for it to be added in the next release. |
Sample usage:
Added this one too. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Definitely interested in something like #94 for nx-go |
Hi @utarwyn , just an update my
These are the The reason I added Combined EditAfter some debug, I have a working |
Thank you for the follow-up! These executors can be integrated into future versions of nx-go, of course 👍 |
Hello! I have just published v3.0.0-beta.1 with following improvements:
If you want to try it out, use this command:
If all goes well, I propose to release the stable version by the end of the month! 🚀 |
This comment was marked as off-topic.
This comment was marked as off-topic.
This seems more appropriate for a discussion board than as a comment on this issue. Maybe @utarwyn it would be a good idea to setup the commuity feature on the repo or a discussion forum for these types of usage questions. |
Hello, thank you for the suggestion! I've just opened the discussions forum of the repository. Please use it to ask more general questions about Golang or your personal installation 👍 |
Hi @utarwyn thank you for your time and effort with this project. I'm new to nx and the last week has been a eye opener time with the project, and as I'm also a Go developer I came to this project. I'm running the ** NX Cannot convert undefined or null to object
TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at /Users/leopoldocaballero/Projects/yaydoo/node_modules/nx/src/utils/params.js:194:24
at Array.find (<anonymous>)
at validateObject (/Users/leopoldocaballero/Projects/yaydoo/node_modules/nx/src/utils/params.js:193:27)
at validateProperty (/Users/leopoldocaballero/Projects/yaydoo/node_modules/nx/src/utils/params.js:346:9)
at /Users/leopoldocaballero/Projects/yaydoo/node_modules/nx/src/utils/params.js:210:9
at Array.forEach (<anonymous>)
at validateObject (/Users/leopoldocaballero/Projects/yaydoo/node_modules/nx/src/utils/params.js:209:23)
at validateOptsAgainstSchema (/Users/leopoldocaballero/Projects/yaydoo/node_modules/nx/src/utils/params.js:144:5)
at combineOptionsForExecutor (/Users/leopoldocaballero/Projects/yaydoo/node_modules/nx/src/utils/params.js:432:5)** I'm working with the Edit Digging a little bit I think the problem occurs here: https://github.com/nx-go/nx-go/blob/main/packages/nx-go/src/utils/execute-command.ts#L34 because if I run this in a process in node I get: Welcome to Node.js v20.11.1.
Type ".help" for more information.
> Object.assign(undefined, {'test': 'value'})
Uncaught TypeError: Cannot convert undefined or null to object |
Hello @pitakill, thank you for the feedback about the beta! You can follow the issue here: nrwl/nx#22349 |
Hello! I'm excited to announce that the stable version is now out! Check the complete changelog here. If you have any problems, please create new issues. Many thanks for your feedback! |
🚀 nx-go v3 enters beta phase
Would you like to help us prepare for this major step in the project? Need to test integration with Nx 17/18 right now? Or simply tell us about your experience using the plugin? You've come to the right place!
Please comment here or create a new ticket with the various problems encountered, mainly on the following items:
Things to change already reported :
If needed, you can use the updated playground located in https://github.com/nx-go/nx-go-playground
Note
This version aims to offer similar features to v2. We will process all tickets proposing additions in versions 3.x.
This issue is a follow-up to the work carried out in #103. I plan to release a stable version during Q1 2024.
We'd like to thank you in advance for all your feedback, which will help make the plugin more stable.
The text was updated successfully, but these errors were encountered: