Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Add Storybook #1326

Merged
merged 3 commits into from
Apr 7, 2022
Merged

Add Storybook #1326

merged 3 commits into from
Apr 7, 2022

Conversation

pascaloliv
Copy link
Member

@pascaloliv pascaloliv commented Apr 6, 2022

Description

  • Add Storybook to manage UI components documentation / sandboxing etc. More info on StorybookJS.

  • Remove deprecated @babel/polyfill and add core-js/stable + regenerator-runtime/runtime (Babeljs Reference)

  • Add PlaceIcon story for example purpose

@pascaloliv pascaloliv marked this pull request as ready for review April 7, 2022 14:51
Copy link
Contributor

@sdrll sdrll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@@ -9,7 +9,7 @@ module.exports = function (api) {
browsers: ['Chrome >= 60', 'Firefox >= 44', 'Safari >= 10', 'Edge >= 17'],
},
useBuiltIns: 'entry',
corejs: 2,
corejs: 3,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was it an automatic change from babel migration ?

Copy link
Member Author

@pascaloliv pascaloliv Apr 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing automatic.
@babel/polyfill was using inside corejs (in version 2).
This upgrade was necessary because Babel recommend not using @babel/polyfil anymore.
So I update core-js version to 3 in this MR.

@pascaloliv pascaloliv merged commit 81d6862 into master Apr 7, 2022
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants