-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: PnP package resolution support (#273)
* feat: PnP package resolution support Resolves #272 * docs: add changelog entry * feat: package resolution using Yarn 2.x .pnp.js Per discussion in #272 * fix: exclude fake stylelint from jest haste map * refactor: use more robust pnp package path check * test: update yarn e2e snapshots
- Loading branch information
1 parent
7bde14e
commit 65a6a06
Showing
33 changed files
with
23,176 additions
and
85 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
node_modules | ||
dist | ||
coverage | ||
.pnp.* | ||
.yarn |
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
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
4 changes: 3 additions & 1 deletion
4
src/utils/packages/__tests__/__snapshots__/find-package-root.js.snap
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,3 +1,5 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`findPackageRoot should throw when encountering a file system error other than ENOENT or ENOTDIR 1`] = `"EACCES: permission denied, open 'foo/bar/baz'"`; | ||
exports[`findPackageRoot with custom root file should throw when encountering a file system error other than ENOENT or ENOTDIR 1`] = `"EACCES: permission denied, open 'foo/bar/baz'"`; | ||
|
||
exports[`findPackageRoot with defaults should throw when encountering a file system error other than ENOENT or ENOTDIR 1`] = `"EACCES: permission denied, open 'foo/bar/baz'"`; |
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
Oops, something went wrong.