Skip to content

Commit

Permalink
feat: add exclude CRA from pnpm workspace since it requires shamefull…
Browse files Browse the repository at this point in the history
…y-hoist
  • Loading branch information
nvh95 committed Aug 27, 2022
1 parent 8bece49 commit c0c701a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/create-react-app/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "cra-jest",
"name": "cra",
"version": "0.1.0",
"private": true,
"dependencies": {
Expand Down Expand Up @@ -51,6 +51,7 @@
"animate-sass": "^0.8.2",
"jest-preview": "file:../..",
"npm-run-all": "^4.1.5",
"postcss-modules": "^5.0.0",
"sass": "^1.50.0"
}
}
1 change: 1 addition & 0 deletions examples/create-react-app/pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Workaround to allow shamefully-hoise in a pnpm workspace
1 change: 1 addition & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ packages:
- 'demo'
- 'examples/vite-react'
- 'examples/angular'
- '!examples/create-react-app'

0 comments on commit c0c701a

Please sign in to comment.