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
Josh Soref
aae44111e2
Docs: Fix various spelling errors
...
Closes gh-2761
2016-01-13 13:11:11 -05:00
Timmy Willison
cf7102c3f1
Release: push a custom slim build to the CDN
...
Fixes gh-2653
Close gh-2711
2015-11-16 11:22:20 -05:00
Timmy Willison
5f5aee3b58
Release: use chalk instead of colors for terminal colors
2015-11-12 13:23:53 -05:00
Timmy Willison
7bb39f3511
Release: remove antiquated release-notes.js
2015-10-29 15:21:46 -04:00
Martin Naumann
0c34e68843
Build: Fixed issue with base path that contain 'var'
...
Remove the cwd from the paths, so the regex doesn't kick in on "var"
Fixes gh-2450
Closes gh-2641
2015-10-12 18:17:12 +03:00
Michał Gołębiowski
2c7e9c9349
Tests: Add simple tests for Android 2.3
...
Fixes gh-2505
Closes gh-2509
Refs gh-2483
2015-09-08 18:03:49 +02: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
Oleg Gaidarenko
10fdad742a
Build: Update jscs and lint files
...
Fixes gh-2056
2015-09-07 20:03:50 +03:00
Bruno Pérel
360a478033
Docs: Fix various spelling mistakes
...
Closes gh-2487
2015-07-30 15:47:23 +02:00
Timmy Willison
c44dd7775b
Release: properly set the dist remote when it's a real release
2015-07-13 15:01:33 -04:00
Timmy Willison
63a577aa0b
Build: space between curly and paren is optional
...
Fixes gh-2399
Close gh-2400
2015-06-19 13:40:11 -04: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
9c8a3ecdc4
Build: Refactor Node smoke tests
...
Utilize the assert module, avoid inline JSHint comments.
2015-06-13 23:08:19 +02:00
Chris Rebert
61e21a4eaf
Build: bower.json: remove moot version
field
...
Related:
a325da3d79
Close gh-2304
2015-05-13 12:28:21 -04: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
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
Richard Gibson
555a50d340
Deferred: Backwards-compatible standards interoperability
...
Fixes gh-1722
Closes gh-1996
2015-03-20 02:00:17 -04:00
Timmy Willison
1ba45fcc15
Release: push dist to same remote as project
2015-01-30 12:53:28 -08: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
e0673dfedb
Release: fix CDN archive creation
...
Fixes gh-1940
2015-01-29 17:38:35 -08:00
Timmy Willison
aae998b544
Release: dist can be run during a test
2015-01-29 15:36:48 -08:00
Timmy Willison
61224f5fef
Release: bower.json is actually generated from scratch
2015-01-29 12:25:57 -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
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
Dave Methvin
c34ed46eee
Release: Remove copying of jquery-latest files
2015-01-06 21:59:14 -05:00
Timmy Willison
d6c97abb74
Build: Sizzle version labels must start with a dash
2014-12-17 11:17:41 -05:00
Timmy Willison
78ac753192
Build: account for version labels in Sizzle versions
...
Fixes gh-1939
2014-12-17 10:42:29 -05:00
Timmy Willison
6051609df3
Build: fix tests in AMD mode
2014-12-09 15:39:24 -05:00
David Corbacho
2c1b556d98
Build: Remove empty define({}) from build output
...
Fixes gh-1768
Closes gh-1569
2014-12-04 16:38:00 -05:00
Oleg Gaidarenko
dc4b914a05
Build: Fix various typos
...
Thanks @jamesgpearce, @vlajos, @imyousuf
Closes gh-1828
Closes gh-1830
Closes gh-1844
2014-11-08 17:24:33 +03: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
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
c5d9d88dce
Build: Move all external libraries to external directory
...
Closes gh-1593
2014-06-24 10:17:50 -04:00
Timmy Willison
1d931068d3
Release: ensure Sizzle is the latest tag
...
Fixes #14915
2014-05-23 13:49:57 -04:00
Timmy Willison
b80700c75f
Build: run jshint and jscs on release scripts
2014-05-23 13:01:03 -04:00
Michał Gołębiowski
a0568b07d8
Build: set default testswarm timeout to 15 minutes
...
We're not testing on IE6-7 anymore.
2014-04-15 11:47:52 +02:00
Michał Gołębiowski
7869891a97
Build: use browserSets from config file; allow to override
2014-04-15 11:34:02 +02: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
Michał Gołębiowski
c1e9bb9e61
Build: Change the timeout for the weekly job from 4h to 1h
2014-03-18 11:55:06 +01:00
Michał Gołębiowski
aa951a3184
Build: Refactor testswarm Grunt task options
...
Add a possibility to specify the project name. Infer browserSets & timeout
out of it instead of defining it in the Jenkins configuration.
2014-03-16 04:14:03 +01:00
Jörn Zaefferer
22c515c671
Build: Fix testswarm task, use API correctly
2014-03-12 11:08:16 +01:00
Michał Gołębiowski
a81dbc4ed8
Build: Allow to specify timeout in the testswarm task
2014-03-11 21:12:39 +01:00
Michał Gołębiowski
14872941f9
Build: Make it possible to change browserSets in the testswarm task
2014-03-10 20:37:11 +01:00
Timmy Willison
984f77a930
Build: Fix AMD option for custom builds
...
Fixes #14859
2014-03-07 09:55:26 -05:00
Michał Gołębiowski
53e31f478e
Build: Specify browserSets for TestSwarm directly
2014-01-27 22:01:15 +01:00
Michał Gołębiowski
d41fc68d9b
Build: Remove obsolete UglifyJS workaround
2014-01-26 04:02:20 +01:00
Timmy Willison
de7702ac59
Release: Instantiate a zip archiver, run archivers async
2014-01-23 16:00:54 -05:00
Jörn Zaefferer
20ea8071b4
Release: Publish to npm
...
Closes gh-1479
2014-01-10 09:25:11 -05:00
Timmy Willison
23db994404
Release script: _tracMilestone -> tracMilestone
2013-12-21 12:07:40 -05:00
Timmy Willison
74a48958bd
Release script: minor formatting issue.
2013-12-20 17:37:38 -05:00
Timmy Willison
f3062f96e0
Release script: jquery-release integration
2013-12-20 17:25:03 -05:00
Timmy Willison
7e8a91c205
Build: add build option for setting the AMD name.
...
Fixes #14016 .
2013-12-19 15:31:36 -05:00
Timmy Willison
a6f474e699
Build: Add the ability to remove global exposure.
...
Ref #14016
2013-12-19 15:00:06 -05: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
14c19cf1a8
Release script: Add dist files in multiple commits for a clean final commit with a small diff
2013-11-15 10:48:49 -05:00
Timmy Willison
b04b386180
Release script: Add .npmignore and keep .gitignore when creating the tag
2013-11-15 10:32:13 -05:00
Timmy Willison
9aacb89f36
Release script: create tag after building CDN files
2013-11-15 09:32:46 -05:00
Timmy Willison
7f0b28e308
Update sizzle location in release script
2013-11-14 10:21:46 -05:00
Timmy Willison
ac7ff97f8b
Use grunt and bower packages as local dependencies. Close gh-1433.
2013-11-14 10:17:18 -05:00
Timmy Willison
2035695624
Modify release script to create a headless tag for bower and publish to NPM
2013-11-13 23:51:09 -05:00
Michał Gołębiowski
7d5a12376d
No ticket. Remove the pre-uglify task form build/tasks/build.js. Fix custom builds.
2013-11-10 23:47:04 +01:00
Michał Gołębiowski
562145e887
Fix #14415 . Remove the source map comment in the release script. Close gh-1424.
2013-11-10 23:24:26 +01: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
Timmy Willison
b24a3d5368
Unify build script capabilities between branches. Specifically, added a special comment pragma for removing certain lines.
2013-10-15 12:03:55 -04:00
Timmy Willison
96286498d6
Remove comment
2013-10-15 10:44:50 -04:00
Timmy Willison
310b8f5b6e
Update requirejs to compatible version, remove r.js
2013-10-15 09:51:09 -04:00
Timmy Willison
fc4ff9315d
Add bower install script and release scripts to jshint and pass lint
2013-10-07 18:24:02 -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
Timo Tijhof
d1f247daf8
Gruntfile: Remove project prefix from TestSwarm job name, close gh-1387
2013-10-06 21:42:55 -04:00
Michał Gołębiowski
923bfc80db
No ticket. Simplify the post-uglify task.
2013-10-02 00:39:49 +02:00
Dave Methvin
d79c036ad6
Update release script for sourcmap syntax change
2013-09-19 09:06:19 -04:00
Timmy Willison
aab9d63279
Map Sizzle to a path with config to allow users to put Sizzle wherever they want
2013-09-10 18:47:36 -05:00
Timmy Willison
d788010aa7
Don't keep semicolons if the require call is not a var declaration
2013-09-09 13:55:07 -05:00
Timmy Willison
3b53b75160
Break jQuery.access out into its own module to separate it from core; Adjust CommonJS+AMD build support to include non-var dependencies. Convert modules with more than a few dependencies to use CJS+AMD syntax.
2013-09-09 11:34:23 -04:00
Timmy Willison
2fe09ceaf9
Update r.js (running latest master until new r.js is published to NPM)
2013-09-09 11:23:22 -04:00
Timmy Willison
1b3c0c00fa
Add AMD+CommonJS capabilities to the build script (for modules with long unreadable dependency lists)
2013-09-09 09:50:12 -04:00
Timmy Willison
8791920183
Restore optIn behavior for builds
2013-09-08 22:26:05 -04:00
Michał Gołębiowski
dfaee326e6
Fix #13983 . Switch to //# for sourcemap directives.
2013-09-05 18:23:56 +02:00
Timmy Willison
a542590687
Fix cherry-pick issue. The master branch tests should not be run in oldIE.
2013-08-19 15:49:18 -04:00
Timmy Willison
32e803c5bc
Minor build change: remove trailing tabs
2013-08-16 14:41:13 -04:00
Timmy Willison
b693b370a4
When converting the source to AMD, don't forget to AMD
2013-08-16 12:54:43 -04:00
Timmy Willison
338e48aea5
Custom builds: Fix source folder location now that build.js is in the tasks folder
2013-08-16 10:13:09 -04:00
Oleg Gaidarenko
df67c1ab09
Move jQuery specific tasks to independent files. Close gh-1334.
...
Also:
* Confirm build task to the style guide
* Use grunt API to load jQuery specific tasks
* Add "use strict"; statements
2013-08-16 09:48:00 -04:00
Timmy Willison
7877c4fa73
Remove log
2013-08-15 15:58:15 -04:00
Timmy Willison
b7b50a7d5f
Fix build for jenkins
2013-08-15 15:56:47 -04:00
Timmy Willison
6318ae6ab9
AMD-ify jQuery sourcegit s! Woo! Fixes #14113 , #14163 .
2013-08-15 14:15:49 -04:00
Dave Methvin
6e630fbbb1
Revert "Fix #13983 . Switch to //# for sourcemaps."
...
Per the discussion here:
https://code.google.com/p/chromium/issues/detail?id=256636
Thanks to the Chrome team for the quick response!
This reverts commit d53ddc90c1
.
2013-07-02 16:58:20 -04:00
Dave Methvin
a44202dc60
Change the changelog header style
2013-07-02 16:12:12 -04:00
Dave Methvin
d53ddc90c1
Fix #13983 . Switch to //# for sourcemaps.
...
Normally we'd avoid doing this on a patch release, but Chrome Canary is
spewing deprecation warnings already and that's generating bug tickets.
2013-07-02 09:48:40 -04:00
Dave Methvin
9cbd6898b9
Do not include the path in map references.
2013-05-24 12:37:32 -04:00
Dave Methvin
df372ad6e7
Update the map reference in each minified file.
...
(cherry picked from commit ebc7899ba1
)
2013-05-16 23:04:38 -04:00
Dave Methvin
5e8a5f4adc
build: switch from .min.gz to .zip format.
2013-05-12 21:58:53 -04:00
Chris Talkington
eaee6eae0f
build: update release script to use nodejs archiver.
2013-05-12 16:40:49 -05:00
Chris Talkington
8ab32fe3ff
build: correct paths so that archiving works.
2013-05-12 16:02:00 -05:00
Dave Methvin
47f56f1612
Create CDN archives in the build script.
2013-05-08 20:00:24 -04:00
Dave Methvin
caf963992d
Make it easier to debug the release script.
2013-05-06 10:32:16 -04:00
Dave Methvin
f6471f4f36
Use semantic versions.
2013-04-09 08:09:26 -04:00
Michał Z. Gołębiowski
79992d7523
Edited comments and minor adjustments. Fixes #13553 . Closes gh-1195.
2013-03-12 21:06:25 -04:00
Dave Methvin
a8cbbd3615
Let version 1.9 claim jquery.js and jquery-latest.js files.
2013-01-14 23:11:33 -05:00
Dave Methvin
e7a2e3c72f
Simplify release notes generator script.
2013-01-14 22:10:39 -05:00
Dave Methvin
c9b75df7fb
Add release support for map files.
2012-12-28 21:05:01 -05:00
Dave Methvin
6ecac3b152
Use the right repo.
2012-12-16 18:55:42 -05:00
Dave Methvin
bddd10037a
Update the build script so it runs on Windows.
2012-12-16 17:19:51 -05:00
Dave Methvin
24db7346ef
Update version in release notes builder.
2012-12-16 17:19:48 -05:00
Dave Methvin
6e995583a1
Tagging the 1.8.2 release.
2012-09-20 21:12:38 -04:00
Dave Methvin
044ee41282
Update release notes script to 1.8.2 and add debug option.
2012-09-20 21:05:40 -04:00
Dave Methvin
a31f28b026
Update release script and notes builder.
2012-08-30 17:07:03 -04:00
Dave Methvin
e41553950d
Don't let the release notes script truncate!
2012-08-09 20:16:06 -04:00
Dave Methvin
81bf633596
Updating the source version to 1.8.1pre
2012-08-09 16:25:57 -04:00
Dave Methvin
d308531339
Update release script; use package.json as the One True Version.
2012-08-09 16:24:30 -04:00
Rick Waldron
36623de76c
Take out the papers and the trash (from build/)
2012-06-04 12:53:53 -04:00
Oleg
d0763a37c6
Fix #11823 . Remove webkitConvertPointFromNodeToPage. Closes gh-796.
2012-05-27 12:37:35 -04:00
Mike Sherov
77536f5cb2
Fix #10996 , simplify offset code by forsaking ancient browsers.
2012-04-05 21:55:28 -04:00
Dave Methvin
f40c862d1e
Update release notes version.
2012-03-09 13:47:59 -05:00
Mike Sherov
3f88249b44
too many undefs.
2012-01-28 17:03:14 -05:00
Mike Sherov
135bb4ff81
Add undef:true to JSHint now that it understands hoisting
...
also add smarttabs:true and fix some smarttabs spacing issues
2012-01-19 22:36:08 -05:00
Rick Waldron
b6a2dfbeb9
Improves handling of EOL whitespace error reporting
2012-01-11 21:49:55 -05:00
Rick Waldron
f724bc6c92
Reformat jshint errors to be readable; make post-compile.js write directly to jquery.min.js; update required Node version
2011-12-15 10:11:24 -05:00
Dave Methvin
e452ebd76d
Two eq is not enough; three eq is more than we want for now.
...
We also don't need the lint alias.
2011-12-08 21:17:11 -05:00
Mike Sherov
98386cfd77
Fix #10692 . JSLint is dead! Long live JSHint!
...
Still needs this sizzle PR: https://github.com/jquery/sizzle/pull/82
2011-12-08 21:04:57 -05:00
Dave Methvin
dff11c0392
Update release notes version.
2011-11-21 20:04:18 -05:00
Dave Methvin
d459bd40d0
Update version.
2011-11-17 19:14:39 -05:00
Dave Methvin
3cd651669c
Update the version for building release notes.
2011-11-03 16:10:23 -04:00
Rick Waldron
e1a5d3ebfb
Landing pull request 560. Further reduce minimal header. Fixes #10553 .
...
More Details:
- https://github.com/jquery/jquery/pull/560
- http://bugs.jquery.com/ticket/10553
2011-10-22 16:06:57 -04:00
Rick Waldron
9f5d56a8b5
Landing pull request 523. Adds character frequency reporting tool, use: make freq. Fixes #10372 .
...
More Details:
- https://github.com/jquery/jquery/pull/523
- http://bugs.jquery.com/ticket/10372
2011-10-01 16:58:01 -04:00
Corey Frang
61277d2864
Landing pull request 511. Adding a little Makefile jQuery sizing utility to easily see differences in size between makes. Fixes #10308 .
...
More Details:
- https://github.com/jquery/jquery/pull/511
2011-09-19 15:27:43 -04:00
Dave Methvin
2fc6205fc7
Tagging the 1.6.3rc1 release.
2011-08-29 13:38:26 -04:00
Rick Waldron
68f1f4d545
Removes date from minimal license
2011-07-25 13:23:14 -04:00
Rick Waldron
7a1e880963
Mine and munge date from full source license header
2011-07-23 19:18:41 -04:00
Rick Waldron
8a610073f9
Builds minimal license header block for jquery.min.js
2011-07-23 17:58:08 -04:00
John Resig
d269e426e0
Updating version in release notes script.
2011-06-14 15:05:27 -07:00
John Resig
d443e533aa
Tagging the 1.6.2rc1 release.
2011-06-14 14:54:23 -07:00
John Resig
f794f48f02
Adding in test case to support #9211 .
2011-05-11 11:43:37 -04:00
John Resig
3cdffce19f
Updating release note script.
2011-05-03 15:01:29 -04:00
John Resig
89fd9dffad
Less aggressive semicolon insertion for the minified file.
2011-05-02 16:36:16 -04:00
John Resig
f8a112f08e
Ensure that an endline is in place at the end of the minified jQuery file.
2011-05-02 16:32:02 -04:00
John Resig
f4b5d3fc51
Update the UglifyJS code.
2011-05-02 16:25:36 -04:00
John Resig
c0d993903b
Fix bug with handling minor releases after major releases in the build script.
2011-05-02 16:25:20 -04:00
John Resig
b5772da087
Add a simple script for generating the release notes of a pre-release.
2011-04-27 00:56:08 -04:00
John Resig
a8988e3cd1
Adding a Node-based release management script for pushing new releases to the CDN.
2011-04-26 16:23:09 -04:00
John Resig
2a71493447
Updating UglifyJS.
2011-04-17 18:17:31 -04:00
awgy
2862f589db
Remove sed from post-build code, due to portability issues between GNU and BSD versions.
...
Follow up to ba43d37394
which apparently
didn't fix the problem completly on Mac OS X.
2011-02-12 13:53:04 +01:00
Dan Heberden
74dfc7f2a9
Revert uglify.js to original and handle build changes in make file
2011-01-19 02:11:43 -08:00
John Resig
fc7bd61200
Merge branch 'master' of https://github.com/mathiasbynens/jquery into mathiasbynens-master
2011-01-18 18:11:54 -05:00
John Resig
be6ef80f8a
Weird, not sure why I got an exec error before - doesn't seem to be needed.
2011-01-18 18:06:44 -05:00
Mathias Bynens
c5ec1cb3e5
Add missing line break after copyright header and trailing semicolon at the end of the minified version.
2011-01-18 23:14:32 +01:00
John Resig
80928cc6fb
Make sure that the UglifyJS file is executable.
2011-01-18 16:40:42 -05:00
Colin Snover
d503845d0c
Replace build system with a faster new one that uses Node and UglifyJS and generates smaller minified files. Also removes builds through rake/ant since having 3 different build systems was too much to maintain (make was the only one consistently kept up-to-date). Fixes #7973 .
2011-01-17 18:49:24 -06:00