Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support peerDependenciesMeta #436

Closed
fengmk2 opened this issue Jan 7, 2023 · 2 comments · Fixed by #437
Closed

support peerDependenciesMeta #436

fengmk2 opened this issue Jan 7, 2023 · 2 comments · Fixed by #437

Comments

@fengmk2
Copy link
Member

fengmk2 commented Jan 7, 2023

https://docs.npmjs.com/cli/v7/configuring-npm/package-json#peerdependenciesmeta

{
  "name": "tea-latte",
  "version": "1.3.5",
  "peerDependencies": {
    "tea": "2.x",
    "soy-milk": "1.2"
  },
  "peerDependenciesMeta": {
    "soy-milk": {
      "optional": true
    }
  }
}
@fengmk2
Copy link
Member Author

fengmk2 commented Jan 7, 2023

peerDependencies WARNING ts-node@^10.9.1 requires a peer of @swc/wasm@>=1.2.50 but none was installed, packageDir: ~/git/github.com/eggjs/tegg/node_modules/.store/[email protected]/node_modules/ts-node

image

@fengmk2
Copy link
Member Author

fengmk2 commented Jan 8, 2023

npm/rfcs#221

fengmk2 added a commit that referenced this issue Jan 8, 2023
fengmk2 added a commit that referenced this issue Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant