forked from roots/sage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request roots#1795 from roots/beta1
Beta1
- Loading branch information
Showing
18 changed files
with
5,822 additions
and
5,542 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 1,7 @@ | ||
/* eslint-env browser */ | ||
/* globals WEBPACK_PUBLIC_PATH */ | ||
/* globals SAGE_DIST_PATH */ | ||
|
||
// Dynamically set absolute public path from current protocol and host | ||
if (WEBPACK_PUBLIC_PATH) { | ||
// eslint-disable-next-line no-undef, camelcase | ||
__webpack_public_path__ = `${location.protocol}//${location.host}${WEBPACK_PUBLIC_PATH}`; | ||
/** Dynamically set absolute public path from current protocol and host */ | ||
if (SAGE_DIST_PATH) { | ||
__webpack_public_path__ = SAGE_DIST_PATH; // eslint-disable-line no-undef, camelcase | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 1,25 @@ | ||
// import external dependencies | ||
/** import external dependencies */ | ||
import 'jquery'; | ||
import 'bootstrap/dist/js/bootstrap'; | ||
|
||
// import local dependencies | ||
import Router from './util/router'; | ||
import common from './routes/Common'; | ||
import home from './routes/Home'; | ||
import aboutUs from './routes/About'; | ||
/** import local dependencies */ | ||
import Router from './util/Router'; | ||
import common from './routes/common'; | ||
import home from './routes/home'; | ||
import aboutUs from './routes/about'; | ||
|
||
// Use this variable to set up the common and page specific functions. If you | ||
// rename this variable, you will also need to rename the namespace below. | ||
const routes = { | ||
// All pages | ||
/** | ||
* Populate Router instance with DOM routes | ||
* @type {Router} routes - An instance of our router | ||
*/ | ||
const routes = new Router({ | ||
/** All pages */ | ||
common, | ||
// Home page | ||
/** Home page */ | ||
home, | ||
// About us page, note the change from about-us to aboutUs. | ||
/** About Us page, note the change from about-us to aboutUs. */ | ||
aboutUs, | ||
}; | ||
}); | ||
|
||
// Load Events | ||
jQuery(document).ready(() => new Router(routes).loadEvents()); | ||
/** Load Events */ | ||
jQuery(document).ready(() => routes.loadEvents()); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 1,6 @@ | ||
{ | ||
"name": "sage", | ||
"version": "9.0.0-alpha.4", | ||
"version": "9.0.0-beta.1", | ||
"author": "Roots <[email protected]>", | ||
"homepage": "https://roots.io/sage/", | ||
"private": true, | ||
|
@@ -27,48 27,48 @@ | |
"test": "yarn run lint" | ||
}, | ||
"engines": { | ||
"node": ">= 4.5" | ||
"node": ">= 6.9.4" | ||
}, | ||
"devDependencies": { | ||
"autoprefixer": "^6.5.2", | ||
"autoprefixer": "^6.6.1", | ||
"body-parser": "^1.15.2", | ||
"browser-sync": "^2.17.5", | ||
"browsersync-webpack-plugin": "^0.1.1", | ||
"buble": "^0.14.2", | ||
"buble-loader": "^0.3.2", | ||
"clean-webpack-plugin": "^0.1.13", | ||
"css-loader": "^0.25.0", | ||
"cssnano": "^3.8.0", | ||
"eslint": "^3.9.1", | ||
"eslint-config-airbnb": "^12.0.0", | ||
"browser-sync": "^2.18.6", | ||
"browsersync-webpack-plugin": "^0.2.0", | ||
"buble": "^0.15.2", | ||
"buble-loader": "^0.4.0", | ||
"clean-webpack-plugin": "^0.1.15", | ||
"css-loader": "^0.26.1", | ||
"cssnano": "^3.10.0", | ||
"eslint": "^3.13.1", | ||
"eslint-config-airbnb": "^14.0.0", | ||
"eslint-loader": "^1.6.1", | ||
"eslint-plugin-import": "^2.0.1", | ||
"eslint-plugin-jsx-a11y": "^2.2.3", | ||
"eslint-plugin-react": "^6.6.0", | ||
"eslint-plugin-jsx-a11y": "^3.0.2", | ||
"eslint-plugin-react": "^6.9.0", | ||
"extract-text-webpack-plugin": "^2.0.0-beta.4", | ||
"file-loader": "^0.9.0", | ||
"glob": "^7.1.1", | ||
"imagemin-mozjpeg": "^6.0.0", | ||
"imagemin-webpack-plugin": "^1.2.1", | ||
"imports-loader": "^0.6.5", | ||
"imagemin-webpack-plugin": "^1.4.4", | ||
"imports-loader": "^0.7.0", | ||
"loader-utils": "^0.2.16", | ||
"lodash": "^4.16.6", | ||
"lodash": "^4.17.4", | ||
"minimist": "^1.2.0", | ||
"monkey-hot-loader": "github:rmarscher/monkey-hot-loader#webpack2-import", | ||
"node-sass": "^3.11.2", | ||
"node-sass": "^4.2.0", | ||
"optimize-css-assets-webpack-plugin": "^1.3.0", | ||
"postcss": "^5.2.5", | ||
"postcss-loader": "^1.1.0", | ||
"postcss": "^5.2.9", | ||
"postcss-loader": "^1.2.1", | ||
"qs": "^6.3.0", | ||
"resolve-url-loader": "^1.6.0", | ||
"resolve-url-loader": "^1.6.1", | ||
"rimraf": "^2.5.4", | ||
"sass-loader": "^4.0.2", | ||
"sass-loader": "^4.1.1", | ||
"style-loader": "^0.13.1", | ||
"url-loader": "^0.5.7", | ||
"webpack": "^2.1.0-beta.26", | ||
"webpack": "^2.2.0-rc.3", | ||
"webpack-assets-manifest": "^0.6.1", | ||
"webpack-dev-middleware": "^1.8.4", | ||
"webpack-hot-middleware": "^2.13.1" | ||
"webpack-dev-middleware": "^1.9.0", | ||
"webpack-hot-middleware": "^2.15.0" | ||
}, | ||
"dependencies": { | ||
"bootstrap": "^4.0.0-alpha.6", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.