adding node_setup.ts (backport from master)