Skip to content

Commit bc232fd

Browse files
committed
update publishing instructions
1 parent edc3ac0 commit bc232fd

File tree

1 file changed

+3
-36
lines changed

1 file changed

+3
-36
lines changed

ee/ui-component/PUBLISHING.md

Lines changed: 3 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -26,47 +26,14 @@ This document provides instructions for publishing the @morphik/ui package to np
2626
npm run build:package
2727
```
2828

29-
4. Run a dry-run to check the package contents
29+
4. Pack it
3030

3131
```bash
32-
npm pack --dry-run
32+
npm pack
3333
```
3434

35-
5. Publish the package
35+
5. Publish the package (or copy to clouds)
3636

3737
```bash
3838
npm publish --access public
3939
```
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-
```

0 commit comments

Comments
 (0)