Commit 465c4b72 authored by pospi's avatar pospi
Browse files

update publish commands to publish mock client as well

parent d678b893
......@@ -144,7 +144,7 @@ The `buildSchema` helper defined in the module root manages all the logic for ma
### Publishing to NPM
- You will need to be given access to the [VF NPM org]( in order to update the module on the registry. You can request access in
- Bump the version in `lib/package.json` & commit to the repository
- Bump the versions in `lib/package.json` and `mock-client/package.json` & commit to the repository
- Update `` with the new version ID and list of changes, and commit
- Run `npm run publish` from this directory
- Tag the current release in git and push the tag to `origin`
......@@ -7,7 +7,9 @@
"scripts": {
"preinstall": "npx only-allow pnpm",
"build": "cd lib && npm run build",
"publish": "cd lib && npm publish --access public",
"publish": "npm run publish:lib && npm run publish:mock-client",
"publish:lib": "cd lib && npm publish --access public",
"publish:mock-client": "cd mock-client && npm publish --access public",
"start": "npm-run-all --parallel dev:schema dev:demoUI",
"test": "cd tests && npm run test",
"dev:schema": "cd lib && npm run dev",
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment