8000 update package name · github1/meshage@72dc137 · GitHub
[go: up one dir, main page]

Skip to content < 8000 span style="width: 0%;" data-view-component="true" class="Progress-item progress-pjax-loader-bar left-0 top-0 color-bg-accent-emphasis">

Commit 72dc137

Browse files
github1github1
authored andcommitted
update package name
1 parent b5ab1d3 commit 72dc137

File tree

3 files changed

+10
-49
lines changed

3 files changed

+10
-49
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ A simple service mesh. Messages sent within the service mesh can be consistently
99
## Install
1010

1111
```shell
12-
npm install meshage --save
12+
npm install @github1/meshage --save
1313
```
1414

1515
## Usage
1616

1717
Initialize a node:
1818

1919
```javascript
20-
const meshage = require('meshage');
20+
const meshage = require('@github1/meshage');
2121
meshage
2222
.init(
2323
// Initialize the cluster to join (Grapevine or Consul)

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
"author": "",
1010
"license": "MIT",
1111
"dependencies": {
12-
"meshage": "*"
12+
"@github1/meshage": "*"
1313
}
1414
}

package.json

Lines changed: 7 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,17 @@
11
{
2-
"name": "@github1/meshage",
3-
"version": "0.3.3",
4-
"description": "A simple peer-to-peer service mesh for HTTP based message handlers. Messages sent within the service mesh are consistently partitioned across members of the cluster.",
5-
"main": "./dist/src/index.js",
6-
"types": "./dist/src/index.d.ts",
2+
"name": "meshage-example",
3+
"version": "0.3.4",
4+
"description": "",
5+
"main": "index.js",
76
"scripts": {
8-
"clean": "rimraf coverage dist tmp",
9-
"watch": "tsc -w -p tsconfig.release.json",
10-
"lint": "tslint -t stylish --exclude & 8000 #39;**/*.js' --project 'tsconfig.json'",
11-
"prepublishOnly": "./prepare.sh && npm run build",
12-
"pretest": "npm run lint",
13-
"test": "jest --runInBand --coverage",
14-
"test:watch": "jest --watch --runInBand",
15-
"build": "npm run -s clean && npm run -s lint && tsc -p tsconfig.release.json",
16-
"build:only": "npm run -s clean && tsc -p tsconfig.release.json"
7+
"test": "echo \"Error: no test specified\" && exit 1"
178
},
189
"author": "John Collier <john.collier4@gmail.com>",
1910
"license": "MIT",
2011
"dependencies": {
21-
"@github1/grapevine": "^1.0.6",
22-
"body-parser": "^1.17.2",
23-
"consul": "^0.33.1",
24-
"debug": "^3.0.1",
25-
"dnode": "^1.2.2",
26-
"express": "^4.15.4",
27-
"express-http-proxy": "^1.0.6",
28-
"hashring": "^3.2.0",
29-
"portfinder": "^1.0.20",
30-
"superagent": "^3.8.3",
31-
"superagent-debugger": "^1.2.9",
32-
"tslib": "1.9.3",
33-
"uuid": "^3.2.1"
34-
},
35-
"devDependencies": {
36-
"@types/body-parser": "^1.16.5",
37-
"@types/consul": "^0.23.32",
38-
"@types/debug": "0.0.30",
39-
"@types/express": "^4.0.37",
40-
"@types/get-port": "4.0.1",
41-
"@types/node": "^8.0.26",
42-
"@types/superagent": "^3.8.1",
43-
"@types/uuid": "^3.4.3",
44-
"jest": "23.6.0",
45-
"rimraf": "^2.6.1",
46-
"ts-jest": "^23.10.5",
47-
"tslint": "^5.12.1",
48-
"tslint-microsoft-contrib": "^6.0.0",
49-
"typescript": "3.3.3"
50-
},
51-
"publishConfig": {
52-
"access": &qu 581B ot;public"
12+
"@github1/meshage": "*"
5313
},
14+
"devDependencies": [],
5415
"repository": {
5516
"type": "git",
5617
"url": "https://github.com/github1/meshage"

0 commit comments

Comments
 (0)
0