diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 5997032..444484d 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -16,6 +16,6 @@ jobs: # scope: '@rollbar' - run: npm install - run: npm run build - - run: npm publish + - run: npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/README.md b/README.md index ddbe118..61f8fbe 100644 --- a/README.md +++ b/README.md @@ -39,16 +39,6 @@ After following those 2 steps, you will be ready. ### Install Rollbar React SDK -We are hosting our `@rollbar` scoped packages in Github Packages. In order to use this you will need to follow the -instructions for [Installing a Package from Github Packages][1] - -In the same directory as your `package.json` file, add a `.npmrc` file with the following: - -``` -@rollbar:registry=https://npm.pkg.github.com -//npm.pkg.github.com/:_authToken="PUBLIC_ACCESS_TOKEN" -``` - To install with `npm`: ```shell @@ -61,13 +51,13 @@ To install with `yarn`: yarn add @rollbar/react ``` -To install by adding to `package.json` (as suggested by [Github Packages docs][1]), add the following to your project's +To install by adding to `package.json`, add the following to your project's `package.json` file: ```json … "dependencies": { - "@rollbar/react": "^0.7.0", + "@rollbar/react": "^0.8.0", … } … diff --git a/package.json b/package.json index b8ec04f..32e3d56 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rollbar/react", - "version": "0.7.2", + "version": "0.8.0", "description": "React features to enhance using Rollbar.js in React Applications", "main": "lib", "module": "dist",