Skip to content

Commit

Permalink
fix: [DX-3092] Use rollup build instead of swc d for watch mode (#2085)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidarain1 authored Aug 9, 2024
1 parent 50b953c commit dab5b30
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
"project": "./tsconfig.base.json",
"tsconfigRootDir": "."
},
"rules": {
Expand Down
2 changes: 1 addition & 1 deletion build-dependents.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ try {

if (isDependent || changedProject === currentProject) {
// Rebuild the current project
const command = `nx run-many --target=d --projects=${currentProject} --parallel=5`;
const command = `nx run-many --target=build --projects=${currentProject} --parallel=5`;

console.log(`Running command: ${command}`);
execSync(command, { stdio: 'inherit' });
Expand Down
2 changes: 1 addition & 1 deletion dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ fi

# Run nx commands with the selected or provided package name
echo "Running commands for package: $PACKAGE_NAME"
nx run $PACKAGE_NAME:d --parallel=5
nx run $PACKAGE_NAME:build --parallel=5
nx watch --all -- node ./build-dependents.js \$NX_PROJECT_NAME $(echo $PACKAGE_NAME)
1 change: 1 addition & 0 deletions examples/passport/identity-with-nextjs/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"root": true,
"extends": "next/core-web-vitals"
}
1 change: 1 addition & 0 deletions examples/passport/next-connect-kit/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"root": true,
"extends": "next/core-web-vitals"
}
1 change: 1 addition & 0 deletions examples/passport/next-rainbow-kit/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"root": true,
"extends": "next/core-web-vitals"
}
1 change: 1 addition & 0 deletions examples/passport/next-wagmi/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"root": true,
"extends": "next/core-web-vitals"
}
1 change: 1 addition & 0 deletions examples/passport/next-web3-modal/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"root": true,
"extends": "next/core-web-vitals"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"root": true,
"extends": ["next/core-web-vitals", "next"]
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"root": true,
"extends": ["next/core-web-vitals", "next"]
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"root": true,
"extends": "next/core-web-vitals"
}

0 comments on commit dab5b30

Please sign in to comment.