angular-starter-kit / generator-angular-pro Goto Github PK
View Code? Open in Web Editor NEWAngularJS project generator for scalable, enterprise-grade web and mobile applications
License: Other
AngularJS project generator for scalable, enterprise-grade web and mobile applications
License: Other
For futureproofing and preparing the field for angular2, we should move to webpack for building the js, as a first step.
It will also prepare for a future migration to move dependencies to npm instead of bower.
Initiate PWA support
To prepare the field for angular2 and create an "easy" migration path, we should consider integrating ng-forward and rewriting the template using component approach.
Annotation should also be used, as suggested by #10
Find a new way other than folder to simplify template maintenance.
When there is a build error regarding TypeScript or sass, it would be very nice to have web app report it directly instead of serving the previous version of the files.
Hi there,
i just installed your generator but I am getting 'TypeError: this is not a typed array' error during while using yo angular-pro. Details are listed below
? **What's the name of your application? saveTheEvent
? What kind of app do you want to create? Web + mobile app
? Which UI framework do you want? Ionic (mobile is your main target)
events.js:141
throw er; // Unhandled 'error' event
^
TypeError: this is not a typed array.**
Can you guys have a look?
Thanks,
Marco
Using the current master branch, choosing the Material Design option gives me an error:
_-----_
| | .--------------------------.
|--(o)--| | Welcome! |
---------´ | | ( _´U
_ ) | You're about to scaffold |
/_A\ | an awesome application |
| ~ | | based on Angular! |
**'.**.'__ '--------------------------'
´ |° ´ Y
? What's the name of your application? dashboard
? What kind of app do you want to create? Web app
? Which UI framework do you want? Material Design
Template processing error on file _bower.json
SyntaxError: Unexpected token catch in _bower.json while compiling ejs
Fix is coming in a PR :-)
This plugin is not maintained anymore and does not work with latest version of Protractor: https://github.com/swissmanu/protractor-screenshot-reporter
We should find an alternative and test it.
The upcoming 1.0.0 version of ui-router introduces several[breaking changes, see: https://ui-router.github.io/guide/ng1/migrate-to-1_0
We should prepare the migration and change from using deprecated state events to use the new transition service.
Consider icon-font compilation ou svg->css (class + data-uri) and integration in gulp tasks.
The solution should be based on https://github.com/coma/gulp-svg-icons, much simpler/universal than icon-font (and aimed to the future :) )
Add responsive layout, with md-side-nav
and toolbar
, like on the material website.
The build is currently broken due to cordova/plugins update that needs the ANDROID_HOME
environnement variable to be set.
Sources are not minified when using gulp build
Following angular 1.5 release and to prepare field for angular 2, the template should be migrated to components.
The repo starter-kit repo should be now be updated with result from web/boostrap and mobile/ionic choices from this generator.
I'm building a simple app which works fine in iPhone 6 emulator, but stucks on splash screen when run on the platform below (e.g. iPhone 5).
I've also tried it without WkUIView and with [email protected]. No luck.
Any advice offhand?
js $scope.$watch('vm.name', (value) => { console.log(value) });
js $scope.$watch(() => this.name, (value) => { console.log(value) });
I've noticed sources/libraries are being versioned. What's the purpose for that? One can always regenerate them with bower install
.
P.S. Thanks for the project! Looks slick
Add --environment parameter to specify arbitrary environment name, that will match with a corresponding configuration file.
What has worked for me so far:
Non-trivial:
$ npm uninstall tsd && rm -rf typings && npm install typings && typings init --upgrade && rm tsd.json && typings install
Trivial:
$ npm install -g bower-update-all
$ bower-update-all
$ npm install -g npm-check-updates
$ npm-check-updates && npm-check-updates -u && npm update
Add generator option to enable simple GA service (using the feature/analytics
branch) to the app.
Allow the service to work on mobile/hybrid apps.
To fix dependent tasks having issues (gulp serve failing for ex, for being too fast) we should migrate to gulp 4 (gulpjs/gulp#899)
Why not using TypeScript's annotation system to declare Angular components ?
For example replace this:
module app {
'use strict';
export class MyService {
constructor() {
}
method() {
}
}
angular
.module('app')
.service('myService', MyService);
}
By this:
module app {
'use strict';
@service('myService')
export class MyService {
constructor() {
}
method() {
}
}
}
I think that have 2 advantages:
Could be applied to any Angular's based components: service, directive, etc.
What do you think ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.