Skip to content

Commit

Permalink
chore: add yarn pnp test
Browse files Browse the repository at this point in the history
  • Loading branch information
DorianMazur committed Sep 3, 2024
1 parent 88eb92b commit 6bf1519
Show file tree
Hide file tree
Showing 11 changed files with 7,523 additions and 3 deletions.
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,13 @@ npm-debug.log*
.idea

# MacOs
.DS_Store
.DS_Store

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
.yarnrc.yml
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions tests/installYarnModules.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { execa } from "execa"

export default function installYarnModules(dirPath) {
return execa("yarn", ["--immutable"], {
cwd: dirPath,
stdio: "inherit",
})
}
1 change: 1 addition & 0 deletions tests/scenario/yarn-pnp/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.build
Loading

0 comments on commit 6bf1519

Please sign in to comment.