这是indexloc提供的服务,不要输入任何密码
Skip to content

Refactor turbo_json #1152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 29, 2022
Merged

Refactor turbo_json #1152

merged 5 commits into from
Apr 29, 2022

Conversation

nathanhammond
Copy link
Contributor

In preparing to hide some package manager details I discovered this code was unnecessarily coupled to package_json, and in multiple places in the codebase.

Split commits to make it easier to follow:

  1. Nothing more than splitting the package_json into two pieces.
  2. Move code from config.go to its new home.
  3. Rename symbols away from turboConfig which has a confusable in TurborepoConfig from the login work.

A pretty-obvious bit of followup work is to move both package_json and turbo_json out of the fs package—they could be trivially refactored to never touch the file system (and possibly should be for testability reasons).

@vercel
Copy link

vercel bot commented Apr 29, 2022

@nathanhammond is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Apr 29, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
turbo-site ✅ Ready (Inspect) Visit Preview Apr 29, 2022 at 4:06PM (UTC)

@kodiakhq kodiakhq bot merged commit 698702e into vercel:main Apr 29, 2022
@nathanhammond nathanhammond deleted the refactor-turbo-json branch April 29, 2022 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants