-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: Deprecate esbuild-plugin-pnp * Update e2e workflow * Update .yarn/versions/ded9c7c0.yml Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com> * deps: `esbuild-wasm@0.15.3` * deps: `esbuild-wasm@0.15.5` * chore: remove `baseUrl` * Fixes use strict * Restores the readme to explain the deprecation Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com> Co-authored-by: Maël Nison <nison.mael@gmail.com>
- Loading branch information
1 parent
a66e528
commit 4c8ab43
Showing
16 changed files
with
66 additions
and
335 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
releases: | ||
"@yarnpkg/builder": patch | ||
"@yarnpkg/core": patch | ||
"@yarnpkg/plugin-pnp": patch | ||
"@yarnpkg/pnp": patch | ||
vscode-zipfs: patch | ||
|
||
declined: | ||
- "@yarnpkg/plugin-compat" | ||
- "@yarnpkg/plugin-constraints" | ||
- "@yarnpkg/plugin-dlx" | ||
- "@yarnpkg/plugin-essentials" | ||
- "@yarnpkg/plugin-exec" | ||
- "@yarnpkg/plugin-file" | ||
- "@yarnpkg/plugin-git" | ||
- "@yarnpkg/plugin-github" | ||
- "@yarnpkg/plugin-http" | ||
- "@yarnpkg/plugin-init" | ||
- "@yarnpkg/plugin-interactive-tools" | ||
- "@yarnpkg/plugin-link" | ||
- "@yarnpkg/plugin-nm" | ||
- "@yarnpkg/plugin-npm" | ||
- "@yarnpkg/plugin-npm-cli" | ||
- "@yarnpkg/plugin-pack" | ||
- "@yarnpkg/plugin-patch" | ||
- "@yarnpkg/plugin-pnpm" | ||
- "@yarnpkg/plugin-stage" | ||
- "@yarnpkg/plugin-typescript" | ||
- "@yarnpkg/plugin-version" | ||
- "@yarnpkg/plugin-workspace-tools" | ||
- "@yarnpkg/cli" | ||
- "@yarnpkg/doctor" | ||
- "@yarnpkg/extensions" | ||
- "@yarnpkg/nm" | ||
- "@yarnpkg/pnpify" | ||
- "@yarnpkg/sdks" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,5 @@ | ||
# `@yarnpkg/esbuild-plugin-pnp` | ||
# esbuild-plugin-pnp | ||
|
||
This plugin lets you use Yarn with esbuild. We use it in order to build Yarn itself! | ||
Yarn used to maintain a plugin called [`esbuild-plugin-pnp`](https://yarnpkg.com/package/@yarnpkg/esbuild-plugin-pnp) which added PnP support to Esbuild. | ||
|
||
## Usage | ||
|
||
Add the plugin to your dependencies: | ||
|
||
``` | ||
yarn add @yarnpkg/esbuild-plugin-pnp | ||
``` | ||
|
||
Reference it via your esbuild configuration ([build API only](https://esbuild.github.io/plugins/)): | ||
|
||
```ts | ||
import {pnpPlugin} from '@yarnpkg/esbuild-plugin-pnp'; | ||
|
||
await build({ | ||
plugins: [pnpPlugin()], | ||
// ... | ||
}); | ||
``` | ||
Starting from Esbuild 0.15, this plugin isn't needed anymore and has been deprecated: [Esbuild now implements native support](https://esbuild.github.io/getting-started/#yarn-pnp) for both PnP and zip archives, with much better performances than what the plugin could achieve. |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.