Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
41 changes: 6 additions & 35 deletions packages/rstack/THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@ 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/plugin-yuku
## Prettier yuku parser adapter

This package includes bundled code from
[@prettier/plugin-yuku](https://github.com/prettier/prettier/tree/main/packages/plugin-yuku).
The local Yuku parser adapter includes portions derived from
[@prettier/plugin-yuku](https://github.com/prettier/prettier/tree/main/packages/plugin-yuku)
and Prettier's JavaScript parser postprocessing. The adapter reuses the public
ESTree printer, formatter options, and parser utilities from the installed
`prettier` package.

License: MIT

Expand All @@ -56,38 +59,6 @@ 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.

The bundled plugin also contains MIT-licensed code from:

- emoji-regex 10.6.0, copyright Mathias Bynens
- escape-string-regexp 5.0.0, copyright Sindre Sorhus
- get-east-asian-width 1.6.0, copyright Sindre Sorhus
- index-to-position 1.2.0, copyright Sindre Sorhus
- is-es5-identifier-name 1.0.1, copyright fisker Cheung
- jest-docblock 30.4.0, copyright Meta Platforms, Inc. and Jest contributors
- narrow-emojis 0.0.3, copyright fisker Cheung
- Prettier 3.10.0-dev, copyright James Long and contributors
- to-fast-properties 4.0.0, copyright Petka Antonov, Benjamin Gruenbaum,
John-David Dalton, and Sindre Sorhus
- trim-newlines 5.0.0, copyright 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 notices 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.

## fast-ignore

This package includes bundled code from [fast-ignore](https://github.com/fabiospampinato/fast-ignore).
Expand Down
1 change: 0 additions & 1 deletion packages/rstack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
"yuku-parser": "catalog:"
},
"devDependencies": {
"@prettier/plugin-yuku": "catalog:",
"@rspress/core": "catalog:",
"@rstackjs/load-config": "catalog:",
"@rstackjs/test-utils": "catalog:",
Expand Down
2 changes: 1 addition & 1 deletion packages/rstack/src/fmt/prettierPlugins.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as yukuPlugin from '@prettier/plugin-yuku';
import type { Options as PrettierOptions, Plugin } from 'prettier';
import type { ResolvedFmtOptions } from './types.ts';
import { yukuPlugin } from './yukuPlugin.ts';

type PrettierPlugins = NonNullable<PrettierOptions['plugins']>;

Expand Down
Loading