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

[patch] Use babel.config.js and updates build-package.js to output directories - #118

Merged
katydecorah merged 3 commits into
masterfrom
babel-patch
Mar 6, 2019
Merged

katydecorah merged 3 commits into
masterfrom
babel-patch

Conversation

@katydecorah

@katydecorah katydecorah commented Mar 5, 2019 •

Copy link
Copy Markdown
Contributor

This patches the last release, 0.8.0 #117 . When npm run build the components were being packaged as files instead of directories, which broke several components that reference other dr-ui components. I updated the babel config and the build script (thanks to mr-ui prior art) and now when packaged, the components are saved as directories once again.

To test this PR, you can assert that you find:

  • No errors on npm start
  • No errors on npm run build and pkg/ directory shows a folder for each component
  • No errors on npm test

I linked this local version to /ios locally to assert that the packaged dr-ui release does not throw errors. We should definitely do this step if we change anything to the build script in the future.

@colleenmcginnis colleenmcginnis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ npm start
✅ npm build + 👀 pkg/
✅ npm test

I linked this local version to /ios locally to assert that the packaged dr-ui release does not throw errors. We should definitely do this step if we change anything to the build script in the future.

Should we document this somewhere? In the README?

@katydecorah
katydecorah merged commit 8fdba63 into master Mar 6, 2019
@katydecorah
katydecorah deleted the babel-patch branch March 6, 2019 16:03
katydecorah pushed a commit that referenced this pull request Apr 17, 2019
* master: (22 commits)
  fixes bug in firefox where arrow was not vertically centered (#122)
  add swiftype attribute to ignore content blocks (#119)
  0.9.0
  Prepare 0.9.0
  Add BetaFlag component and options to add it to other components (#123)
  Prepare 0.8.1
  [patch] Use babel.config.js and updates build-package.js to output directories (#118)
  Prepare 0.8.0
  create versionSort function (#117)
  Prepare 0.7.0
  Add optional prop for tags for first level items in NavigationAccordion (#115)
  Prepare 0.6.0
  [docs-prose.css] make `.prose pre` rules more specific (#113)
  Add `mb24` to `OverviewHeader` (#112)
  [SectionedNavigation] filter the description if it's available (#111)
  Prepare 0.5.0
  Add warning and error themes to `Note` (#102)
  Add CSS to set max-height and style scrollbars for prose code examples (#103)
  [Card/CardContainer] Add new styles for fullwidth cards (#104)
  Add prism.css to create shared syntax styles used commonly across sites (#108)
  ...
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