Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1034 commits
Select commit Hold shift + click to select a range
b52dcf9
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Apr 21, 2025
8cac4a9
build
abrahamguo Apr 21, 2025
7261ab8
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Apr 21, 2025
21e1a17
build
abrahamguo Apr 21, 2025
39d2d70
npm up
abrahamguo Apr 21, 2025
065e0b3
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Apr 21, 2025
4934bb0
build
abrahamguo Apr 21, 2025
089b718
add version to package.json
abrahamguo Apr 21, 2025
625ea35
npm up
abrahamguo Apr 22, 2025
deb4b3e
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Apr 22, 2025
dd2e295
build
abrahamguo Apr 22, 2025
ded2f94
npm up
abrahamguo Apr 22, 2025
427d8a4
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Apr 22, 2025
877107c
build
abrahamguo Apr 22, 2025
799ee8c
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Apr 23, 2025
a83e0ef
build
abrahamguo Apr 23, 2025
23bf6ce
npm up
abrahamguo Apr 24, 2025
b83fbe4
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Apr 24, 2025
d2eb29d
build
abrahamguo Apr 24, 2025
42e2cf1
npm up
abrahamguo Apr 25, 2025
b277caf
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Apr 25, 2025
39b7c7a
build
abrahamguo Apr 25, 2025
25a09f2
npm up
abrahamguo Apr 27, 2025
772340c
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Apr 27, 2025
d0a9df0
npm up
abrahamguo Apr 27, 2025
83612e0
npm up
abrahamguo Apr 28, 2025
f963755
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Apr 28, 2025
8ef0fed
build
abrahamguo Apr 28, 2025
bece6ca
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Apr 28, 2025
778a4b4
build
abrahamguo Apr 28, 2025
2c44bc0
build
abrahamguo Apr 29, 2025
165a434
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Apr 29, 2025
99ce23c
build
abrahamguo Apr 29, 2025
a3be613
npm up
abrahamguo May 1, 2025
9d9eb7b
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 1, 2025
fda31cc
build
abrahamguo May 6, 2025
e0481ef
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 6, 2025
d59c3a1
build
abrahamguo May 6, 2025
fc4a927
build
abrahamguo May 7, 2025
b1b6bdd
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 7, 2025
b24983e
build
abrahamguo May 7, 2025
916712f
npm up
abrahamguo May 8, 2025
f7bdacc
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 8, 2025
9844867
build
abrahamguo May 8, 2025
bdeec78
build
abrahamguo May 8, 2025
41284e8
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 8, 2025
24b8ad8
build
abrahamguo May 8, 2025
1183d09
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 8, 2025
fdd4b2d
build
abrahamguo May 8, 2025
ae69504
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 8, 2025
40f613a
build
abrahamguo May 9, 2025
4e0e353
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 9, 2025
5453af2
build
abrahamguo May 10, 2025
1fd0ef2
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 10, 2025
c03c7f8
build
abrahamguo May 10, 2025
628450d
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 11, 2025
8b20ec3
build
abrahamguo May 11, 2025
4cedec2
npm up
abrahamguo May 12, 2025
98a1b62
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 12, 2025
b4b14f3
build
abrahamguo May 12, 2025
bd237dd
npm up
abrahamguo May 12, 2025
5bad8dd
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 12, 2025
05fd0f0
build
abrahamguo May 12, 2025
96aa09f
build
abrahamguo May 13, 2025
02b089d
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 13, 2025
d9d5541
build
abrahamguo May 13, 2025
2a56189
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 13, 2025
78a2049
npm up
abrahamguo May 14, 2025
0de8cdc
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 14, 2025
f6692b7
build
abrahamguo May 14, 2025
cb7a627
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 14, 2025
734c537
build
abrahamguo May 14, 2025
41dd1f3
npm up
abrahamguo May 14, 2025
94139f0
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 14, 2025
be5c106
build
abrahamguo May 14, 2025
30a2fc3
npm up
abrahamguo May 15, 2025
0dfdbfa
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 15, 2025
9a7d65c
build
abrahamguo May 15, 2025
c868577
npm up
abrahamguo May 20, 2025
27739f5
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 20, 2025
17428c0
build
abrahamguo May 20, 2025
cd65acf
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 20, 2025
2a18829
build
abrahamguo May 20, 2025
ce10792
npm up
abrahamguo May 21, 2025
6a301da
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 21, 2025
386444c
build
abrahamguo May 21, 2025
387ffa1
npm up
abrahamguo May 22, 2025
672fec6
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 22, 2025
edbc772
build
abrahamguo May 22, 2025
5990fc9
npm up
abrahamguo May 27, 2025
1d8f127
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 27, 2025
69a223e
build
abrahamguo May 27, 2025
1320ce4
build
abrahamguo May 27, 2025
93887ce
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 27, 2025
d0fb309
npm up
abrahamguo May 27, 2025
a517803
build
abrahamguo May 27, 2025
736fedd
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 27, 2025
b5ef222
build
abrahamguo May 27, 2025
299166f
npm up
abrahamguo May 27, 2025
4d5a5cf
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 27, 2025
70acd8f
build
abrahamguo May 27, 2025
c9bae87
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 27, 2025
d91996d
build
abrahamguo May 27, 2025
941295c
npm up
abrahamguo May 28, 2025
12f3fe7
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 28, 2025
45c9d8c
build
abrahamguo May 28, 2025
1a4260d
build
abrahamguo May 29, 2025
a2d861e
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 29, 2025
c0d83c8
build
abrahamguo May 29, 2025
67258f2
npm up
abrahamguo May 30, 2025
286258c
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo May 30, 2025
4ff43dc
build
abrahamguo May 30, 2025
6c10be6
build
abrahamguo Jun 2, 2025
786aa6a
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jun 2, 2025
8a6dbf8
build
abrahamguo Jun 2, 2025
21f249d
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jun 2, 2025
baf6ae7
build
abrahamguo Jun 2, 2025
d19e7f7
build
abrahamguo Jun 2, 2025
fd0e088
build
abrahamguo Jun 2, 2025
f65b119
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jun 2, 2025
406e3c2
npm up and build
abrahamguo Jun 2, 2025
da5dece
npm up
abrahamguo Jun 3, 2025
e169323
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jun 3, 2025
559550e
build
abrahamguo Jun 3, 2025
f74d71e
npm up
abrahamguo Jun 4, 2025
1a4f1e0
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jun 4, 2025
9a2fb8e
build
abrahamguo Jun 4, 2025
2dae6f4
npm up
abrahamguo Jun 5, 2025
40e0776
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jun 5, 2025
d82c742
build
abrahamguo Jun 5, 2025
76f178a
build
abrahamguo Jun 5, 2025
7be3aa1
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jun 5, 2025
2c1da34
npm up
abrahamguo Jun 9, 2025
f9fda1d
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jun 9, 2025
0c923b7
build
abrahamguo Jun 9, 2025
26463a7
npm up
abrahamguo Jun 10, 2025
651b5e5
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jun 10, 2025
f979a2d
npm up
abrahamguo Jun 10, 2025
6c01345
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jun 10, 2025
b49ad07
build
abrahamguo Jun 10, 2025
6e33c01
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jun 10, 2025
b64fc37
build
abrahamguo Jun 10, 2025
9376d43
npm up
abrahamguo Jun 13, 2025
0ab653f
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jun 13, 2025
323ee1a
npm up
abrahamguo Jun 13, 2025
56b9481
npm up
abrahamguo Jun 16, 2025
78377f2
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jun 16, 2025
48c8ec5
build
abrahamguo Jun 16, 2025
8ad61ae
build
abrahamguo Jun 18, 2025
955c899
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jun 18, 2025
612cabb
build
abrahamguo Jun 18, 2025
f9a8d08
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jun 18, 2025
a4bbc8d
build
abrahamguo Jun 18, 2025
f1ee1f3
npm up
abrahamguo Jun 19, 2025
a09207d
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jun 19, 2025
1dce3ec
build
abrahamguo Jun 19, 2025
1788049
build
abrahamguo Jun 19, 2025
61ce6d8
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jun 19, 2025
e3975c6
build
abrahamguo Jun 19, 2025
960ec87
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jun 19, 2025
2672317
build
abrahamguo Jun 19, 2025
90b6b2b
npm up
abrahamguo Jun 30, 2025
0404326
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jun 30, 2025
840c8a2
npm up
abrahamguo Jun 30, 2025
166ec39
npm up and build
abrahamguo Jun 30, 2025
4ce0b10
npm up
abrahamguo Jul 2, 2025
4c93622
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jul 2, 2025
6f78668
build
abrahamguo Jul 2, 2025
e2405e6
fix parens
abrahamguo Jul 3, 2025
ae6305e
npm up
abrahamguo Jul 3, 2025
4648db6
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jul 3, 2025
7c614d5
build
abrahamguo Jul 3, 2025
c21b542
npm up
abrahamguo Jul 7, 2025
65ea680
npm up
abrahamguo Jul 7, 2025
9eb0af3
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jul 7, 2025
350c8e3
build
abrahamguo Jul 7, 2025
4d19beb
build
abrahamguo Jul 14, 2025
55c98c2
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jul 14, 2025
5d4f122
build
abrahamguo Jul 14, 2025
3516253
npm up
abrahamguo Jul 14, 2025
2dfaabc
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jul 14, 2025
f545a41
build
abrahamguo Jul 14, 2025
22e9f20
npm up
abrahamguo Jul 18, 2025
96617a0
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jul 18, 2025
7af1e01
build
abrahamguo Jul 18, 2025
8e3852b
npm up
abrahamguo Jul 21, 2025
80c7f8d
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jul 21, 2025
cd20d41
npm up
abrahamguo Jul 28, 2025
77e285a
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Jul 28, 2025
ae497a0
build
abrahamguo Jul 28, 2025
0a3def7
build
abrahamguo Aug 11, 2025
1b5d896
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Aug 11, 2025
de4fc16
build
abrahamguo Aug 11, 2025
a7cb8b7
build
abrahamguo Aug 12, 2025
166e357
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Aug 12, 2025
b4ce14e
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Aug 13, 2025
fb8fc70
build
abrahamguo Aug 13, 2025
1b3a14e
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Aug 13, 2025
e9927a5
build
abrahamguo Aug 13, 2025
402c1c3
npm up and add package.json export
abrahamguo Aug 14, 2025
f915ff9
build
abrahamguo Aug 15, 2025
37b2a40
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Aug 15, 2025
d3975ac
npm up
abrahamguo Aug 15, 2025
c60166f
restore package.json path
abrahamguo Aug 15, 2025
fd7048e
npm up and add package.json to build script
abrahamguo Aug 18, 2025
90bef37
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Aug 18, 2025
a48bd90
build
abrahamguo Aug 18, 2025
126de0a
npm up
abrahamguo Aug 25, 2025
e7d9da7
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Aug 25, 2025
8c2f612
build
abrahamguo Aug 25, 2025
7b5c6ff
build
abrahamguo Sep 2, 2025
ec5a197
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Sep 2, 2025
6357251
build
abrahamguo Sep 2, 2025
09c4564
npm up
abrahamguo Sep 4, 2025
2a709e5
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Sep 4, 2025
f58f05c
build
abrahamguo Sep 4, 2025
890da8e
npm up
abrahamguo Sep 8, 2025
471d4b0
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Sep 8, 2025
2125b55
build
abrahamguo Sep 8, 2025
e6eb6a0
npm up
abrahamguo Sep 8, 2025
7a2cff0
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Sep 8, 2025
6e9ac30
npm up
abrahamguo Sep 8, 2025
192674e
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Sep 9, 2025
3e98160
build
abrahamguo Sep 9, 2025
9c50d05
npm up
abrahamguo Sep 9, 2025
ad4107b
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Sep 9, 2025
c703fcc
npm up
abrahamguo Sep 9, 2025
78bf36e
fix object destructuring
abrahamguo Sep 9, 2025
6e16745
npm up
abrahamguo Sep 11, 2025
fbd46bb
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Sep 11, 2025
d06771c
build
abrahamguo Sep 11, 2025
d89c7db
npm up
abrahamguo Sep 12, 2025
f5aa12a
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Sep 12, 2025
3c56d3e
build
abrahamguo Sep 12, 2025
5791797
fix wrongly resolved merge conflicts
abrahamguo Sep 12, 2025
afd50bd
npm up
abrahamguo Sep 18, 2025
b8d6d43
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Sep 18, 2025
4014fdc
build
abrahamguo Sep 18, 2025
2c01fb9
npm up
abrahamguo Sep 22, 2025
86476dd
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Sep 22, 2025
5b383a5
build
abrahamguo Sep 22, 2025
9d8e8b7
npm up
abrahamguo Sep 22, 2025
efdef83
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Sep 22, 2025
76045d5
build
abrahamguo Sep 22, 2025
3175c67
npm up
abrahamguo Sep 23, 2025
6c2f2ca
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Sep 23, 2025
d016e18
build
abrahamguo Sep 23, 2025
50d2e83
build
abrahamguo Sep 23, 2025
82e57b7
Merge branch 'main' of github.com:prp-cloud/prettier into precision
abrahamguo Sep 23, 2025
ab46e76
build
abrahamguo Sep 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
/.vscode/**/*
!/.vscode/extensions.json
!/.vscode/settings.example.json
/dist*
/website/build
/website/i18n
/website/static/playground
Expand All @@ -23,7 +22,6 @@
.DS_Store
/coverage
.idea
package-lock.json
**/.yarn/*
!.yarn/releases
!.yarn/plugins
Expand Down
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@
!/tests/integration/plugins/options/plugin.cjs
!/tests/integration/plugins/preprocess/plugin.cjs
/tests/integration/custom-parsers/
/dist
!/dist/index.js
4 changes: 2 additions & 2 deletions bin/prettier.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ if (typeof nodeModule.enableCompileCache === "function") {
nodeModule.enableCompileCache();
}

var pleaseUpgradeNode = require("please-upgrade-node");
/*var pleaseUpgradeNode = require("please-upgrade-node");
var packageJson = require("../package.json");

pleaseUpgradeNode(packageJson);
pleaseUpgradeNode(packageJson);*/

