Skip to content

Commit

Permalink
Add version to package in internal packages docs for yarn (#7626)
Browse files Browse the repository at this point in the history
### Description

Added the package version to the internal packages docs example. Without
version in the shared internal package, Yarn will attempt to fetch from
the npm registry leading to rabbitholes like this one:
#6322

### Testing Instructions

Confirm docs load with new text.
  • Loading branch information
loctn committed Mar 5, 2024
1 parent 0ce3954 commit 5179966
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -45,6 +45,7 @@ Create a `package.json`:
```json filename="packages/math-helpers/package.json"
{
"name": "math-helpers",
"version": "0.0.1",
"dependencies": {
// Use whatever version of TypeScript you're using
"typescript": "latest"
Expand Down

0 comments on commit 5179966

Please sign in to comment.