Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP
Browse files Browse the repository at this point in the history
anthonyshew committed Dec 9, 2024
1 parent 905cedc commit 1b1ab1c
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions turborepo-tests/example-with-npm/package.json
Original file line number Diff line number Diff line change
@@ -6,6 +6,5 @@
"dependencies": {
"turborepo-tests-helpers": "workspace:*",
"turborepo-examples": "workspace:*"
},
"packageManager": "npm"
}
}
6 changes: 3 additions & 3 deletions turborepo-tests/helpers/setup_example_test.sh
Original file line number Diff line number Diff line change
@@ -21,11 +21,11 @@ fi

# Use the right command for each package manager
if [ "$package_manager" == "npm" ]; then
package_manager_command="npx @turbo/workspaces convert . npm || true && npm install"
package_manager_command="(npx @turbo/workspaces convert . npm; exit 0) && npm install"
elif [ "$package_manager" == "pnpm" ]; then
package_manager_command="npx @turbo/workspaces convert . pnpm || true && pnpm install"
package_manager_command="(npx @turbo/workspaces convert . pnpm; exit 0) && pnpm install"
elif [ "$package_manager" == "yarn" ]; then
package_manager_command="npx @turbo/workspaces convert . yarn || true && yarn"
package_manager_command="(npx @turbo/workspaces convert . yarn; exit 0) && yarn"
fi

# All examples implement these two tasks

0 comments on commit 1b1ab1c

Please sign in to comment.