-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into update-check
# Conflicts: # package.json # src/config.js # yarn.lock
- Loading branch information
Showing
176 changed files
with
3,649 additions
and
611 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 |
---|---|---|
|
@@ -23,3 +23,4 @@ test/fixtures/**/.fbkpm | |
|
||
# IDE | ||
.idea/ | ||
/__tests__/fixtures/request-cache/ |
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
exports[`test TarballFetcher.fetch throws 1`] = `"https://github.com/PolymerElements/font-roboto/archive/2fd5c7bd715a24fb5b250298a140a3ba1b71fe46.tar.gz: Bad hash. Expected foo but got 9689b3b48d63ff70f170a192bec3c01b04f58f45 "`; | ||
exports[`test TarballFetcher.fetch throws on invalid hash 1`] = `"https://github.com/sindresorhus/beeper/archive/master.tar.gz: Bad hash. Expected \"foo\" but got \"a32262ca1e22a3746b970936d3944b4bfd6cb9e9\" "`; |
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,32 @@ | ||
/* @flow */ | ||
|
||
import aliases from '../../src/cli/aliases.js'; | ||
|
||
test('shorthands and affordances', () => { | ||
expect(aliases['run-script']).toBe('run'); | ||
expect(aliases['c']).toBe('config'); | ||
expect(aliases['i']).toBe('install'); | ||
expect(aliases['list']).toBe('ls'); | ||
expect(aliases['rb']).toBe('rebuild'); | ||
expect(aliases['runScript']).toBe('run'); | ||
expect(aliases['t']).toBe('test'); | ||
expect(aliases['tst']).toBe('test'); | ||
expect(aliases['un']).toBe('remove'); | ||
expect(aliases['up']).toBe('update'); | ||
expect(aliases['v']).toBe('version'); | ||
expect(aliases['add-user']).toBe('login'); | ||
expect(aliases['dist-tag']).toBe('tag'); | ||
expect(aliases['dist-tags']).toBe('tag'); | ||
expect(aliases['adduser']).toBe('login'); | ||
expect(aliases['author']).toBe('owner'); | ||
expect(aliases['isntall']).toBe('install'); | ||
expect(aliases['la']).toBe('ls'); | ||
expect(aliases['ll']).toBe('ls'); | ||
expect(aliases['r']).toBe('remove'); | ||
expect(aliases['rm']).toBe('remove'); | ||
expect(aliases['show']).toBe('info'); | ||
expect(aliases['uninstall']).toBe('remove'); | ||
expect(aliases['update']).toBe('upgrade'); | ||
expect(aliases['verison']).toBe('version'); | ||
expect(aliases['view']).toBe('info'); | ||
}); |
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
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
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
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
Oops, something went wrong.