they don't have the capability to destroy all of China's shipyards. the most important one - the conventional sub production site - is in Wuhan, surrounded by air defense and airbases. It is outside tactical air range and they'll have to park a carrier almost on the beach to hit it.Destroy all PLAN’s major combatants and all Chinese shipyards. Bomb all infrastructures along the coast line.
they also don't have the capability to destroy China's infrastructure along the coast. you realize there's , and even AI filtering out 90% of them means 200 needs to be checked out by recon assets? They need to dedicate almost all their assets just to hunt military ground targets, and that assumes they don't shoot back. Even Serbia - a tiny poor country surrounded by NATO - with an ancient air defense network against entire NATO - could inflict losses and suffered surprisingly few of them. In this case, all airbases in central China are still far out of reach and their attempted bombing of Chinese coastal infrastructure with the only thing feasible - gravity bombs - would require overflying the targets and be met with intercepts while they're still operating at the edge of their fuel radius.
and just by not trading with them China inflicts damage on them. Russia, a relatively small $1.6 trillion economy, being sanctioned, gives them ~10% inflation a month. War on China, an economy bigger than the EU, is unprecedented economic territory.