diff --git a/CHANGELOG.md b/CHANGELOG.md index d6bd3db57..47929e6f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -97,6 +97,128 @@ + +## [4.2.3](https://github.com/angular-fullstack/generator-angular-fullstack/compare/4.2.2...v4.2.3) (2017-11-29) + +This version reverts using shrink-ray by default (for Brotli compression) b/c so many users have has issues installing it. + + +### Bug Fixes + +* **seed:** rename index.html to app.html to fix CRSF and token issues ([2e784bf](https://github.com/angular-fullstack/generator-angular-fullstack/commit/2e784bf)) +* **server:auth:** specify digest for pbkdf2 ([689c3fc](https://github.com/angular-fullstack/generator-angular-fullstack/commit/689c3fc)), closes [#2628](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2628) + + + + +## [4.2.2](https://github.com/angular-fullstack/generator-angular-fullstack/compare/4.2.0...v4.2.2) (2017-05-25) + + +### Bug Fixes + +* **seed:** fix unexpected token ([65a2438](https://github.com/angular-fullstack/generator-angular-fullstack/commit/65a2438)), closes [#2580](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2580) + + + + +## [4.2.1](https://github.com/angular-fullstack/generator-angular-fullstack/compare/4.2.0...v4.2.1) (2017-05-22) + + +### Bug Fixes + +* **client:auth:** fix isAdmin call ([8ac8821](https://github.com/angular-fullstack/generator-angular-fullstack/commit/8ac8821)), closes [#2561](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2561) +* **client:auth.service:** fix lodash import ([2dde95d](https://github.com/angular-fullstack/generator-angular-fullstack/commit/2dde95d)), closes [#2549](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2549) +* **gen:** fix yarn check command ([9ea681c](https://github.com/angular-fullstack/generator-angular-fullstack/commit/9ea681c)) + + + + +# [4.2.0](https://github.com/angular-fullstack/generator-angular-fullstack/compare/4.1.4...v4.2.0) (2017-04-19) + +## Notable Changes + +* `node-inspector` has been taken out in favor of Node's integrated `--inspect` flag. +* @benmarten has taken care of a lot of the lint issues we've seen polluting the console +* @benmarten also enabled the use of [Yarn](https://yarnpkg.com) if you have it installed. Thanks Ben! +* Various other fixes. See the [comparison](https://github.com/angular-fullstack/generator-angular-fullstack/compare/4.1.4...4.2.0) for the full list. + +### Bug Fixes + +* **angular-validation-match:** Integration with Babel & Typescript ([#2517](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2517)) ([9db9918](https://github.com/angular-fullstack/generator-angular-fullstack/commit/9db9918)) + + + + +## [4.1.4](https://github.com/angular-fullstack/generator-angular-fullstack/compare/4.1.2...v4.1.4) (2017-03-01) + + +### Bug Fixes + +* **client:footer:** + * fix docs link (html) ([8d69c7a](https://github.com/angular-fullstack/generator-angular-fullstack/commit/8d69c7a)), closes [#2501](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2501) + * fix docs link (pug) ([190a121](https://github.com/angular-fullstack/generator-angular-fullstack/commit/190a121)) +* **events:** mongoose event registration ([e3ed67f](https://github.com/angular-fullstack/generator-angular-fullstack/commit/e3ed67f)), closes [#2479](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2479) +* **webpack:** + * don't use html-plugin in test ([959c31c](https://github.com/angular-fullstack/generator-angular-fullstack/commit/959c31c)), closes [#2374](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2374) + * use raw-loader for pug files ([a212236](https://github.com/angular-fullstack/generator-angular-fullstack/commit/a212236)) + + +### Performance Improvements + +* **test:endpoint:** + * reduce number of eslint commands run ([6faa7f0](https://github.com/angular-fullstack/generator-angular-fullstack/commit/6faa7f0)) + * remove unused imports ([95a5aab](https://github.com/angular-fullstack/generator-angular-fullstack/commit/95a5aab)) +* **test:main:** reduce number of app generations ([d42d0b6](https://github.com/angular-fullstack/generator-angular-fullstack/commit/d42d0b6)) + + + + +## [4.1.3](https://github.com/angular-fullstack/generator-angular-fullstack/compare/4.1.2...v4.1.3) (2017-02-11) + + +### Bug Fixes + +* **events:** mongoose event registration ([e3ed67f](https://github.com/angular-fullstack/generator-angular-fullstack/commit/e3ed67f)), closes [#2479](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2479) +* **webpack:** don't use html-plugin in test ([959c31c](https://github.com/angular-fullstack/generator-angular-fullstack/commit/959c31c)), closes [#2374](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2374) + + +### Performance Improvements + +* **test:endpoint:** + * reduce number of eslint commands run ([6faa7f0](https://github.com/angular-fullstack/generator-angular-fullstack/commit/6faa7f0)) + * remove unused imports ([95a5aab](https://github.com/angular-fullstack/generator-angular-fullstack/commit/95a5aab)) +* **test:main:** reduce number of app generations ([d42d0b6](https://github.com/angular-fullstack/generator-angular-fullstack/commit/d42d0b6)) + + + + +## [4.1.2](https://github.com/angular-fullstack/generator-angular-fullstack/compare/4.1.1...v4.1.2) (2017-01-09) + + +### Bug Fixes + +* **css:** fix stylus-loader options ([641646c](https://github.com/angular-fullstack/generator-angular-fullstack/commit/641646c)) +* **eslint:** hides global variable warnings ([#2448](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2448)) ([6aae4f5](https://github.com/angular-fullstack/generator-angular-fullstack/commit/6aae4f5)) +* **sql:** Fix form field not displaying sequalize error ([d2cc15a](https://github.com/angular-fullstack/generator-angular-fullstack/commit/d2cc15a)), closes [#2400](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2400) +* **webpack:css:** disable css-loader sourceMap option ([d48f0b0](https://github.com/angular-fullstack/generator-angular-fullstack/commit/d48f0b0)), closes [#2188](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2188) + + + + +## [4.1.1](https://github.com/angular-fullstack/generator-angular-fullstack/compare/4.1.0...v4.1.1) (2016-12-08) + + +## Notable Changes + +* Upgraded to Angular 1.6 + + +### Bug Fixes + +* **gen:factory:** fix factory subgen location ([b09cfe5](https://github.com/angular-fullstack/generator-angular-fullstack/commit/b09cfe5)), closes [#2381](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2381) + + + # [4.1.0](https://github.com/angular-fullstack/generator-angular-fullstack/compare/4.0.5...v4.1.0) (2016-09-30) @@ -156,7 +278,7 @@ * **gen:** fix doc img generation\n\nAdd gulp task to copy images to gh-pages ([5bb43be](https://github.com/angular-fullstack/generator-angular-fullstack/commit/5bb43be)) * **gen:heroku:** fix module export, gen base ([8e50326](https://github.com/angular-fullstack/generator-angular-fullstack/commit/8e50326)), closes [#2148](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2148) -* **webpack:** fix boostrap-sass import path ([bae1c86](https://github.com/angular-fullstack/generator-angular-fullstack/commit/bae1c86)) +* **webpack:** fix bootstrap-sass import path ([bae1c86](https://github.com/angular-fullstack/generator-angular-fullstack/commit/bae1c86)) diff --git a/circle.yml b/circle.yml index d773cf6a3..0602769f3 100644 --- a/circle.yml +++ b/circle.yml @@ -57,3 +57,11 @@ jobs: - run: gulp build - run: npm test + + - deploy: + command: | + if [ "${CIRCLE_BRANCH}" == "master" ]; then + git config --global user.email "circleci@circleci.com" + git config --global user.name "CircleCI" + cd docs && npm install && npm run build && npm run deploy + fi diff --git a/daux/templates/content.php b/daux/templates/content.php deleted file mode 100644 index 4a892507f..000000000 --- a/daux/templates/content.php +++ /dev/null @@ -1,41 +0,0 @@ -layout('theme::layout/05_page') ?> -
- - - - - - -
- -
- - - - -
- diff --git a/daux/templates/error.php b/daux/templates/error.php deleted file mode 100644 index c3ae7a5b2..000000000 --- a/daux/templates/error.php +++ /dev/null @@ -1,11 +0,0 @@ -layout('theme::layout/05_page') ?> - -
- - -
- -
-
diff --git a/daux/templates/home.php b/daux/templates/home.php deleted file mode 100644 index 873d2eabe..000000000 --- a/daux/templates/home.php +++ /dev/null @@ -1,85 +0,0 @@ -layout('theme::layout/00_layout') ?> - - - - Fork me on GitHub - - -
-
- ' . $params['tagline'] . ''; -} ?> -
- -
- '; -} ?> -
- -
-
- View On GitHub'; - } - foreach ($page['entry_page'] as $key => $node) { - echo '' . $key . ''; - } - ?> -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
- - - - - - - -
-
-
-
diff --git a/daux/templates/layout/00_layout.php b/daux/templates/layout/00_layout.php deleted file mode 100644 index 43c453ba4..000000000 --- a/daux/templates/layout/00_layout.php +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - <?= $page['title']; ?> <?php if ($page['title'] != $params['title']) { - echo '- ' . $params['title']; -} ?> - - - - - - - - - - "; -} ?> - - - "; -} ?> - - - - - - - - - - - - section('content'); ?> - - insert('theme::partials/google_analytics', ['analytics' => $params['html']['google_analytics'], 'host' => array_key_exists('host', $params) ? $params['host'] : '']); - } - if ($params['html']['piwik_analytics']) { - $this->insert('theme::partials/piwik_analytics', ['url' => $params['html']['piwik_analytics'], 'id' => $params['html']['piwik_analytics_id']]); - } - ?> - - - - - - - - - - '; - } ?> - - - - - - - - - - - - diff --git a/daux/templates/layout/05_page.php b/daux/templates/layout/05_page.php deleted file mode 100644 index 0f6f70e74..000000000 --- a/daux/templates/layout/05_page.php +++ /dev/null @@ -1,108 +0,0 @@ -layout('theme::layout/00_layout') ?> - - - Fork me on GitHub - - - -
-
-
- -
- -
- - value[$page['language']]; - $path = $page['language']; - } - - echo $this->get_navigation($rendertree, $path, isset($params['request']) ? $params['request'] : '', $base_page, $params['mode']); - ?> - - - -
- - - -
-
- -
-
- section('content'); ?> -
-
-
-
diff --git a/daux/templates/partials/google_analytics.php b/daux/templates/partials/google_analytics.php deleted file mode 100644 index 2f6328b71..000000000 --- a/daux/templates/partials/google_analytics.php +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/daux/templates/partials/navbar_content.php b/daux/templates/partials/navbar_content.php deleted file mode 100644 index 92991af09..000000000 --- a/daux/templates/partials/navbar_content.php +++ /dev/null @@ -1,11 +0,0 @@ - - - - - diff --git a/daux/templates/partials/piwik_analytics.php b/daux/templates/partials/piwik_analytics.php deleted file mode 100644 index 32ddcacb3..000000000 --- a/daux/templates/partials/piwik_analytics.php +++ /dev/null @@ -1,15 +0,0 @@ - - diff --git a/docs/.alexrc b/docs/.alexrc new file mode 100644 index 000000000..206e6efd2 --- /dev/null +++ b/docs/.alexrc @@ -0,0 +1,3 @@ +{ + "allow": ["boogeyman-boogeywoman"] +} \ No newline at end of file diff --git a/docs/.babelrc b/docs/.babelrc new file mode 100644 index 000000000..43995fccf --- /dev/null +++ b/docs/.babelrc @@ -0,0 +1,9 @@ +{ + "presets": [ + "env", + "react" + ], + "plugins": [ + "transform-object-rest-spread" + ] +} diff --git a/docs/.editorconfig b/docs/.editorconfig new file mode 100644 index 000000000..edeb3a492 --- /dev/null +++ b/docs/.editorconfig @@ -0,0 +1,16 @@ +# Top-most EditorConfig file +root = true + +# Set default charset +[*.{js}] +charset = utf-8 + +# 4 space indentation +[*.{md,js,jsx,scss,hbs}] +indent_style = space +indent_size = 2 + +# Format Config +[{package.json}] +indent_style = space +indent_size = 2 diff --git a/docs/.eslintignore b/docs/.eslintignore new file mode 100644 index 000000000..f3268c4f0 --- /dev/null +++ b/docs/.eslintignore @@ -0,0 +1,2 @@ +build/ +antwar.config.js diff --git a/docs/.eslintrc b/docs/.eslintrc new file mode 100644 index 000000000..459d0cbb8 --- /dev/null +++ b/docs/.eslintrc @@ -0,0 +1,29 @@ +{ + "root": true, + + "extends": "eslint:recommended", + + "parser": "babel-eslint", + + "env": { + "browser": true, + "es6": true, + "node": true + }, + + "plugins": [ + "markdown" + ], + + "globals": { + "__DEV__": true + }, + + "rules": { + "no-undef": 2, + "no-unreachable": 2, + "no-unused-vars": 0, + "no-console": 0, + "semi": ["error", "always"] + } +} diff --git a/docs/.gitignore b/docs/.gitignore new file mode 100644 index 000000000..a9820fba7 --- /dev/null +++ b/docs/.gitignore @@ -0,0 +1,6 @@ +node_modules +npm-debug.log +build +generated +.antwar + diff --git a/docs/.markdownlintrc b/docs/.markdownlintrc new file mode 100644 index 000000000..4d3437ad3 --- /dev/null +++ b/docs/.markdownlintrc @@ -0,0 +1,13 @@ +{ + "default": true, + "MD002": false, + "MD007": { "indent": 4 }, + "MD013": { "line_length": 500 }, + "MD029": { "style": "ordered"}, + "MD033": false, + "MD034": false, + "MD036": false, + "MD041": false, + "no-hard-tabs": false, + "whitespace": false +} \ No newline at end of file diff --git a/docs/.proselintrc b/docs/.proselintrc new file mode 100644 index 000000000..0cce7fb60 --- /dev/null +++ b/docs/.proselintrc @@ -0,0 +1,84 @@ +{ + "max_errors": 1000, + "checks": { + "phrasal_adjectives.ly" : false, + "preferred_forms" : false, + "airlinese.misc" : true, + "annotations.misc" : false, + "archaism.misc" : true, + "cliches.hell" : true, + "cliches.misc" : true, + "consistency.spacing" : true, + "consistency.spelling" : true, + "corporate_speak.misc" : true, + "cursing.filth" : true, + "cursing.nfl" : false, + "cursing.nword" : true, + "dates_times.am_pm" : true, + "dates_times.dates" : true, + "hedging.misc" : true, + "hyperbole.misc" : false, + "jargon.misc" : true, + "lexical_illusions.misc" : true, + "links.broken" : false, + "malapropisms.misc" : true, + "misc.apologizing" : true, + "misc.back_formations" : true, + "misc.bureaucratese" : true, + "misc.but" : false, + "misc.capitalization" : true, + "misc.chatspeak" : true, + "misc.commercialese" : true, + "misc.composition" : true, + "misc.currency" : true, + "misc.debased" : true, + "misc.false_plurals" : true, + "misc.illogic" : true, + "misc.inferior_superior" : true, + "misc.latin" : true, + "misc.many_a" : true, + "misc.metaconcepts" : true, + "misc.metadiscourse" : true, + "misc.narcissism" : true, + "misc.not_guilty" : true, + "misc.phrasal_adjectives" : false, + "misc.preferred_forms" : false, + "misc.pretension" : true, + "misc.professions" : true, + "misc.punctuation" : true, + "misc.scare_quotes" : true, + "misc.suddenly" : true, + "misc.tense_present" : true, + "misc.waxed" : true, + "misc.whence" : true, + "mixed_metaphors.misc" : true, + "mondegreens.misc" : true, + "needless_variants.misc" : true, + "nonwords.misc" : true, + "oxymorons.misc" : true, + "psychology.misc" : true, + "redundancy.misc" : true, + "redundancy.ras_syndrome" : true, + "skunked_terms.misc" : true, + "spelling.able_atable" : true, + "spelling.able_ible" : true, + "spelling.athletes" : true, + "spelling.em_im_en_in" : true, + "spelling.er_or" : true, + "spelling.in_un" : true, + "spelling.misc" : true, + "security.credit_card" : true, + "security.password" : true, + "sexism.misc" : true, + "terms.animal_adjectives" : true, + "terms.denizen_labels" : true, + "terms.eponymous_adjectives" : true, + "terms.venery" : true, + "typography.diacritical_marks" : true, + "typography.exclamation" : false, + "typography.symbols" : false, + "uncomparables.misc" : true, + "weasel_words.misc" : true, + "weasel_words.very" : true + } +} diff --git a/docs/.travis.yml b/docs/.travis.yml new file mode 100644 index 000000000..5bec1cccf --- /dev/null +++ b/docs/.travis.yml @@ -0,0 +1,13 @@ +branches: + only: + - master + - develop +language: node_js +node_js: + - "6" +script: + - bash ./scripts/deploy.sh +sudo: required +install: + - npm install + - sudo pip install proselint diff --git a/docs/03_Deployment/00_title.md b/docs/03_Deployment/00_title.md deleted file mode 100644 index 18bc89112..000000000 --- a/docs/03_Deployment/00_title.md +++ /dev/null @@ -1 +0,0 @@ -[STUB] diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md new file mode 100644 index 000000000..4311f5e04 --- /dev/null +++ b/docs/CONTRIBUTING.md @@ -0,0 +1,67 @@ +# Contributing + +From adding an issue for a documentation suggestion to creating a pull request: every contribution is appreciated and welcome. If you're planning to implement a new section or page please create an issue first. + +## Setup + +* Install [Node.js](https://nodejs.org/) if you have not already. + *Note: Node 6.9.* is required for "best results".*. Node 7 may have issues! +* Fork the **webpack.js.org** repo at [https://github.com/webpack/webpack.js.org](https://github.com/webpack/webpack.js.org). +* `git clone && cd webpack.js.org` +* `npm install` +* `npm run build` +* `npm start` +* Visit [http://localhost:3000](http://localhost:3000) to preview your changes before making a pull request. + +## Contributor License Agreement + +When submitting your contribution, a CLA (Contributor License Agreement) bot will come by to verify that you signed the CLA. If it is your first time, it will link you to the right place to sign it. However, if you have committed your contributions using an email that is not the same as your email used on GitHub, the CLA bot can't accept your contribution. + +Run `git config user.email` to see your Git email, and verify it with [your GitHub email](https://github.com/settings/emails). + +## Editor Config + +The [.editorconfig](https://github.com/webpack/webpack.js.org/blob/master/.editorconfig) in the root should ensure consistent formatting. Please make sure you've [installed the plugin](http://editorconfig.org/#download) if your text editor needs one. + +## Branching Your Changes + +Making a branch in your fork for your contribution is helpful in the following ways: + +* It allows you to have multiple contributions in as PRs at once. +* It allows us to identify what your contribution is about from the branch name. + +## Submitting Changes + +After getting some feedback, push to your fork branch and submit a pull request. We may suggest some changes or improvements or alternatives, but for small changes your pull request should be accepted quickly. + +Issue the PR to the [master](https://github.com/webpack/webpack.js.org/tree/master) branch. + +> See [GitHub documentation](https://help.github.com/articles/proposing-changes-to-your-work-with-pull-requests/) for more help. + +## Contribution Recognition + +Any document that you edit, you can choose to add your GitHub username at the top of the document for recognition: + +**example.md** + +```markdown +=== +title: Some Example Page +contributors: + - TheLarkInn + - Sokra + - bebraw + - Jhnns + - SpaceK33z +=== + +## Some Documentation + +``` + +This will add your name and GitHub profile photo to the document in production. This is a great way to own the awesome work that you do and encourage that you remember to do this in your PR's. + + +## Thank you + +webpack is insanely feature rich and documentation is a huge time sink. We greatly appreciate any time spent fixing typos or clarifying sections in the documentation. diff --git a/docs/Examples/00_title.md b/docs/Examples/00_title.md deleted file mode 100644 index 18bc89112..000000000 --- a/docs/Examples/00_title.md +++ /dev/null @@ -1 +0,0 @@ -[STUB] diff --git a/docs/Examples/Modal.md b/docs/Examples/Modal.md deleted file mode 100644 index 7f7b37f8d..000000000 --- a/docs/Examples/Modal.md +++ /dev/null @@ -1 +0,0 @@ -[stub] diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 000000000..308558020 --- /dev/null +++ b/docs/README.md @@ -0,0 +1,25 @@ +[![build status](https://secure.travis-ci.org/webpack/webpack.js.org.svg)](http://travis-ci.org/webpack/webpack.js.org) + +# webpack.js.org + +Guides, documentation, and all things Webpack. + +## Contributing + +To develop, please pull the project, `cd` into the directory and run: + +- `npm install` to pull all dependencies. +- `npm run build` to create a production version of the site. +- `npm start` to develop on a local webpack-dev-server (should be [here](http://localhost:3000/)). + +If you want to fetch the documentation on additional loaders/plugins hosted in [separate repositories](https://github.com/webpack), run `npm run fetch`. + +For more information see the [contributors page](https://github.com/webpack/webpack.js.org/blob/master/CONTRIBUTING.md) + +## Content Progress + +Check out the [MVP Milestone](https://github.com/webpack/webpack.js.org/milestones) for the current status. + +## License + +The content is available under [Creative Commons BY 4.0](https://creativecommons.org/licenses/by/4.0/) license. diff --git a/docs/antwar.config.js b/docs/antwar.config.js new file mode 100644 index 000000000..101519938 --- /dev/null +++ b/docs/antwar.config.js @@ -0,0 +1,181 @@ +var _ = require('lodash'); +var path = require('path'); +var prevnextPlugin = require('antwar-prevnext-plugin'); +var markdown = require('./utilities/markdown'); +var highlight = require('./utilities/highlight'); + +module.exports = { + template: { + title: 'geneartor-angular-fullstack', + file: path.join(__dirname, 'template.ejs') + }, + output: 'build', + title: 'geneartor-angular-fullstack', + keywords: ['geneartor-angular-fullstack', 'javascript', 'web development', 'yeoman', 'mean', 'angular', 'node'], + pageTitle: function(config, pageTitle) { + var siteName = config.name; + + if (pageTitle === 'index') { + return siteName; + } + + return siteName + ' - ' + pageTitle; + }, + plugins: [ + prevnextPlugin() + ], + layout: function() { + return require('./components/site/site.jsx').default + }, + paths: { + '/': root( + function() { + return require.context( + 'json-loader!yaml-frontmatter-loader!./content', + false, + /^\.\/.*\.md$/ + ); + } + ), + + 'get-started': section( + 'Get-Started', + function() { + return require.context( + 'json-loader!yaml-frontmatter-loader!./content/get-started', + false, + /^\.\/.*\.md$/ + ) + } + ), + + 'guides': section( + 'Guides', + function() { + return require.context( + 'json-loader!yaml-frontmatter-loader!./content/guides', + false, + /^\.\/.*\.md$/ + ) + } + ), + + developing: section( + 'Developing', + function() { + return require.context( + 'json-loader!yaml-frontmatter-loader!./content/developing', + false, + /^\.\/.*\.md$/ + ); + } + ), + + deployment: section( + 'Deployment', + function() { + return require.context( + 'json-loader!yaml-frontmatter-loader!./content/deployment', + false, + /^\.\/.*\.md$/ + ); + } + ), + + examples: section( + 'Examples', + function() { + return require.context( + 'json-loader!yaml-frontmatter-loader!./content/examples', + false, + /^\.\/.*\.md$/ + ); + } + ), + + generators: section( + 'Generators', + function() { + return require.context( + 'json-loader!yaml-frontmatter-loader!./content/generators', + false, + /^\.\/.*\.md$/ + ); + } + ), + } +}; + +function root(contentCb) { + return { + title: 'Webpack', + path: function() { // Load path content + return contentCb(); + }, + processPage: processPage(), // Process individual page (url, content) + layouts: { // Layouts (page/section) + index: function() { + return require('./components/splash/splash.jsx').default + }, + page: function() { + return require('./components/page/page.jsx').default + } + }, + redirects: {} // Redirects : + }; +} + +function section(title, contentCb) { + return { + title: title, + path: function() { + return contentCb(); + }, + sort(pages) { + return _.sortBy(pages, (page) => page.file.sort) + }, + processPage: processPage(), + layouts: { + index: function() { + return require('./components/page/page.jsx').default + }, + page: function() { + return require('./components/page/page.jsx').default + } + }, + redirects: {} // : + }; +} + +function processPage() { + return { + url: function(o) { + return o.sectionName + '/' + o.fileName.split('.')[0] + }, + content: function(o) { + return markdown().process(o.file.__content, highlight); + }, + anchors: function(o) { + return markdown().getAnchors(o.file.__content); + }, + contributors: function(o) { + return Array.isArray(o.file.contributors) && o.file.contributors.length && o.file.contributors.slice().sort(); + } + }; +} + +function combineContexts(context1, context2) { + function webpackContext(req) { + try { + return context1(req); + } catch (e) { + return context2(req); + } + } + webpackContext.keys = () => { + let keys1 = context1.keys(); + let keys2 = context2.keys(); + return _.chain(keys1).concat(keys2).uniq().value(); + }; + return webpackContext; +} diff --git a/docs/assets/afs-screenshot-cropped.png b/docs/assets/afs-screenshot-cropped.png new file mode 100644 index 000000000..9745ea111 Binary files /dev/null and b/docs/assets/afs-screenshot-cropped.png differ diff --git a/docs/assets/afs-screenshot.png b/docs/assets/afs-screenshot.png new file mode 100644 index 000000000..dda0f606d Binary files /dev/null and b/docs/assets/afs-screenshot.png differ diff --git a/docs/assets/angular-fullstack-boxes.svg b/docs/assets/angular-fullstack-boxes.svg new file mode 100644 index 000000000..a3eb36d9d --- /dev/null +++ b/docs/assets/angular-fullstack-boxes.svg @@ -0,0 +1,8883 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/assets/angular-fullstack-logo.svg b/docs/assets/angular-fullstack-logo.svg new file mode 100644 index 000000000..bf40810ac --- /dev/null +++ b/docs/assets/angular-fullstack-logo.svg @@ -0,0 +1,9045 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/assets/favicon.ico b/docs/assets/favicon.ico new file mode 100644 index 000000000..450113bc5 Binary files /dev/null and b/docs/assets/favicon.ico differ diff --git a/docs/assets/foo-route-navbar.jpg b/docs/assets/foo-route-navbar.jpg new file mode 100644 index 000000000..0cca187bd Binary files /dev/null and b/docs/assets/foo-route-navbar.jpg differ diff --git a/docs/assets/foo-route.jpg b/docs/assets/foo-route.jpg new file mode 100644 index 000000000..53de246a7 Binary files /dev/null and b/docs/assets/foo-route.jpg differ diff --git a/docs/assets/geomanist-medium.woff b/docs/assets/geomanist-medium.woff new file mode 100644 index 000000000..091266981 Binary files /dev/null and b/docs/assets/geomanist-medium.woff differ diff --git a/docs/assets/geomanist-medium.woff2 b/docs/assets/geomanist-medium.woff2 new file mode 100644 index 000000000..026dafe9d Binary files /dev/null and b/docs/assets/geomanist-medium.woff2 differ diff --git a/docs/assets/github-logo.svg b/docs/assets/github-logo.svg new file mode 100644 index 000000000..9dd8eb57a --- /dev/null +++ b/docs/assets/github-logo.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/assets/homepage-modules.svg b/docs/assets/homepage-modules.svg new file mode 100644 index 000000000..bd9521bae --- /dev/null +++ b/docs/assets/homepage-modules.svg @@ -0,0 +1,326 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/assets/icon-square-big.svg b/docs/assets/icon-square-big.svg new file mode 100644 index 000000000..d4fed6ba7 --- /dev/null +++ b/docs/assets/icon-square-big.svg @@ -0,0 +1 @@ +icon-square-big diff --git a/docs/assets/icon-square-small.svg b/docs/assets/icon-square-small.svg new file mode 100644 index 000000000..d7b7e40b4 --- /dev/null +++ b/docs/assets/icon-square-small.svg @@ -0,0 +1 @@ +icon-square-small diff --git a/docs/assets/logged-in.jpg b/docs/assets/logged-in.jpg new file mode 100644 index 000000000..1906b25f4 Binary files /dev/null and b/docs/assets/logged-in.jpg differ diff --git a/docs/assets/logo-on-dark-bg.svg b/docs/assets/logo-on-dark-bg.svg new file mode 100644 index 000000000..952c47ede --- /dev/null +++ b/docs/assets/logo-on-dark-bg.svg @@ -0,0 +1 @@ +logo-on-dark-bg diff --git a/docs/assets/logo-on-white-bg.svg b/docs/assets/logo-on-white-bg.svg new file mode 100644 index 000000000..a17b8b5d2 --- /dev/null +++ b/docs/assets/logo-on-white-bg.svg @@ -0,0 +1 @@ +logo-on-white-bg diff --git a/docs/assets/logo-small.svg b/docs/assets/logo-small.svg new file mode 100644 index 000000000..9564fb1b9 --- /dev/null +++ b/docs/assets/logo-small.svg @@ -0,0 +1,57 @@ + + + Layer 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/assets/site-logo.svg b/docs/assets/site-logo.svg new file mode 100644 index 000000000..5b3b22a45 --- /dev/null +++ b/docs/assets/site-logo.svg @@ -0,0 +1 @@ +logo-on-dark-bg \ No newline at end of file diff --git a/docs/assets/socket.io-demo.gif b/docs/assets/socket.io-demo.gif new file mode 100644 index 000000000..fdd3e0094 Binary files /dev/null and b/docs/assets/socket.io-demo.gif differ diff --git a/docs/bootstrap.js b/docs/bootstrap.js new file mode 100644 index 000000000..b4ac85e0f --- /dev/null +++ b/docs/bootstrap.js @@ -0,0 +1,14 @@ +const antwar = require('antwar'); + +const environment = process.env.npm_lifecycle_event || 'build'; + +// Patch Babel env to make HMR switch work +process.env.BABEL_ENV = environment; + +antwar[environment]({ + environment, + antwar: require('./antwar.config'), + webpack: require('./webpack.config') +}).catch(function (err) { + console.error(err); +}); diff --git a/docs/components/cc/cc-style.scss b/docs/components/cc/cc-style.scss new file mode 100644 index 000000000..1ca2c2b2d --- /dev/null +++ b/docs/components/cc/cc-style.scss @@ -0,0 +1,11 @@ +.footer__license { + display:inline-block; + height:35px; + margin-left: 1em; + margin-right: 1em; + + img { + width:auto; + height:100%; + } +} diff --git a/docs/components/cc/cc.jsx b/docs/components/cc/cc.jsx new file mode 100644 index 000000000..32f8ba3e8 --- /dev/null +++ b/docs/components/cc/cc.jsx @@ -0,0 +1,16 @@ +import React from 'react'; +import Link from '../link/link'; +import './cc-style.scss'; + +const CC = () => { + return ( + + Creative Commons License + + ); +}; + +export default CC; diff --git a/docs/components/container/container-style.scss b/docs/components/container/container-style.scss new file mode 100644 index 000000000..474eeebf1 --- /dev/null +++ b/docs/components/container/container-style.scss @@ -0,0 +1,8 @@ +@import 'vars'; +@import 'mixins'; + +.container { + width: 100%; + max-width: map-get($screens, large); + margin: 0 auto; +} diff --git a/docs/components/container/container.jsx b/docs/components/container/container.jsx new file mode 100644 index 000000000..9f00bd0a8 --- /dev/null +++ b/docs/components/container/container.jsx @@ -0,0 +1,11 @@ +import React from 'react'; + +export default (props = {}) => { + let { className = '' } = props; + + return ( +
+ { props.children } +
+ ); +}; diff --git a/docs/components/contributors/contributors-style.scss b/docs/components/contributors/contributors-style.scss new file mode 100644 index 000000000..b8a441e02 --- /dev/null +++ b/docs/components/contributors/contributors-style.scss @@ -0,0 +1,37 @@ +@import 'functions'; + +.contributors__list { + padding: 6px; +} + +.contributor { + display: inline-flex; + flex-direction: column; + align-items: center; + margin-right: 1em; + font-size: 14px; + + img { + height: 45px; + width: 45px; + border-radius: 50%; + box-shadow: 0 0 2px rgba(0,0,0,0.3); + } + + .contributor__name { + color: getColor(fiord); + margin-top: -6px; + box-shadow: 0 0 2px rgba(0,0,0,0.3); + line-height: 1.4; + transition: color 0.1s; + padding: 0 6px; + border-radius: 2px; + background: transparentize(getColor(white), 0.05); + } + + &:hover { + .contributor__name { + color: lighten(getColor(denim), 5%); + } + } +} \ No newline at end of file diff --git a/docs/components/contributors/contributors.jsx b/docs/components/contributors/contributors.jsx new file mode 100644 index 000000000..e114aac18 --- /dev/null +++ b/docs/components/contributors/contributors.jsx @@ -0,0 +1,25 @@ +import React from 'react'; +import './contributors-style'; + +export default ({contributors}) => { + if (!contributors.length) { + return