Skip to content
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

WEB-1253: turbopack-cli: implement turbopack build #5488

Merged
merged 25 commits into from
Jul 20, 2023

Commits on Jul 10, 2023

  1. turbopack-cli: modularize code to support turbopack build

    This work prepares for `turbopack build` by extracting code common between dev and build, such as asset context.
    
    This also makes the cli accept a variadic list of entries rather than an unnamed directory parameter. The project directory is now available under `--dir` or `-d`.
    
    Test Plan: `cargo run -p turbopack-cli dev` with a `src/index.js` present and `cargo run -p turbopack-cli dev src/entry.js` with `src/entry.js` present.
    wbinnssmith committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    790a69b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2916a58 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1487140 View commit details
    Browse the repository at this point in the history
  4. turbopack-cli: implement turbopack build

    Depends on #5487
    
    This implements a basic version of `turbopack build`, only targeting browser targets. In the future, we could accept a cli or configuration option to target Node.
    
    Test Plan: `cargo run -p turbopack-cli build` with a `src/index.js` present and `cargo run -p turbopack-cli build src/entry.js` with `src/entry.js` present.
    wbinnssmith committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    c50c3c8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c49d929 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9f1b0f0 View commit details
    Browse the repository at this point in the history
  7. Merge remote-tracking branch 'origin/wbinnssmith/modularize-cli' into…

    … wbinnssmith/turbopack-cli-build
    wbinnssmith committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    d3200f0 View commit details
    Browse the repository at this point in the history
  8. fixup! Merge remote-tracking branch 'origin/wbinnssmith/modularize-cl…

    …i' into wbinnssmith/turbopack-cli-build
    wbinnssmith committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    7cb359b View commit details
    Browse the repository at this point in the history
  9. fixup! fixup! Merge remote-tracking branch 'origin/wbinnssmith/modula…

    …rize-cli' into wbinnssmith/turbopack-cli-build
    wbinnssmith committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    5b5a34f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6eadb0c View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. Configuration menu
    Copy the full SHA
    690744c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c9079d View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/wbinnssmith/modularize-cli' into…

    … wbinnssmith/turbopack-cli-build
    wbinnssmith committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    896be23 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    accee1a View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. Configuration menu
    Copy the full SHA
    c05dfba View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. Configuration menu
    Copy the full SHA
    dc55f46 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de9b98d View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/wbinnssmith/modularize-cli' into…

    … wbinnssmith/turbopack-cli-build
    wbinnssmith committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    82a2ca3 View commit details
    Browse the repository at this point in the history
  4. fixup! Merge remote-tracking branch 'origin/wbinnssmith/modularize-cl…

    …i' into wbinnssmith/turbopack-cli-build
    wbinnssmith committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    792ed43 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cb3b1a4 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2023

  1. Configuration menu
    Copy the full SHA
    282fead View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d41b4e0 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/wbinnssmith/modularize-cli' into…

    … wbinnssmith/turbopack-cli-build
    wbinnssmith committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    11ec9d5 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. Configuration menu
    Copy the full SHA
    6da9aef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b7b6f90 View commit details
    Browse the repository at this point in the history