Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes and updates #125

Merged
merged 18 commits into from
Nov 12, 2015
Merged

Fixes and updates #125

merged 18 commits into from
Nov 12, 2015

Conversation

neelabhg
Copy link
Member

The new container-based infrastructure allows quicker build startup times, faster builds,
more available resources, faster network accesses, and most importantly the ability to cache
dependencies for open source projects, which was previously only available for private repositories.
See http://docs.travis-ci.com/user/migrating-from-legacy/ and http://docs.travis-ci.com/user/caching/.

This commit resolves cs-education#117.
The "crockford" JSCS preset was updated with a new rule:
"The var statement should be the first statement in the function body."
We don't need this rule, so this rule has been overridden in .jscsrc.

The grunt-contrib-connect plugin now uses connect 3, which moved
middlewares to separate repositories. So now we need to use the serve-static
middleware instead of connect.static.
…breakages

videojs updated its `bower.json`'s `"main"` field to use ES6 and Sass files, which are incompatible
with the way we inject dependencies. So I updated `bower.json` to override that config so that
`grunt bowerInstall` can inject the dependencies correctly.

Gemnasium (https://gemnasium.com/cs-education/sysbuild) reports that modernizr has latest
version 3.2.0, but in fact the latest version is 2.8.3, which we already have. Currently there doesn't
seems to be a way to ignore certain packages in Gemnasium, so we'll have to live with the
 "dependencies out-of-date" badge. This isn't so bad, because we are actually using an outdated
 version of typeahead.js.

typeahead.js cannot be updated to the next major version (0.11.x), because it introduces breaking
changes into its API. It'll take some effort to support the new API. So, we need to stick with 0.10.x
versions. 0.10.5 is the latest version, which we already have.
Now `grunt bowerInstall` can be used to inject ace-build files into
index.html
LICENSE.md is already bundled with the distribution. So, the license text
is grabbed from the root of the dist/ folder. Because the LICENSE.md is not
in the content root during development, the connect server configuration in
Gruntfile.js had to be modified to handle the /LICENSE.md route.

Closes cs-education#123
Fonts are now copied to /styles/fonts/, which is where jquery-notific8 looks for them.
Removed the /styles/fonts/ directory from the grunt-rev config, to prevent renaming of font
files.
neelabhg added a commit that referenced this pull request Nov 12, 2015
@neelabhg neelabhg merged commit 5afabf0 into cs-education:master Nov 12, 2015
@neelabhg neelabhg deleted the fixes_and_updates branch November 12, 2015 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant