This repository has been archived by the owner on Aug 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 110
[WIP] Generate README.md automagically #622
Open
azerella
wants to merge
19
commits into
develop
Choose a base branch
from
feature/generate-readme-from-src
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
azerella
added
enhancement
New feature or request.
submitted by user
Issues on behalf of users.
documentation
Issue or pull request related to documentation.
architecture
Issue or pull request related to architecture.
labels
Feb 12, 2019
azerella
force-pushed
the
feature/generate-readme-from-src
branch
from
February 14, 2019 05:36
97a6434
to
5f243f9
Compare
* First steps with yarn workspaces * Switched sass imports to read from src Setup yarn workspaces First attempt at modifying helper.js * Removed pancake folder * Upgraded babel and webpack * Updated circleci image and build process * Upgraded webpack ES6 for babel-loader Upgraded ES6 helper babel process * Commented out devDep checks, need to rewrite * Added node-module caching to circleci * Put restore_cache key in wrong order :'( * Removed pancake root key Gave module versions some love Updated circleci comments * Package formatting * Installed mocha/chai over jest, removed jest * Updated 50% of unit tests * Renamed packages -> components * Installed babel preset minify * added preset to .babelrc * updated README.md * Trailing process.exit for circleci * Updated autoprefixer tag to be inline with spec Trialing node direct script over yarn * Added mode flag to webpack config - creates warning in webpack 4 * Playing around with puppetter args and circle images * Removed debug flags, trying node image * Updated circleci image * Helper should read from src for file check and build to lib/ * Correct webpack config to reference babel-preset-minify as a plugin not preset * Removed all instances of babel-preset-minify * Various tweaks based on PR review * Added back missing spacing * Added back es5 name convention * Webpack formatting * Forgot es5 name convention * Dependency shuffling * Added back ES6 dep comment * Trailing why git thinks _deps is new * Updated webpack output location Reverted helper react.es5.js changes back Added gitignore for react/tests/dist Updated ES6 dependency imports to pancake root folder * Added nuke script for pancake/ * Temporary resolved yarn workspace building by pretending animate requires sass * Added missing sass: name false key to animate * Reverted pretending animate hass sass * Resolved root and core vulnerabilities * Added missing whitespace in core * Updated engines, removed verbose --pancake from animate * Added back webpack ./bundle.js -> bundle.js * Updated local install instructions for yarn and grammar * Updated FAQ notes for yarn * Updated auds.json from latest develop * Upgraded circle node images to latest lts
Added desc to accordion.js props for testing
azerella
force-pushed
the
feature/generate-readme-from-src
branch
from
February 15, 2019 05:30
5f243f9
to
226a048
Compare
azerella
force-pushed
the
feature/generate-readme-from-src
branch
from
February 18, 2019 05:55
a2ff439
to
71116d3
Compare
Removed unused deps Made code neater
azerella
force-pushed
the
feature/generate-readme-from-src
branch
from
February 18, 2019 23:38
51ed8c7
to
715b9fe
Compare
Added comments and minor refactoring Updated links, markdown formatting
azerella
force-pushed
the
feature/generate-readme-from-src
branch
from
February 19, 2019 02:41
c382b9b
to
496d329
Compare
Closed
* First steps with yarn workspaces * Switched sass imports to read from src Setup yarn workspaces First attempt at modifying helper.js * Removed pancake folder * Upgraded babel and webpack * Updated circleci image and build process * Upgraded webpack ES6 for babel-loader Upgraded ES6 helper babel process * Commented out devDep checks, need to rewrite * Added node-module caching to circleci * Put restore_cache key in wrong order :'( * Removed pancake root key Gave module versions some love Updated circleci comments * Package formatting * Installed mocha/chai over jest, removed jest * Updated 50% of unit tests * Renamed packages -> components * Installed babel preset minify * added preset to .babelrc * updated README.md * Trailing process.exit for circleci * Updated autoprefixer tag to be inline with spec Trialing node direct script over yarn * Added mode flag to webpack config - creates warning in webpack 4 * Playing around with puppetter args and circle images * Removed debug flags, trying node image * Updated circleci image * Helper should read from src for file check and build to lib/ * Correct webpack config to reference babel-preset-minify as a plugin not preset * Removed all instances of babel-preset-minify * Various tweaks based on PR review * Added back missing spacing * Added back es5 name convention * Webpack formatting * Forgot es5 name convention * Dependency shuffling * Added back ES6 dep comment * Trailing why git thinks _deps is new * Updated webpack output location Reverted helper react.es5.js changes back Added gitignore for react/tests/dist Updated ES6 dependency imports to pancake root folder * Added nuke script for pancake/ * Temporary resolved yarn workspace building by pretending animate requires sass * Added missing sass: name false key to animate * Reverted pretending animate hass sass * Resolved root and core vulnerabilities * Added missing whitespace in core * Updated engines, removed verbose --pancake from animate * Added back webpack ./bundle.js -> bundle.js * Updated local install instructions for yarn and grammar * Updated FAQ notes for yarn * Updated auds.json from latest develop * Upgraded circle node images to latest lts
…nents into feature/generate-readme-from-src
azerella
force-pushed
the
develop
branch
3 times, most recently
from
February 25, 2019 23:30
0e8b910
to
9a5b8dc
Compare
azerella
force-pushed
the
develop
branch
2 times, most recently
from
March 1, 2019 00:52
c343bcc
to
1b6a5f2
Compare
azerella
changed the title
[ WIP ] Generate README.md automagically
[WIP] Generate README.md automagically
Mar 11, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
architecture
Issue or pull request related to architecture.
documentation
Issue or pull request related to documentation.
enhancement
New feature or request.
submitted by user
Issues on behalf of users.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🚧 Work in progress ! 🚧
This branch is based off of
feature/hoist-node-modules-to-root
. It features a script that will automatically generate the contents of theREADME.md
for each component in thecomponents/
folder.UPDATE: 20/02/2019
defaultProp
types forisRequired
properties.In automating the
README.md
I've found that certain components have multiple definitions inside. Automatically extracting these is very difficult and we will need to do a large refactor in order to resolve this. One suggestion might be to split up the sub-components into separate files.Example:
Another suggestion could be to publish these components separately.
Full-list of components to decouple: