Skip to content

Commit

Permalink
Fix issue with release script in readme (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomglenn committed Jan 24, 2023
1 parent a99b784 commit acea19d
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 14 deletions.
8 changes: 5 additions & 3 deletions package-lock.json

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

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,5 @@
"packages/nakama-js",
"packages/nakama-js-protobuf",
"packages/satori-js"
],
"dependencies": {
"@scarf/scarf": "^1.1.1"
}
]
}
5 changes: 4 additions & 1 deletion packages/nakama-js-protobuf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@
"Andrei Mihu <[email protected]>",
"Mo Firouz <[email protected]>"
],
"license": "Apache-2.0"
"license": "Apache-2.0",
"dependencies": {
"@scarf/scarf": "^1.1.1"
}
}
2 changes: 1 addition & 1 deletion packages/nakama-js-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"private": true,
"license": "Apache-2.0",
"dependencies": {
"@heroiclabs/nakama-js": "2.5.1",
"@heroiclabs/nakama-js": "2.5.2",
"@heroiclabs/nakama-js-protobuf": "1.2.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/nakama-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ $GOPATH/src/github.com/heroiclabs/nakama-common/api/api.proto
To release onto NPM if you have access to the "@heroiclabs" organization you can use NPM.

```shell
npm run build --workspace=<workspace> && npm public --access=public --workspace=<workspace>
npm run build --workspace=<workspace> && npm publish --access=public --workspace=<workspace>
```

### Generate Docs
Expand Down
3 changes: 2 additions & 1 deletion packages/nakama-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heroiclabs/nakama-js",
"version": "2.5.1",
"version": "2.5.2",
"scripts": {
"build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
},
Expand Down Expand Up @@ -33,6 +33,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@scarf/scarf": "^1.1.1",
"base64-arraybuffer": "^1.0.2",
"js-base64": "^3.7.4",
"whatwg-fetch": "^3.6.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/satori-js-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"private": true,
"license": "Apache-2.0",
"dependencies": {
"@heroiclabs/satori-js": "2.5.1"
"@heroiclabs/satori-js": "2.5.2"
},
"scripts": {
"test": "npx typescript --project tsconfig.test.json && jest --runInBand"
Expand Down
2 changes: 1 addition & 1 deletion packages/satori-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ npm run test --workspace=@heroiclabs/satori-js-test
To release onto NPM if you have access to the "@heroiclabs" organization you can use NPM.

```shell
npm run build --workspace=<workspace> && npm public --access=public --workspace=<workspace>
npm run build --workspace=<workspace> && npm publish --access=public --workspace=<workspace>
```

### Generate Docs
Expand Down
3 changes: 2 additions & 1 deletion packages/satori-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heroiclabs/satori-js",
"version": "2.5.1",
"version": "2.5.2",
"scripts": {
"build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs",
"docs": "typedoc index.ts --gaID UA-89839802-1 --out ../../docs"
Expand Down Expand Up @@ -39,6 +39,7 @@
"tslib": "^2.4.1"
},
"dependencies": {
"@scarf/scarf": "^1.1.1",
"base64-arraybuffer": "^1.0.2",
"js-base64": "^3.7.4",
"whatwg-fetch": "^3.6.2"
Expand Down

0 comments on commit acea19d

Please sign in to comment.