You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cookbook/frontend/bower.rst
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -135,10 +135,11 @@ For more details, read the article `Checking in front-end dependencies`_.
135
135
But, it's very possible that Bower will add a lock feature in the future
136
136
(e.g. `bower/bower#1748`_).
137
137
138
-
Bower.json
139
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
140
-
141
-
Another option is to just commit your bower.json to git which holds the different dependencies. Then use `bower install` to install the required dependencies.
138
+
If you don't care too much about having *exact* the same versions, you can only
139
+
commit the ``bower.json`` file. Running ``bower install`` will give you the
140
+
latest versions within the specified version range of each package in
141
+
``bower.json``. Using strict version constraints (e.g. ``1.10.*``) is often
142
+
enough to ensure only bringing in compatible versions.
0 commit comments