Commit Graph

225 Commits

Author SHA1 Message Date
Anton Timmermans
b870f5b13e Build Tools: Update @wordpress packages.
Props pento.
Merges [43843] to trunk.
See #45145.


git-svn-id: https://develop.svn.wordpress.org/trunk@44180 602fd350-edb4-49c9-b593-d223f7449a82
2018-12-14 12:06:31 +00:00
Anton Timmermans
19800c7b76 Build Tools: Upgrade @wordpress packages to the latest version.
This also includes the new @wordpress/format-library and @wordpress/notices packages.

package-lock.json has been completely regenerated in this commit.

Props pento.
Merges [43840] to trunk.
See #45145.


git-svn-id: https://develop.svn.wordpress.org/trunk@44177 602fd350-edb4-49c9-b593-d223f7449a82
2018-12-14 10:53:17 +00:00
Anton Timmermans
578192177b Build Tools: Add an npm script shortcut to run grunt.
Rather than needing to install grunt globally, this allows running grunt from node_modules, instead.

npm run grunt ... is effectively the equivalent of running grunt ....

Props andrew.taylor, pento.
Merges [43836] to trunk.
See #45214.


git-svn-id: https://develop.svn.wordpress.org/trunk@44176 602fd350-edb4-49c9-b593-d223f7449a82
2018-12-14 09:46:30 +00:00
Gary Pendergast
dc6b225023 Build Tools: Update the @wordpress/* packages.
Merges [43801,43803] from the 5.0 branch to trunk.

See #45145.



git-svn-id: https://develop.svn.wordpress.org/trunk@44163 602fd350-edb4-49c9-b593-d223f7449a82
2018-12-14 04:42:55 +00:00
Anton Timmermans
7a2fa10e28 Build tools: Build @wordpress packages with webpack.
We decided to split the media webpack config into it's own file. The
main webpack config then combines this file with the packages config.

Include vendor scripts by copying them. We copy the minified files if
they are available. If they aren't available we minify the original
files ourselves.

Props omarreiss, herregroen, gziolo, youknowriad, netweb, adamsilverstein.
Merges [43719] to trunk.
See #45065.


git-svn-id: https://develop.svn.wordpress.org/trunk@44112 602fd350-edb4-49c9-b593-d223f7449a82
2018-12-13 15:25:37 +00:00
Anton Timmermans
f284024e6b Build tools: Upgrade webpack to version 4.
* Minification is done by uglify, so disable that in the media build.
* The webpack boilerplate has changed, which explains the changes in the build files.
* ModuleConcatenationPlugin is enable by default for production builds so we don't have to specify that ourselves.

Merge notes: In `trunk` uglify isn't run on the media files after webpack, so webpack does need to do that. Newer webpack versions use `terser-webpack-plugin` as the default minification. Use the `uglifyjs-webpack-plugin` plugin to maintain the same behavior as before. We can look into terser as a minifier later.

Merges [43688] to trunk.
See #45065.


git-svn-id: https://develop.svn.wordpress.org/trunk@44111 602fd350-edb4-49c9-b593-d223f7449a82
2018-12-13 11:04:35 +00:00
Anton Timmermans
b8fb0eaeca Build/Test: Update dependencies for 5.0
Updates package dependencies to more modern versions, also adds .nvmrc and package-lock.json as followups to [43683] and [43571].

Merge notes: trunk already had an identical .nvmrc. package-lock.json exists in trunk, but has some changes based on the dependency updates.

Props jorbin.
Merges [43684], [43685] and [43686] to trunk.
See #44600.
Fixes #45064.


git-svn-id: https://develop.svn.wordpress.org/trunk@43977 602fd350-edb4-49c9-b593-d223f7449a82
2018-12-11 16:12:13 +00:00
Gary Pendergast
5d92e0c0a9 Bump the trunk package.json version to 5.1.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@43678 602fd350-edb4-49c9-b593-d223f7449a82
2018-10-05 20:42:10 +00:00
Gary Pendergast
cdd9910f01 Emoji: Update Twemoji to version 11.0.
🦹

Props kraftbj,
Fixes #44339.



git-svn-id: https://develop.svn.wordpress.org/trunk@43377 602fd350-edb4-49c9-b593-d223f7449a82
2018-06-20 04:20:32 +00:00
Andrew Ozz
247eba769e Build tools: Update Grunt to version 1.0.2.
Props iandunn, netweb.
Fixes #42308.

git-svn-id: https://develop.svn.wordpress.org/trunk@43323 602fd350-edb4-49c9-b593-d223f7449a82
2018-05-27 17:02:22 +00:00
Andrew Ozz
4fc1579427 Build tools:
- Remove `check-node-version` from package.json for now. Throws errors.
- Minor fixes to package-lock.json, `http` => `https`.

See #44246.

git-svn-id: https://develop.svn.wordpress.org/trunk@43322 602fd350-edb4-49c9-b593-d223f7449a82
2018-05-27 16:42:34 +00:00
Andrew Ozz
338e951cec Build tools: add check-node-version to check required Node.js and npm versions are installed.
Props netweb.
Fixes #44246.

git-svn-id: https://develop.svn.wordpress.org/trunk@43321 602fd350-edb4-49c9-b593-d223f7449a82
2018-05-27 16:07:48 +00:00
Andrew Ozz
f26fe4ea9c Build tools: Use npm v6.1.0.
Props netweb.
Fixes #44245.

git-svn-id: https://develop.svn.wordpress.org/trunk@43320 602fd350-edb4-49c9-b593-d223f7449a82
2018-05-27 16:00:45 +00:00
Gary Pendergast
ef37f002ee Once upon a midnight dreary, while I coded, weak and weary,
In many a strange and curious file of forgotten lore—
While I pondered, blaming Nacin, my notifications suddenly awakened,
As of someone quietly DMing;—DMing me, I can’t ignore.
“’Tis some contributor,” I muttered, “DMing me an idea or four—
            Only this and nothing more.”

Ah, distinctly I remember, at WordCamp US, last December;
A mad proposal nearly laid me—down out cold—upon the floor.
Curious, I listened closely;—to a plan I agreed with, mostly—
A way to make our JavaScript—JavaScript which was a chore—
Maintainable, extendable, for the future, is what I saw.
            Guten-ready for evermore.

Open here I switch to Slack, when, with many a patch and hack,
In there stepped Omar, a JavaScript developer hardcore;
Pronouncing all the changes fit; ready now to be commit;
“There’s nothing else for us to do,” DMing me, “It’s done!” he swore—
“No longer random guessing at which file need next be explored—
            Let’s move on, we’re all aboard.”

Moved all together, grouped and managed, in folders all is packaged,
The code had all been cleaned and tidied, important parts moved to the fore,
“Though this change be useful here,” I said, “it is too large, I fear,
We couldn’t manage such a patch, we’ve done nothing like this before—
Tell me where doth go this change, change to make our codebase soar!”
            Quoth Omar, “In WordPress Core.”

Props omarreis for shepherding this significant change.
Props adamsilverstein, aduth, atimmer, dingo_bastard, frank-klein, gziolo, herregroen, jaswrks, jeremyfelt, jipmoors, jorbin, netweb, ocean90, pento, tjnowell, and youknowriad for testing, feedback, discussion, encouragement, commiserations, etc.
I make no apologies for this commit message.
Fixes #43055.



git-svn-id: https://develop.svn.wordpress.org/trunk@43309 602fd350-edb4-49c9-b593-d223f7449a82
2018-05-23 10:04:22 +00:00
Aaron Jorbin
9208eec92c Wow. I really shouldn't try to fix the build.
Previous [42989] [42986].
See #43440.


git-svn-id: https://develop.svn.wordpress.org/trunk@42991 602fd350-edb4-49c9-b593-d223f7449a82
2018-04-19 00:25:52 +00:00
Aaron Jorbin
c2ec9a43ea Remove accidental addition to package.json
Introduced in [42989].

See #43440.
Unprops jorbin.



git-svn-id: https://develop.svn.wordpress.org/trunk@42990 602fd350-edb4-49c9-b593-d223f7449a82
2018-04-19 00:23:24 +00:00
Aaron Jorbin
770fbb4bcb Privacy: Fix JSHint errors
Introduced in [42986].

See #43440.


git-svn-id: https://develop.svn.wordpress.org/trunk@42989 602fd350-edb4-49c9-b593-d223f7449a82
2018-04-19 00:22:11 +00:00
Gary Pendergast
dc24919339 Build Tools: Update the description in package.json and composer.json.
The description now matches the tagline on the front page of WordPress.org.

Props ocean90.
Fixes #43558.



git-svn-id: https://develop.svn.wordpress.org/trunk@42961 602fd350-edb4-49c9-b593-d223f7449a82
2018-04-05 07:15:25 +00:00
Aaron Jorbin
73d060e5ac Bump grunt-patch-wordpress to 1.0.0
Adds the ability to do file mapping (see #43055 ), reformats all of the code to bring it inline with the current WordPress coding standards, and fixes a small number of bugs.

Props pento, netweb, boblinthorst, ireneyoast, omarreiss, herregroen, jorbin
Fixes #43646



git-svn-id: https://develop.svn.wordpress.org/trunk@42887 602fd350-edb4-49c9-b593-d223f7449a82
2018-03-28 16:23:19 +00:00
Sergey Biryukov
6073df2b45 Build Tools: Update SPDX License in package.json to adhere to SPDX v3.0 specification.
Props netweb.
Fixes #43032.

git-svn-id: https://develop.svn.wordpress.org/trunk@42637 602fd350-edb4-49c9-b593-d223f7449a82
2018-02-01 16:38:48 +00:00
Dion Hulse
e157ce1ebf Build: Bump grunt-sass to v2.0.0 from v1.2.1 for Node 8.x support.
Changes: https://github.com/sindresorhus/grunt-sass/compare/v1.2.1...v2.0.0

Props netweb.
See #35105.
Fixes #43097.


git-svn-id: https://develop.svn.wordpress.org/trunk@42463 602fd350-edb4-49c9-b593-d223f7449a82
2018-01-16 06:32:54 +00:00
Dion Hulse
2eba5a98d9 Build: Use Node 8.x for trunk.
Props netweb.
See #35105.


git-svn-id: https://develop.svn.wordpress.org/trunk@42461 602fd350-edb4-49c9-b593-d223f7449a82
2018-01-16 03:56:01 +00:00
Dion Hulse
01d5469e73 Build: Switch package.json to using tabs for indents.
Props netweb.
Fixes #43075.


git-svn-id: https://develop.svn.wordpress.org/trunk@42460 602fd350-edb4-49c9-b593-d223f7449a82
2018-01-16 03:54:10 +00:00
Weston Ruter
9f77ec13ff Trunk is now 5.0-alpha
git-svn-id: https://develop.svn.wordpress.org/trunk@42127 602fd350-edb4-49c9-b593-d223f7449a82
2017-11-07 05:46:41 +00:00
Adam Silverstein
851d51ebd6 Build: Webpack instead of Browserify as JavaScript bundler.
Use Webpack as our bundler of choice, enabling improved JavaScript build chain capabilities.

Props aduth, netweb, kadamwhite, schlessera.
Fixes #40894. 


git-svn-id: https://develop.svn.wordpress.org/trunk@41752 602fd350-edb4-49c9-b593-d223f7449a82
2017-10-04 21:00:15 +00:00
Adam Silverstein
6e7053a6df Docs: JSDoc improvements for namespaces.
Improve JS parsing of our inline JSDocs by introducing `@namespace`, `@lends` and `@memberOf`. Helps set the way for showing our JavaScript documentation on developer.wordpress.org, see https://meta.trac.wordpress.org/ticket/3063.

* Define all used namespaces using @namespace.
* Correctly specify in which namespace each class is using @memberOf.
* Define each usage of the extend function as a prototype assignment using @lends.
* Some comment blocks were moved to correct the parsing of certain definitions. 

Props herregroen, atimmer, netweb, SergeyBiryukov.  
Fixes #41682.


git-svn-id: https://develop.svn.wordpress.org/trunk@41351 602fd350-edb4-49c9-b593-d223f7449a82
2017-09-08 18:41:20 +00:00
Aaron Jorbin
7ac4e811b4 Build/Test Tools: Add banner to minified CSS files
Patches occasionally come in on generated files. We should be kind to new contributors and give them a hint that these files are auto generated.

Props drewapicture, samuelsidler, netweb, valendesigns, kpdesign, nacin, jorbin
Fixes #30666


git-svn-id: https://develop.svn.wordpress.org/trunk@41271 602fd350-edb4-49c9-b593-d223f7449a82
2017-08-19 20:09:31 +00:00
Gary Pendergast
f780ce0a49 Emoji: Port the Twemoji regex to PHP.
Previously, `wp_encode_emoji()` and `wp_staticize_emoji()` used inaccurate regular expressions to find emoji, and transform then into HTML entities or `<img>`s, respectively. This would result in emoji not being correctly transformed, or occasionally, non-emoji being incorrectly transformed.

This commit adds a new `grunt` task - `grunt precommit:emoji`. It finds the regex in `twemoji.js`, transforms it into a PHP-friendly version, and adds it to `formatting.php`. This task is also automatically run by `grunt precommit`, when it detects that `twemoji.js` has changed.

The new regex requires features introduced in PCRE 8.32, which was introduced in PHP 5.4.14, though it was also backported to later releases of the PHP 5.3 series. For versions of PHP that don't support this, it will fall back to an updated version of the loose-matching regex.

For short posts, the performance difference between the old and new regex is negligible. As the posts get longer, however, the new method is exponentially faster.

Fixes #35293.



git-svn-id: https://develop.svn.wordpress.org/trunk@41043 602fd350-edb4-49c9-b593-d223f7449a82
2017-07-14 05:46:19 +00:00
Ella Van Dorpe
f87f1d8286 Trunk is really 4.9-alpha now
git-svn-id: https://develop.svn.wordpress.org/trunk@40871 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-01 22:07:51 +00:00
Andrew Nacin
b16f57240e Build/Test Tools: Specify exact node version in package.json.
Enforce it in the tests.

see #35105.


git-svn-id: https://develop.svn.wordpress.org/trunk@39478 602fd350-edb4-49c9-b593-d223f7449a82
2016-12-04 17:29:26 +00:00
Helen Hou-Sandi
a8cb1d8208 Trunk is really 4.8-alpha now.
git-svn-id: https://develop.svn.wordpress.org/trunk@39359 602fd350-edb4-49c9-b593-d223f7449a82
2016-11-24 21:55:17 +00:00
Aaron Jorbin
40197b63d9 Revert [39118] due to incompatibility with node v0.10.x
Props nacin

See #38199.



git-svn-id: https://develop.svn.wordpress.org/trunk@39119 602fd350-edb4-49c9-b593-d223f7449a82
2016-11-03 06:08:34 +00:00
Aaron Jorbin
c03bc60a70 Bump grunt-includes from 0.5.4 to 1.0.0
Diff
0790695413

See #38199.


git-svn-id: https://develop.svn.wordpress.org/trunk@39118 602fd350-edb4-49c9-b593-d223f7449a82
2016-11-03 05:44:18 +00:00
Aaron Jorbin
2c0e24babf Bump grunt-contrib-uglify from 1.0.1 to 2.0.0
Sets `screwIE8` to false as it is now enabled by default

Files Changed:
build/wp-admin/js/customize-nav-menus.min.js
build/wp-admin/js/customize-widgets.min.js
build/wp-includes/js/customize-loader.min.js

Changelog:
2016-07-19   v2.0.0   Update uglify-js to v2.7.0. screwIE8 is enabled by default.
2016-07-19   v1.0.2   Update grunt to ^1.0.0. Fix beautify when passed as an object. Fix docs about report values.

See #38199.



git-svn-id: https://develop.svn.wordpress.org/trunk@39117 602fd350-edb4-49c9-b593-d223f7449a82
2016-11-03 05:39:10 +00:00
Aaron Jorbin
fff00cbc94 Bump grunt-contrib-cssmin from v1.0.0 to v1.0.2
Changelog:
2016-08-31   v1.0.2   Fix issues for node 6.
2016-03-16   v1.0.1   Downgrade maxmin to support Node.js 0.10.

See #38199.


git-svn-id: https://develop.svn.wordpress.org/trunk@39116 602fd350-edb4-49c9-b593-d223f7449a82
2016-11-03 05:31:56 +00:00
Aaron Jorbin
2de138fbb6 Bump grunt-contrib-compress from 1.1.0 to 1.3.0
Changelog:
2016-05-24   v1.3.0   Update to Archiver 1.0. Fix node 6 support.
2016-03-24   v1.2.0   Dependency update.

See #38199


git-svn-id: https://develop.svn.wordpress.org/trunk@39115 602fd350-edb4-49c9-b593-d223f7449a82
2016-11-03 05:27:41 +00:00
Aaron Jorbin
05b092902a Bump autoprefixer from 6.5.0 to 6.5.1
Changelog
Fix selectors with :-- prefix support.

See #38199.

M    package.json


git-svn-id: https://develop.svn.wordpress.org/trunk@39114 602fd350-edb4-49c9-b593-d223f7449a82
2016-11-03 05:17:07 +00:00
Aaron Jorbin
822762b101 Bump grunt-contrib-qunit from 1.1.0 to 1.2.0
Changlog:
2016-04-14   v1.2.0   Add support for filtering running modules using command line (--modules) Removed 'grunt.warn' output from error.onError handler, onus now on end user binding to event. Update docs.

See #38199.


git-svn-id: https://develop.svn.wordpress.org/trunk@39113 602fd350-edb4-49c9-b593-d223f7449a82
2016-11-03 05:13:35 +00:00
Aaron Jorbin
3146b1e971 Bump grunt-sass from 1.1.0 to 1.2.1
diff: https://github.com/sindresorhus/grunt-sass/compare/v1.1.0...v1.2.1

See #38199.


git-svn-id: https://develop.svn.wordpress.org/trunk@39110 602fd350-edb4-49c9-b593-d223f7449a82
2016-11-03 04:54:46 +00:00
Aaron Jorbin
8c3dd28ec7 Build/Test: Bump Autoprefixer to 6.5.0
Also includes a new prefixed value.

Changes:
6.5 “Einigkeit und Recht und Freiheit”
- Add defaults keyword to browsers requirements.
- Fix CSS Grid Layout support.
- Fix align-self cleaning.

6.4.1
- Fix node cloning after some PostCSS plugins.

6.4 “Hic et ubique terrarum”
- Add :any-link selector support.
- Add text-decoration-skip support.
- Add transition: duration property support.
- Fix -webkit- prefix for backface-visibility.
- Fix rad unit support in gradients (by 刘祺).
- Fix transition support in Opera 12.
- Removed Safari TP Grid prefixes support.

6.3.7
- Fix rare Cannot read property 'constructor' of null issue.

6.3.6
- Add Safari TP prefix support for Grid Layout.

6.3.5
- Fix duplicate prefixes for -ms-interpolation-mode.

6.3.4
- Show users coverage for selected browsers in info().

28.0
- Happy Birthday @nacin

See #38199




git-svn-id: https://develop.svn.wordpress.org/trunk@38688 602fd350-edb4-49c9-b593-d223f7449a82
2016-09-30 17:33:57 +00:00
Helen Hou-Sandi
35c6691858 Trunk is now 4.7-alpha.
git-svn-id: https://develop.svn.wordpress.org/trunk@38178 602fd350-edb4-49c9-b593-d223f7449a82
2016-08-02 13:44:37 +00:00
Gary Pendergast
62c518df0d Tools: Update grunt-patch-wordpress to 0.4.2.
This update fixes invalid patches being uploaded to Trac when the `diff-cmd` is set to `colordiff`.

Props jorbin.
Fixes #37410.



git-svn-id: https://develop.svn.wordpress.org/trunk@38111 602fd350-edb4-49c9-b593-d223f7449a82
2016-07-20 06:48:26 +00:00
Aaron Jorbin
127493e141 Update grunt-patch-wordpress to 0.4.0
This update adds two main features for your WordPress development happiness.

1) GitHub URL support. You can now use `grunt patch:https://github.com/aaronjorbin/develop.wordpress/pull/3` with any copy of WordPress on GitHub. No longer will you need to download the patch manually.  Works for both core and develop mirrors on GitHub.  

2) Upload patches directly from the command line. No longer will you need to create a patch and manually upload it to trac. `grunt upload_patch:20000` will upload a patch to the appropriate ticket after a user enters a WordPress.org username and password. This is limited to users with the appropriate XML-RPC privileges in trac (right now, that is just bug gardeners). You still need to manually add the `has patch` keyword.  

Full changelog: https://github.com/aaronjorbin/grunt-patch-wordpress/compare/0.3.0...0.4.0

Fixes #35917.
Props netweb, ericlewis, michaelbeil, jorbin.


git-svn-id: https://develop.svn.wordpress.org/trunk@37612 602fd350-edb4-49c9-b593-d223f7449a82
2016-06-01 21:24:09 +00:00
Aaron Jorbin
9d68dce5b2 Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1
This changes every JS file in WordPress, so we need to test everything.

Props netweb.
See #36520.


git-svn-id: https://develop.svn.wordpress.org/trunk@37212 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-15 16:09:07 +00:00
Ella Iseulde Van Dorpe
f0bc007421 Build/Test Tools: Better git/svn detection
Prevent tasks from running twice in parallel 
if both .svn and .git directories are present.

Add `--ignore-externals` to `svn status`
and replace `git diff --name-only` with `git status --short`.

Merge some duplicate code.

Fixes #36394.
See #35557.
See [36906].



git-svn-id: https://develop.svn.wordpress.org/trunk@37185 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-12 22:33:18 +00:00
Dominik Schilling (ocean90)
65ec7e5d81 Trunk is now 4.6-alpha.
git-svn-id: https://develop.svn.wordpress.org/trunk@37183 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-12 20:03:58 +00:00
Aaron Jorbin
a720ab2501 Bump grunt-contrib-qunit ~0.7.0 → ~1.1.0
See #35104


git-svn-id: https://develop.svn.wordpress.org/trunk@37020 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-16 17:53:51 +00:00
Aaron Jorbin
1e4857c669 Bump grunt-contrib-watch ~0.6.1 → ~1.0.0
See #35104


git-svn-id: https://develop.svn.wordpress.org/trunk@37019 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-16 17:50:54 +00:00
Aaron Jorbin
a702da47a9 Bump grunt-contrib-jshint ~0.11.3 → ~1.0.0
See #35104


git-svn-id: https://develop.svn.wordpress.org/trunk@37017 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-16 17:41:32 +00:00
Aaron Jorbin
a637421857 Revert r36978
grunt-postcss Dropped nodejs 0.10 support and this is causing builds to fail.  Revert until we bump minimum node version. 

See #35104


git-svn-id: https://develop.svn.wordpress.org/trunk@36980 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-13 19:19:44 +00:00
Aaron Jorbin
76c2c7a982 Update grunt-browserify ~4.0.1 → ~5.0.0
Updates underlying broweserify library to 13.0.0

See #35104



git-svn-id: https://develop.svn.wordpress.org/trunk@36979 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-13 19:02:47 +00:00
Aaron Jorbin
b06b9e5713 Update grunt-postcss ~0.7.1 → ~0.8.0
See #35104


git-svn-id: https://develop.svn.wordpress.org/trunk@36978 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-13 18:36:27 +00:00
Dominik Schilling (ocean90)
307f8d8558 Build Tools: Update grunt-rtlcss ~1.6.0 → ~2.0.1.
This updates the underlying RTLCSS framework to 2.0 which provides new options and config settings, see https://github.com/MohammadYounes/rtlcss/blob/master/CHANGELOG.md#200---18-feb-2016.

See #35104.

Build: https://build.trac.wordpress.org/changeset/36903

git-svn-id: https://develop.svn.wordpress.org/trunk@36935 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 16:00:11 +00:00
Aaron Jorbin
81652abd8b Improve grunt precommit task
Instead of running all tasks, all the time, let's run tasks based on the files changed. PHPUNIT is now a precommit task for all php file changes. 

This adds a new dependency. Please run `npm install`.

Fixes #35557
Props  ericlewis, netweb, jorbin



git-svn-id: https://develop.svn.wordpress.org/trunk@36906 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 20:54:10 +00:00
Aaron Jorbin
6d01e8650c Update grunt-contrib-cssmin ~0.14.0 → ~1.0.0
See #35104.


git-svn-id: https://develop.svn.wordpress.org/trunk@36865 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-05 23:36:36 +00:00
Aaron Jorbin
366dab5560 Update grunt-contrib-copy ~0.8.2 → ~1.0.0
See #35104.


git-svn-id: https://develop.svn.wordpress.org/trunk@36864 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-05 23:34:11 +00:00
Aaron Jorbin
a1d75ea8e4 Update grunt-contrib-concat ~0.5.1 → ~1.0.0
see #35104


git-svn-id: https://develop.svn.wordpress.org/trunk@36863 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-05 23:31:16 +00:00
Aaron Jorbin
9973cb2cc7 Update grunt-contrib-compress ~0.14.0 → ~1.1.0
See #35104


git-svn-id: https://develop.svn.wordpress.org/trunk@36862 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-05 23:24:23 +00:00
Aaron Jorbin
a0a26df25f Update grunt-contrib-clean from 0.6.0 → 1.0.0
see #35104


git-svn-id: https://develop.svn.wordpress.org/trunk@36861 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-05 23:18:39 +00:00
Aaron Jorbin
cf923b657f Update Autoprefixer to 6.3.3
See #35104


git-svn-id: https://develop.svn.wordpress.org/trunk@36860 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-05 23:15:52 +00:00
Gary Pendergast
957697adf0 Build Tools: Update grunt-contrib-imagemin to v1.0.0
This updates `imagemin` to 4.0.0, which fixes an error when running `grunt imagemin:core`.

Props netweb.

Fixes #35003.



git-svn-id: https://develop.svn.wordpress.org/trunk@35859 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 03:37:36 +00:00
Boone Gorges
ee8215e442 Bump package.json to 4.5.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@35778 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 17:35:35 +00:00
Dominik Schilling (ocean90)
9c709c218a Build Tools: Update autoprefixer to 0.6.1.
Release Post: https://github.com/postcss/autoprefixer/releases/tag/6.1.0

Includes changes to CSS files after `grunt precommit` because of the new transition support and a new parser for gradients (see [34637]).

See #34177.

git-svn-id: https://develop.svn.wordpress.org/trunk@35563 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-07 11:56:26 +00:00
Dominik Schilling (ocean90)
9632f3a771 Build Tools: Update grunt-postcss to 0.7.1.
Change: https://github.com/nDmitry/grunt-postcss/commit/6e18c7d5

See #34177.

git-svn-id: https://develop.svn.wordpress.org/trunk@35562 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-07 11:42:26 +00:00
Aaron Jorbin
ca0b5f9df8 Bump grunt-contrib-cssmin to 0.14.0
This updates the underlying version of cssmin

Fixes #34177



git-svn-id: https://develop.svn.wordpress.org/trunk@35541 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-05 17:57:53 +00:00
Aaron Jorbin
b9a8a0f01c Bump grunt-contrib-copy to 0.8.2
updates an underlying dependency and fixes an issue with multiple copies

see #34177



git-svn-id: https://develop.svn.wordpress.org/trunk@35540 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-05 17:55:06 +00:00
Aaron Jorbin
75e3f3606a Bump grunt-sass to 1.1.0
This bumps the underlying version of node-sass to 3.4.0 and libsass to 3.3.0. It causes no difference in the current sass output.

Props netweb.
See #34177.



git-svn-id: https://develop.svn.wordpress.org/trunk@35539 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-05 17:52:49 +00:00
Aaron Jorbin
7b97ea0226 Bump grunt-contrib-uglify to 0.10.0
This includes an update to the underlying version of uglify which causes all of the JS to be modified.

See #34177



git-svn-id: https://develop.svn.wordpress.org/trunk@35538 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-05 17:46:13 +00:00
Aaron Jorbin
22f3852c84 Bump grunt-contrib-compress
Upsteam changelog: change to verbose output dependency updates Archiver 0.16

See #34177



git-svn-id: https://develop.svn.wordpress.org/trunk@35521 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-04 21:35:07 +00:00
Aaron Jorbin
f0bd796c15 Bump grunt-postcss
See #34177


git-svn-id: https://develop.svn.wordpress.org/trunk@35520 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-04 21:31:24 +00:00
Aaron Jorbin
eef98a3495 Bump matchdep from 0.3.0 to 1.0.0
This drops support for node 0.8.0 so if you still using that, it's time to upgrade your node.

See #34177



git-svn-id: https://develop.svn.wordpress.org/trunk@35513 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-04 21:21:00 +00:00
Aaron Jorbin
21b29ebf5e Bump grunt-contrib-jshint to 0.11.3
This bumps the included jshint to 2.8.0 from 2.6.0

See #34177




git-svn-id: https://develop.svn.wordpress.org/trunk@35363 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 01:09:03 +00:00
Aaron Jorbin
739fc4a8c7 Update grunt-browserify
upstream changes https://github.com/jmreidy/grunt-browserify/compare/v4.0.0...v4.0.1

See #34177


git-svn-id: https://develop.svn.wordpress.org/trunk@35335 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-21 16:58:37 +00:00
Aaron Jorbin
8f2e001efe Replace Autoprefixer Core with Autoprefixer
Autoprefixer Core 5.2.1 -> Autoprefixer 6.0.3 https://github.com/postcss/autoprefixer/releases/tag/6.0.0
Package autoprefixer-core is deprecated in favour of autoprefixer as part of the 6.0.0 release:
Packages autoprefixer and autoprefixer-core were merged in 6.0 release.
Autoprefixer 6.0.0 requires PostCSS 5.0.10 or greater
PostCSS 0.5.4 -> 0.6.0 https://github.com/nDmitry/grunt-postcss/compare/v0.5.4...v0.6.0

You will need to update your dev dependencies after this change.

Props netweb
See #34177



git-svn-id: https://develop.svn.wordpress.org/trunk@35332 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-21 16:47:21 +00:00
Scott Taylor
bec5838166 Build Tools: upgrade grunt-browserify to ~4.0.0 and remove the watch task for browserify, which has its own internal watcher. Run npm install to update.
Props iseulde.
Fixes #31911.


git-svn-id: https://develop.svn.wordpress.org/trunk@34888 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-07 00:00:00 +00:00
Gary Pendergast
8b0cfb52ca Build Tools: Update grunt-contrib-uglify to 0.9.2.
Fixes #33533.



git-svn-id: https://develop.svn.wordpress.org/trunk@33726 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-25 03:27:23 +00:00
Helen Hou-Sandi
e048854dc1 Trunk is now 4.4-alpha.
git-svn-id: https://develop.svn.wordpress.org/trunk@33636 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-18 19:31:23 +00:00
Aaron Jorbin
f86fd644e1 Remove grunt-autoprefixer in favor of grunt-postcss with autoprefixer
grunt-autoprefixer was deprecated - e020f878d5
None of the autoprefixer tasks should have been called directly, so they are now removed.  `grunt precommit` and `grunt build` still work exactly as they should.  This change doesn't affect the output of our builds.

An NPM install is required after you have updated after this change.

See #31700
Props netweb



git-svn-id: https://develop.svn.wordpress.org/trunk@33129 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 19:53:22 +00:00
Aaron Jorbin
d928f81407 Update Grunt dev-dependencies
grunt-browserify : minor version update
grunt-contrib-cssmin : minor version update
grunt-contrib-imagemin : patch version update
grunt-contrib-jshint : patch version update
grunt-contrib-uglify : minor version update (causes some changes to minified JS)
grunt-includes : minor version update
grunt-sass : major version update ( underlying libsass update ).

Props wonderboymusic
See #31700



git-svn-id: https://develop.svn.wordpress.org/trunk@32988 602fd350-edb4-49c9-b593-d223f7449a82
2015-06-28 14:49:08 +00:00
Scott Taylor
33f416f35a Use GPL-2.0+ for the value of license in package.json
Props netweb.
Fixes #32718.


git-svn-id: https://develop.svn.wordpress.org/trunk@32880 602fd350-edb4-49c9-b593-d223f7449a82
2015-06-19 22:31:33 +00:00
Aaron Jorbin
e68f7765c1 Update grunt-autoprefixer to 3.0.0
Two changes we need to know about:
* Aborts build if there is an exception thrown bu autoprefixer
* Less verbose output in standard mode

Major version seems to have been bumped due to change in annotation option which which we do not use.

Upstream Changes e30d2c5bfd...6f8dfe8840

See #31700


git-svn-id: https://develop.svn.wordpress.org/trunk@32357 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-05 21:29:04 +00:00
Aaron Jorbin
ee60ec1c23 Update grunt-contrib-qunit to 0.7.0
This upgrade adds two changes, both of which are aimed at less reporting of false test passing:
* Log PhantomJS errors as warnings
* Add noGlobals option, forwarded to QUnit. Report proper exit code to grunt based on failures. Add support for AMD.

See #31700



git-svn-id: https://develop.svn.wordpress.org/trunk@32356 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-05 20:29:29 +00:00
Helen Hou-Sandi
f8140ca961 Trunk is now 4.3-alpha.
git-svn-id: https://develop.svn.wordpress.org/trunk@32280 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-23 17:59:53 +00:00
Gary Pendergast
5a0564bb8f Emoji: Instead of loading the emoji JS files automatically, we now include a small JS shim in the header, to test if the user's browser needs Twemoji. It then loads the emoji JS files only if they're needed.
Props pento, azaozz.

Fixes #31701.



git-svn-id: https://develop.svn.wordpress.org/trunk@31875 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-24 23:32:23 +00:00
Dominik Schilling (ocean90)
5981385894 Update grunt-rtlcss to 1.6.0.
Changes:
* https://github.com/MohammadYounes/grunt-rtlcss/compare/1.5.1...1.6.0
* https://github.com/MohammadYounes/rtlcss/compare/1.5.1...1.6.1

see #31332.

git-svn-id: https://develop.svn.wordpress.org/trunk@31802 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-17 12:17:31 +00:00
Scott Taylor
2058dadaf7 Update NPM Grunt packages: compress, concat, copy, imagemin and uglify
Props netweb.
Fixes #31489.


git-svn-id: https://develop.svn.wordpress.org/trunk@31650 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-06 21:13:21 +00:00
Scott Taylor
3d944cc15e Update grunt-contrib-jshint to 0.11.0
Props netweb.
Fixes #31488.


git-svn-id: https://develop.svn.wordpress.org/trunk@31649 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-06 21:07:35 +00:00
wonderboymusic
689c0982ec Update grunt-sass to 0.18.0.
Props netweb.
Fixes #31343.


git-svn-id: https://develop.svn.wordpress.org/trunk@31648 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-06 21:04:03 +00:00
Dominik Schilling (ocean90)
cbb528de0f RTL CSS generation: Switch from CSSJanus to RTLCSS.
CSSJanus (introduced in [26107]), we had a great time with you, but sadly you don't like our fancy CSS.

RTLCSS is a framework for converting CSS from LTR to RTL, same as CSSJanus, with support for more CSS properties like `transform`, `transition` or multiple box and text shadows.

Changes:
* devDependencies: Remove `grunt-cssjanus`, add `grunt-rtlcss`.
* RTLCSS uses `/* rtl:ignore */` to ignore a rule, switch existing `/* @noflip */` to the new directive.
* RTLCSS supports the `transform` property, means we can remove some ignore rules.
* RTLCSS supports string maps for custom replace rules. This commit includes a rule `import-rtl-stylesheet` which replaces ".css" with "-rtl.css" in URLs.

Notes for core development:
* The file generation task is still `grunt rtl`.
* If you have used `grunt cssjanus` before, use `grunt rtlcss` now.
* Remember the new directive `/* rtl:ignore */`.

fixes #31332.

Build: https://build.trac.wordpress.org/changeset/31554

git-svn-id: https://develop.svn.wordpress.org/trunk@31573 602fd350-edb4-49c9-b593-d223f7449a82
2015-02-27 13:40:03 +00:00
Aaron Jorbin
39d1f621fd Update grunt-patch-wordpress to 0.3.0
This new update includes the following changes:
 * The tools directory can now be patched along with a handful of other root level files that were failing
 * If patching fails  or otherwise issues a prompt, you can now interact with the prompt
 * Only save the watch file to your directory if you pass the --debug flag
 * Default to selecting the newest patch rather then the oldest patch

props ocean90 ntwb kadamwhite aaronjorbin
Fixes #31466



git-svn-id: https://develop.svn.wordpress.org/trunk@31557 602fd350-edb4-49c9-b593-d223f7449a82
2015-02-26 17:46:33 +00:00
Dominik Schilling (ocean90)
92952c72bc Update grunt-autoprefixer to 2.2.0
Upstream changes:
* grunt-autoprefixer: https://github.com/nDmitry/grunt-autoprefixer/compare/v1.0.1...v2.2.0
* autoprefixer-core: https://github.com/postcss/autoprefixer-core/compare/2.0.2...5.1.7

fixes #31337.

git-svn-id: https://develop.svn.wordpress.org/trunk@31504 602fd350-edb4-49c9-b593-d223f7449a82
2015-02-22 16:53:27 +00:00
Dominik Schilling (ocean90)
0b1463c6f4 Update grunt-cssjanus to 0.2.4, we no longer need the fork.
Upstream changes:
* https://github.com/cssjanus/cssjanus/compare/v1.0.2...v1.1.2
* https://github.com/cssjanus/grunt-cssjanus/compare/v0.2.2...v0.2.4

fixes #30997.

git-svn-id: https://develop.svn.wordpress.org/trunk@31425 602fd350-edb4-49c9-b593-d223f7449a82
2015-02-11 22:27:53 +00:00
Scott Taylor
4eb88c3d15 Split the media JS files into modules:
* Add a new folder in `wp-includes/js`, `media`
* Create manifest files for `views`, `models`, `grid`, and `audio-video`
* Make `browserify` an `npm` dependency
* Add Grunt tasks for `browserify` and `uglify:media` on `build` and `watch`
* Update the paths loaded for media files in `script-loader`
* All new files were created using `svn cp` from their original location

Please run `npm install`. While developing media JS, you must run `grunt watch`.

See #28510.


git-svn-id: https://develop.svn.wordpress.org/trunk@31373 602fd350-edb4-49c9-b593-d223f7449a82
2015-02-09 00:42:28 +00:00
Andrew Nacin
d268aaf37f Update version numbers in trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@30960 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-17 17:37:16 +00:00
Aaron Jorbin
489da6a815 Update grunt-autoprefixer to 1.0.1
Upstream changes https://github.com/nDmitry/grunt-autoprefixer/compare/v0.8.2...v1.0.1

see #30141


git-svn-id: https://develop.svn.wordpress.org/trunk@30067 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-28 20:16:32 +00:00
Aaron Jorbin
d6f0d2c273 Update grunt-contrib-uglify to 0.6.0
Upstream changes https://github.com/gruntjs/grunt-contrib-uglify/compare/v0.5.0...v0.6.0

see #30141


git-svn-id: https://develop.svn.wordpress.org/trunk@30066 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-28 19:49:26 +00:00
Aaron Jorbin
2285c9195d Update grunt-contrib-copy to 0.7.0
Upstream changes https://github.com/gruntjs/grunt-contrib-copy/compare/v0.5.0...v0.7.0

see #30141


git-svn-id: https://develop.svn.wordpress.org/trunk@30063 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-28 19:34:41 +00:00
Aaron Jorbin
e186ad870c Update grunt-contrib-clean to 0.6.0
Upstream changes https://github.com/gruntjs/grunt-contrib-clean/compare/v0.5.0...v0.6.0

see #30141


git-svn-id: https://develop.svn.wordpress.org/trunk@30062 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-28 19:30:24 +00:00
Aaron Jorbin
7a9792234a Update grunt-sass to 0.16.0
Upstream changes https://github.com/sindresorhus/grunt-sass/compare/v0.14.0...v0.16.0

see #30141



git-svn-id: https://develop.svn.wordpress.org/trunk@30061 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-28 19:26:21 +00:00
Aaron Jorbin
bbdab64ed3 Update grunt-contrib-compress to 0.12.0
Upstream changes f0762ba6e2...v0.12.0

see #30141



git-svn-id: https://develop.svn.wordpress.org/trunk@30060 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-28 19:20:48 +00:00
Aaron Jorbin
6212d0607d Update grunt-contrib-imagemin to 0.9.1
Upstream changes https://github.com/gruntjs/grunt-contrib-imagemin/compare/v0.4.1...v0.9.1

see #30141



git-svn-id: https://develop.svn.wordpress.org/trunk@30059 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-28 19:11:37 +00:00
Sergey Biryukov
23dd9e11ec 4.1 version bumps.
see [29712], #29537.

git-svn-id: https://develop.svn.wordpress.org/trunk@29713 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-05 19:44:38 +00:00
Dominik Schilling (ocean90)
482a3a7c8a Temporarily switch to a pinned version of grunt-cssjanus. This in turn temporarily pins cssjanus to a patched fork.
fixes #29038.

git-svn-id: https://develop.svn.wordpress.org/trunk@29505 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-15 16:30:21 +00:00
Dominik Schilling (ocean90)
60732933f3 Update the versions of several devDependencies in package.json.
Run `npm update` in the project root to receive updates.

props mjbanks, jorbin, netweb.
see #27340.

git-svn-id: https://develop.svn.wordpress.org/trunk@29270 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-22 20:40:08 +00:00
Scott Taylor
ce3248c482 Update phpunit grunt task to not use deprecated util package. Run npm install or sudo npm install to get the updates.
Props jorbin.
Fixes #27343.


git-svn-id: https://develop.svn.wordpress.org/trunk@28796 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-21 19:44:26 +00:00
Andrew Nacin
267c6371fa 4.0 version bumps.
props kworthington.
fixes #27872, #27873.


git-svn-id: https://develop.svn.wordpress.org/trunk@28175 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-21 04:41:57 +00:00
Andrew Nacin
b7eaebf9b3 Update grunt-patch-wordpress to 0.2.1 which applies patches with a/ b/ paths.
props jorbin.
see #27023.


git-svn-id: https://develop.svn.wordpress.org/trunk@27848 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 10:22:49 +00:00
Andrew Nacin
e1c2e01c18 Update grunt-patch-wordpress to 0.2.0.
props jorbin, yoavf, sabreuse.
see #27023.


git-svn-id: https://develop.svn.wordpress.org/trunk@27721 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 18:47:24 +00:00
Andrew Nacin
0fc8021977 Developer tools: grunt-patch-wordpress from jorbin, for applying patches directly from Trac.
Mapped to `grunt patch`, which declares usage. Requires `npm install` to install.

props jorbin. props helen, evarlese for help with grammar/instructions.
see #27023.


git-svn-id: https://develop.svn.wordpress.org/trunk@27299 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 21:45:55 +00:00
Dominik Schilling (ocean90)
1c9c7b99f5 Build: Update version of grunt-autoprefixer devDependency.
The update includes a new version of Autoprefixer which now supports the `ms-touch-action` prop for IE10.
Run `grunt autoprefixer:core` to re-add the missing props in media-view.css.

git-svn-id: https://develop.svn.wordpress.org/trunk@27236 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-23 10:29:42 +00:00
Andrew Nacin
01b809bf2b Dev/build tools: Use grunt-autoprefixer for CSS vendor prefixes.
We'll be using it for two distinct tasks:
 * Core CSS files will keep prefixes. `grunt autoprefixer:core` will update files directly in src/ as a pre-commit step, rather than doing it on build.
 * Color CSS files will receive prefixes when they are built.

This commit:
 * Adds prefixes we were missing to core CSS.
 * Removes prefixes that we no longer need from core CSS.
 * Removes all prefixes from colors CSS.

props ocean90.
fixes #27078.


git-svn-id: https://develop.svn.wordpress.org/trunk@27174 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-13 08:29:16 +00:00
Andrew Nacin
877982732a Dev tools: Add grunt imagemin:core task for optimizing images pre-commit.
Adds grunt-contrib-imagemin, so an `npm install` will be required.

props jorbin, wonderboymusic for initial patches.
see #25169.


git-svn-id: https://develop.svn.wordpress.org/trunk@27172 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-13 08:00:47 +00:00
Scott Taylor
e8797a9b15 Update the versions of several devDependencies in package.json. grunt-cssjanus has been updated to 0.2.2, we no longer need the fork. Run npm install to receive updates for node_modules in the project root.
Props yoavf, TobiasBg.
Fixes #26073.



git-svn-id: https://develop.svn.wordpress.org/trunk@27053 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-29 04:42:02 +00:00
Scott Taylor
9b9de4ee1f Add jsvalidate as a dependency to the build. To get the new module, run npm install in the root of the project.
Fixes #26615.
Props jorbin.



git-svn-id: https://develop.svn.wordpress.org/trunk@26977 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 18:14:15 +00:00
Andrew Nacin
146bcccaa2 Update package.json. props TobiasBg. fixes #26629.
git-svn-id: https://develop.svn.wordpress.org/trunk@26940 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-13 18:20:38 +00:00
Andrew Nacin
1ae2cf0efb Temporarily switch to a pinned version of grunt-cssjanus. This in turn temporarily pins cssjanus to a patched fork.
fixes #26181, #26182.


git-svn-id: https://develop.svn.wordpress.org/trunk@26610 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 16:38:38 +00:00
Andrew Nacin
b0bd982f4c Move to grunt-sass, which which has less bells and whistles than grunt-contrib-sass but also no Ruby dependency.
see #25858, #22862, [26143].


git-svn-id: https://develop.svn.wordpress.org/trunk@26145 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 23:37:30 +00:00
Andrew Nacin
0b868783d0 Temporarily remove CSS preprocessing until we can get our Ruby dependency sorted out.
see #25858, #22862.


git-svn-id: https://develop.svn.wordpress.org/trunk@26143 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 21:44:04 +00:00
Helen Hou-Sandi
e84e1e8791 Merge the color schemes component from MP6. Introduces Light, Blue, and Midnight.
Color scheme selection on your own profile page gives you a preview and autosaves the selection.

Also introduces the usage of a preprocessor for core files, namely Sass. For 3.8, we will not expand its implementation past the color schemes. This does require Ruby as well as Sass 3.3.0+ due to the usage of the sourcemap option.

Note that only the default color scheme is available when running out of src. Use build to test the rest as well as the color picker.

props ryelle, melchoyce, tillkruess, drw158, littlethingsstudio, helen. see #25858, #22862.


git-svn-id: https://develop.svn.wordpress.org/trunk@26137 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 19:37:10 +00:00
Andrew Nacin
d416108af5 Use CSSJanus via a Grunt task to generate right-to-left CSS.
RTL files are now created on build for core CSS files. These files replace the LTR file completely, rather than being in addition to the existing LTR file.

Benefits:
 * For the user: less CSS is served in RTL, less HTTP requests on the frontend, and less work for the browser.
 * For the core developer: Let the tools do the work.

Notes for core development:
 * The file generation task is `grunt rtl`.
 * `grunt watch` now handles generating RTL files in /build when a CSS file in /src is saved.
 * /src is now locked to LTR. RTL testing must occur via /build. When attempting to run an RTL text direction with /src, an admin notice will display.

Expect RTL bugs. Please report them.

props yoavf.
see #24977.


git-svn-id: https://develop.svn.wordpress.org/trunk@26107 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 21:18:45 +00:00
Andrew Nacin
06635ed4cd Add a .jshintrc file and associated jshint grunt task.
This .jshintrc is adopted from the jQuery project, with some basic modifications (such as single quotes instead of double quotes). This pretty closely follows our current JS standards and rather closely resembles our PHP standards, especially the love of whitespace. The major changes are enforcing === and always using braces for if statements.

props kadamwhite, gnarf37, with mattwiebe and carldanley.
see #25187.


git-svn-id: https://develop.svn.wordpress.org/trunk@25960 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-27 21:53:11 +00:00
Andrew Nacin
0e79ec02a6 Use matchdep for Grunt tasks.
props kadamwhite.
fixes #24980.


git-svn-id: https://develop.svn.wordpress.org/trunk@25243 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-04 20:50:29 +00:00
Andrew Nacin
2b1b8427e7 Build tinymce.js.gz using grunt.
props azaozz.
see #25159.


git-svn-id: https://develop.svn.wordpress.org/trunk@25188 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-30 22:16:43 +00:00
Andrew Nacin
381affa4e4 Add grunt test task for QUnit tests.
props kadamwhite.
see #25096.


git-svn-id: https://develop.svn.wordpress.org/trunk@25178 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-30 04:06:34 +00:00
Andrew Nacin
b43712e0f7 New develop.svn.wordpress.org repository based on the old core.svn repository.
* All WordPress files move to a src/ directory.
 * New task runner (Grunt), configured to copy a built WordPress to build/.
 * svn:ignore and .gitignore for Gruntfile.js, wp-config.php, and node.js.
 * Remove Akismet external from develop.svn. Still exists in core.svn.
 * Drop minified files from src/. The build process will now generate these.

props koop.
see #24976.

and see http://wp.me/p2AvED-1AI.



git-svn-id: https://develop.svn.wordpress.org/trunk@25001 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 05:25:25 +00:00