-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle peer dependencies in pnpm layout
- Loading branch information
1 parent
f5d0ef0
commit 98e72b0
Showing
25 changed files
with
239 additions
and
35 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
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
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
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 |
---|---|---|
|
@@ -97,6 +97,7 @@ File name '/user/username/projects/myproject/node_modules/pkg2/build/index.js' h | |
File '/user/username/projects/myproject/node_modules/pkg2/build/index.ts' does not exist. | ||
File '/user/username/projects/myproject/node_modules/pkg2/build/index.tsx' does not exist. | ||
File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exists - use it as a name resolution result. | ||
'package.json' does not have a 'peerDependencies' field. | ||
======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' with Package ID 'pkg2/build/[email protected]'. ======== | ||
======== Resolving module 'const' from '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts'. ======== | ||
Using compiler options of project reference redirect '/user/username/projects/myproject/packages/pkg2/tsconfig.json'. | ||
|
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 |
---|---|---|
|
@@ -95,6 +95,7 @@ File name '/user/username/projects/myproject/node_modules/pkg2/build/index.js' h | |
File '/user/username/projects/myproject/node_modules/pkg2/build/index.ts' does not exist. | ||
File '/user/username/projects/myproject/node_modules/pkg2/build/index.tsx' does not exist. | ||
File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exists - use it as a name resolution result. | ||
'package.json' does not have a 'peerDependencies' field. | ||
Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts', result '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. | ||
======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/index.d.ts' with Package ID 'pkg2/build/[email protected]'. ======== | ||
======== Resolving module 'const' from '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== | ||
|
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 |
---|---|---|
|
@@ -107,6 +107,7 @@ File name '/user/username/projects/myproject/node_modules/pkg2/build/index.js' h | |
File '/user/username/projects/myproject/node_modules/pkg2/build/index.ts' does not exist. | ||
File '/user/username/projects/myproject/node_modules/pkg2/build/index.tsx' does not exist. | ||
File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exists - use it as a name resolution result. | ||
'package.json' does not have a 'peerDependencies' field. | ||
Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts', result '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. | ||
======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/index.d.ts' with Package ID 'pkg2/build/[email protected]'. ======== | ||
======== Resolving module './const.js' from '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== | ||
|
@@ -379,6 +380,7 @@ File name '/user/username/projects/myproject/node_modules/pkg2/build/other.js' h | |
File '/user/username/projects/myproject/node_modules/pkg2/build/other.ts' does not exist. | ||
File '/user/username/projects/myproject/node_modules/pkg2/build/other.tsx' does not exist. | ||
File '/user/username/projects/myproject/node_modules/pkg2/build/other.d.ts' exists - use it as a name resolution result. | ||
'package.json' does not have a 'peerDependencies' field. | ||
Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/build/other.d.ts', result '/user/username/projects/myproject/packages/pkg2/build/other.d.ts'. | ||
======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/other.d.ts' with Package ID 'pkg2/build/[email protected]'. ======== | ||
[96mpackages/pkg1/index.ts[0m:[93m1[0m:[93m15[0m - [91merror[0m[90m TS2305: [0mModule '"pkg2"' has no exported member 'TheNum'. | ||
|
@@ -464,6 +466,7 @@ File name '/user/username/projects/myproject/node_modules/pkg2/build/index.js' h | |
File '/user/username/projects/myproject/node_modules/pkg2/build/index.ts' does not exist. | ||
File '/user/username/projects/myproject/node_modules/pkg2/build/index.tsx' does not exist. | ||
File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exists - use it as a name resolution result. | ||
'package.json' does not have a 'peerDependencies' field. | ||
Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts', result '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. | ||
======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/index.d.ts' with Package ID 'pkg2/build/[email protected]'. ======== | ||
======== Resolving module './const.js' from '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== | ||
|
Oops, something went wrong.