Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.
Ahmed Tarek edited this page Jan 21, 2017 · 17 revisions

Generator-at-angular

Versions and migration

V 0.2.6

  • Features:
    • enhanced testing templates
    • add test script to run tests once (to be used by CI)
    • add tests script to run tests in watch mode
    • removed 'use strict';
  • Migration:
    • update your package.json scripts with the following scripts:
    "test": "karma start --log-level debug --single-run",
    "tests": "karma start --log-level debug"
    

V 0.2.5

  • Features:

    • Added test configurations
    • Added simple test templates
    • Add copy webpack plugin to copy static files to the server
    • Updated packages
  • Migration:

    • Update your package dependancies with the following:
    "copy-webpack-plugin": "^4.0.1",
    "jasmine": "^2.2.1",
    "jasmine-core": "^2.2.0",
    "karma": "^0.13.2",
    "karma-jasmine": "^0.3.5",
    "karma-phantomjs2-launcher": "^0.5.0",
    "karma-webpack": "^1.6.0"
    
    • Copy the following files to your already generated app:
      src/webpack/global.js, karma.config.js, test-context.js

In progress

Features

  • Documenting the generated application

Migration:

  • In your index.components.js
    • change the line: /* Add New COMPONENTS Above */ to // Add new components above

Features TODO

  • Upgrade webpack

Known bugs:

  • Problem: Webpack2 unable to import function with only export default value.

Workaround: Use import * as variable from 'package' instead of import variable from 'package'


  • Problem: Webpack2 lastest build of today DEC 5 2016 throws an error while starting the server.

Workaround: Fixed Webpack version to: 2.1.0-beta.25 and Webpack-dev-server to "2.1.0-beta.7" until the build is stable.

Contribution:

To Contribute:

  • Fork repository and clone it.
  • Install npm packages and create new branch.
  • Link local project to be able use generator with yo by running: npm link
  • Contribute to the project and push your changes.
  • Make a Pull Request.

Contribution guidlines:

  • This project uses gitflow to manage the repository.

Style Guide:

This project uses single-quotes, two space indentation, multiple var statements and multiple comments per function. Use a single space after keywords. Ex: var x = function() { ... }

Clone this wiki locally