-
Notifications
You must be signed in to change notification settings - Fork 22
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
Merge additional changes from adalinesimonian/merge-prettier-2.3.1 #603
Merge additional changes from adalinesimonian/merge-prettier-2.3.1 #603
Conversation
* Update release dependencies * Remove `version` field * Run install before any require * Update scripts/release/utils.js Co-authored-by: Sosuke Suzuki <[email protected]> * Fix update schedule * Update deps * Fix Co-authored-by: Sosuke Suzuki <[email protected]>
…0753) Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 29.0.0 to 30.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](sindresorhus/eslint-plugin-unicorn@v29.0.0...v30.0.0) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [webpack](https://github.com/webpack/webpack) from 5.33.2 to 5.35.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](webpack/webpack@v5.33.2...v5.35.0) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [chalk](https://github.com/chalk/chalk) from 4.1.0 to 4.1.1. - [Release notes](https://github.com/chalk/chalk/releases) - [Commits](chalk/chalk@v4.1.0...v4.1.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.15 to 7.13.16. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.13.16/packages/babel-core) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [mem](https://github.com/sindresorhus/mem) from 8.1.0 to 8.1.1. - [Release notes](https://github.com/sindresorhus/mem/releases) - [Commits](sindresorhus/memoize@v8.1.0...v8.1.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [chalk](https://github.com/chalk/chalk) from 4.1.0 to 4.1.1. - [Release notes](https://github.com/chalk/chalk/releases) - [Commits](chalk/chalk@v4.1.0...v4.1.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…745) Bumps [semver](https://github.com/npm/node-semver) from 7.3.4 to 7.3.5. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md) - [Commits](npm/node-semver@v7.3.4...v7.3.5) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [webpack](https://github.com/webpack/webpack) from 5.35.0 to 5.35.1. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](webpack/webpack@v5.35.0...v5.35.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.78.0 to 0.78.2. - [Release notes](https://github.com/glimmerjs/glimmer-vm/releases) - [Changelog](https://github.com/glimmerjs/glimmer-vm/blob/master/CHANGELOG.md) - [Commits](glimmerjs/glimmer-vm@v0.78.0...v0.78.2) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: fisker Cheung <[email protected]>
Bumps [@angular/compiler](https://github.com/angular/angular/tree/HEAD/packages/compiler) from 11.2.10 to 11.2.11. - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/master/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/11.2.11/packages/compiler) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: fisker Cheung <[email protected]>
* Build(deps): Bump linguist-languages from 7.13.0 to 7.14.0 Bumps [linguist-languages](https://github.com/ikatyang/linguist-languages) from 7.13.0 to 7.14.0. - [Release notes](https://github.com/ikatyang/linguist-languages/releases) - [Commits](ikatyang/linguist-languages@v7.13.0...v7.14.0) Signed-off-by: dependabot[bot] <[email protected]> * Update snapshot Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: fisker Cheung <[email protected]>
* docs: update git hooks instructions in install.md * Add Yarn 2 link
* Exclude @Keyframes params from being parsed as a Less variable * Update changelog_unreleased/css/10773.md Co-authored-by: fisker Cheung <[email protected]> * Update changelog_unreleased/css/10773.md Co-authored-by: fisker Cheung <[email protected]> * Add "keyframes" to cspell.json Co-authored-by: fisker Cheung <[email protected]>
I have some concerns about priorities here, but as I will be unavailable from now until the 5th of July, I will voice my concerns if they are still relevant at that time at the earliest. I will be out on the streets working every day throughout the record-breaking heatwave we are experiencing here in Seattle to get critical supplies to people and get people to safety where possible. I will be taking a week to recover afterwards. |
Thanks. Yes I have been taking this work through a few too many circles and will try to bring some more forward progress. I have been working pretty hard to keep things as clean and well tested as possible, unfortunately have sacrificed too much forward progress in the process. |
into a better-organized tests/format/x subdirectory tree move some TypeScript-specific test subdirectories under tests/format/x/typescript rename some test subdirectories should help avoid lint issues with updates from upstream Prettier based on some updates proposed in: - #603 NEXT STEP: move prettierX-specific test variations into tests/format/x subdirectory tree Co-authored-by: Adaline Valentina Simonian <[email protected]> Co-authored-by: Christopher J. Brody <[email protected]>
into a better-organized tests/format/x subdirectory tree move some TypeScript-specific test subdirectories under tests/format/x/typescript rename some test subdirectories should help avoid lint issues with updates from upstream Prettier based on some updates proposed in: - #603 NEXT STEP: move prettierX-specific test variations into tests/format/x subdirectory tree Co-authored-by: Adaline Valentina Simonian <[email protected]> Co-authored-by: Christopher J. Brody <[email protected]>
into tests/format/x subdirectory tree based on some updates proposed in: - #603 update test comments rename dirpath -> dirPath to avoid spellcheck issues with updates from upstream Prettier Co-authored-by: Adaline Valentina Simonian <[email protected]> Co-authored-by: Christopher J. Brody <[email protected]>
(in prettierx-rebase-branch-001 version branch) as proposed in: - #569 - #603 Co-authored-by: Adaline Valentina Simonian <[email protected]> Co-authored-by: Christopher J. Brody <[email protected]>
(in prettierx-rebase-branch-001 version branch) using file link for internal eslint plugin in package.json (link: paths are only supported by Yarn) based on a proposal in: - #603 and update tests/integration/env.js to use fork package name from package.json Co-authored-by: Adaline Valentina Simonian <[email protected]> Co-authored-by: Christopher J. Brody <[email protected]>
(in prettierx-rebase-branch-001 version branch) support pnpm test with some script improvements (dev package test with pnpm) refactor scripts/install-prettier.js with optional dep support based on changes proposed in: - #603 Co-authored-by: Adaline Valentina Simonian <[email protected]> Co-authored-by: Christopher J. Brody <[email protected]>
"? ", | ||
// [prettierx] spaceInParens option support (...) | ||
...(consequentNode.type === node.type | ||
? [ifBreak("", "("), parenSpace] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor fix is needed here for consistency with existing prettierX version 0.18.x:
? [ifBreak("", "("), parenSpace] | |
? [ifBreak("", ["(", parenSpace])] |
I will make this fix.
into prettierx-rebase-branch-001 based on some updates from: - #549 - #569 - #603 (with very limited update needed in src/language-js/needs-parens.js) **tested** with prettierX-specific test cases from prettierX 0.18.x TODO items: - include test updates from prettierX dev branch - update documentation Co-authored-by: Adaline Valentina Simonian <[email protected]> Co-authored-by: Christopher J. Brody <[email protected]>
into prettierx-rebase-branch-001 based on some updates from: - #549 - #569 - #603 (with a very limited update needed in src/language-js/needs-parens.js) **tested** with prettierX-specific test cases from prettierX 0.18.x TODO items: - include test updates from prettierX dev branch - update documentation Co-authored-by: Adaline Valentina Simonian <[email protected]> Co-authored-by: Christopher J. Brody <[email protected]>
to be more consistent with prettierX 0.18.x including some updates from: - #549 - #569 - #603 Co-authored-by: Christopher J. Brody <[email protected]> Co-authored-by: Adaline Valentina Simonian <[email protected]>
to be more consistent with prettierX 0.18.x including some updates from: - #549 - #569 - #603 Co-authored-by: Christopher J. Brody <[email protected]> Co-authored-by: Adaline Valentina Simonian <[email protected]>
into prettierx-rebase-branch-001 based on some updates from: - #549 - #569 - #603 (with a very limited update needed in src/language-js/needs-parens.js) **tested** with prettierX-specific formatting test cases from prettierX 0.18.x (discovered a very limited number of changes from prettierX 0.18.x) TODO items: - include test updates from prettierX dev branch - update documentation Co-authored-by: Adaline Valentina Simonian <[email protected]> Co-authored-by: Christopher J. Brody <[email protected]>
into prettierx-rebase-branch-001 based on some updates from: - #549 - #569 - #603 (with a very limited update needed in src/language-js/needs-parens.js) **tested** with prettierX-specific formatting test cases from prettierX 0.18.x (discovered a very limited number of changes from prettierX 0.18.x) TODO items: - include test updates from prettierX dev branch - update documentation Co-authored-by: Adaline Valentina Simonian <[email protected]> Co-authored-by: Christopher J. Brody <[email protected]>
to be more consistent with prettierX 0.18.x including some updates from: - #549 - #569 - #603 Co-authored-by: Christopher J. Brody <[email protected]> Co-authored-by: Adaline Valentina Simonian <[email protected]>
into prettierx-rebase-branch-001 based on some updates from: - #549 - #569 - #603 with a very limited update needed in src/language-js/needs-parens.js and with comments where the updates are NO LONGER NEEDED in src/language-js/needs-parens.js tested with prettierX-specific formatting test cases from prettierX 0.18.x (discovered a very limited number of deviations) TODO items: - include test updates from prettierX dev branch - update documentation Co-authored-by: Adaline Valentina Simonian <[email protected]> Co-authored-by: Christopher J. Brody <[email protected]>
into prettierx-rebase-branch-001 based on some updates from: - #549 - #569 - #603 with a very limited update needed in src/language-js/needs-parens.js and with comments where the updates are NO LONGER NEEDED in src/language-js/needs-parens.js tested with prettierX-specific formatting test cases from prettierX 0.18.x (discovered a very limited number of deviations) TODO items: - include test updates from prettierX dev branch - update documentation Co-authored-by: Adaline Valentina Simonian <[email protected]> Co-authored-by: Christopher J. Brody <[email protected]>
into prettierx 0.19.0-01-update-branch based on some updates from: - #549 - #569 - #603 with a very limited update needed in src/language-js/needs-parens.js and with comments where updates from 0.18.x are NO LONGER NEEDED in src/language-js/needs-parens.js tested with prettierX-specific formatting test cases from prettierX 0.18.x (discovered a very limited number of deviations) TODO items: - include test updates from prettierX dev branch - update documentation Co-authored-by: Adaline Valentina Simonian <[email protected]> Co-authored-by: Christopher J. Brody <[email protected]>
into prettierx 0.19.0-01-update-branch based on some updates from: - #549 - #569 - #603 with a very limited update needed in src/language-js/needs-parens.js and with comments where updates from 0.18.x are NO LONGER NEEDED in src/language-js/needs-parens.js tested with prettierX-specific formatting test cases from prettierX 0.18.x (discovered a very limited number of deviations) TODO items: - include test updates from prettierX dev branch - update documentation Co-authored-by: Adaline Valentina Simonian <[email protected]> Co-authored-by: Christopher J. Brody <[email protected]>
Hello @adalinesimonian please be sure to stay safe in this hot weather, especially with the upcoming holiday! I have been working pretty hard to rebase and clean these updates up in PR #630. I will likely merge these updates sometime tomorrow and then let the Renovate bot update as many dependencies as possible before making the release. I am at the point where I would like to make the release over the holiday and move on. I know you have worked quite hard on this, and it has really distracted me from both free and professional software commitments over the past month. There were a few things that I did, mostly in the CI testing, differently than how it was proposed here. But if you think I missed any important updates please feel free to raise one or more new PRs for disucssion. And thanks again for your contribution, which I am sure will benefit many users. |
for contributions in PR #603 that enabled update from Prettier 2.3.2
@adalinesimonian I hope you are safe after the heat and the long weekend! I have incorporated most of the proposed changes in PR #630 and gave you some credit in README.md. I did solve some CI issues a different way, unfortunately might have missed some of your changes in the process. I have raised issue #636 to start tracking some followup items needed. Please DO feel free to raise another PR if you think I missed anything important. These updates have taken me almost a whole month to incorporate due to the work that I put into breaking some changes down to smaller updates, with help of some intermediate "version branches". I have ended up sacrificing some badly needed maintenance on some other open-source projects and have also delayed responding to some people interested in helping me find some part-time work as well. But I would like to give thanks to you @adalinesimonian for the work on your part, which has enabled this update in the first place, which I think will help many people in the near future. |
I am; thank you for your concern. Luckily, in my effort to distribute water and supplies, I only encountered minor heat exhaustion symptoms on several days, after which I immediately retreated home to recover. The fireworks I got to see this weekend made it all worth it.
You undoubtedly did a lot of work! I appreciate the credit; it was certainly not necessary but thank you, nonetheless!
I acknowledge that you've made more granular commits, which may, in certain circumstances, make it easier to identify specific sets of changes by making it such that the history refers to smaller groups of changes. However, after looking more closely at this effort, I don't believe this effort was worth the massive delay and other issues that it added to integrating changes from upstream. I find this especially true given that this will be far from the last time that there are significant changes upstream that we need to integrate down here. We should have worked together in a unified set of changes throughout this effort so that our efforts were not doubled or split and kept shared knowledge together in one or a few places. Instead, that work became fragmented and introduced many points where there was a chance to miss things. This fragmentation also adds to the workload and delay (addressed in the following points).
This effort to make commits smaller felt like a task that had effort put into it without considering all the other ways in which it was detrimental to the overall effort of updating prettierX, nor the long-term consequences of handling more extensive sets of updates this way. I want to continue to contribute here to prettierX. Still, unless we address this issue of efficiency and complexity, I am not sure I will have the time to devote here and may instead switch to Prettier, where I will have more faith in the continued support of the project.
I truly appreciate it! You're too kind. ☺ It was a lot of work, but together we were able to get it done. At the beginning of this effort, what motivated me to contribute these changes was that prettierX was unusable with Typescript due to lagging behind Prettier. If we can keep this project updated efficiently, it will undoubtedly help adoption. Not everyone has the time like I did to jump in and contribute significant changes, and will instead switch to the upstream project, a consideration that I think makes the argument I make earlier even more important. |
Thanks @adalinesimonian, happy to hear you had a good weekend! And thanks for the candid feedback. Yes as I said before the work did go through too many circles, especially with the badly-managed scope creep which I should have kept out of this effort in the first place. Here is what motivated me to in the smaller, more granular commits:
I will look for a better way to manage this work over time. |
Closes #587
Closes #548
Closes #422
Closes #414
Per #569 (comment)