Skip to content

Commit

Permalink
modify readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Joan Beltran committed Mar 1, 2024
1 parent efafbdb commit 74f16c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

## Dependency Installation and Updates
We use NPM to handle the blocks and script dependencies.

Each package has a script `install.js` automatically injected in the release of the package process.

When the package is installed in a project, using `npm i @netcentric/eddys-<module-name>`, or the dependencies are upgraded using `npm upgrade`, this script is executed in the `postinstall` scripts.

The `install.js` script copies all what is in the package `/libs` folder and searches in our Edge delivery project for a `/libs` folder, if it doesn't exist it creates it and includes all the content copied from the package, if it does exist it includes the content, it updates it if it was already there.

The project packages can be controlled through the project `package.json` file, and the project `/libs` folder can be upgraded just using `npm upgrade` command.

0 comments on commit 74f16c4

Please sign in to comment.