Skip to content

Commit

Permalink
fix: fix deploy scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
patdx committed Nov 20, 2023
1 parent 6fe64a6 commit a24642b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

This is a tool to subscribe to a Zustand store as an RxJS observable.

This is the workspace readme. For more info about `zustand-rx` please go to the
[package readme](./libs/zustand-rx/README.md).
This is the workspace readme. For more info about `zustand-rx` please see:

- [package readme](./libs/zustand-rx/README.md).
- [zustand-rx changelog](https://github.com/patdx/zustand-rx/blob/main/libs/zustand-rx/CHANGELOG.md)

# Commits

Expand All @@ -14,9 +16,9 @@ Run `pnpm cz` to help prepare a commit message.
Use the following command to tag a new version.

```
nx run workspace:version --post-targets zustand-rx:deploy --release-as=premajor --preid=beta --dry-run
nx run workspace:version --post-targets zustand-rx:deploy --release-as=major --dry-run
nx run workspace:version --post-targets zustand-rx:deploy --release-as=prerelease --preid=beta --dry-run
nx run workspace:version --release-as=premajor --preid=beta --dry-run
nx run workspace:version --release-as=major --dry-run
nx run workspace:version --release-as=prerelease --preid=beta --dry-run
```

- https://github.com/jscutlery/semver
Expand Down
2 changes: 1 addition & 1 deletion libs/zustand-rx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"homepage": "https://github.com/patdx/zustand-rx/tree/main/libs/zustand-rx#readme",
"repository": {
"type": "git",
"url": "https://github.com/patdx/zustand-rx.git",
"url": "git+https://github.com/patdx/zustand-rx.git",
"directory": "libs/zustand-rx"
},
"type": "module",
Expand Down
3 changes: 2 additions & 1 deletion libs/zustand-rx/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
"deploy": {
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
"access": "public",
"distFolderPath": "dist/libs/zustand-rx"
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"version": {
"executor": "@jscutlery/semver:version",
"options": {
"syncVersions": true
"syncVersions": true,
"postTargets": ["zustand-rx:deploy"]
}
}
}
Expand Down

1 comment on commit a24642b

@vercel
Copy link

@vercel vercel bot commented on a24642b Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

zustand-rx – ./

zustand-rx.vercel.app
zustand-rx-patdx.vercel.app
zustand-rx-git-main-patdx.vercel.app

Please sign in to comment.