Skip to content

Commit

Permalink
feat(turborepo): Switch examples over to errors-only (#5418)
Browse files Browse the repository at this point in the history
Co-authored-by: Greg Soltis <Greg Soltis>
  • Loading branch information
gsoltis committed Jun 30, 2023
1 parent dfffb3c commit d96abf8
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 38 deletions.
4 changes: 2 additions & 2 deletions examples-tests/npm-non-monorepo/test.t
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
$ . ${TESTDIR}/../setup.sh non-monorepo npm
\d+\.\d+\.\d+ (re)
# run twice and make sure it works
$ npx turbo build lint --output-logs=none
$ npx turbo build lint --output-logs=errors-only
\xe2\x80\xa2 Running build, lint (esc)
\xe2\x80\xa2 Remote caching disabled (esc)

Tasks: 2 successful, 2 total
Cached: 0 cached, 2 total
Time:\s*[\.0-9ms]+ (re)

$ npx turbo build lint --output-logs=none
$ npx turbo build lint --output-logs=errors-only
\xe2\x80\xa2 Running build, lint (esc)
\xe2\x80\xa2 Remote caching disabled (esc)

Expand Down
8 changes: 4 additions & 4 deletions examples-tests/npm-with-npm/test.t
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
$ . ${TESTDIR}/../setup.sh with-npm npm
\d+\.\d+\.\d+ (re)
# run twice and make sure it works
$ npm run build lint -- --output-logs=none
$ npm run build lint -- --output-logs=errors-only

\> build (re)
\> turbo run build lint --output-logs=none (re)
\> turbo run build lint --output-logs=errors-only (re)

\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc)
\xe2\x80\xa2 Running build, lint in 5 packages (esc)
Expand All @@ -14,10 +14,10 @@
Cached: 0 cached, 5 total
Time:\s*[\.0-9ms]+ (re)

$ npm run build lint -- --output-logs=none
$ npm run build lint -- --output-logs=errors-only

\> build (re)
\> turbo run build lint --output-logs=none (re)
\> turbo run build lint --output-logs=errors-only (re)

\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc)
\xe2\x80\xa2 Running build, lint in 5 packages (esc)
Expand Down
8 changes: 4 additions & 4 deletions examples-tests/npm-with-yarn/test.t
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
$ . ${TESTDIR}/../setup.sh with-yarn npm
\d+\.\d+\.\d+ (re)
# run twice and make sure it works
$ npm run build lint -- --output-logs=none
$ npm run build lint -- --output-logs=errors-only

\> build (re)
\> turbo build lint --output-logs=none (re)
\> turbo build lint --output-logs=errors-only (re)

\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc)
\xe2\x80\xa2 Running build, lint in 5 packages (esc)
Expand All @@ -14,10 +14,10 @@
Cached: 0 cached, 5 total
Time:\s*[\.0-9ms]+ (re)

$ npm run build lint -- --output-logs=none
$ npm run build lint -- --output-logs=errors-only

\> build (re)
\> turbo build lint --output-logs=none (re)
\> turbo build lint --output-logs=errors-only (re)

\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc)
\xe2\x80\xa2 Running build, lint in 5 packages (esc)
Expand Down
8 changes: 4 additions & 4 deletions examples-tests/pnpm-basic/test.t
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
$ . ${TESTDIR}/../setup.sh basic pnpm
6.26.1
# run twice and make sure it works
$ pnpm run build lint -- --output-logs=none
$ pnpm run build lint -- --output-logs=errors-only

\> @ build (.*)/test.t (re)
\> turbo run build "lint" "--output-logs=none" (re)
\> turbo run build "lint" "--output-logs=errors-only" (re)

\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc)
\xe2\x80\xa2 Running build, lint in 5 packages (esc)
Expand All @@ -14,10 +14,10 @@
Cached: 0 cached, 5 total
Time:\s*[\.0-9ms]+ (re)

