forked from keycloak/keycloak
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KEYCLOAK-5127: Exclude node_modules from git (keycloak#4334)
* KEYCLOAK-5127: Exclude node_modules from git * Add readme file.
- Loading branch information
Showing
539 changed files
with
72 additions
and
131,697 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 |
---|---|---|
|
@@ -49,3 +49,7 @@ target | |
# Maven shade | ||
############# | ||
*dependency-reduced-pom.xml | ||
|
||
# nodejs # | ||
########## | ||
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
24 changes: 24 additions & 0 deletions
24
themes/src/main/resources/theme/keycloak/common/resources/README.md
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Management of javascript libraries | ||
=================================================== | ||
|
||
Javascript libraries under the *./lib* directory are not managed. These | ||
libraries are not available in the public npm repo and are thus checked into | ||
GitHub. | ||
|
||
Javascript libraries under *./node_modules* directory are managed with yarn. | ||
THEY SHOULD NOT BE CHECKED INTO GITHUB! | ||
|
||
Adding or Removing javascript libraries | ||
--------------------------------------- | ||
To add/remove/update javascript libraries you should always use yarn so that | ||
the yarn.lock file will be updated. Then, just check in the modified version | ||
of package.json and yarn.lock. To do this, you should locally install | ||
nodejs/npm and yarn. | ||
|
||
Do not use *npm install --save*. If you try to update a dependency using | ||
package.json and fail to update yarn.lock, then the next build will fail. | ||
|
||
To locally install nodejs/npm and yarn, see: | ||
|
||
* [Install nodejs and npm](https://www.npmjs.com/get-npm) | ||
* [Install yarn](https://yarnpkg.com/lang/en/docs/install/) |
49 changes: 0 additions & 49 deletions
49
themes/src/main/resources/theme/keycloak/common/resources/node_modules/.yarn-integrity
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
...sources/theme/keycloak/common/resources/node_modules/angular-cookies/LICENSE.md
This file was deleted.
Oops, something went wrong.
68 changes: 0 additions & 68 deletions
68
...esources/theme/keycloak/common/resources/node_modules/angular-cookies/README.md
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.