Commit Graph

123 Commits

Author SHA1 Message Date
Michał Gołębiowski
5f1c7fc81e Build: Don't install jsdom 3 on Node.js 0.10 & 0.12 by default
jsdom 3 requires Python & Visual Studio on Windows which is a significant
barrier to contributors. Newer jsdom versions don't require pre-compiling
but work only on io.js. This commit installs the new jsdom everywhere (it
does install in old Node.js, it just won't work) and executes Node-related
tests only on newer Nodes or if a working jsdom version is installed. The
latter can be achieved by running the `old_jsdom` task.

Node.js is merging with io.js soon so this will become a smaller problem over
time.

One drawback is our Jenkins setup runs on Node 0.10 so it won't be running
Node tests anymore. We have Travis set up on io.js, though so all PRs
have those tests run. When the new LTS Node.js arrives (as it soon merges
with io.js) we should update our Jenkins infrastructure so that it runs on this
new version.

(cherry-picked from dbb2daa8c3)

Fixes gh-2519
Closes gh-2526
2015-09-08 17:50:33 +02:00
Thomas Tortorini
f71e32d4b4 Effects: Finish should call progress
(cherry-picked from 3dd3d1357d)

Fixes gh-2283
Closes gh-2292
2015-09-08 02:42:47 +02:00
Reed Loden
2da0cca7d3 Build: Update grunt-contrib-uglify because of a security issue in uglify
Update grunt-contrib-uglify dependency to v0.9.2 in order to
avoid a security issue fixed in uglify-js v2.4.24.

https://github.com/mishoo/UglifyJS2/issues/751
https://zyan.scripts.mit.edu/blog/backdooring-js/

(cherry-picked from 835e9218be)

Closes gh-2556
2015-09-07 22:22:11 +02:00
Oleg Gaidarenko
20ddbe4f59 Build: Update jscs and lint files
Ref 10fdad742a
Fixes gh-2056
2015-09-07 20:14:50 +03:00
Michał Gołębiowski
04ec688e80 Core: Support non-browser environments
Fixes gh-2133
Fixes gh-2501
Closes gh-2504
Refs gh-1950
Refs gh-1949
Refs gh-2397
Refs gh-1537
Refs gh-2504
Refs 842958e7ae
2015-08-16 22:29:42 +02:00
Michał Gołębiowski
b988c0e45d Build: Add a comment explaining why the es3 option is needed
It might not be obvious to everyone that IE 9 & Android 4.0 are not
ES5-compliant browsers (by a large margin) so it's better to add a support
comment. This requires slight changes in parsing the config file
as it's not a pure JSON anymore. JSHint understands such files without
problems.

(cherry-picked from 669cb16d76)

Closes gh-2520
2015-08-03 18:55:36 +02:00
Michał Gołębiowski
a022da7056 Build: Update grunt-contrib-jshint
JSON needed to be added to JSHint globals as it's not implied by the es3
setting and yet all our supported browsers have it implemented.

(cherry-picked from 1556c4661a)
2015-06-13 23:24:01 +02:00
Gilad Peleg
8bf81d76d1 Build: Update the license attribute
Specifying the type and URL is deprecated:

https://docs.npmjs.com/files/package.json#license
http://npm1k.org/

(cherry-picked from 8e92e1ea3c)

Fixes gh-2331
Closes gh-2330
2015-06-01 19:35:19 +02:00
Oleg Gaidarenko
a9296dffb0 Build: update requirejs dependency to 2.1.17
Fixes gh-2290
Ref a644101ed0
2015-05-19 18:52:55 +03:00
Calvin Metcalf
a16b77fb89 Build: Remove npm from dependencies
Close gh-2254
2015-05-05 10:20:08 -07:00
Timmy Willison
345c95ae93 Build: update Sizzle
Fixes gh-2042
Fixes gh-1969
Closes gh-1709
2015-04-13 11:37:53 -04:00
Michał Gołębiowski
f9f4f9d32b Build: Update native-promise-only (again)
This should fix Android 4.0 jQuery.when tests issues, for reals this time.

(cherry-picked from f5aa89af70)
2015-03-28 16:44:05 +01:00
Michał Gołębiowski
7b11131097 Build: Update native-promise-only
This should fix Android 4.0 jQuery.when tests issues.

(cherry-picked from 0065e1f3e3)

Closes gh-2159
2015-03-25 19:04:04 +01:00
Richard Gibson
34f2563179 Deferred: Backwards-compatible standards interoperability
Fixes gh-1722
Closes gh-1996

(cherry picked from commit 555a50d340)
2015-03-20 02:14:04 -04:00
Jörn Zaefferer
db31206d36 Build: Update QUnit to latest (1.17.1)
(cherry-picked from 2d5c5d213f)
Closes gh-2038
2015-02-15 01:15:45 +03:00
Timmy Willison
f71d7f56e9 Release: remove sourcemap comment from all copies of minified file
Fixes gh-1707
2015-01-30 12:42:21 -08:00
Timmy Willison
fc76a97b99 Release: Distribute files to distribution repo
Fixes gh-1869
Fixes gh-1673
Fixes gh-2045

Conflicts:
	bower.json
	build/release.js
2015-01-29 15:31:14 -08:00
Dave Methvin
abfb10c82e Build: Sanctify the component name status of Wrap
(cherry picked from commit a4133ffafa)
2015-01-11 22:27:56 -05:00
Richard Gibson
07719736b7 Build: Rearrange grunt/npm tasks into a build/dist/test pattern
Ref 76df9e4e38
Ref bb928bde7e

Conflicts:
	Gruntfile.js
	package.json
2015-01-11 10:41:31 -05:00
Richard Gibson
6f0db5319d Build: Specify valid components for commit messages
Closes gh-1909

(cherry picked from commit 0c9d018889)
2015-01-10 21:19:09 -05:00
Timmy Willison
dda65fb13c Build: update node dependencies 2014-12-17 10:43:14 -05:00
Timmy Willison
238bc32a11 Sizzle: update 2.1.1 2014-12-15 12:33:46 -05:00
Richard Gibson
b6e31a8833 Tests: Update QUnit
(cherry picked from commit 6748ba3496)
2014-12-05 12:32:23 -05:00
Michał Gołębiowski
b7663eabcd Build: Point to files from the compat branch, not master 2014-11-03 23:59:03 +01:00
Scott González
9dfb9af962 Build: Update license
(cherry-picked from 4f776e5ff9)

Closes gh-1587
2014-11-03 23:56:54 +01:00
Timmy Willison
2912ddd824 Build: 1.x-master -> compat 2014-11-03 12:27:12 -05:00
Jörn Zaefferer
630a5a8c0b Build: Upgrade to commitplease 2.0.0
commitplease now accepts "[tmp]:" and similar to temporary commits,
useful while updating pull requests that are squashed later.

(cherry picked from commit 5bc1ddc5cc)
2014-10-22 17:57:57 +02:00
Arthur Verschaeve
49c720e16a Misc: Update all references to bugs.jquery.com
(cherry-picked from 3e89a53265)

Fixes gh-1681
Closes gh-1716
2014-10-19 23:52:36 +01:00
Timmy Willison
181b451646 Build: update source map options for the new grunt jshint 2014-07-17 11:16:21 -07:00
Timmy Willison
91e06e9aeb Build: update grunt-jscs-checker and pass with the new rules
Conflicts:
	build/tasks/build.js
	src/ajax/xhr.js
	src/attributes/classes.js
	src/attributes/prop.js
	src/attributes/val.js
	src/core/init.js
	src/core/ready.js
	src/css.js
	src/css/curCSS.js
	src/css/defaultDisplay.js
	src/data.js
	src/data/var/dataPriv.js
	src/data/var/dataUser.js
	src/dimensions.js
	src/effects.js
	src/event.js
	src/manipulation.js
	src/offset.js
	src/queue.js
	src/selector-native.js
	test/data/testrunner.js
2014-07-17 11:08:37 -07:00
Timmy Willison
511eb1540b Build: update node dependencies barring jscs 2014-07-17 10:31:23 -07:00
Timmy Willison
79c0732ac2 Build: drop bower; use npm for front-end deps
Fixes #15186
Closes gh-1620

Conflicts:
	bower.json
2014-07-17 10:29:17 -07:00
Timmy Willison
b3edc61c54 Build: update grunt-bowercopy 2014-06-25 13:51:56 -04:00
Scott González
5150442e1b Build: Upgrade to grunt-bowercopy 1.0.0 2014-06-25 13:45:12 -04:00
Oleg Gaidarenko
a96ed7e245 Build: Update commitplease dev dependency
Ref 39b76064d9
2014-06-16 03:22:03 +04:00
Timmy Willison
523c87138a Release: ensure Sizzle is the latest tag
Fixes #14915
2014-05-27 15:17:54 -04:00
Dave Methvin
7d5afcb0ec Build: Bump version to 1.11.2-pre
The release script didn't go perfectly.
2014-05-01 16:46:12 -04:00
Oleg Gaidarenko
874304fc30 Build: Spaces vs tabs
* Use tabs instead of spaces in jscs config

* Always use spaces in package.json (really hope this is temporary)

(cherry-picked from bbace100a3)
2014-04-24 23:45:55 +04:00
Dave Methvin
dda29d729b Build: Add "browser" keyword for npm
(cherry picked from commit 108428bcabb7027852ecd656b98f110a444039d0)
2014-04-23 12:04:05 -04:00
Scott González
f873d06543 Build: Update version from pre to -pre
Ref jquery/jquery-release#61
Closes gh-1562
2014-04-17 15:18:19 -04:00
Oleg Gaidarenko
5ac2186903 Build: Update jscsrc
* Update "grunt-jscs-checker" package

* Use ".jscsrc" file instead of old ".jscs.json"

* Use jquery preset instead of explicitly defining all the jscs rules

(Cherry-picked from b7283d738e commit)
2014-04-15 18:10:51 +04:00
Scott González
e04c465b64 Build: Update release script for new jquery-release API
Closes gh-1544
(cherry picked from commit 5265cdac3d)
2014-03-21 12:33:58 -04:00
Jörn Zaefferer
fe8904c213 Build: Add commitplease for commit msg checking
Closes gh-1523
(cherry picked from commit 176a2913260b4ec890118137ccc9a290064a59be)

Conflicts:
	package.json
2014-03-20 12:33:57 -04:00
Michał Gołębiowski
d56f40d93a Build: Upgrade npm devDependencies
(cherry-picked from d63243d085)
2014-01-26 04:03:20 +01:00
Timmy Willison
41523ae1d3 Updating the 1.x-master version to 1.11.1pre. 2014-01-23 16:07:07 -05:00
Timmy Willison
3140d3bdd3 Update grunt-bowercopy to 0.5.0 2013-12-31 17:40:16 -05:00
Timmy Willison
827b5141df Release script: jquery-release integration
Conflicts:
	build/release.js
2013-12-20 17:29:35 -05:00
Timmy Willison
fd9c32118f Remove hyphen from pre versions
- It is intentionally invalid semver as pre versions should never be released
- UI and Mobile already do this

Conflicts:
	bower.json
	package.json
2013-12-20 17:29:35 -05:00
Oleg
0e89df5b6d Use the exact versions dependencies
And remove unused "which" package

Cherry picked from the commit 09ede3d33b
2013-12-19 08:41:45 +04:00
Michał Gołębiowski
c4e88083d2 Build: Upgrade to grunt-contrib-jshint 0.7.1 and squash subtasks
grunt-contrib-jshint 0.7.1 allows the jshintrc option to be set to true to have
it read the appropriate config file based on the file being checked. The only
place where we can’t use it is the check for dist/jquery.js that has the onevar
option removed.

(cherry-picked from 7deee6af72)

Fixes #14504
2013-12-18 15:25:11 +01:00