-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature]: Publish develop branch on npm #2431
Comments
Hi @paales. Thank you for your report. Please, add a comment to assign the issue:
|
@paales - This is an interesting idea, and we have most of our publication automated, so let me check with the team if this is something that could be done easily. I assume we could just follow React's style of publishing version I'm also wondering if this fits better into scaffolding. We have an existing command that lets you simulate an install using the latest code in the monorepo; its not well documented, but have you experimented with doing If I'm being honest, this will likely fall low in priority since we don't have a full time CI/CD engineer, but I'll see if there's anything we could do with minimal effort that makes it easier to get latest develop without interacting with the monorepo. |
Thanks for your response, very much appreciated! I've got a few questions / points:
Automation solution: We are using https://semantic-release.gitbook.io/semantic-release/ a lot ourselves which allows you to create development releases easily on the develop branch + create release notes + publish on NPM + reply release information to related PR's. It can be configured in such a way To implement such a thing, there are two steps:
|
This is now private. There's a secret exposure vector that we have to protect if we expose the repository that's actually used, but perhaps we could expose a public fork that's kept in sync. Will review with the team.
Our internal priorities align with our roadmap, which is heavily in favor of feature parity work; so I would say more of the latter. There's a bigger team conversation that needs to happen internally about versioning before we can even think about establishing a release cadence, or fully automating that process, but all this information you've provided will help kick off the conversation, thank you. Will provide the next update after grooming tomorrow. |
Created PWA-662 |
@paales I am currently experimenting with something like this
And then running something like Agreed that ultimately some sort of npm repository based canary packages would be easier. |
Our current process:
This works fine in our case, but again, this is not always what we want. |
fyi just built something interim https://github.com/fooman/pwa-studio-canary/actions which all going well should build and publish packages weekly from the develop branch of pwa-studio. Current week (24) outputs:https://canary-packages.fooman.com/pwa-create/package-2020-24.json and includes the references to install from url. |
Publishing nightly edge releases should be managed by Support and CICD (if they decide it should be done). Tip @dpatil-magento :) |
Is your feature request related to a problem? Please describe.
I'm trying to install @magento/venia-concept via npm but my node version is 12 which isn't allowed by the 6.0.1 version, but is already in the develop branch.
Describe the solution you'd like
Publish the latest branch of pwa-studio after each commit on npm with a @develop tag.
https://www.npmjs.com/package/@magento/venia-concept
So I can do
yarn add @magento/venia-concept@develop
to always have the latest version available.Describe alternatives you've considered
I'm now trying to use npm link to do it that way, but would be nice if other developer in the team don't have to do that.
Please let us know what packages this feature is in regards to:
venia-concept
venia-ui
pwa-buildpack
peregrine
pwa-devdocs
upward-js
upward-spec
create-pwa
The text was updated successfully, but these errors were encountered: