mock-socket icon indicating copy to clipboard operation
mock-socket copied to clipboard

Question: Where did dist go (v1.0.4)?

Open johntimothybailey opened this issue 10 years ago • 3 comments

@thoov Probably for good reasons, but where did dist go? I bower install --save-dev mock-socket and upgraded to 1.0.4 only to discover that the referenced "main": "dist/mock-socket.js", in bower.json doesn't exist.

johntimothybailey avatar Dec 23 '15 02:12 johntimothybailey

@johntimothybailey I was never a fan of the dist files being checked into git so I finally got around to having travis-ci auto building and deploying the dist files to npm. However, as you pointed out this breaks bower as bower simply looks at the repo and doesn't give me an opportunity to do any preprocessing (unless I am missing something). I have updated bower.json to point to the correct file but those files are still in ES2015. I would like to "deprecate" or remove the bower version and only support via npm. Just out of curiosity is it possible for you to use npm? or are you only able to work with bower?

thoov avatar Dec 24 '15 08:12 thoov

Not entirely sure how I could use mock-socket in my Ember CLI tests without bower?

oliverwilkie avatar Jan 05 '16 00:01 oliverwilkie

@oliverwilkie I just added back the dist files so bower install should work again. Let me know if you run into any issue with the bower install flow.

thoov avatar Jan 05 '16 00:01 thoov