Update readme, bump packages

This commit is contained in:
Jon Staab
2024-10-29 12:57:12 -07:00
parent 5babdd8143
commit 5bb5e3342b
7 changed files with 27 additions and 17 deletions
+10
View File
@@ -10,3 +10,13 @@ This is a monorepo which is split into several different packages:
- [@welshman/content](./packages/content) - utilities for parsing and rendering notes.
- [@welshman/feeds](./packages/feeds) - an interpreter for custom nostr feeds.
- [@welshman/dvm](./packages/dvm) - utilities for creating and making request against dvms.
# Linking
If you're developing an application which requires changes to welshman, you'll need to use `npm link` to link the two. This is an annoying process, and is only supported if using `npm`.
- Clone welshman and the repository that depends on it
- Within each `package` directory in welshman, run `npm link`
- Within your application directory, link all welshman dependencies _simultaneously_ (or else only one will get linked. A command that does this is: `rm -rf node_modules; npm i; cat package.json|js '.depedencies|keys[]'|grep welshman|xargs npm link`.
If you run `npm install` in your application directory, you'll need to repeat the final step above.
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
for package in $(./get_packages.py); do
for package in $(./get_packages.py|sort); do
version=$(sed -nr 's/ +"version": "(.+)",/\1/p' packages/$package/package.json)
echo '"@welshman/'$package'": "~'$version'",'
+9 -9
View File
@@ -3635,14 +3635,14 @@
},
"packages/app": {
"name": "@welshman/app",
"version": "0.0.18",
"version": "0.0.19",
"license": "MIT",
"dependencies": {
"@welshman/dvm": "~0.0.10",
"@welshman/feeds": "~0.0.20",
"@welshman/lib": "~0.0.23",
"@welshman/net": "~0.0.29",
"@welshman/signer": "~0.0.9",
"@welshman/net": "~0.0.30",
"@welshman/signer": "~0.0.10",
"@welshman/store": "~0.0.11",
"@welshman/util": "~0.0.42",
"fuse.js": "^7.0.0",
@@ -3676,7 +3676,7 @@
"license": "MIT",
"dependencies": {
"@welshman/lib": "~0.0.23",
"@welshman/net": "~0.0.29",
"@welshman/net": "~0.0.30",
"@welshman/util": "~0.0.42",
"nostr-tools": "^2.7.2"
},
@@ -3688,7 +3688,7 @@
},
"packages/feeds": {
"name": "@welshman/feeds",
"version": "0.0.20",
"version": "0.0.21",
"license": "MIT",
"dependencies": {
"@welshman/lib": "~0.0.23",
@@ -3726,7 +3726,7 @@
},
"packages/net": {
"name": "@welshman/net",
"version": "0.0.29",
"version": "0.0.30",
"license": "MIT",
"dependencies": {
"@welshman/lib": "~0.0.23",
@@ -3743,11 +3743,11 @@
},
"packages/signer": {
"name": "@welshman/signer",
"version": "0.0.9",
"version": "0.0.10",
"license": "MIT",
"dependencies": {
"@welshman/lib": "~0.0.23",
"@welshman/net": "~0.0.29",
"@welshman/net": "~0.0.30",
"@welshman/util": "~0.0.42",
"nostr-tools": "^2.7.2"
},
@@ -3762,7 +3762,7 @@
},
"packages/store": {
"name": "@welshman/store",
"version": "0.0.11",
"version": "0.0.12",
"license": "MIT",
"dependencies": {
"@welshman/lib": "~0.0.23",
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@welshman/app",
"version": "0.0.19",
"version": "0.0.20",
"author": "hodlbod",
"license": "MIT",
"description": "A collection of svelte stores for use in building nostr client applications.",
@@ -34,8 +34,8 @@
"@welshman/lib": "~0.0.23",
"@welshman/feeds": "~0.0.20",
"@welshman/dvm": "~0.0.10",
"@welshman/net": "~0.0.29",
"@welshman/signer": "~0.0.9",
"@welshman/net": "~0.0.30",
"@welshman/signer": "~0.0.10",
"@welshman/store": "~0.0.11",
"@welshman/util": "~0.0.42",
"fuse.js": "^7.0.0",
+1 -1
View File
@@ -32,7 +32,7 @@
},
"dependencies": {
"@welshman/lib": "~0.0.23",
"@welshman/net": "~0.0.29",
"@welshman/net": "~0.0.30",
"@welshman/util": "~0.0.42",
"nostr-tools": "^2.7.2"
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@welshman/net",
"version": "0.0.29",
"version": "0.0.30",
"author": "hodlbod",
"license": "MIT",
"description": "Utilities for connecting with nostr relays.",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@welshman/signer",
"version": "0.0.9",
"version": "0.0.10",
"author": "hodlbod",
"license": "MIT",
"description": "A nostr signer implemenation supporting several login methods.",
@@ -32,7 +32,7 @@
},
"dependencies": {
"@welshman/lib": "~0.0.23",
"@welshman/net": "~0.0.29",
"@welshman/net": "~0.0.30",
"@welshman/util": "~0.0.42",
"nostr-tools": "^2.7.2"
},