Skip to content

Commit 834ff3c

Browse files
author
Gabriel P.
committed
feat: rename package name
1 parent f149420 commit 834ff3c

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
# ph-node-api
1+
# @planethoster-oss/api
22

33
[![CI](https://github.com/PlanetHoster/ph-node-api/actions/workflows/ci.yml/badge.svg)](https://github.com/PlanetHoster/ph-node-api/actions/workflows/ci.yml)
44

5-
[![NPM](https://nodei.co/npm/ph-node-api.png)](https://nodei.co/npm/ph-node-api/)
5+
[![NPM](https://nodei.co/npm/@planethoster-oss/api.png)](https://nodei.co/npm/@planethoster-oss/api/)
66

77
NodeJS PlanetHoster API integration.
88

99
Please refer to the documentation of the [PlanetHoster API](https://apidoc.planethoster.com/) for all endpoints details.
1010

1111
## Installation
1212
```
13-
npm install ph-node-api
13+
npm install @planethoster-oss/api
1414
```
1515

1616
## Usage
1717
```javascript
18-
const PhNodeApi = require('ph-node-api');
18+
const PhNodeApi = require('@planethoster-oss/api');
1919

2020
async function testConnection(api) {
2121
try {

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
{
2-
"name": "ph-node-api",
3-
"version": "1.0.6",
2+
"name": "@planethoster-oss/api",
3+
"version": "1.1.0",
44
"description": "NodeJS PlanetHoster api integration",
5-
"repository": "git@github.com:PlanetHoster/api-node.git",
6-
"author": "Marc-Andre G. <marc-andre.godin@planethoster.info>",
5+
"repository": "https://github.com/PlanetHoster/ph-node-api.git",
76
"license": "MIT",
87
"private": false,
98
"main": "./build/main.js",
9+
"publishConfig": {
10+
"access": "public"
11+
},
1012
"typings": "./build/main.d.ts",
1113
"files": [
1214
"build/**/**/*"

0 commit comments

Comments
 (0)