-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
[all] Add build readme script #996
Conversation
scripts/build-readme.js
Outdated
|
||
See our website [${ | ||
packageJSON.name | ||
}](https://cssinjs.org/${getDocsPath()}?v=v10.0.0-alpha.8) for more information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hardcoded version)))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, I moved the creating of readmes now into the rollup config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we keep them as a separate helper script outside of rollup config to keep the config more readable and declarative?
|
||
There's an instance of JSS already set up with all of the default plugins, exported as `jss`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just realized we have no good place where all exports from the starter kit are documented. We should probably create a docs/jss-starter-kit.md and list them all there
* Add readme script * Move creating the readmes to rollup * Update readmes * Fix readme content * Move creating readme into own script * Update readme content
What would you like to add/fix?
This adds a script to create the readmes for the repositories automatically.
Not sure if this should be an own script or be executed when we build all of the packages.
Corresponding issue (if exists): #932