ADORSYS-GIS / wallet-vc-libs

2 stars 0 forks source link

added npm workspaces structure #6

Closed hugoib closed 1 month ago

hugoib commented 1 month ago

Added Monorepo structure using npm workspaces:

Single repository: All your packages live in a single Git repository. Independent versioning: Each package/library can have its own version, especially if they're published at different times.

Closes https://github.com/ADORSYS-GIS/wallet-vc-libs/issues/4

hugoib commented 1 month ago

Benefits of Hoisting in npm Workspaces: Disk Space Efficiency By hoisting common dependencies, npm workspaces optimize disk space usage, as there’s only one copy of a dependency shared among multiple packages. Faster Installations Hoisting reduces the time it takes to install dependencies, as npm can avoid redundant installations and copy operations. Consistent Dependency Versions: Hoisting ensures that all packages within the workspace use the same version of a dependency, avoiding version conflicts.