jpillora / xdomain

A pure JavaScript CORS alternative
https://jpillora.com/xdomain/
3.12k stars 270 forks source link

Bug: Distribution directory should not contain version numbers (use git tags instead) #124

Closed Soviut closed 9 years ago

Soviut commented 9 years ago

When I install xdomain via bower bower install xdomain --save the dist folder contains several versioned subfolders. The benefit of bower is being able to ignore the version number when sourcing components and instead rely on the bower.json file to manage versions. Having /dist/0.6/ in my path means I'm now locked to 0.6 unless I manually edit my source.

I propose a set of unminified and minified dist files that have no version number associated with them and are in the root of the /dist folder. Additionally, bower should ignore all the versioned folders.

jpillora commented 9 years ago

Correct, there should be no 0.6 sub dir, that was an artifact from a time when I stored multiple versions at git HEAD. I should instead reference tagged commits for older versions - as bower does.

On Friday, November 14, 2014, Soviut notifications@github.com wrote:

When I install xdomain via bower bower install xdomain --save the dist folder contains several versioned subfolders. The benefit of bower is being able to ignore the version number when sourcing components and instead rely on the bower.json file to manage versions. Having /dist/0.6/ in my source path means I'm now locked to 0.6 unless I edit my source, versus being able to update it via bower.

— Reply to this email directly or view it on GitHub https://github.com/jpillora/xdomain/issues/124.