-
Notifications
You must be signed in to change notification settings - Fork 2k
Comparing changes
Open a pull request
base repository: vercel/turborepo
base: v1.5.3
head repository: vercel/turborepo
compare: v1.5.4
- 20 commits
- 85 files changed
- 10 contributors
Commits on Sep 23, 2022
-
Drop log line breaking JSON dry-run output when remote caching is ena…
…bled (#2067) We shouldn't be writing directly to stdout/stderr, that breaks output for json-based commands, as well as doesn't honor any ui configuration we have in place. Fixes #2062
Greg Soltis authoredSep 23, 2022 Configuration menu - View commit details
-
Copy full SHA for d48fcdf - Browse repository at this point
Copy the full SHA d48fcdfView commit details -
Use fmt.Sprintf where appropriate in logs (#2068)
The log api takes either argument pairs or a stacktrace as its varargs, but it doesn't do string formatting. Make sure we do the string formatting where we need to.
Greg Soltis authoredSep 23, 2022 Configuration menu - View commit details
-
Copy full SHA for a829fd6 - Browse repository at this point
Copy the full SHA a829fd6View commit details
Commits on Sep 25, 2022
-
1
Configuration menu - View commit details
-
Copy full SHA for 7e560b2 - Browse repository at this point
Copy the full SHA 7e560b2View commit details
Commits on Sep 26, 2022
-
Add path types for cache. (#2059)
As prework for merging cache-to-tar, this ensures that we know what types of paths we're dealing with at (almost) every step in the cache process. It also makes the first argument to `Put` (previously unused) and `Fetch` the anchor of the enumerated list of files being saved or restored.
Configuration menu - View commit details
-
Copy full SHA for 45ff205 - Browse repository at this point
Copy the full SHA 45ff205View commit details -
fix(deps): update dependency ts-json-schema-generator to v1.1.1 (#2071)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1Configuration menu - View commit details
-
Copy full SHA for af0af10 - Browse repository at this point
Copy the full SHA af0af10View commit details -
Fix: Docs Edit This Page Button not working (#2076)
Co-authored-by: Thomas Knickman <tom.knickman@vercel.com>
1Configuration menu - View commit details
-
Copy full SHA for 817ed0b - Browse repository at this point
Copy the full SHA 817ed0bView commit details -
chore(docs): sections for
globalDependencies
andglobalEnv
(#2080)Co-authored-by: Thomas Knickman <tom.knickman@vercel.com>
1Configuration menu - View commit details
-
Copy full SHA for f9535b2 - Browse repository at this point
Copy the full SHA f9535b2View commit details -
Add single-package mode and integration tests (#1979)
* Add a `--single-package` flag to `turbo run` allows running in a repository with a single package, and does not require `turbo.json`. For sample behavior, see new files under `cli/integration_tests/single_package*` * Add some single-package integration tests via `prysk`. * Add a `Makefile` target to bootstrap a testbed directory from an integration test. For example: `make testbed-single_package` updates the `testbed` directory to match the setup for the `single_package` integration test. There is a matching entry in `launch.json` to debug a `turbo` invocation in `testbed`.
Greg Soltis authoredSep 26, 2022 Configuration menu - View commit details
-
Copy full SHA for c097b79 - Browse repository at this point
Copy the full SHA c097b79View commit details -
fix(prune) respect dir permissions during prune (#2066)
* respect dir permissions during prune, fixes #1872 * close file in test * use typed path joins, use scoped errors * Fix test expectation for windows file permissions * Actually fixup windows tests
Configuration menu - View commit details
-
Copy full SHA for d5c18b6 - Browse repository at this point
Copy the full SHA d5c18b6View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for f961cc6 - Browse repository at this point
Copy the full SHA f961cc6View commit details
Commits on Sep 27, 2022
-
@gsoltis (correctly! as proven by this PR) has a vendetta against casts. This PR removes _most_ casts to `turbopath.*` in the repository with explicit exceptions for strings and `t.TempDir()`. The regex used to identify casts, of which, 100% have been manually reviewed: `turbopath\.(Absolute|Anchored|Relative)(Unix|System)Path\(` Of the remaining 13 that do not fall into the above `"string"` or `t.TempDir()` exceptions, 7 fall outside of the `fs` package: `turbopath\.(Absolute|Anchored|Relative)(Unix|System)Path\((?!("|t\.TempDir))` ``` 7 results - 4 files cli/internal/cache/cache_http.go: 280 // FIXME: THIS IS A BUG. 281: restoredName := turbopath.AnchoredUnixPath(hdr.Name) 282 files = append(files, restoredName.ToSystemPath()) cli/internal/hashing/package_deps_hash_test.go: 20 cwd, _ := os.Getwd() 21: root := turbopath.AbsoluteSystemPath(filepath.VolumeName(cwd) + string(os.PathSeparator)) 22: checking := turbopath.AbsoluteSystemPath(cwd) 23 32 for _, file := range files { 33: fileName := turbopath.RelativeSystemPath(file.Name()) 34 if strings.Index(fileName.ToString(), fmt.Sprintf("%02d-", id)) == 0 { 35: return turbopath.AbsoluteSystemPath(fixtureDirectory.Join(fileName)) 36 } cli/internal/lockfile/berry_lockfile.go: 305 if isPatch && !strings.HasPrefix(patchPath, "~") && !_builtinRegexp.MatchString(patchPath) { 306: patches = append(patches, turbopath.AnchoredUnixPath(patchPath)) 307 } cli/internal/lockfile/pnpm_lockfile.go: 251 for _, patch := range p.PatchedDependencies { 252: patches[i] = turbopath.AnchoredUnixPath(patch.Path) 253 i++ ``` Of these 7: - One is a bug resolved by cache-to-tar. - Four are in a single test utility function. That should get cleaned up but is very low priority. - Two are in application code for `berry` and `pnpm` patches. I'll pass that off to @chris-olszewski since I'm not 100% certain that I can safely slap `turbopath.AnchoredUnixPathFromUpstream()` on them.
Configuration menu - View commit details
-
Copy full SHA for f3f6aee - Browse repository at this point
Copy the full SHA f3f6aeeView commit details -
fix(prune): place workspace configuration file in json directory (#2030)
Fix for issue that @mattpocock discovered. This places the workspace definition file into the `json` directory and `full` directory instead of the `out` directory. This reflects the new documentation in #2013
Configuration menu - View commit details
-
Copy full SHA for 3c0003a - Browse repository at this point
Copy the full SHA 3c0003aView commit details -
chore(deps): update nextjs monorepo to v12.3.1 (#2035)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1Configuration menu - View commit details
-
Copy full SHA for a82f464 - Browse repository at this point
Copy the full SHA a82f464View commit details -
Turn down logging for the daemon (#2085)
Co-authored-by: Thomas Knickman <tom.knickman@vercel.com>
Configuration menu - View commit details
-
Copy full SHA for 03941ce - Browse repository at this point
Copy the full SHA 03941ceView commit details -
fix(docs): overflow on
<Callout />
(#2082)Co-authored-by: Thomas Knickman <tom.knickman@vercel.com>
1Configuration menu - View commit details
-
Copy full SHA for 5ac1a0c - Browse repository at this point
Copy the full SHA 5ac1a0cView commit details -
chore(deps): update dependency autoprefixer to v10.4.12 (#2007)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Thomas Knickman <tom.knickman@vercel.com>
1Configuration menu - View commit details
-
Copy full SHA for 516a18b - Browse repository at this point
Copy the full SHA 516a18bView commit details -
Update command line reference for prune (#2087)
Resolves some comments on #534 requesting a docs update.
1Configuration menu - View commit details
-
Copy full SHA for 61c2098 - Browse repository at this point
Copy the full SHA 61c2098View commit details -
Handle pnpm resolving a dependency to multiple versions (#2090)
Greg Soltis authoredSep 27, 2022 Configuration menu - View commit details
-
Copy full SHA for c4e69f1 - Browse repository at this point
Copy the full SHA c4e69f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02620b8 - Browse repository at this point
Copy the full SHA 02620b8View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 656864a - Browse repository at this point
Copy the full SHA 656864aView commit details
There are no files selected for viewing