Skip to content

Commit 3ad3821

Browse files
committed
feat: move to scope cypress #23
1 parent 84f879c commit 3ad3821

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# commit-message-install
1+
# @cypress/commit-message-install
22

33
> NPM install a package by name taken from the last commit message
44
@@ -29,7 +29,7 @@ custom installation. Then use this CLI tool to install based on the commit messa
2929
Example CI file command
3030

3131
```
32-
- npm i -g commit-message-install
32+
- npm i -g @cypress/commit-message-install
3333
- commit-message-install
3434
```
3535

@@ -108,7 +108,7 @@ steps:
108108
Extracts JSON block from the current Git message text
109109

110110
```js
111-
const {getJsonFromGit} = require('commit-message-install')
111+
const {getJsonFromGit} = require('@cypress/commit-message-install')
112112
getJsonFromGit()
113113
.then(json => {
114114
// {platform: 'win32', packages: 'foo', branch: 'test-branch'}
@@ -123,7 +123,7 @@ You can form good Json object to be included in markdown `json` block in the bod
123123
the commit message using provided function
124124

125125
```js
126-
const {getInstallJson} = require('commit-message-install')
126+
const {getInstallJson} = require('@cypress/commit-message-install')
127127
// package(s), env, platform, branch name (optional)
128128
const json = getInstallJson('foo',
129129
{foo: 42}, 'linux', 'test-branch', 'b7ccfd8')
@@ -148,7 +148,7 @@ several platforms like `win32,linux` or `linux|darwin`.
148148
After getting JSON from a commit message you can install dependencies
149149

150150
```js
151-
const {getInstallJson, npmInstall} = require('commit-message-install')
151+
const {getInstallJson, npmInstall} = require('@cypress/commit-message-install')
152152
getInstallJson()
153153
.then(npmInstall)
154154
```
@@ -196,8 +196,8 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
196196
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
197197
OTHER DEALINGS IN THE SOFTWARE.
198198

199-
[npm-icon]: https://nodei.co/npm/commit-message-install.svg?downloads=true
200-
[npm-url]: https://npmjs.org/package/commit-message-install
199+
[npm-icon]: https://nodei.co/npm/@cypress/commit-message-install.svg?downloads=true
200+
[npm-url]: https://npmjs.org/package/@cypress/commit-message-install
201201
[ci-image]: https://travis-ci.org/cypress-io/commit-message-install.svg?branch=master
202202
[ci-url]: https://travis-ci.org/cypress-io/commit-message-install
203203
[semantic-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "commit-message-install",
2+
"name": "@cypress/commit-message-install",
33
"description": "NPM install a package by name taken from the last commit message",
44
"version": "0.0.0-development",
55
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",

0 commit comments

Comments
 (0)