-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
new nx 20 workspace with typescript-eslint 8 is broken out of the box #28347
Comments
Same issue, looks like it's caused by |
This seems to be only an issue with typescirpt-eslint 8.8.1, with typescript-eslint 8.8.0 everything is working fine. |
alot of stuff is broken |
why is @nx/angular-template
@nx/angular-template doesnt even exist... ???
react is javascript. javascript is unfit for commercial development. ever since these elite frameworks... angular, ngrx, nx have accommodated react its been disaster for these elite frameworks. why cant react go take a hike it doesn't even come close to what angular does at an elegant level. |
@nx/angular means plugins for eslint under namespace @nx not a packages |
Here is a simple script that should be executed on each release to ensure everything is functioning correctly: #!/bin/bash
# Remove any existing nx-repo directory
rm -rf nx-repo
# Create a new Nx workspace with the specified configuration
npx --yes create-nx-workspace@latest nx-repo \
--pm=yarn \
--preset=angular-monorepo \
--appName=nx-ui \
--style=scss \
--bundler=esbuild \
--ssr=false \
--e2eTestRunner=playwright \
--nxCloud=skip
# Navigate to the newly created nx-repo directory
cd nx-repo
# Run build, lint, and test tasks for all projects
yarn nx run-many -t build,lint,test --all
# Generate a new Angular library in the libs/ng-lib directory
yarn nx g @nx/angular:lib ng-lib --buildable --directory libs/ng-lib
# Run build, lint, and test tasks for all projects
yarn nx run-many -t build,lint,test --all This script ensures that a clean Nx workspace with Angular is set up, runs key project tasks, and generates a new library. |
can confirm. for now I solved this issue by overriding it's version in package.json like so:
|
Current Behavior
when create fresh nx 20 workspace with typescript-eslint 8 - it not working
error:
Expected Behavior
should works properly
GitHub Repo
No response
Steps to Reproduce
Nx Report
Node : 20.17.0
OS : darwin-arm64
Native Target : aarch64-macos
npm : 10.8.2
nx : 20.0.0
@nx/js : 20.0.0
@nx/jest : 20.0.0
@nx/eslint : 20.0.0
@nx/workspace : 20.0.0
@nx/angular : 20.0.0
@nx/devkit : 20.0.0
@nx/eslint-plugin : 20.0.0
@nx/playwright : 20.0.0
@nx/vite : 20.0.0
@nx/web : 20.0.0
@nx/webpack : 20.0.0
typescript : 5.5.4
Registered Plugins:
@nx/playwright/plugin
@nx/eslint/plugin
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: