File tree Expand file tree Collapse file tree 1 file changed +3
-36
lines changed Expand file tree Collapse file tree 1 file changed +3
-36
lines changed Original file line number Diff line number Diff line change @@ -26,47 +26,14 @@ This document provides instructions for publishing the @morphik/ui package to np
26
26
npm run build:package
27
27
```
28
28
29
- 4 . Run a dry-run to check the package contents
29
+ 4 . Pack it
30
30
31
31
``` bash
32
- npm pack --dry-run
32
+ npm pack
33
33
```
34
34
35
- 5 . Publish the package
35
+ 5 . Publish the package (or copy to clouds)
36
36
37
37
``` bash
38
38
npm publish --access public
39
39
```
40
-
41
- 6 . Create a git tag for the release
42
- ``` bash
43
- git tag v$( node -p " require('./package.json').version" )
44
- git push origin v$( node -p " require('./package.json').version" )
45
- ```
46
-
47
- ## Installing for Local Development
48
-
49
- If you want to test the package locally before publishing, you can use npm link:
50
-
51
- 1 . In the ui-component directory:
52
-
53
- ``` bash
54
- npm link
55
- ```
56
-
57
- 2 . In your project that uses the package:
58
- ``` bash
59
- npm link @morphik/ui
60
- ```
61
-
62
- Alternatively, you can install from a local directory:
63
-
64
- ``` bash
65
- npm install /path/to/morphik-core/ui-component
66
- ```
67
-
68
- Or from a GitHub repository:
69
-
70
- ``` bash
71
- npm install github:morphik-org/morphik-core#subdirectory=ui-component
72
- ```
You can’t perform that action at this time.
0 commit comments