Commit Graph

32 Commits

Author SHA1 Message Date
Michał Gołębiowski-Owczarek
7037facc22 Build: Remove package-lock.json, add it to .gitignore
npm 5, even the version included in the latest Node.js 8.5.0 re-generates
`package-lock.json` on each install. And when it does on a system that doesn't
support all the optional dependencies that are supported on the OS where the
lockfile was generated, it removes those optional deps from the lockfile.

The effect is that everyone firing `npm install` on our repo on any OS other
than macOS will immediately get a dirty state of the repo as the `fsevents`
dependency subtree gets removed from `package-lock.json`. That's a really bad
experience.

This commit removes package-lock.json from the repository and adds it to
.gitignore. We'll start committing the file again once the issue is resolved
on npm's part.

Fixes gh-3792
2017-09-25 19:34:28 +02:00
CDAGaming
31783e60f5
Build: update node dependencies; commit package-lock.json
- Also ignore yarn.lock
Close gh-3669
2017-06-26 11:04:51 -04:00
Oleg Gaidarenko
308e4b534b Build: Simplify Gruntfile constructions
Fixes gh-3246
2016-08-02 20:58:01 +03: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
288028b520 Build: add npm-debug.log to .gitignore 2016-02-13 22:35:59 +03: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
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
Michał Gołębiowski
2d73150511 Build: Use absolute paths in .gitignore and .npmignore.
.gitignore/.npmignore treat all its paths as relative to *every*
directory in the repository. In most cases that’s not what’s desired.
2013-12-18 15:16:21 +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
Michał Gołębiowski
21c218eabb Keep bower_components in .gitignore. 2013-11-15 15:50:31 +01: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
6318ae6ab9 AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163. 2013-08-15 14:15:49 -04:00
Timmy Willison
b13d8229ae Include Sizzle and Qunit with bower. Fixes #14118. 2013-07-10 12:00:26 -04:00
Dave Methvin
8be9cd1ce7 Add warnings and ignore the built Sizzle file. 2013-02-27 22:45:55 -05:00
Rick Waldron
8265fa0837 Allow users to store custom dist destinations in dist/.destination.json
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-06-05 13:10:01 -04:00
Rick Waldron
7c23b77af2 Strips IIFEs from modules; Always require built jQuery for tests. 2012-06-04 12:48:18 -04:00
Richard Gibson
7f2cc46955 Fix #11767. Modularize build and unit tests for exluding effects.
Closes gh-785. To build a version of jQuery without effects, use `grunt build:*:*:-effects`. The unit tests feature-check for the interfaces and skip the unit tests for effects if they don't detect it.
2012-05-28 22:36:23 -04:00
Rick Waldron
82d4c72fb1 Adds back dist/.sizecache.json; maintain build/.sizecache.json until build dir is removed 2012-05-28 22:20:37 -04:00
timmywil
9efad09d68 Add .sizecache.json to the gitignore 2012-05-28 21:39:31 -04:00
Rick Waldron waldron.rick@gmail.com
1434b5b567 Initial grunt implementation 2012-04-18 16:07:35 -04:00
jaubourg
4092e3d275 $.Callbacks, $.Topic and notify/progress on $.Deferred. 2011-09-19 15:42:30 -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
Carl Fürstenberg
150d3decb5 Introduce submodules, closes #8536
Instead of the manual clone of sizzle and qunit, use git submodules
instead. this will ensure that all future releases can be recreated by
checking out an tag.
2011-03-15 20:16:09 +01:00
John Resig
616aceef84 Adding .DS_Store to Git ignore. 2009-12-09 23:49:13 -08:00
John Resig
5473b041c0 Ignore html files living in the main directory (likely being used for testing). 2009-12-09 23:45:56 -08:00
jeresig
6798df54f4 Switched from using Git Submodules to just doing a straight clone of the QUnit and Sizzle directories. Works much better for what we want. 2009-11-30 15:45:16 -05:00
jeresig
84857abefc Ignore diff and patch files. 2009-11-30 13:00:06 -05:00
John Resig
0a7232cc39 Hide the .settings file in the gitignore. 2009-11-15 00:27:06 -05:00
Kim Dalsgaard
d338b1a1e7 Ignoring src/selector.js (build) and Emacs backup files 2009-11-15 12:14:31 +08:00
John Resig
4a51b12b95 We don't want to filter out the qunit file. 2009-10-22 21:26:28 -04:00
Yehuda Katz
0e2f4a0fe3 Added gitignore for people using git-svn 2009-07-16 07:31:22 +00:00