Skip to content

Instantly share code, notes, and snippets.

@DaneTheory
Last active June 24, 2021 18:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DaneTheory/792ec5a8c479e430f73c44736d347c57 to your computer and use it in GitHub Desktop.
Save DaneTheory/792ec5a8c479e430f73c44736d347c57 to your computer and use it in GitHub Desktop.
The Package (dot) JSON: A story of love, triumph, and general witchcraft/wizardry - InitFields: Type
[{
"npm:current": {
"ref": "",
"source": [
]
},
"npm:legacy": {
"ref": "",
"source": [
]
},
"yarn:current": {
"ref": "https://yarnpkg.com/configuration/manifest#type",
"source": [
"A Node.js v13.x 'option'. Possible values are 'commonjs' (the default) and 'module'. Yarn 3+ will generate a '.pnp.cjs' file when using PnP regardless of this option.",
"_example_:{ \n \"type\": \"commonjs\" \n }:_example_"
]
},
"yarn:legacy": {
"ref": "null",
"source": "null"
}
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment