Skip to content

Commit

Permalink
Update dependencies (#70)
Browse files Browse the repository at this point in the history
* Update yeoman-generator version

* Update Node.js versions on Travis-CI

* Upgrade to yeoman 1.8.5

* Fix eslint

* Change from David-DM to Dependency-CI
  • Loading branch information
Nir Galon authored Jan 13, 2017
1 parent 9ee816e commit c2bdb0c
Show file tree
Hide file tree
Showing 51 changed files with 20 additions and 41 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
sudo: false
language: node_js
node_js:
- v7
- v6
- v5
- v4
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2016 Nir Galon <[email protected]> (http://nirgn.com)
Copyright (c) 2017 Nir Galon <[email protected]> (http://www.nirgn.com)

Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<img src="https://raw.githubusercontent.com/nirgn975/generator-jekyll-starter-kit/master/images/jekyll-starter-kit.png" />


[![license][license-image]][license-url] [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url] [![Join the chat at https://gitter.im/jekyll_starter_kit/Lobby][gitter-image]][gitter-url] [![Donate][donate-image]][donate-url]
[![license][license-image]][license-url] [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][dependencyci-image]][dependencyci-url] [![Coverage percentage][coveralls-image]][coveralls-url] [![Join the chat at https://gitter.im/jekyll_starter_kit/Lobby][gitter-image]][gitter-url] [![Donate][donate-image]][donate-url]

> Jekyll + Google web-starter-kit = best of both worlds
---

## Installation

First, install [Yeoman](http://yeoman.io) and jekyll-starter-kit using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).
Expand Down Expand Up @@ -43,8 +41,8 @@ Great! Here is how you can install the local generator to test changes.
[npm-url]: https://npmjs.org/package/generator-jekyll-starter-kit
[travis-image]: https://travis-ci.org/nirgn975/generator-jekyll-starter-kit.svg?branch=master
[travis-url]: https://travis-ci.org/nirgn975/generator-jekyll-starter-kit
[daviddm-image]: https://david-dm.org/nirgn975/generator-jekyll-starter-kit.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/nirgn975/generator-jekyll-starter-kit
[dependencyci-image]: https://dependencyci.com/github/nirgn975/generator-jekyll-starter-kit/badge
[dependencyci-url]: https://dependencyci.com/github/nirgn975/generator-jekyll-starter-kit
[coveralls-image]: https://coveralls.io/repos/nirgn975/generator-jekyll-starter-kit/badge.svg
[coveralls-url]: https://coveralls.io/r/nirgn975/generator-jekyll-starter-kit
[gitter-image]: https://badges.gitter.im/generator-jekyll-starter-kit/Lobby.svg
Expand Down
8 changes: 3 additions & 5 deletions generators/app/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use strict';
var yeoman = require('yeoman-generator');
var Generator = require('yeoman-generator');
var chalk = require('chalk');
var yosay = require('yosay');

module.exports = yeoman.Base.extend({
module.exports = Generator.extend({
prompting: function () {
// Have Yeoman greet the user.
this.log(yosay(
Expand Down Expand Up @@ -384,8 +384,6 @@ module.exports = yeoman.Base.extend({
console.log('\n\n\tPlease visit https://console.firebase.google.com to create a new project, then run ' + chalk.blue('firebase use --add') + '\n');
}

this.installDependencies({
bower: false
});
this.installDependencies();
}
});
Empty file modified generators/app/templates/my-awesome-site/.babelrc
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/404.html
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/Gemfile
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/LICENSE
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/README.md
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/_config.yml
100644 → 100755
Empty file.
Empty file.
Empty file modified generators/app/templates/my-awesome-site/_includes/footer.html
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/_includes/head.html
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/_includes/header.html
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/_layouts/default.html
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/_layouts/page.html
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/_layouts/post.html
100644 → 100755
Empty file.
Empty file.
Empty file modified generators/app/templates/my-awesome-site/_scripts/main
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/about.md
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/css/main.css
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/feed.xml
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/firebase
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/firebaserc
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/gitignore
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/gulpfile.babel
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/humans.txt
100644 → 100755
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified generators/app/templates/my-awesome-site/index.html
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/manifest.json
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/manifest.webapp
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/package.json
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/robots.txt
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/sass/_base.sass
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/sass/_layout.sass
100644 → 100755
Empty file.
Empty file.
Empty file modified generators/app/templates/my-awesome-site/sass/main.sass
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/scss/_base.scss
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/scss/_layout.scss
100644 → 100755
Empty file.
Empty file.
Empty file modified generators/app/templates/my-awesome-site/scss/main.scss
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/travis
100644 → 100755
Empty file.
Empty file modified generators/app/templates/my-awesome-site/validate/checklog
100644 → 100755
Empty file.
18 changes: 1 addition & 17 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,7 @@ var coveralls = require('gulp-coveralls');
gulp.task('static', function () {
return gulp.src('**/*.js')
.pipe(excludeGitignore())
.pipe(eslint({
ecmaFeatures: {
modules: true
},
baseConfig: {
// parser: 'babel-eslint',
},
rules: {
'new-cap': ['off']
},
envs: [
'browser', 'es6'
],
parserOptions: {
sourceType: 'module'
}
}))
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failAfterError());
});
Expand Down
Empty file modified images/jekyll-starter-kit.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified images/jekyll-starter-kit.psd
100644 → 100755
Empty file.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "generator-jekyll-starter-kit",
"version": "1.0.7",
"version": "2.0.0",
"description": "Combine Jekyll and Google web-starter-kit to enjoy the best of both worlds",
"homepage": "https://github.com/nirgn975/generator-jekyll-starter-kit",
"author": {
"name": "Nir Galon",
"email": "[email protected]",
"email": "[email protected]",
"url": "http://www.nirgn.com"
},
"files": [
Expand All @@ -30,24 +30,24 @@
"yeoman-generator"
],
"dependencies": {
"yeoman-generator": "^0.24.1",
"chalk": "^1.0.0",
"yosay": "^1.0.0"
"yeoman-generator": "^1.0.0",
"chalk": "^1.1.3",
"yosay": "^1.2.1"
},
"devDependencies": {
"yeoman-test": "^1.6.0",
"yeoman-assert": "^2.2.1",
"eslint": "^3.1.1",
"eslint-config-xo-space": "^0.15.0",
"gulp": "^3.9.0",
"gulp-coveralls": "^0.1.0",
"gulp-eslint": "^3.0.1",
"gulp-exclude-gitignore": "^1.0.0",
"gulp-istanbul": "^1.0.0",
"gulp-line-ending-corrector": "^1.0.1",
"gulp-istanbul": "^1.0.0",
"gulp-mocha": "^3.0.1",
"gulp-nsp": "^2.1.0",
"gulp-plumber": "^1.0.0",
"yeoman-assert": "^2.0.0",
"yeoman-test": "^1.0.0"
"gulp-nsp": "^2.1.0",
"gulp-coveralls": "^0.1.0"
},
"eslintConfig": {
"extends": "xo-space",
Expand Down
2 changes: 1 addition & 1 deletion test/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe('generator-html-css-es2015-sw-travis', function () {
});

it('fills package.json with correct information', function () {
assert.JSONFileContent('package.json', {
assert.jsonFileContent('package.json', {
name: 'name',
description: 'description',
author: 'username',
Expand Down

0 comments on commit c2bdb0c

Please sign in to comment.