Skip to content

Commit

Permalink
fix request cache and bin link maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
bdwain committed Apr 30, 2018
1 parent c7c0e54 commit 74f7c4f
Show file tree
Hide file tree
Showing 27 changed files with 17 additions and 7 deletions.
4 changes: 2 additions & 2 deletions __tests__/commands/install/focus.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ test.concurrent('focus does a normal workspace installation', (): Promise<void>
const packageFile = await fs.readFile(
path.join(config.cwd, '..', '..', 'node_modules', 'example-yarn-workspace-2', 'package.json'),
);
expect(JSON.parse(packageFile).version).toEqual('1.1.0');
expect(JSON.parse(packageFile).version).toEqual('1.1.1');
const readme = await fs.readFile(
path.join(config.cwd, '..', '..', 'node_modules', 'example-yarn-workspace-2', 'README.md'),
);
Expand All @@ -57,7 +57,7 @@ test.concurrent('focus shallowly installs sibling workspaces under target', ():
const packageFile = await fs.readFile(
path.join(config.cwd, 'node_modules', 'example-yarn-workspace-2', 'package.json'),
);
expect(JSON.parse(packageFile).version).toEqual('1.1.0');
expect(JSON.parse(packageFile).version).toEqual('1.1.1');
const readme = await fs.readFile(path.join(config.cwd, 'node_modules', 'example-yarn-workspace-2', 'README.md'));
expect(readme.split('\n')[0]).toEqual('WORKSPACES ROCK2!');
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#!/usr/bin/env node

console.log('hey');
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "example-yarn-workspace-2",
"version": "1.1.0",
"version": "1.1.1",
"bin": "index.js",
"dependencies": {
"left-pad": "1.1.2"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#!/usr/bin/env node

console.log('hey');
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "example-yarn-workspace-2",
"version": "1.1.0",
"version": "1.1.1",
"bin": "index.js",
"dependencies": {
"left-pad": "1.1.2"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#!/usr/bin/env node

console.log('hey');
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "example-yarn-workspace-2",
"version": "1.1.0",
"version": "1.1.1",
"bin": "index.js",
"dependencies": {
"left-pad": "1.1.2"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#!/usr/bin/env node

console.log('hey');
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "example-yarn-workspace-2",
"version": "1.1.0",
"version": "1.1.1",
"bin": "index.js",
"dependencies": {
"left-pad": "1.1.2"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#!/usr/bin/env node

console.log('hey');
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "example-yarn-workspace-2",
"version": "1.1.0",
"version": "1.1.1",
"bin": "index.js",
"dependencies": {
"left-pad": "1.1.2"
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 74f7c4f

Please sign in to comment.