updated publish config, and using snapshot dep