File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -44,4 +44,17 @@ pnpm dev
4444
4545``` sh
4646pnpm up --interactive --latest -r
47+ ```
48+
49+ ## Publishing
50+
51+ ``` sh
52+ # publish hypergraph
53+ pnpm build
54+ cd packages/hypergraph/publish
55+ pnpm publish
56+ # publish hypergraph-react
57+ pnpm build
58+ cd packages/hypergraph-react/publish
59+ pnpm publish
4760```
Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ if (Fs.existsSync(`${pkg}/LICENSE`)) {
1919
2020// TODO: Generate this a bit smarter.
2121const pkgJson = JSON . parse ( Fs . readFileSync ( `${ pkg } /package.json` , 'utf-8' ) ) ;
22+ const peerDependencies = pkgJson . peerDependencies ;
23+ if ( peerDependencies [ '@graphprotocol/hypergraph' ] ) {
24+ peerDependencies [ '@graphprotocol/hypergraph' ] = '*' ;
25+ }
2226const publishPkgJson = {
2327 name : pkgJson . name ,
2428 version : pkgJson . version ,
You can’t perform that action at this time.
0 commit comments