Skip to content

Commit 4a5d879

Browse files
authored
[Internal] Update prettier dev dependency to 4.0 alpha (#211)
Updates the version in our development dependencies to 4.0.0-alpha.12, which runs more quickly than the 3.x version (see https://prettier.io/blog/2023/11/30/cli-deep-dive). As an added bonus, prettier is now working again in vscode when I work on the project (I think we had a bad config previously).
1 parent 8a6ef95 commit 4a5d879

File tree

7 files changed

+431
-57
lines changed

7 files changed

+431
-57
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ assignees:
1616

1717
**Your Environment**
1818

19-
- **Prettier version**: 2.x.x
20-
- **node version**:
21-
- **package manager**: [npm@7, pnpm@6, yarn@2]
22-
- **IDE**: [VScode, Webstorm, CLI]
19+
- **Prettier version**: 2.x.x
20+
- **node version**:
21+
- **package manager**: [npm@7, pnpm@6, yarn@2]
22+
- **IDE**: [VScode, Webstorm, CLI]
2323

2424
**Describe the bug**
2525

@@ -50,4 +50,4 @@ assignees:
5050

5151
**Contribute to @ianvs/prettier-plugin-sort-imports**
5252

53-
- [ ] I'm willing to fix this bug 🥇
53+
- [ ] I'm willing to fix this bug 🥇

CHANGELOG.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,39 +8,39 @@ See [Github Releases](https://github.com/IanVS/prettier-plugin-sort-imports/rele
88

99
#### New features
1010

11-
- Group Namespace specifiers [#105](https://github.com/trivago/prettier-plugin-sort-imports/pull/105) by [Mattinton](https://github.com/Mattinton)
11+
- Group Namespace specifiers [#105](https://github.com/trivago/prettier-plugin-sort-imports/pull/105) by [Mattinton](https://github.com/Mattinton)
1212

1313
#### Bug fixes
1414

15-
- Do not reorder side effect nodes [#110](https://github.com/trivago/prettier-plugin-sort-imports/pull/111) by [blutorange](https://github.com/blutorange)
15+
- Do not reorder side effect nodes [#110](https://github.com/trivago/prettier-plugin-sort-imports/pull/111) by [blutorange](https://github.com/blutorange)
1616

1717
#### Chores
1818

19-
- Clean up unit test and snapshot test
20-
- Add contribution guidelines for bug fixes and new features
19+
- Clean up unit test and snapshot test
20+
- Add contribution guidelines for bug fixes and new features
2121

2222
### v3.1.1
2323

24-
- Fixes package management [#100](https://github.com/trivago/prettier-plugin-sort-imports/issues/100)
24+
- Fixes package management [#100](https://github.com/trivago/prettier-plugin-sort-imports/issues/100)
2525

2626
### v3.1.0
2727

2828
#### Chores
2929

30-
- Update Babel parser to `7.14.6` [#79](https://github.com/trivago/prettier-plugin-sort-imports/pull/79) by [juanrgm](https://github.com/juanrgm)
31-
- `.npmignore` cleanup [#96](https://github.com/trivago/prettier-plugin-sort-imports/issues/96) by [byara](https://github.com/byara)
32-
- Remove npm badges in the README [#101](https://github.com/trivago/prettier-plugin-sort-imports/issues/101) by [byara](https://github.com/byara)
30+
- Update Babel parser to `7.14.6` [#79](https://github.com/trivago/prettier-plugin-sort-imports/pull/79) by [juanrgm](https://github.com/juanrgm)
31+
- `.npmignore` cleanup [#96](https://github.com/trivago/prettier-plugin-sort-imports/issues/96) by [byara](https://github.com/byara)
32+
- Remove npm badges in the README [#101](https://github.com/trivago/prettier-plugin-sort-imports/issues/101) by [byara](https://github.com/byara)
3333

3434
### v3.0.0
3535

3636
#### New features
3737

38-
- `<THIRD_PARTY_MODULES>` special word in import order to place third
39-
party imports at desired place. [#65](https://github.com/trivago/prettier-plugin-sort-imports/pull/65) by [@risenforces](https://github.com/risenforces)
40-
- `importOrderSortSpecifiers` option to sort the imports in an import declaration. [#72](https://github.com/trivago/prettier-plugin-sort-imports/pull/72) by [@ratierd](https://github.com/ratierd)
41-
- `importOrderCaseInsensitive` option to control the case sensitivity [#69](https://github.com/trivago/prettier-plugin-sort-imports/pull/79) by [@timiles](https://github.com/timiles)
42-
- `importOrderParserPlugins` option to pass plugins to babel parser [#88](https://github.com/trivago/prettier-plugin-sort-imports/pull/88) by [@saaryab](https://github.com/saaryab)
38+
- `<THIRD_PARTY_MODULES>` special word in import order to place third
39+
party imports at desired place. [#65](https://github.com/trivago/prettier-plugin-sort-imports/pull/65) by [@risenforces](https://github.com/risenforces)
40+
- `importOrderSortSpecifiers` option to sort the imports in an import declaration. [#72](https://github.com/trivago/prettier-plugin-sort-imports/pull/72) by [@ratierd](https://github.com/ratierd)
41+
- `importOrderCaseInsensitive` option to control the case sensitivity [#69](https://github.com/trivago/prettier-plugin-sort-imports/pull/79) by [@timiles](https://github.com/timiles)
42+
- `importOrderParserPlugins` option to pass plugins to babel parser [#88](https://github.com/trivago/prettier-plugin-sort-imports/pull/88) by [@saaryab](https://github.com/saaryab)
4343

4444
#### Breaking Changes
4545

46-
- Renaming of the `experimentalBabelParserPluginsList` to `importOrderParserPlugins`. by [@byara](https://github.com/byara)
46+
- Renaming of the `experimentalBabelParserPluginsList` to `importOrderParserPlugins`. by [@byara](https://github.com/byara)

CODE_OF_CONDUCT.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ orientation.
1414
Examples of behavior that contributes to creating a positive environment
1515
include:
1616

17-
- Using welcoming and inclusive language
18-
- Being respectful of differing viewpoints and experiences
19-
- Gracefully accepting constructive criticism
20-
- Focusing on what is best for the community
21-
- Showing empathy towards other community members
17+
- Using welcoming and inclusive language
18+
- Being respectful of differing viewpoints and experiences
19+
- Gracefully accepting constructive criticism
20+
- Focusing on what is best for the community
21+
- Showing empathy towards other community members
2222

2323
Examples of unacceptable behavior by participants include:
2424

25-
- The use of sexualized language or imagery and unwelcome sexual attention or
26-
advances
27-
- Trolling, insulting/derogatory comments, and personal or political attacks
28-
- Public or private harassment
29-
- Publishing others' private information, such as a physical or electronic
30-
address, without explicit permission
31-
- Other conduct which could reasonably be considered inappropriate in a
32-
professional setting
25+
- The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
- Trolling, insulting/derogatory comments, and personal or political attacks
28+
- Public or private harassment
29+
- Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
- Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
3333

3434
## Our Responsibilities
3535

CONTRIBUTING.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ Contributions are always welcome, no matter how large or small! Before contribut
99
There are different ways to contribute, each comes with a different levels
1010
of tasks, such as:
1111

12-
- Report a bug.
13-
- Request a feature you think would be great for the plugin.
14-
- Take the ownership of the bug you want to fix and let others know about it by commenting on the issue.
15-
- Test and triage reported bugs by others.
16-
- Work on requested/approved features.
17-
- Improve the codebase (lint, naming, comments, test descriptions, etc...)
18-
- Improve the documentation.
19-
- Let the world know about the plugin!
12+
- Report a bug.
13+
- Request a feature you think would be great for the plugin.
14+
- Take the ownership of the bug you want to fix and let others know about it by commenting on the issue.
15+
- Test and triage reported bugs by others.
16+
- Work on requested/approved features.
17+
- Improve the codebase (lint, naming, comments, test descriptions, etc...)
18+
- Improve the documentation.
19+
- Let the world know about the plugin!
2020

2121
### Submitting a Pull Request
2222

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,10 @@
6363
"@types/babel__generator": "^7.6.8",
6464
"@types/babel__traverse": "^7.20.5",
6565
"@types/node": "^18.15.13",
66-
"@types/prettier": "^3.0.0",
6766
"@types/semver": "^7.5.3",
6867
"@vue/compiler-sfc": "3.4.21",
6968
"cross-env": "^7.0.3",
70-
"prettier": "^3.0.3",
69+
"prettier": "^4.0.0-0",
7170
"prettier-plugin-astro": "^0.14.0",
7271
"typescript": "5.2.2",
7372
"vitest": "^0.34.5"

0 commit comments

Comments
 (0)