This repository was archived by the owner on Jun 12, 2024. It is now read-only.
Repository navigation
🐛do not package optionalDependencies - #143
Merged
Merged
Conversation
colleenmcginnis
approved these changes
Jun 13, 2019
colleenmcginnis
left a comment
Contributor
There was a problem hiding this comment.
Makes sense to me @katydecorah!
katydecorah
pushed a commit
that referenced
this pull request
Jun 19, 2019
* master: 0.16.2 Prepare 0.16.2 0.16.1 Prepare 0.16.1 0.16.0 Prepare 0.16.0 [search] update search-ui, add loader, increase debounce length (#145) 0.15.2 Prepare 0.15.2 🐛do not package optionalDependencies and jest (#143) add snapshot tests (#136) 0.15.1 Prepare 0.15.1 0.15.0 Prepare 0.15.0 [search] adds segment tracking for queries and clicks (#140)
katydecorah
pushed a commit
that referenced
this pull request
Jun 25, 2019
* master: [PageLayout] add data attribute to prevent Swiftype from indexing sidebar content (#146) 0.16.2 Prepare 0.16.2 0.16.1 Prepare 0.16.1 0.16.0 Prepare 0.16.0 [search] update search-ui, add loader, increase debounce length (#145) 0.15.2 Prepare 0.15.2 🐛do not package optionalDependencies and jest (#143)
katydecorah
pushed a commit
that referenced
this pull request
Jun 25, 2019
* master: [PageLayout] add data attribute to prevent Swiftype from indexing sidebar content (#146) 0.16.2 Prepare 0.16.2 0.16.1 Prepare 0.16.1 0.16.0 Prepare 0.16.0 [search] update search-ui, add loader, increase debounce length (#145) 0.15.2 Prepare 0.15.2 🐛do not package optionalDependencies and jest (#143)
katydecorah
pushed a commit
that referenced
this pull request
Jul 2, 2019
* master: 0.17.0 Prepare 0.17.0 [version-sort] do not push pre-releases of the latest stable version (#148) 🐛make compare-versions a dependency (#142) [PageLayout] add data attribute to prevent Swiftype from indexing sidebar content (#146) 0.16.2 Prepare 0.16.2 0.16.1 Prepare 0.16.1 0.16.0 Prepare 0.16.0 [search] update search-ui, add loader, increase debounce length (#145) 0.15.2 Prepare 0.15.2 🐛do not package optionalDependencies and jest (#143)
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
When we run
npm run builda script does a lot of things to get dr-ui ready for npm. This PR removes our optionalDependencies from being included in the npm version of our package.json.While updating dr-ui on /mapbox-gl-js, I ran into an issue where yarn said:
Since we're already removing devDependencies from package.json for the npm version, I think it's safe to also remove optionalDependencies.
We can also remove
jestfrom package.json since that's only needed for development.How to test:
npm run buildpkg/package.jsonoptionalDependenciesorjestin the file