Skip to content

Change package.json so changed to elixir will be non-breaking changes #3358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 7, 2015

Conversation

lukeb
Copy link
Contributor

@lukeb lukeb commented May 5, 2015

Previous default version was "*"

@brunowego
Copy link

+1

@@ -2,6 +2,6 @@
"private": true,
"devDependencies": {
"gulp": "^3.8.8",
"laravel-elixir": "*"
"laravel-elixir": "~1.0.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not ^1.0.0?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per http://browsenpm.org/package.json

^1.0.0 would >= 1.0.0 and < 2.0.0 (could include breaking changes)
whereas
~1.0.0 would be >= 1.0.0 and < 1.1 (should only be patches, not breaking changes)

"The hope here, is that the package author has followed best-practices and patch versions of the package will NOT be breaking." - taken from the above referenced guide.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Best practices" would mean minor versions arn't breaking either...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is true. Are you recommending I modify my pull request, then?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure. Ping @taylorotwell and @JeffreyWay regarding how elixer will be versioned.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^1.0.0.

Thanks for the PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed. Ready for merge.

@rafaell-lycan
Copy link

+1

1 similar comment
@GrahamCampbell
Copy link
Member

👍

taylorotwell added a commit that referenced this pull request May 7, 2015
Change package.json so changed to elixir will be non-breaking changes
@taylorotwell taylorotwell merged commit 1ac0a0b into laravel:master May 7, 2015
@lukeb lukeb deleted the add-better-elixir-version branch May 7, 2015 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants