feat: setup Nx workspace with comprehensive development tooling#5
Open
shettydev wants to merge 2 commits intofixes/dist-removefrom
Open
feat: setup Nx workspace with comprehensive development tooling#5shettydev wants to merge 2 commits intofixes/dist-removefrom
shettydev wants to merge 2 commits intofixes/dist-removefrom
Conversation
- Create .gitignore entries for nx cache, workspace data, dist, and other generated files - Add eslint.config.js with comprehensive TypeScript ESLint rules - Add nx.json with named inputs, target defaults, and @nx/js plugin - Add project.json defining build, start, dev, lint, and test targets - Update package.json: set module type, add @eslint/js, @nx/js, @typescript-eslint/*, eslint, nx devDependencies, and nx field - Update pnpm-lock.yaml with new dependencies and lockfile entries - Ensure all new files and configurations are committed for a fully configured Nx workspace and linting environment.
…/SSHield into feat/nx-setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR transforms the SSHield project into a fully configured Nx workspace, improving project organization. The changes introduce tooling and automation with the help of nx.
Key Improvements:
commonjs) for better modern JavaScript compatibilityType of change
How Has This Been Tested?
The following commands have been verified to work correctly:
nx build- Compiles TypeScript and outputs to dist directorynx dev- Runs the application in development mode using ts-nodenx lint- Executes ESLint with the new TypeScript configurationnx start- Runs the compiled application from distIf you don't have the CLI installed then you can use test it out using
pnpm nx ...as wellScreenshots (if appropriate):
screenshot of the nx graph:
Additional context
This setup provides a solid foundation for future development and scaling of the SSHield project. The Nx workspace will enable:
Things to be implemented:
nxcommands need to be listed