Skip to content
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

following #106, makes options.publicPath required via the API. alphabetizes optionsSchema #1055

Merged
merged 7 commits into from
Sep 27, 2017

Conversation

shellscape
Copy link
Contributor

What kind of change does this PR introduce?

BREAKING CHANGE Consistency update following comments on #106.

Did you add or update the examples/?
No need

Summary
#106 outlines a discrepancy of expectations in using the module API directly versus the CLI with regard to publicPath. This changes the options schema to make publicPath a required option and will fail gracefully if the option is not provided.

This PR also reorganizes the optionsSchema.json file to alphabetize the properties property and put more relevant meta at the beginning of the file.

Does this PR introduce a breaking change?

YES Users previously not specifying a publicPath in API options will now have to - though I'm not sure if works without doing so to begin with.

Other information

This will likely need to release in a major version update as it may hose some implementations.

@codecov
Copy link

codecov bot commented Aug 29, 2017

Codecov Report

❗ No coverage uploaded for pull request base (beta@1c9881e). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##             beta   #1055   +/-   ##
======================================
  Coverage        ?   73.6%           
======================================
  Files           ?       5           
  Lines           ?     447           
  Branches        ?     141           
======================================
  Hits            ?     329           
  Misses          ?     118           
  Partials        ?       0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1c9881e...a1e7802. Read the comment docs.

@shellscape
Copy link
Contributor Author

Considering waiting on this one until 3.0.0.

@shellscape shellscape added this to the Version 3 milestone Aug 29, 2017
@shellscape shellscape mentioned this pull request Aug 29, 2017
19 tasks
@shellscape shellscape changed the base branch from master to beta September 27, 2017 17:02
@shellscape shellscape merged commit ed2d97b into beta Sep 27, 2017
@shellscape shellscape deleted the public-path-required branch September 27, 2017 18:20
@michael-ciniawsky michael-ciniawsky removed this from the 3.1.6 milestone Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants