-
Notifications
You must be signed in to change notification settings - Fork 373
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
Add examples app with bundled react vanilla, material examples #2056
Conversation
@lucas-koehler can you resolve the conflicts? |
6b59747
to
2147d8a
Compare
@sdirix I resolved the conflict. |
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.
Works for me in when including the suggested changes. Good job!
@@ -34,7 +34,8 @@ | |||
"scripts": { | |||
"build": "rollup -c rollup.config.js", | |||
"dev": "webpack --config webpack/webpack.dev.js && webpack-dev-server --config webpack/webpack.dev.js --env=dev --inline", | |||
"clean": "rimraf lib coverage dist .nyc_output 2> /dev/null", | |||
"example:bundle": "rollup -c rollup.example.config.js", |
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.
I would name this build:example-app
This introduces a new private package `examples-app` to create a simple web page that ultimately has child pages for every example. In this initial commit, only the react vanilla and material examples are added. Therefore, they are bundled with rollup to be able to run as standalone pages. - Add rollup configs to bundle react vanilla and material examples - Add required dev deps and upgrade rollup dev dep to ^2.78.0 for all packages - change material deps to ~5.2.2 because latest 5.x versions break api for Autocomplete - Add private package `examples-app` with a script to aggregate the examples - Add root level npm script to create the examples app - regenerate package-lock.json Part of #1706
Co-authored-by: Stefan Dirix <sdirix@eclipsesource.com>
25e1d5e
to
677c708
Compare
@sdirix Thanks for the review and suggestions. I applied the suggestions and renamed the scripts as suggested. A brief retest did not show any problems :) |
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.
Works for me
This introduces a new private package
examples-app
to create a simple web page that ultimately has child pages for every example.In this initial commit, only the react vanilla and material examples are added. Therefore, they are bundled with rollup to be able to run as standalone pages.
examples-app
with a script to aggregate the examplesPart of #1706
Netlify instructions
Build examples app:
App will be located in
packages/examples-app/dist/