aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cli/internal/packagemanager/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'cli/internal/packagemanager/fixtures')
-rw-r--r--cli/internal/packagemanager/fixtures/package.json7
-rw-r--r--cli/internal/packagemanager/fixtures/pnpm-patches.json11
-rw-r--r--cli/internal/packagemanager/fixtures/pnpm-workspace.yaml3
3 files changed, 21 insertions, 0 deletions
diff --git a/cli/internal/packagemanager/fixtures/package.json b/cli/internal/packagemanager/fixtures/package.json
new file mode 100644
index 0000000..6b27f7c
--- /dev/null
+++ b/cli/internal/packagemanager/fixtures/package.json
@@ -0,0 +1,7 @@
+{
+ "name": "fixture",
+ "workspaces": [
+ "apps/*",
+ "packages/*"
+ ]
+}
diff --git a/cli/internal/packagemanager/fixtures/pnpm-patches.json b/cli/internal/packagemanager/fixtures/pnpm-patches.json
new file mode 100644
index 0000000..f772bc3
--- /dev/null
+++ b/cli/internal/packagemanager/fixtures/pnpm-patches.json
@@ -0,0 +1,11 @@
+{
+ "name": "turborepo-prune-removes-patched",
+ "version": "1.0.0",
+ "packageManager": "pnpm@7.15.0",
+ "workspaces": ["packages/*"],
+ "pnpm": {
+ "patchedDependencies": {
+ "is-odd@3.0.1": "patches/is-odd@3.0.1.patch"
+ }
+ }
+}
diff --git a/cli/internal/packagemanager/fixtures/pnpm-workspace.yaml b/cli/internal/packagemanager/fixtures/pnpm-workspace.yaml
new file mode 100644
index 0000000..7fbb770
--- /dev/null
+++ b/cli/internal/packagemanager/fixtures/pnpm-workspace.yaml
@@ -0,0 +1,3 @@
+packages:
+ - "packages/*"
+ - "!packages/skip"