-
Notifications
You must be signed in to change notification settings - Fork 468
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
) This change updates the commit hook and ensures that node_modules is not processed by nx or eslint. Related to #29406 (developer builds fail on yarn install when run mul). We could have the maven command also run the yarn install and even the lint and format to keep it totally consistent, but pulling out these subsequent steps makes these node commands more visible in the developer's console ### Testing To test the commit hook without creating a commit you can modify the exit code to ensure it always returns a non-zero code, also you can create a test commit and then revert it with "git reset HEAD~1". or "git reset --hard HEAD~1" if you do not want to keep any of the changes in the test commit. Make sure you do not push with these changes This change may run slower the first time if maven or yarn install has not already been run to download the dependencies the first time.
- Loading branch information
Showing
6 changed files
with
73 additions
and
28 deletions.
There are no files selected for viewing
This file contains 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,2 +1,2 @@ | ||
node_modules | ||
**/*.md | ||
**/*.md | ||
/**/node_modules/* |
This file contains 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
This file contains 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,2 +1,3 @@ | ||
.nx | ||
dist | ||
dist | ||
node_modules |
This file contains 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 |
---|---|---|
|
@@ -166,5 +166,6 @@ | |
} | ||
} | ||
], | ||
"defaultBase": "master" | ||
"defaultBase": "master", | ||
"ignorePatterns": ["**/node_modules"] | ||
} |
This file contains 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
This file contains 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