-
Notifications
You must be signed in to change notification settings - Fork 302
Upgraded NX from version 16.8.1 to 21.3.11 #1017
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
110b020
Upgrade to NX 21
candidosales 2a3d86f
fix: format JSON settings and package files for consistency
candidosales 2e397eb
fix: standardize formatting in nx.json for improved readability
candidosales a8e5fea
Upgrade NX 21.3.11
candidosales 5d47181
feat: upgrade NX from version 16.8.1 to 21.3.11
candidosales deb0f0c
upgrade @nx/workspace
candidosales 2c1978e
fix: update linting scripts to use npx for consistency across packages
candidosales 92b7831
Merge branch 'main' into upgrade-nx
candidosales 2edc58e
Implement feature X to enhance user experience and optimize performance
candidosales 342c36c
Merge branch 'main' into upgrade-nx
candidosales File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,3 +67,6 @@ scripts/*.csv | |
# docker | ||
docker-compose.prod.yml | ||
.volumes | ||
|
||
# NX | ||
.nx/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,42 @@ | ||
{ | ||
"affected": { | ||
"defaultBase": "main" | ||
}, | ||
"workspaceLayout": { | ||
"appsDir": "packages", | ||
"libsDir": "packages" | ||
}, | ||
"targetDefaults": { | ||
"build": { | ||
"dependsOn": ["^build"] | ||
"affected": { | ||
"defaultBase": "main" | ||
}, | ||
"workspaceLayout": { | ||
"appsDir": "packages", | ||
"libsDir": "packages" | ||
}, | ||
"targetDefaults": { | ||
"build": { | ||
"dependsOn": [ | ||
"^build" | ||
] | ||
} | ||
}, | ||
"tasksRunnerOptions": { | ||
"default": { | ||
"runner": "nx/tasks-runners/default", | ||
"options": { | ||
"cacheableOperations": [ | ||
"build", | ||
"lint", | ||
"test" | ||
] | ||
} | ||
} | ||
}, | ||
"namedInputs": { | ||
"default": [ | ||
"{projectRoot}/**/*", | ||
"sharedGlobals" | ||
], | ||
"production": [ | ||
"default", | ||
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)", | ||
"!{projectRoot}/tsconfig.spec.json", | ||
"!{projectRoot}/jest.config.[jt]s", | ||
"!{projectRoot}/.eslintrc.json" | ||
], | ||
"sharedGlobals": [] | ||
} | ||
}, | ||
"tasksRunnerOptions": { | ||
"default": { | ||
"runner": "nx/tasks-runners/default", | ||
"options": { | ||
"cacheableOperations": ["build", "lint", "test"] | ||
} | ||
} | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,57 @@ | ||
{ | ||
"name": "hyperdx", | ||
"private": true, | ||
"version": "2.0.0", | ||
"license": "MIT", | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
"devDependencies": { | ||
"@changesets/cli": "^2.26.2", | ||
"@nx/workspace": "16.8.1", | ||
"@typescript-eslint/eslint-plugin": "^8.7.0", | ||
"@typescript-eslint/parser": "^8.7.0", | ||
"concurrently": "^9.1.2", | ||
"dotenv": "^16.4.7", | ||
"dotenv-cli": "^8.0.0", | ||
"dotenv-expand": "^12.0.1", | ||
"eslint": "^8.57.0", | ||
"eslint-config-next": "13", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-n": "^16.4.0", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
"eslint-plugin-security": "^2.1.0", | ||
"eslint-plugin-simple-import-sort": "^12.1.1", | ||
"husky": "^8.0.3", | ||
"lint-staged": "^13.1.2", | ||
"nx": "16.8.1", | ||
"prettier": "3.3.3" | ||
}, | ||
"scripts": { | ||
"setup": "yarn install && husky install", | ||
"app:dev": "npx concurrently -k -n 'API,APP,ALERTS-TASK,COMMON-UTILS' -c 'green.bold,blue.bold,yellow.bold,magenta' 'nx run @hyperdx/api:dev' 'nx run @hyperdx/app:dev' 'nx run @hyperdx/api:dev-task check-alerts' 'nx run @hyperdx/common-utils:dev'", | ||
"app:dev:local": "npx concurrently -k -n 'APP,COMMON-UTILS' -c 'blue.bold,magenta' 'nx run @hyperdx/app:dev:local' 'nx run @hyperdx/common-utils:dev'", | ||
"app:lint": "nx run @hyperdx/app:ci:lint", | ||
"dev": "docker compose -f docker-compose.dev.yml up -d && yarn app:dev && docker compose -f docker-compose.dev.yml down", | ||
"dev:local": "IS_LOCAL_APP_MODE='DANGEROUSLY_is_local_app_mode💀' yarn dev", | ||
"dev:down": "docker compose -f docker-compose.dev.yml down", | ||
"dev:compose": "docker compose -f docker-compose.dev.yml", | ||
"lint": "npx nx run-many -t ci:lint", | ||
"version": "make version", | ||
"release": "npx changeset tag && npx changeset publish" | ||
}, | ||
"lint-staged": { | ||
"**/*.{ts,tsx}": [ | ||
"prettier --write --ignore-unknown", | ||
"eslint --fix --quiet" | ||
"name": "hyperdx", | ||
candidosales marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"private": true, | ||
"version": "2.0.0", | ||
"license": "MIT", | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
"**/*.{mdx,json,yml}": [ | ||
"prettier --write --ignore-unknown" | ||
] | ||
}, | ||
"packageManager": "yarn@4.5.1", | ||
"resolutions": { | ||
"@types/react": "18.3.1", | ||
"@types/react-dom": "18.3.1" | ||
} | ||
} | ||
"devDependencies": { | ||
"@changesets/cli": "^2.26.2", | ||
"@nx/workspace": "21.0.0", | ||
"@typescript-eslint/eslint-plugin": "^8.7.0", | ||
"@typescript-eslint/parser": "^8.7.0", | ||
"concurrently": "^9.1.2", | ||
"dotenv": "^16.4.7", | ||
"dotenv-cli": "^8.0.0", | ||
"dotenv-expand": "^12.0.1", | ||
"eslint": "^8.57.0", | ||
"eslint-config-next": "13", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-n": "^16.4.0", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
"eslint-plugin-security": "^2.1.0", | ||
"eslint-plugin-simple-import-sort": "^12.1.1", | ||
"husky": "^8.0.3", | ||
"lint-staged": "^13.1.2", | ||
"nx": "21.0.0", | ||
"prettier": "3.3.3" | ||
}, | ||
"scripts": { | ||
"setup": "yarn install && husky install", | ||
"app:dev": "npx concurrently -k -n 'API,APP,ALERTS-TASK,COMMON-UTILS' -c 'green.bold,blue.bold,yellow.bold,magenta' 'nx run @hyperdx/api:dev' 'nx run @hyperdx/app:dev' 'nx run @hyperdx/api:dev-task check-alerts' 'nx run @hyperdx/common-utils:dev'", | ||
"app:dev:local": "npx concurrently -k -n 'APP,COMMON-UTILS' -c 'blue.bold,magenta' 'nx run @hyperdx/app:dev:local' 'nx run @hyperdx/common-utils:dev'", | ||
"app:lint": "nx run @hyperdx/app:ci:lint", | ||
"dev": "docker compose -f docker-compose.dev.yml up -d && yarn app:dev && docker compose -f docker-compose.dev.yml down", | ||
"dev:local": "IS_LOCAL_APP_MODE='DANGEROUSLY_is_local_app_mode💀' yarn dev", | ||
"dev:down": "docker compose -f docker-compose.dev.yml down", | ||
"dev:compose": "docker compose -f docker-compose.dev.yml", | ||
"lint": "npx nx run-many -t ci:lint", | ||
"version": "make version", | ||
"release": "npx changeset tag && npx changeset publish" | ||
}, | ||
"lint-staged": { | ||
"**/*.{ts,tsx}": [ | ||
"prettier --write --ignore-unknown", | ||
"eslint --fix --quiet" | ||
], | ||
"**/*.{mdx,json,yml}": [ | ||
"prettier --write --ignore-unknown" | ||
] | ||
}, | ||
"packageManager": "yarn@4.5.1", | ||
"resolutions": { | ||
"@types/react": "18.3.1", | ||
"@types/react-dom": "18.3.1" | ||
} | ||
} |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.