Closed ajayns closed 6 years ago
yarn link is good for now
github link would not work as such, because unreleased version must be manually compiled On 23 Jul 2018, 10.19 +0300, Ajay NS notifications@github.com, wrote:
For local dev yarn link I'm using but for updating the package.json with the dependency, since we haven't published our package on npm yet, what'd be the best way to import? I'm thinking we could use a github import: "gatsby-source-plone": "git+ssh://git@github.com/collective/gatsby-source-plone.git" — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Actually, since we have an npm prepare
script, on installing dependencies, it does the compilation as well.
@ajayns Ok. If git+ssh works, it is ok.
@ajayns As said, "gatsby-source-plone": "git+ssh://git@github.com/collective/gatsby-source-plone.git"
is ok.
Yes, will make the changes. I hadn't changed thinking maybe we'll ship the npm package soon.
For local dev
yarn link
I'm using but for updating the package.json with the dependency, since we haven't published our package on npm yet, what'd be the best way to import?I'm thinking we could use a github import:
@datakurre @cekk