$ pnpm run build lint -- --output-logs=none
$ pnpm run build lint -- --output-logs=errors-only

\> @ build (.*)/test.t (re)
\> turbo run build "lint" "--output-logs=none" (re)
\> turbo run build "lint" "--output-logs=errors-only" (re)

\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc)
\xe2\x80\xa2 Running build, lint in 5 packages (esc)
Expand Down
8 changes: 4 additions & 4 deletions examples-tests/pnpm-gatsby/test.t
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
$ . ${TESTDIR}/../setup.sh with-gatsby pnpm
6.26.1
# run twice and make sure it works
$ pnpm run build lint -- --output-logs=none
$ pnpm run build lint -- --output-logs=errors-only

\> with-gatsby@0.0.0 build (.*)/test.t (re)
\> turbo build "lint" "--output-logs=none" (re)
\> turbo build "lint" "--output-logs=errors-only" (re)

\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc)
\xe2\x80\xa2 Running build, lint in 5 packages (esc)
Expand All @@ -15,10 +15,10 @@
Time:\s*[\.0-9ms]+ (re)


$ pnpm run build lint -- --output-logs=none
$ pnpm run build lint -- --output-logs=errors-only

\> with-gatsby@0.0.0 build (.*)/test.t (re)
\> turbo build "lint" "--output-logs=none" (re)
\> turbo build "lint" "--output-logs=errors-only" (re)

\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc)
\xe2\x80\xa2 Running build, lint in 5 packages (esc)
Expand Down
8 changes: 4 additions & 4 deletions examples-tests/pnpm-kitchen-sink/test.t
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
$ . ${TESTDIR}/../setup.sh kitchen-sink pnpm
6.26.1
# run twice and make sure it works
$ pnpm run build lint -- --output-logs=none
$ pnpm run build lint -- --output-logs=errors-only

\> @ build (.*)/test.t (re)
\> turbo build "lint" "--output-logs=none" (re)
\> turbo build "lint" "--output-logs=errors-only" (re)

\xe2\x80\xa2 Packages in scope: admin, api, blog, eslint-config-custom, eslint-config-custom-server, jest-presets, logger, storefront, tsconfig, ui (esc)
\xe2\x80\xa2 Running build, lint in 10 packages (esc)
Expand All @@ -14,10 +14,10 @@
Cached: 0 cached, 11 total
Time:\s*[\.0-9ms]+ (re)

$ pnpm run build lint -- --output-logs=none
$ pnpm run build lint -- --output-logs=errors-only

\> @ build (.*)/test.t (re)
\> turbo build "lint" "--output-logs=none" (re)
\> turbo build "lint" "--output-logs=errors-only" (re)

\xe2\x80\xa2 Packages in scope: admin, api, blog, eslint-config-custom, eslint-config-custom-server, jest-presets, logger, storefront, tsconfig, ui (esc)
\xe2\x80\xa2 Running build, lint in 10 packages (esc)
Expand Down
8 changes: 4 additions & 4 deletions examples-tests/pnpm-with-svelte/test.t
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
$ . ${TESTDIR}/../setup.sh with-svelte pnpm
6.26.1
# run twice and make sure it works
$ pnpm run build lint -- --output-logs=none
$ pnpm run build lint -- --output-logs=errors-only

\> @ build (.*)/test.t (re)
\> turbo run build "lint" "--output-logs=none" (re)
\> turbo run build "lint" "--output-logs=errors-only" (re)

\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, ui, web (esc)
\xe2\x80\xa2 Running build, lint in 4 packages (esc)
Expand All @@ -14,10 +14,10 @@
Cached: 0 cached, 5 total
Time:\s*[\.0-9ms]+ (re)

$ pnpm run build lint -- --output-logs=none
$ pnpm run build lint -- --output-logs=errors-only

\> @ build (.*)/test.t (re)
\> turbo run build "lint" "--output-logs=none" (re)
\> turbo run build "lint" "--output-logs=errors-only" (re)

