[dist] Lock in npm version for resource and resources
[examples] Update package publish example