Skip to content

Commit 93d219f

Browse files
committed
chore(package): publish to NPM for public access
1 parent c825303 commit 93d219f

File tree

3 files changed

+4
-14
lines changed

3 files changed

+4
-14
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ jobs:
1616
# scope: '@rollbar'
1717
- run: npm install
1818
- run: npm run build
19-
- run: npm publish
19+
- run: npm publish --access public
2020
env:
2121
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,6 @@ After following those 2 steps, you will be ready.
3939

4040
### Install Rollbar React SDK
4141

42-
We are hosting our `@rollbar` scoped packages in Github Packages. In order to use this you will need to follow the
43-
instructions for [Installing a Package from Github Packages][1]
44-
45-
In the same directory as your `package.json` file, add a `.npmrc` file with the following:
46-
47-
```
48-
@rollbar:registry=https://npm.pkg.github.com
49-
//npm.pkg.github.com/:_authToken="PUBLIC_ACCESS_TOKEN"
50-
```
51-
5242
To install with `npm`:
5343

5444
```shell
@@ -61,13 +51,13 @@ To install with `yarn`:
6151
yarn add @rollbar/react
6252
```
6353

64-
To install by adding to `package.json` (as suggested by [Github Packages docs][1]), add the following to your project's
54+
To install by adding to `package.json`, add the following to your project's
6555
`package.json` file:
6656

6757
```json
6858
6959
"dependencies": {
70-
"@rollbar/react": "^0.7.0",
60+
"@rollbar/react": "^0.8.0",
7161
7262
}
7363

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rollbar/react",
3-
"version": "0.7.2",
3+
"version": "0.8.0",
44
"description": "React features to enhance using Rollbar.js in React Applications",
55
"main": "lib",
66
"module": "dist",

0 commit comments

Comments
 (0)