Skip to content
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

Publish packages #8380

Open
kulmann opened this issue Feb 6, 2023 · 0 comments
Open

Publish packages #8380

kulmann opened this issue Feb 6, 2023 · 0 comments
Assignees
Labels
Category:Technical Technical ehancements

Comments

@kulmann
Copy link
Member

kulmann commented Feb 6, 2023

In order to make oC Web app development more convenient (see #7930 for context) we want to publish the packages web-client (API abstraction layer) and web-pkg (helpers for app developers, including opinionated components and quite some composables) to npmjs.com

Some thoughts that @dschmidt and I discussed today as for how we want to start publishing packages from our monorepo and gain some experience with it:

  • packages that are to be published to npmjs.com are design-system, web-client and web-pkg
  • ownCloud Web (the full bundle) doesn't get published to npmjs.com but released on github, as we already do it today
  • all those 4 deliverables receive their own version number and their own git tags, to be precise:
    • oC Web with version v7.0.0-rc.x. The tag won't have a prefix as it is the main release from the repo
    • design-system with tag design-system-v15.0.0 or with suffix -alpha.x etc
    • web-client with tag web-client-v0.1.0 or with suffix -alpha.x etc
    • web-pkg with tag web-pkg-v0.1.0 or with suffix -alpha.x etc
  • at the moment we publish to npmjs.com as @ownclouders, i.e. packages on npmjs.com will be @ownclouders/web-client etc.
  • all packages receive their own changelog folder and changelog generation with calens
  • all packages get their version number updated in their package.json file respectively - without any automagic version calculation. We continue to specify versions manually. Our changelog conventions make it super easy to find out the next version number.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Technical Technical ehancements
Projects
None yet
Development

No branches or pull requests

3 participants