var dynamicImport = new Function("module", "return import(module)");

Expand Down
7 changes: 7 additions & 0 deletions dist/plugin-hermes/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright © James Long and contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
35 changes: 35 additions & 0 deletions dist/plugin-hermes/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# @prettier/plugin-hermes

[![Npm Version](https://img.shields.io/npm/v/@prettier/plugin-hermes.svg?style=flat-square)](https://www.npmjs.com/package/@prettier/plugin-hermes)
[![MIT License](https://img.shields.io/npm/l/@prettier/plugin-hermes.svg?style=flat-square)](https://github.com/prettier/prettier/blob/main/license)

> Prettier [Hermes](https://github.com/facebook/hermes/blob/main/README.md) plugin.

## Install

```bash
yarn add --dev prettier @prettier/plugin-hermes
```

## Usage

Create or modify your [prettier configuration file](https://prettier.io/docs/en/configuration) to use the plugin:

```yaml
plugins:
- "@prettier/plugin-hermes"
```

**Requires prettier >= 3.6**

Or config explicitly

```yaml
overrides:
- files:
- "**/*.{js.flow,js,mjs,cjs}"
options:
plugins:
- "@prettier/plugin-hermes"
parser: hermes
```
347 changes: 347 additions & 0 deletions dist/plugin-hermes/THIRD-PARTY-NOTICES.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions dist/plugin-hermes/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { Parser } from "prettier";

export declare const parsers: {
hermes: Parser;
};
44 changes: 44 additions & 0 deletions dist/plugin-hermes/index.mjs

Large diffs are not rendered by default.

37 changes: 37 additions & 0 deletions dist/plugin-hermes/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "@prettier/plugin-hermes",
"version": "0.0.3",
"description": "Prettier Hermes plugin.",
"exports": {
".": {
"types": "./index.d.ts",
"default": "./index.mjs"
},
"./*": "./*"
},
"repository": {
"type": "git",
"url": "git+https://github.com/prettier/prettier.git",
"directory": "packages/plugin-hermes"
},
"funding": "https://github.com/prettier/prettier?sponsor=1",
"homepage": "https://github.com/prettier/prettier/tree/main/packages/plugin-hermes",
"author": "fisker Cheung <lionkay@gmail.com>",
"license": "MIT",
"engines": {
"node": ">=14"
},
"type": "commonjs",
"files": [
"LICENSE",
"README.md",
"THIRD-PARTY-NOTICES.md",
"index.d.ts",
"index.mjs",
"package.json"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}
7 changes: 7 additions & 0 deletions dist/plugin-oxc/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright © James Long and contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
41 changes: 41 additions & 0 deletions dist/plugin-oxc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# @prettier/plugin-oxc

[![Npm Version](https://img.shields.io/npm/v/@prettier/plugin-oxc.svg?style=flat-square)](https://www.npmjs.com/package/@prettier/plugin-oxc)
[![MIT License](https://img.shields.io/npm/l/@prettier/plugin-oxc.svg?style=flat-square)](https://github.com/prettier/prettier/blob/main/license)

> Prettier [Oxc](https://oxc.rs/) plugin.

## Install

```bash
yarn add --dev prettier @prettier/plugin-oxc
```

## Usage

Create or modify your [prettier configuration file](https://prettier.io/docs/en/configuration) to use the plugin:

```yaml
plugins:
- "@prettier/plugin-oxc"
```

**Requires prettier >= 3.6**

Or config explicitly

```yaml
overrides:
- files:
- "**/*.{js,mjs,cjs,jsx}"
options:
plugins:
- "@prettier/plugin-oxc"
parser: oxc
- files:
- "**/*.{ts,mts,cts,tsx}"
options:
plugins:
- "@prettier/plugin-oxc"
parser: oxc-ts
```
211 changes: 211 additions & 0 deletions dist/plugin-oxc/THIRD-PARTY-NOTICES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
# Licenses of bundled dependencies

The published @prettier/plugin-oxc artifact additionally contains code with the following licenses:
MIT.

## emoji-regex@v10.5.0

> A regular expression to match all Emoji-only symbols as per the Unicode Standard.

License: MIT
Homepage: <https://mths.be/emoji-regex>
Repository: <https://github.com/mathiasbynens/emoji-regex.git>
Author: Mathias Bynens (https://mathiasbynens.be/)

> Copyright Mathias Bynens <https://mathiasbynens.be/>
>
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated documentation files (the
> "Software"), to deal in the Software without restriction, including
> without limitation the rights to use, copy, modify, merge, publish,
> distribute, sublicense, and/or sell copies of the Software, and to
> permit persons to whom the Software is furnished to do so, subject to
> the following conditions:
>
> The above copyright notice and this permission notice shall be
> included in all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

----------------------------------------

## escape-string-regexp@v5.0.0

> Escape RegExp special characters

License: MIT
Author: Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)

> MIT License
>
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
>
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

----------------------------------------

## get-east-asian-width@v1.4.0

> Determine the East Asian Width of a Unicode character

License: MIT
Author: Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)

> MIT License
>
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
>
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

----------------------------------------

## index-to-position@v1.1.0

> Convert a string index to its line and column position

License: MIT
Author: Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)

> MIT License
>
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
>
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

----------------------------------------

## is-es5-identifier-name@v1.0.0

> Check if provided string is an `IdentifierName` as specified in ECMA262 edition 5.1 section 7.6.

License: MIT
Author: fisker Cheung <lionkay@gmail.com>

> MIT License
>
> Copyright (c) fisker Cheung <lionkay@gmail.com> (https://www.fiskercheung.com/)
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.

----------------------------------------

## jest-docblock@v30.0.1

License: MIT
Repository: <https://github.com/jestjs/jest.git>

> MIT License
>
> Copyright (c) Meta Platforms, Inc. and affiliates.
> Copyright Contributors to the Jest project.
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.

----------------------------------------

## prettier@v3.7.0-82e57b781

> Prettier is an opinionated code formatter

License: MIT
Homepage: <https://prettier.io>
Author: James Long

> Copyright © James Long and contributors
>
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

----------------------------------------

## to-fast-properties@v4.0.0

> Force V8 to use fast properties for an object

License: MIT
Author: Sindre Sorhus <sindresorhus@gmail.com> (https:/sindresorhus.com)

> MIT License
>
> Copyright (c) Petka Antonov
> Benjamin Gruenbaum
> John-David Dalton
> Sindre Sorhus
>
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

----------------------------------------

## trim-newlines@v5.0.0

> Trim newlines from the start and/or end of a string

License: MIT
Author: Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)

> MIT License
>
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
>
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6 changes: 6 additions & 0 deletions dist/plugin-oxc/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { Parser } from "prettier";

export declare const parsers: {
oxc: Parser;
"oxc-ts": Parser;
};
Loading