这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

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

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"scripts": {
"something": "turbo run build"
},
"packageManager": "bower",
"packageManager": "npm@10.5.0",
"workspaces": [
"apps/**",
"packages/**"
Expand Down
2 changes: 1 addition & 1 deletion turborepo-tests/integration/tests/command-bin.t
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Setup
$ . ${TESTDIR}/../../helpers/setup_integration_test.sh
$ . ${TESTDIR}/../../helpers/setup_integration_test.sh --no-install

$ ${TURBO} bin -vvv > out.log 2>&1
$ grep --quiet "Global turbo version: .*" out.log
Expand Down
2 changes: 1 addition & 1 deletion turborepo-tests/integration/tests/command-ls.t
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Setup
$ . ${TESTDIR}/../../helpers/setup_integration_test.sh
$ . ${TESTDIR}/../../helpers/setup_integration_test.sh --no-install

Run info
$ ${TURBO} ls
Expand Down
2 changes: 1 addition & 1 deletion turborepo-tests/integration/tests/config.t
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Setup
$ . ${TESTDIR}/../../helpers/setup_integration_test.sh
$ . ${TESTDIR}/../../helpers/setup_integration_test.sh --no-install

Run test run
$ ${TURBO} config
Expand Down
2 changes: 1 addition & 1 deletion turborepo-tests/integration/tests/conflicting-flags.t
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Setup
$ . ${TESTDIR}/../../helpers/setup_integration_test.sh
$ . ${TESTDIR}/../../helpers/setup_integration_test.sh --no-install
$ ${TURBO} run build --daemon --no-daemon
ERROR the argument '--daemon' cannot be used with '--no-daemon'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Setup
$ . ${TESTDIR}/../../../helpers/setup_integration_test.sh
$ . ${TESTDIR}/../../../helpers/setup_integration_test.sh --no-install

# Save JSON to tmp file so we don't need to keep re-running the build
$ ${TURBO} run build --dry=json --filter='[main]' > tmpjson.log
Expand Down
2 changes: 1 addition & 1 deletion turborepo-tests/integration/tests/dry-json/monorepo.t
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Setup
$ . ${TESTDIR}/../../../helpers/setup_integration_test.sh
$ . ${TESTDIR}/../../../helpers/setup_integration_test.sh --no-install

# Save JSON to tmp file so we don't need to keep re-running the build
$ ${TURBO} run build --dry=json > tmpjson.log
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Setup
$ . ${TESTDIR}/../../../helpers/setup_integration_test.sh single_package
$ . ${TESTDIR}/../../../helpers/setup_integration_test.sh single_package --no-install

# Save JSON to tmp file so we don't need to keep re-running the build
$ ${TURBO} run build --dry=json --filter='[main]' > tmpjson.log
Expand Down
2 changes: 1 addition & 1 deletion turborepo-tests/integration/tests/invalid-package-json.t
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Setup
$ . ${TESTDIR}/../../helpers/setup_integration_test.sh
$ . ${TESTDIR}/../../helpers/setup_integration_test.sh --no-install
Clear name field
$ jq '.name = ""' apps/my-app/package.json > package.json.new
$ mv apps/my-app/package.json apps/my-app/package.json.old
Expand Down
2 changes: 1 addition & 1 deletion turborepo-tests/integration/tests/package-manager.t
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Setup
$ . ${TESTDIR}/../../helpers/setup_integration_test.sh basic_monorepo "npm@8.19.4"
$ . ${TESTDIR}/../../helpers/setup_integration_test.sh basic_monorepo "npm@8.19.4" --no-install

Run test run
$ TURBO_LOG_VERBOSITY=off ${TURBO} config | jq .packageManager
Expand Down
2 changes: 1 addition & 1 deletion turborepo-tests/integration/tests/prune/docker.t
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Setup
$ . ${TESTDIR}/../../../helpers/setup_integration_test.sh monorepo_with_root_dep pnpm@7.25.1
$ . ${TESTDIR}/../../../helpers/setup_integration_test.sh monorepo_with_root_dep pnpm@7.25.1 --no-install

$ ${TURBO} prune web --docker
Generating pruned monorepo for web in .*out (re)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Setup
$ . ${TESTDIR}/../../../helpers/setup_integration_test.sh monorepo_with_root_dep pnpm@7.25.1
$ . ${TESTDIR}/../../../helpers/setup_integration_test.sh monorepo_with_root_dep pnpm@7.25.1 --no-install

Make sure that the internal util package is part of the prune output
$ ${TURBO} prune web
Expand Down
2 changes: 1 addition & 1 deletion turborepo-tests/integration/tests/prune/out-dir.t
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Setup
$ . ${TESTDIR}/../../../helpers/setup_integration_test.sh monorepo_with_root_dep pnpm@7.25.1
$ . ${TESTDIR}/../../../helpers/setup_integration_test.sh monorepo_with_root_dep pnpm@7.25.1 --no-install

Test that absolute paths can be passed as out-dir
$ TMPFILE=$(mktemp -d)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Setup
$ . ${TESTDIR}/../../../helpers/setup_integration_test.sh monorepo_with_root_dep pnpm@7.25.1
$ . ${TESTDIR}/../../../helpers/setup_integration_test.sh monorepo_with_root_dep pnpm@7.25.1 --no-install

Make sure that the internal util package is part of the prune output
$ ${TURBO} prune docs
Expand Down
2 changes: 1 addition & 1 deletion turborepo-tests/integration/tests/query/variables.t
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Setup
$ . ${TESTDIR}/../../../helpers/setup_integration_test.sh
$ . ${TESTDIR}/../../../helpers/setup_integration_test.sh --no-install

Create a variables file
$ echo '{ "name": "my-app" }' > vars.json
Expand Down
Loading