Clean up build script, add Babel for docs js bundles#1970
Clean up build script, add Babel for docs js bundles#1970vjeux merged 2 commits intoprettier:masterfrom
Conversation
|
Need to resolve the conflict - will either happen later today, or tomorrow. |
vjeux
left a comment
There was a problem hiding this comment.
Thanks! Once you fix the merge conflict and make the dep exact, you're good to go!
| "main": "./index.js", | ||
| "dependencies": {}, | ||
| "devDependencies": { | ||
| "babel-cli": "^6.24.1", |
There was a problem hiding this comment.
Can you use exact dependencies please
|
By the way, as you've probably seen, the build step generates a ton of logs and warnings. I haven't had the time to try and clean them up, if that's something your interested in, that would be awesome to fix! |
12e8e69 to
fccd76b
Compare
|
Hi, have rebased it with master now and tried to clean up the build script a little bit more, hopefully not too much when it comes to ignoring certain rollup warnings. |
|
Ohh, sorry I didn't see the update. We shouldn't update the docs mid-release since it won't reflect what you have on npm. If you could remove that, I'll merge it in. Sorry for the delay :( |
|
Actually, i'm just doing a release, so i'll just merge it in. |
|
Sorry, and thank you! |
* tag '1.4.4': (421 commits) 1.4.4 1.4.3 Clean up build script, add Babel for docs js bundles (prettier#1970) Check if the next group has comments (prettier#2040) Include typeAnnotation inside of node location (prettier#2039) Fix decorator comments for export class (prettier#2038) Add group around TSMethodSignature (prettier#2037) Do not throw for unprinted comments inside of JSX (prettier#2036) Break decorator before content (prettier#2032) Fix less &:extends when parsed with scss (prettier#2034) Fix parenthesis for call expression inside of member expression inside of new (prettier#2035) Break if string | null (prettier#2028) Only prevent lone `set` if there's no type annotations (prettier#2026) Add semi for functions without body (prettier#2025) Update commands.md Update commands.md Pretty printer commands.js GraphQL: Add support for union types (prettier#2014) Update README for emacs integration link (prettier#2024) Add alias and null value (prettier#2017) ...
As discussed here (#1928), I have removed the no longer used
build:docsscript as well as added Babel forindex.jsandparser-babylon.jsin thedocsfolder to make them work in browsers (like Safari) who do not support various language features - instrictmode - yet.In addition, I have cleaned up the build script.