The Giants made their first roster move Saturday, putting infielder Casey Schmitt on the 10-day injured list with a left oblique strain.

Schmitt was announced as the starter at first base Friday night, but was scratched in favor of LaMonte Wade Jr.

“It happened right before the game, hitting in the cage, probably 25 minutes before the game,” Giants manager Bob Melvin said following a 2-0 loss to the Los Angeles Angels.

Infielder David Villar, designated for assignment at the close of spring training, was promoted from Triple-A Sacramento to take his place.

It was the first transaction of the season for the Giants, who under president of baseball operations Buster Posey have attempted to bring more stability to the big league club both in terms of the lineup and sending players to the minors. It has paid off with a 13-7 record going into Saturday night’s game against the Angels.

By April 19 last season, the Giants had made six roster moves.

Schmitt has played primarily first base this season on days when Wade is rested. His defense has been a pleasant surprise, but Schmitt was hitting just .174 (4 for 24) with no homers and two RBIs.

Wade has been in a horrible slump since the season started and going into Saturday night’s game in Anaheim was hitting .096 (5 for 52) with a homer, seven RBIs, eight walks and an on-base percentage of .213.

Wade was still in the lineup and batting sixth Saturday night against the Angels’ Kyle Hendricks, against whom he had a .364 (4 for 11) career batting average with a pair of home runs.

Villar was hitting .368 in Sacramento with a home run, seven RBIs, 13 walks and a .439 on-base percentage in 15 games. After 23 games in the spring, Villar was outrighted to Sacramento on March 29, an indication maybe his chance with the Giants had slipped away.

“Quite the turn of events, and I’m happy for him,” Melvin told reporters. “He’s been in this organization for a while. You feel like you get passed by, and you get designated and think, ‘Do I need to go to another organization?’ ”

Melvin said Sacramento manager Dave Brundage gave Villar a glowing review in terms of effort and professionalism.

“He was playing hard every day, wasn’t making any excuses,” Melvin said. “Wasn’t whining about not getting the opportunity, and then he produced, and that’s why he’s here.”

Like Schmitt, Villar has positional versatility, having played 44 career games at third base and 27 each at second base and first base.

The other option at first base for the Giants is Wilmer Flores, who has been exclusively a designated hitter and leads the National League with 23 RBIs to go with six home runs and a .225 batting average.

The Giants also transferred outfielder Jerar Encarnacion (wrist surgery) to the 60-day injured list.

Webb’s `wasted’ gem >> Right-hander Logan Webb suffered his first loss of the season on a night when he struck out 12 batters and walked no one, giving up one earned run in six innings.

“Feels like a wasted pitching effort,” Melvin told reporters. “He gives up one earned run, punches out 12, doesn’t walk anybody. That’s a really good performance.”

According to Elias Sports, Webb became just the fourth Giants pitcher since the pitcher’s mound was moved to its current distance in 1893 to have 10 strikeouts and no walks. He joins Madison Bumgarner (12 times), Tim Lincecum (five times) and Juan Marichal (four times).

“I look up to those guys,” Webb said. “Any time you’re on a list with those guys, you’re doing something right.”

Webb generated 16 swings and misses with a sinker, changeup and sweeper, though seldom breaking 95 mph in velocity. In 30 innings, Webb has 38 strikeouts and a 2.40 earned run average.

He struck out Angels slugger Mike Trout three times.

“Mike Trout likes the ball down and Logan’s a down pitcher, but there’s subtle movement both ways now,” Melvin said. “There’s big movement with the sweeper and he pitches in the zone up enough too. Another feather in his cap (Friday).”

While Webb admitted he’d trade efficiency for strikeouts — lamenting the amount of pitches he missed by a wide margin while ahead in the count — he was encouraged by the movement on his changeup.

“I’m super excited about the changeup,” Webb said. “It’s the most confident I’ve felt in a long time on that pitch, back to the end of 2023. I’ve got to keep trusting it, keep that confidence.”

Notable >> Center fielder Jung Hoo Lee dropped a perfect drag bunt down the third-base line in his first at-bat Friday with Luis Rengifo playing deep and to the left. Had he bunted it with slightly more force, it would have probably been a double. Lee was slashing .361/.420/.653 (1.073 OPS) with 10 doubles, a triple, three homers, 14 RBIs, three steals and 19 runs in 19 games before Saturday. The last Giants hitter to have an OPS of 1.070 or higher through 19 games was Posey in 2021 (1.175). ... The Giants’ loss Friday night was just their second to an American League team against eight wins.