Skip to content

Commit

Permalink
3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
penpenpng committed Jul 10, 2024
1 parent ee863ac commit 11bf27f
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
# Vuepress's deps is broken. Planning to move to vitepress.

# # Build
# - uses: actions/checkout@v3
- uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: ${{ vars.NODE_VERSION }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
- run: npm run lint
- run: npm run test
- run: npm run build
- run: npx -y can-npm-publish && npm publish
- name: publish rx-nostr
run: npx -y can-npm-publish packages/core && npm publish -w packages/core
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
- name: publish rx-nostr-crypto
run: npx -y can-npm-publish packages/crypto && npm publish -w packages/crypto
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rx-nostr",
"version": "2.7.3",
"version": "3.0.0",
"description": "A library based on RxJS, which allows Nostr applications to easily communicate with relays.",
"author": "penpenpng",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# @rx-nostr/crypto
# rx-nostr-crypto
2 changes: 1 addition & 1 deletion packages/crypto/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@rx-nostr/crypto",
"name": "rx-nostr-crypto",
"version": "3.0.0",
"author": "penpenpng",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import dts from "vite-plugin-dts";
export default defineConfig({
build: {
lib: {
name: "@rx-nostr/crypto",
name: "rx-nostr-crypto",
fileName: (format) => `index.${format}.js`,
entry: path.resolve(__dirname, "src/index.ts"),
formats: ["es", "cjs", "umd"],
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@rx-nostr/docs",
"name": "rx-nostr-docs",
"private": true,
"scripts": {
"dev": "vuepress dev .",
Expand Down

0 comments on commit 11bf27f

Please sign in to comment.