-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: 修复publish命令下的Git、以及新增cloudBuild package
- Loading branch information
Showing
4 changed files
with
85 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# `cloudBuild` | ||
|
||
> TODO: description | ||
## Usage | ||
|
||
``` | ||
const cloudbuild = require('cloudBuild'); | ||
// TODO: DEMONSTRATE API | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// 云构建 | ||
|
||
class CloudBuild { | ||
// TODO | ||
} | ||
|
||
// or http://127.0.0.1:7001/chat | ||
const socket = require('socket.io-client')('http://127.0.0.1:7001'); | ||
|
||
socket.on('connect', () => { | ||
console.log('connect!'); | ||
socket.emit('chat', 'hello world!'); | ||
}); | ||
|
||
socket.on('res', msg => { | ||
console.log('res from server: %s!', msg); | ||
}); | ||
|
||
module.exports = CloudBuild; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"name": "@ak-clown/cloudbuild", | ||
"version": "1.0.0", | ||
"description": "> TODO: description", | ||
"author": "AKclown <[email protected]>", | ||
"homepage": "https://github.com/AKclown/ak-cli#readme", | ||
"license": "ISC", | ||
"main": "lib/index.js", | ||
"directories": { | ||
"lib": "lib" | ||
}, | ||
"files": [ | ||
"lib" | ||
], | ||
"publishConfig": { | ||
"registry": "https://registry.npm.taobao.org" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/AKclown/ak-cli.git" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: run tests from root\" && exit 1" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/AKclown/ak-cli/issues" | ||
}, | ||
"dependencies": { | ||
"socket.io-client": "^2.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters