这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@adrienthiery
Copy link
Contributor

@adrienthiery adrienthiery commented Aug 30, 2018

Tried it out by playing in ~/.config/yarn/global/node_modules/solidarity/dist/index.js.

Seems to work out.

I first tried to put ~/.config/yarn/global/node_modules, but this did not work (I guess ~ might not be the current user when node runs?)

Tentatively closes #221

Copy link
Member

@GantMan GantMan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/index.ts Outdated
.plugins('./node_modules', { matching: 'solidarity-*', hidden: true })
// global installs
.plugins('/usr/local/lib/node_modules', { matching: 'solidarity-*', hidden: true }) // Darwin
.plugins(`${__dirname}/../..`, { matching: 'solidarity-*', hidden: true }) // Yarn/Darwin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GantMan
Copy link
Member

GantMan commented Aug 30, 2018

Also, tests need to be updated.

@adrienthiery adrienthiery force-pushed the master branch 2 times, most recently from cbc0024 to da811b8 Compare August 30, 2018 21:01
@adrienthiery
Copy link
Contributor Author

@GantMan : I keep getting SecurityError: localStorage is not available for opaque origins when trying to run the tests locally... Any idea on how to fix that?

@GantMan
Copy link
Member

GantMan commented Aug 31, 2018

Not sure on your error, but everything looks good.

For some reason Danger is failing on travis. I might remove it for now. Good work bud! gonna merge.

@GantMan GantMan merged commit 12b8be2 into infinitered:master Aug 31, 2018
@adrienthiery adrienthiery changed the title Add relative path for plugin check Add yarn path for plugin check Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No solidarity plugins found!

2 participants