Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Commit 609e149

Browse files
committed
Use hash for expanding.
1 parent 35a236a commit 609e149

File tree

9 files changed

+6876
-14332
lines changed

9 files changed

+6876
-14332
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,27 @@ yarn version --preminor
4343

4444
yarn version --premajor
4545
```
46+
47+
## Publishing a new version
48+
49+
Local package development:
50+
51+
In order to install this package locally (while developing) in the same way as publishing,
52+
we can package it and install in webportal:
53+
54+
```
55+
npm run build
56+
npm pack
57+
```
58+
59+
This will create a ecmwf-projects-cads-blocks-...-.tgz. Add to the dependencies of cads-webportal:
60+
61+
Something like this:
62+
63+
```
64+
"dependencies": {
65+
"@ecmwf-projects/cads-blocks-library": "file:/path/to/cads-blocks-library/ecmwf-projects-cads-blocks-library-3.0.5.tgz",
66+
}
67+
```
68+
69+
Issue yarn install.

0 commit comments

Comments
 (0)