Closed HenriBeck closed 5 years ago
I can only approve the idea 👍
And this will solve the problem of reusing builder.
I would need someone to commit finishing this migration, who can?
On Sat, May 19, 2018, 19:05 Bogdan Chadkin notifications@github.com wrote:
And this will solve the problem of reusing builder.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cssinjs/jss/issues/714#issuecomment-390418667, or mute the thread https://github.com/notifications/unsubscribe-auth/AADOWG9rqzXwroG9baFFwYEee2x11xlwks5t0FDygaJpZM4T93gj .
So do we go with proposed jss scope?
Not sure if react-jss, aphrodite-jss and styled-jss should be part of the monorepo. But plugins + core could be monorepo for sure.
On Sat, May 19, 2018, 21:15 Bogdan Chadkin notifications@github.com wrote:
So do we go with proposed jss scope?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cssinjs/jss/issues/714#issuecomment-390426445, or mute the thread https://github.com/notifications/unsubscribe-auth/AADOWCmdeN_rZAhNpbahsCxKO1UYyZggks5t0G9tgaJpZM4T93gj .
I would also include the provided integrations from the jss team in the monorepo. That way we could easily share code between them as well (Updating styled-jss to use the same JssProvider for example).
I could migrate it, but I won't have time before next week.
After next week is fine, just need to be sure we can finish it and not leave it in a half migrated state for months.
The reason I am not sure I would put them all into monorepo is because they have partially different setup, separate issue trackers and it feels like they are entirely separate projects.
We need a clear decision framework. One possibility: everything that depends on JSS core, should be part of the monorepo, everything else - not.
Ok, we got merged the first pr towards monorepo, now we need to move plugins to it
@HenriBeck are you up for this?
yes, will start on the weekend
All of the plugin repos are now imported. Any other repos that should be imported?
I checked, all plugins are here, is there anything else that is topping us from jss 10 release?
I think we should need to archive the plugin repos and add a message to the readme.
yes, immediately after release
oh btw. we should check all the docs and fix the links to old repos
Yeah, we need to update the links in the package.json files
also mb add docs regarding esm builds? and generaly whats in the dist?
Btw. the site was getting the docs for plugins from each repo, we could fix the site to the new repos as an intermediate step or we could move all markdown files from each plugin repo to the main docs dir and fix the site to use this one. In any case once we archive old repos, we need to fix the site.
Also I am wondering if babel plugin should be part of this release or a separate, it would be a minor version number in any case, but mb it should be one big announcement
@HenriBeck are you on twitter? (if you want to be mentioned in the announcement)
A have a couple of improvements before release.
Is the babel plugin ready? I think we should test it to actually be ready when publishing.
We should also write a migration guide.
I'm on twitter but nonactive.
babel plugin its def. not ready yet, yeah we should actually take more time for testing …
migration guide for babel plugin? Docs on my todo list, evtl even an article. But migration guide is not needed.
Unless you mean because of packages and esm. What are the points user should know?
Yes, I don't mean a migration guide for the babel plugin. It's mostly about the package names.
I think package names is too trivial to write a migration guide, a few more notes in the changelog should be enough.
Okay, do we continue to use the changelog in the different packages or are we going to have one global changelog
Sent with GitHawk
I think we should have a single changelog to simplify maintaining. Babel team structured it quite well and not verbose. https://github.com/babel/babel/blob/master/CHANGELOG.md
Good question, looking into babel its a single root changelog. I think it makes sense with monorepo and probably akes it easier for the user
In theory we should move them all into the main changelog in the right order, but since it is a bit of work, I am not sure its worth it to do it chronologically.
Mb lets just add a section below the main changelog: "## Plugins changelog prior to v10" and just paste them all one by one?
And remove them from the plugins repos
Or we just remove them without merging? They still exist in the old plugin repos.
EDIT: That way we could also publish the global changelog with every package.
Also, what do we with the integrations? Should I import them as well?
I think everything that lands in monorepo, yes
We will need to import/move the issues then as well
Maybe just titles with references?
There are tools for moving issues, we can automate it
I used zenhub before, but this seems fine as well … whatever works.
I would like to propose to move the whole Jss project into a Lerna mono repo like babel and other projects did. I would also then move to a fixed mode for the versioning (like babel). This would also solve some problems with maintaining all of the dev dependencies of the repositories.
This would include the following repositories:
Another idea would be to create npm organization and publish most packages under this organization.
@jss/core
@jss/react
@jss/plugin-expand