Skip to content

Commit

Permalink
fix: remove scope from package name (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelschork committed Mar 13, 2023
1 parent d91bad3 commit c0891b6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 15,728 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- run: npm publish --access public
- run: pnpm i --no-frozen-lockfile
- run: pnpm build
- run: pnpm publish --no-git-checks --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ jobs:
- uses: google-github-actions/release-please-action@v3
with:
release-type: node
package-name: '@sit/sci-rest-client'
package-name: 'sci-rest-client'
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ Furthermore the package offers methods to create and update artifacts based on a
#### Install the package

```bash
npm install @sit/sci-rest-client
npm install sci-rest-client
```

#### Import the package like follows and initialize the client (ESM)

```js
import SCIRestClient from '@sit/sci-rest-client';
import SCIRestClient from 'sci-rest-client';

const SCIRestClient = new SCIRestClient({
apiEndpoint: '<apiEndpoint>', // e.g. https://sandbox.api.sap.com/cpi/api/v1
Expand Down
Loading

0 comments on commit c0891b6

Please sign in to comment.