Michał Gołębiowski
96966c0220
Build: Upgrade ESLint to 3.x again
...
ESLint is now skipped in Node older than 4.x so we're safe.
Refs gh-3222
2016-07-13 10:54:34 +02:00
Oleg Gaidarenko
02c5e2908c
Build: Don't use ESLint 3.x
...
Since it is not supported by older node versions :/
2016-07-09 02:05:15 +03:00
Oleg Gaidarenko
522f546d96
Build: More ESLint related changes
2016-07-09 00:49:43 +03:00
Timmy Willison
93f706200c
Build: Updating the master version to 3.1.1-pre.
2016-07-07 17:46:08 -04:00
Timmy Willison
97d502f5b4
Build: Updating the master version to 3.1.0-pre.
2016-07-07 15:46:40 -04:00
Oleg Gaidarenko
25d8ccd111
Build: Improve ESLint configuration ( #3188 )
...
* Bump eslint-config-jquery package to 0.1.4 version
* Add subtask "dist" to "eslint" task and add it to the build task list
* Make gitignore globs more flexible for the "dist" folder
Fixes gh-3169
2016-06-22 19:41:57 +04:00
Oleg Gaidarenko
58c6ca9822
Build: ESLint details
...
Use eslint pragmas, fix new errors, etc
Closes gh-3148
2016-06-11 10:41:33 +03:00
Oleg Gaidarenko
f80ae67c53
Build: Switch from jscs+jshint to eslint
2016-06-11 10:39:51 +03:00
Timmy Willison
019c8f1f41
Build: Updating the master version to 3.0.1-pre.
2016-06-09 14:33:16 -04:00
Richard Gibson
e2d1142c2e
Build: Fix grunt-compare-size branch-tip storage
2016-04-23 23:18:18 -04:00
Richard Gibson
a51cb25965
Build: Update dependencies
...
Ref bc39338d35
2016-04-23 21:52:00 -04:00
Michał Gołębiowski
bc39338d35
Build: Revert grunt from 1.0.1 to 0.4.5
...
grunt-compare-size specifies grunt ">= 0.4.0 < 0.5" in its peerDependencies
which makes `npm install` break with npm <3.
Refs rwaldron/grunt-compare-size#25
2016-04-23 20:53:09 +02:00
Michał Gołębiowski
aa0ebad86b
Build: Update dependencies (except jsdom)
2016-04-23 19:25:47 +02:00
Oleg Gaidarenko
e8ff8176fc
Build: add "Support" module to commitplease list
2016-03-28 16:16:08 +03:00
Oleg Gaidarenko
055cb7534e
Build: try insight package to get info about custom builds
...
Fixes gh-2890
Closes gh-2988
2016-03-14 21:13:05 +03:00
Oleg Gaidarenko
bb235ed3b4
Build: update husky dependency
...
Fixes gh-2915
2016-03-04 21:41:05 +03:00
Oleg Gaidarenko
3e73881154
Build: update grunt-contrib-jshint and grunt-jscs while we at it
2016-03-04 00:52:02 +03:00
Oleg Gaidarenko
b97c8d30c5
Tests:Build: update qunit and fix incorrect test
...
* Update QUnit to the latest version (1.20.0)
* Corrected test was dependent on QUnit UI, which is always a bad idea
2016-01-29 21:22:52 +03:00
Oleg Gaidarenko
f0f4ef7475
Build: add scripts.precommit script
...
It was losted while merging gh-2881
2016-01-29 02:41:04 +03:00
Jha Naman
d94c453979
Build: run linters on git-commit
...
Fixes gh-2577
Closes gh-2881
2016-01-29 02:34:55 +03:00
Michał Gołębiowski
abb5715807
Build: switch from win-spawn to cross-spawn
...
The win-spawn package is deprecated.
Refs gh-2877
Refs 67c96a59f5
2016-01-27 13:02:58 +01:00
Michał Gołębiowski
67c96a59f5
Build: Update npm deps, fix Sinon npmcopy config
...
All deps were updated except:
* jsdom - tests using a Symbol polyfill are hacky and break with newer jsdom;
we need to re-do them properly first
* qunitjs - versions 1.19.0 & 1.20.0 introduce race conditions to the tests,
making the fail randomly
Those two packages will be updated once issues related to them get resolved.
Fixes gh-2877
2016-01-27 12:54:39 +01:00
Jon Dufresne
b0b280cd61
Docs: Updated links to https where they are supported.
...
Close gh-2746
2016-01-13 13:26:10 -05:00
Timmy Willison
5c4be05d3b
Selector: update Sizzle to 2.3.0
2016-01-11 11:25:36 -05:00
Timmy Willison
e271f665dd
Deprecated: fix amd mode for the deprecated module
2015-10-18 11:02:16 -04:00
Oleg Gaidarenko
44f8239d3f
Build: update Sizzle to 2.2.1
...
Ref #2644 - `selector` module in Edge - Waiting for Sizzle update
Fixes #2390
2015-10-17 14:18:52 -04:00
Michał Gołębiowski
dbb2daa8c3
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.
Fixes gh-2519
Closes gh-2526
2015-09-08 17:42:38 +02:00
Thomas Tortorini
3dd3d1357d
Effects: Finish should call progress
...
Fixes gh-2283
Closes gh-2292
2015-09-08 02:40:54 +02:00
Reed Loden
835e9218be
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/
Closes gh-2556
2015-09-07 22:19:47 +02:00
Oleg Gaidarenko
10fdad742a
Build: Update jscs and lint files
...
Fixes gh-2056
2015-09-07 20:03:50 +03:00
Michał Gołębiowski
669cb16d76
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.
Closes gh-2520
2015-08-03 18:51:18 +02:00
Michał Gołębiowski
bb026fc12c
Core: Make jQuery objects iterable
...
Make iterating over jQuery objects possible using ES 2015 for-of:
for ( node of $( "<div id=narwhal>" ) ) {
console.log( node.id ); // "narwhal"
}
Fixes gh-1693
2015-06-13 23:14:36 +02:00
Michał Gołębiowski
1556c4661a
Build: Update grunt-contrib-jshint
2015-06-13 22:45:52 +02:00
Gilad Peleg
8e92e1ea3c
Build: Update the license attribute
...
Specifying the type and URL is deprecated:
https://docs.npmjs.com/files/package.json#license
http://npm1k.org/
Fixes gh-2331
Closes gh-2330
2015-06-01 19:32:51 +02:00
Oleg Gaidarenko
a644101ed0
Build: update requirejs dependency to 2.1.17
...
Fixes gh-2290
2015-05-19 18:45:14 +03:00
Timmy Willison
5c3101fee6
Build: use different versions of jsdom for Node and iojs testing
...
Fixes gh-2266
2015-05-07 09:57:59 -07:00
Calvin Metcalf
b92acf7237
Build: Remove npm from dependencies
...
Close gh-2254
2015-05-05 10:19:42 -07:00
Michał Gołębiowski
ab40725879
Core: Test all factory use cases from intro.js
...
There is a lot of logic in intro.js; now we test four cases:
1. (implicitly, via QUnit tests) A real browser with window being the global
2. Browserify where there are both global & window variables.
3. Node with jsdom where window is passed manually to the jQuery factory.
4. Pure Node with incorrect window passed; jQuery should throw then.
Previously the second & fourth case was not tested and the third was tested
in a way that interfered with the main test environment.
We now also test if in the Browserify case we're not creating a jQuery global
by default.
Fixes gh-2181
Closes gh-2234
2015-04-27 22:44:47 +02:00
Timmy Willison
3a0dd5a3d3
Build: update Sizzle
...
Fixes gh-2042
Fixes gh-1969
Closes gh-1709
2015-04-13 11:30:18 -04:00
Michał Gołębiowski
06f6cd1ffd
Core: Update tested jsdom, drop obsolete workarounds
...
The latest version supporting Node.js is 3.1.2; some workarounds are not needed
for this version. For example, in jsdom 3.1.2 a document created via
document.implementation.createHTMLDocument( "" ) has a body.
Fixes gh-2153
Closes gh-2154
2015-03-30 18:58:09 +02:00
Michał Gołębiowski
f5aa89af70
Build: Update native-promise-only (again)
...
This should fix Android 4.0 jQuery.when tests issues, for reals this time.
2015-03-28 16:43:06 +01:00
Michał Gołębiowski
0065e1f3e3
Build: Update native-promise-only
...
This should fix Android 4.0 jQuery.when tests issues.
Closes gh-2159
2015-03-25 18:59:05 +01:00
Timmy Willison
98c25b7c80
Build: save sinon update for later
...
Fixes gh-2160
2015-03-24 11:44:55 -04:00
Richard Gibson
555a50d340
Deferred: Backwards-compatible standards interoperability
...
Fixes gh-1722
Closes gh-1996
2015-03-20 02:00:17 -04:00
Jörn Zaefferer
2d5c5d213f
Build: Update QUnit to latest (1.17.1)
...
Closes gh-2038
2015-02-15 01:14:41 +03:00
Timmy Willison
a76c781236
Release: remove sourcemap comment from all copies of minified file
...
Fixes gh-1707
2015-01-30 12:22:31 -08:00
Timmy Willison
26eca143c2
Release: Distribute files to distribution repo
...
Fixes gh-1869
Fixes gh-1673
Fixes gh-2045
2015-01-29 12:03:40 -08:00
Dave Methvin
a4133ffafa
Build: Sanctify the component name status of Wrap
2015-01-11 22:24:02 -05:00
Richard Gibson
bb928bde7e
Build: Rearrange grunt/npm tasks into a build/dist/test pattern
...
Ref 76df9e4e38
Closes gh-1980
2015-01-11 10:28:18 -05:00
Richard Gibson
0c9d018889
Build: Specify valid components for commit messages
...
Closes gh-1909
2015-01-10 21:11:50 -05:00
Michał Gołębiowski
76df9e4e38
Build: Don't assume the browser environment; smoke test on Node w/ jsdom
...
Fixes gh-1950
Closes gh-1949
2014-12-26 13:26:46 +01:00
Timmy Willison
91017047fc
Build: update node dependencies
2014-12-17 10:42:29 -05:00
Timmy Willison
7602dc708d
Sizzle: update to 2.1.1
2014-12-15 12:30:43 -05:00
Richard Gibson
6748ba3496
Tests: Update QUnit
2014-12-05 09:55:12 -05:00
Timmy Willison
7a607c5673
Build: update version to 3.0.0-pre
2014-11-03 12:29:16 -05:00
Jörn Zaefferer
5bc1ddc5cc
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.
2014-10-22 17:57:23 +02:00
Arthur Verschaeve
3e89a53265
Misc: Update all references to bugs.jquery.com
...
Fixes gh-1681
Closes gh-1716
2014-10-19 23:51:04 +01:00
Timmy Willison
269a27c702
Build: update source map options for the new grunt jshint
2014-07-17 11:15:19 -07:00
Timmy Willison
c869a1ef8a
Build: update grunt-jscs-checker and pass with the new rules
2014-07-17 10:25:59 -07:00
Timmy Willison
8e3a0ceafa
Build: update node dependencies barring jscs
2014-07-17 10:24:37 -07:00
Timmy Willison
e1949f4371
Build: drop bower; use npm for front-end deps
...
Fixes #15186
Closes gh-1620
2014-07-17 09:02:59 -07:00
Scott González
4f776e5ff9
Build: Update license
...
Closes gh-1587
2014-06-27 11:10:45 -04:00
Timmy Willison
712e78c47f
Build: update grunt-bowercopy
2014-06-25 13:51:39 -04:00
Scott González
323e82c09f
Build: Upgrade to grunt-bowercopy 1.0.0
2014-06-24 10:16:55 -04:00
Oleg Gaidarenko
39b76064d9
Build: Update commitplease dev dependency
2014-06-16 03:08:46 +04:00
Timmy Willison
1d931068d3
Release: ensure Sizzle is the latest tag
...
Fixes #14915
2014-05-23 13:49:57 -04:00
Dave Methvin
568f3dd846
Build: Updating the master version to 2.1.2-pre.
2014-05-01 13:15:13 -04:00
Oleg Gaidarenko
bbace100a3
Build: Spaces vs tabs
...
* Use tabs instead of spaces in jscs config
* Always use spaces in package.json (really hope this is temporary)
2014-04-24 23:42:18 +04:00
Dave Methvin
04ddc4a44b
Build: Add "browser" keyword for npm
2014-04-23 12:05:12 -04:00
Scott González
4bd2830636
Build: Update version from pre to -pre
...
Ref jquery/jquery-release#61
Fixes #15020
Closes gh-1561
2014-04-17 15:15:51 -04:00
Oleg Gaidarenko
b7283d738e
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
2014-04-15 18:08:18 +04:00
Scott González
5265cdac3d
Build: Update release script for new jquery-release API
...
Closes gh-1544
2014-03-21 12:33:10 -04:00
Jörn Zaefferer
d3c1ce9c24
Build: Add commitplease for commit msg checking
...
Closes gh-1523
2014-03-20 12:33:07 -04:00
Jörn Zaefferer
3ffd95bdb1
Package: Sort devDependencies
2014-03-20 12:33:06 -04:00
Michał Gołębiowski
d63243d085
Build: Upgrade npm devDependencies
2014-01-26 04:01:57 +01:00
Timmy Willison
4655c3de5f
Updating the master version to 2.1.1pre.
2014-01-23 16:12:48 -05:00
Timmy Willison
7d758aca35
Update grunt-bowercopy to 0.5.0
2013-12-31 17:39:58 -05:00
Timmy Willison
f3062f96e0
Release script: jquery-release integration
2013-12-20 17:25:03 -05:00
Timmy Willison
bae117445b
Remove hyphen from pre versions
...
- It is intentionally invalid semver as pre versions should never be released
- UI and Mobile already do this
2013-12-20 17:25:03 -05:00
Oleg
09ede3d33b
Use the exact versions dependencies
...
And remove unused "which" package
Closes gh-1458
2013-12-19 08:34:49 +04:00
Michał Gołębiowski
7deee6af72
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.
Fixes #14504
2013-12-18 15:24:29 +01:00
Timmy Willison
f9ad13c9ec
Manage bower dependencies with grunt-bowercopy
...
Tracked bower dependencies are located at "src/sizzle" and "test/libs".
The source-destination mapping is in the Gruntfile.
When updating a bower dependency, update the version in bower.json, run
`grunt bower`, and then commit the result. When adding a dependency,
update the bowercopy task accordingly.
Fixes #14615 .
Closes gh-1452.
2013-12-06 16:04:35 -05:00
Timmy Willison
6fde975259
Fixes #14548 . Add main property to package.json
2013-11-15 17:07:12 -05:00
Dave Methvin
6f74abb7bf
Updating the source version to 2.1.0-pre✓™
2013-11-15 09:55:16 -05:00
Dave Methvin
1f7661f519
Updating version to 2.1.0-beta2.
2013-11-15 09:54:53 -05:00
Timmy Willison
ac7ff97f8b
Use grunt and bower packages as local dependencies. Close gh-1433.
2013-11-14 10:17:18 -05:00
Michał Gołębiowski
d0fadbba9f
Remove workarounds for the uglify task mishandling banners when used with source maps.
...
The issue was fixed in grunt-contrib-uglify:
https://github.com/gruntjs/grunt-contrib-uglify/issues/22
2013-11-09 23:12:06 +01:00
Sindre Sorhus
abfa210adf
Add load-grunt-tasks package dependency
...
Close gh-1405
2013-11-07 21:38:38 +01:00
Oleg
5ce0b34257
Fix #12757 - use jscs to check the style guide
...
Close gh-1396
2013-11-07 20:58:27 +01:00
Michał Gołębiowski
95d1192d53
No ticket. Update npm devDependencies.
2013-10-25 21:26:44 +02:00
Timmy Willison
310b8f5b6e
Update requirejs to compatible version, remove r.js
2013-10-15 09:51:09 -04:00
Timmy Willison
fea6904d46
Edit bower install script based on comments. Close gh-1392.
2013-10-07 17:19:04 -04:00
Scott González
4d818ab12c
Warn on npm install if Bower isn't installed.
2013-10-07 17:17:04 -04:00
Dave Methvin
210cbcf520
Updating the source version to 2.1.0-pre✓™
2013-09-19 16:15:47 -04:00
Dave Methvin
1185427c4c
Tagging the 2.1.0-beta1 release.
2013-09-19 16:15:38 -04:00
Jörn Zaefferer
dab011e26d
Add Travis CI config for PR testing
2013-09-12 18:08:37 +02:00
Michał Gołębiowski
58a504093c
No ticket. Update packages, make the devDependencies list alphabetic.
2013-09-05 18:18:48 +02:00
Timmy Willison
6318ae6ab9
AMD-ify jQuery sourcegit s! Woo! Fixes #14113 , #14163 .
2013-08-15 14:15:49 -04:00
Oleg
806b0230cd
Install bower packages with npm install
2013-07-22 22:04:48 +04:00
Timmy Willison
07b5f126e2
Lint JSON manifests during development
2013-07-19 09:54:15 -04:00