Skip to content

Commit

Permalink
Change project architecture
Browse files Browse the repository at this point in the history
* Move all the H5BP source files into the `src/` directory and remove
  all external components that can be fetch via `npm`, namely: the
  Apache Server Configs, jQuery, and Normalize.css.

* Add `package.json`, and move to using `npm` for managing dependencies
  (for more information about `npm`, see: https://www.npmjs.org/doc/).

* Add `gulp` based build script to allows us to automatically create
  the distribution files as well as an archive that can then be attached
  to the release - https://github.com/blog/1547-release-your-software
  (for more information about gulp, see: http://gulpjs.com/).

* Add other miscellaneous files to help us in our development process:

   * `.editorconfig` - to define and maintain consistent coding styles
                       http://editorconfig.org/

   * `.jshintrc`     - to specify JSHint configuration options
                       http://www.jshint.com/docs/

   * `.travis.yml`   - to specify Travis CI configuration options
                       http://docs.travis-ci.com/

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

These changes:

  * automate some of the tedious work (e.g.: updating the external
    components, updating some of the inline content such as version
    numbers, etc.)

  * will allow us to experiment more (e.g.: allow us to create different
    builds of H5BP, builds that can contain different components)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Ref h5bp#1563
Close h5bp#1563
  • Loading branch information
alrra committed Aug 4, 2014
1 parent da7bf0d commit 9318c63
Show file tree
Hide file tree
Showing 37 changed files with 445 additions and 1,194 deletions.
8 changes: 7 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# editorconfig.org
# http://editorconfig.org

root = true

Expand All @@ -11,3 +11,9 @@ trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[{package.json,.travis.yml}]
; The indent size used in the `package.json` file cannot be changed
; https://github.com/npm/npm/pull/3180#issuecomment-16336516
indent_size = 2
indent_style = space
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Include your project-specific ignores in this file
# Read about how to use .gitignore: https://help.github.com/articles/ignoring-files
archive
node_modules
757 changes: 0 additions & 757 deletions .htaccess

This file was deleted.

25 changes: 25 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{

"bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"forin": true,
"immed": true,
"indent": 4,
"latedef": true,
"newcap": true,
"noarg": true,
"nonew": true,
"quotmark": "single",
"undef": true,
"unused": true,

"esnext": true,
"sub": true,

"browser": true,
"jquery": true,
"node": true

}
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# http://docs.travis-ci.com

language: node_js
node_js:
- "0.10"
notifications:
email: false
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
### HEAD

* Update to Apache Server Configs 2.7.1.
* Remove need to readjust margins in `404.html`
([#1567](https://github.com/h5bp/html5-boilerplate/pull/1567)).
* Update to Apache Server Configs 2.7.0.
* Add `/.editorconfig` file
([#1561](https://github.com/h5bp/html5-boilerplate/issues/1561),
[#1564](https://github.com/h5bp/html5-boilerplate/issues/1564)).
Expand Down
Loading

0 comments on commit 9318c63

Please sign in to comment.