Allison Shearmur, a studio executive and independent producer who helped bring a string of box-office hits to the screen, including the “Bourne” franchise, the “Hunger Games” series and the yet-to-be-released “Solo: A Star Wars Story,” died on Jan. 19 in Los Angeles. She was 54.

The cause was lung cancer, said her husband, Edward Shearmur.

Ms. Shearmur, who died at U.C.L.A. Medical Center, had received the diagnosis in 2016 but disclosed it only to her family and closest associates as she continued working on movie projects, including “Rogue One” (2016), an earlier installment in the Star Wars Anthology series (set before the events of the original “Star Wars” blockbusters), as well as “Solo.”

“She didn’t want to be defined by her disease,” Mr. Shearmur said. “She felt that if people knew of this very difficult detail, it would overshadow everything else.”

For 20 years Ms. Shearmur maintained a high profile in Hollywood. She helped to oversee feature film production at Universal Pictures before moving on to Paramount Pictures, where she was co-president of production, and Lionsgate, as president of motion picture production, and then setting out as an independent producer. Among the other prominent films she helped shepherd along were the Julia Roberts hit “Erin Brockovich” (2000); “The Curious Case of Benjamin Button” (2008), with Brad Pitt; and the raucous “American Pie” sex comedies.