Skip to content

Commit c0891b6

Browse files
authored
fix: remove scope from package name (#13)
1 parent d91bad3 commit c0891b6

File tree

5 files changed

+8
-15728
lines changed

5 files changed

+8
-15728
lines changed

.github/workflows/npm-publish.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
# Setup .npmrc file to publish to npm
1414
- uses: actions/setup-node@v3
1515
with:
16-
node-version: '16.x'
16+
node-version: '18.x'
1717
registry-url: 'https://registry.npmjs.org'
18-
- run: npm ci
19-
- run: npm run build
20-
- run: npm publish --access public
18+
- run: pnpm i --no-frozen-lockfile
19+
- run: pnpm build
20+
- run: pnpm publish --no-git-checks --access public
2121
env:
2222
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ jobs:
1010
- uses: google-github-actions/release-please-action@v3
1111
with:
1212
release-type: node
13-
package-name: '@sit/sci-rest-client'
13+
package-name: 'sci-rest-client'

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ Furthermore the package offers methods to create and update artifacts based on a
2727
#### Install the package
2828

2929
```bash
30-
npm install @sit/sci-rest-client
30+
npm install sci-rest-client
3131
```
3232

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

3535
```js
36-
import SCIRestClient from '@sit/sci-rest-client';
36+
import SCIRestClient from 'sci-rest-client';
3737

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

0 commit comments

Comments
 (0)