fix(core): set SWC_NODE_PROJECT before registering @swc-node/register
#19239
+7
−0
@swc-node/register
#19239