\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, ui, web (esc)
\xe2\x80\xa2 Running build, lint in 4 packages (esc)
Expand Down
8 changes: 4 additions & 4 deletions examples-tests/yarn-non-monorepo/test.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
\d+\.\d+\.\d+ (re)

# run twice and make sure it works
$ yarn turbo build lint --output-logs=none
$ yarn turbo build lint --output-logs=errors-only
yarn run v\d+\.\d+\.\d+ (re)
\$ (.*)node_modules/.bin/turbo build lint --output-logs=none (re)
\$ (.*)node_modules/.bin/turbo build lint --output-logs=errors-only (re)
\xe2\x80\xa2 Running build, lint (esc)
\xe2\x80\xa2 Remote caching disabled (esc)

Expand All @@ -14,9 +14,9 @@

Done in [\.0-9]+m?s\. (re)
$ yarn turbo build lint --output-logs=none
$ yarn turbo build lint --output-logs=errors-only
yarn run v\d+\.\d+\.\d+ (re)
\$ (.*)node_modules/.bin/turbo build lint --output-logs=none (re)
\$ (.*)node_modules/.bin/turbo build lint --output-logs=errors-only (re)
\xe2\x80\xa2 Running build, lint (esc)
\xe2\x80\xa2 Remote caching disabled (esc)
Expand Down
8 changes: 4 additions & 4 deletions examples-tests/yarn-with-npm/test.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
\d+\.\d+\.\d+ (re)

# run twice and make sure it works
$ yarn turbo build lint --output-logs=none
$ yarn turbo build lint --output-logs=errors-only
yarn run v\d+\.\d+\.\d+ (re)
\$ (.*)node_modules/.bin/turbo build lint --output-logs=none (re)
\$ (.*)node_modules/.bin/turbo build lint --output-logs=errors-only (re)
\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc)
\xe2\x80\xa2 Running build, lint in 5 packages (esc)
\xe2\x80\xa2 Remote caching disabled (esc)
Expand All @@ -15,9 +15,9 @@

Done in [\.0-9]+m?s\. (re)
$ yarn turbo build lint --output-logs=none
$ yarn turbo build lint --output-logs=errors-only
yarn run v\d+\.\d+\.\d+ (re)
\$ (.*)node_modules/.bin/turbo build lint --output-logs=none (re)
\$ (.*)node_modules/.bin/turbo build lint --output-logs=errors-only (re)
\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc)
\xe2\x80\xa2 Running build, lint in 5 packages (esc)
\xe2\x80\xa2 Remote caching disabled (esc)
Expand Down
8 changes: 4 additions & 4 deletions examples-tests/yarn-with-yarn/test.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
\d+\.\d+\.\d+ (re)

# run twice and make sure it works
$ yarn turbo build lint --output-logs=none
$ yarn turbo build lint --output-logs=errors-only
yarn run v\d+\.\d+\.\d+ (re)
\$ (.*)node_modules/.bin/turbo build lint --output-logs=none (re)
\$ (.*)node_modules/.bin/turbo build lint --output-logs=errors-only (re)
\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc)
\xe2\x80\xa2 Running build, lint in 5 packages (esc)
\xe2\x80\xa2 Remote caching disabled (esc)
Expand All @@ -15,9 +15,9 @@

Done in [\.0-9]+m?s\. (re)
$ yarn turbo build lint --output-logs=none
$ yarn turbo build lint --output-logs=errors-only
yarn run v\d+\.\d+\.\d+ (re)
\$ (.*)node_modules/.bin/turbo build lint --output-logs=none (re)
\$ (.*)node_modules/.bin/turbo build lint --output-logs=errors-only (re)
\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc)
\xe2\x80\xa2 Running build, lint in 5 packages (esc)
\xe2\x80\xa2 Remote caching disabled (esc)
Expand Down

0 comments on commit d96abf8

Please sign in to comment.