Socket
Socket
Sign inDemoInstall

generator-mvc6-angular

Package Overview
Dependencies
423
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1 to 0.1.2

app/templates/src/client/app/_app.js

16

app/index.js

@@ -27,3 +27,3 @@ 'use strict';

var prompts = [{
var prompts = [/*{
type: 'confirm',

@@ -33,3 +33,3 @@ name: 'someOption',

default: true
}, {
}, */{
type: 'input',

@@ -99,5 +99,3 @@ name: 'appName',

projectGuid: this.guids.project,
projectTypeGuid: this.guids.projectType,
solutionGuid: this.guids.solution,
solutionTypeGuid: this.guids.solutionType,
srcGuid: this.guids.src

@@ -144,7 +142,11 @@ }

this.fs.copyTpl(
this.templatePath('src/client/app/_index.js'),
this.destinationPath('src/' + this.props.appName + '/Client/App/index.js'), {
this.templatePath('src/client/app/_app.js'),
this.destinationPath('src/' + this.props.appName + '/Client/App/app.js'), {
title: this.props.appName
}
);
this.fs.copy(
this.templatePath('src/client/app/_app.scss'),
this.destinationPath('src/' + this.props.appName + '/Client/App/app.scss')
);
this.fs.copyTpl(

@@ -172,4 +174,4 @@ this.templatePath('src/client/app/components/navbar/_navbar.controller.js'),

process.chdir(npmdir);
this.installDependencies();
//this.installDependencies();
}
});

@@ -400,4 +400,3 @@ /// <binding />

'useminPrepare',
//'concurrent:dist',
//'compass:dist',
'concurrent:dist',
'autoprefixer',

@@ -424,3 +423,2 @@ 'concat',

'concurrent:dist',
'compass:dist',
'autoprefixer',

@@ -427,0 +425,0 @@ 'concat',

@@ -36,3 +36,4 @@ {

"grunt-injector": "^0.6.0",
"grunt-angular-templates": "^0.5.7"
"grunt-angular-templates": "^0.5.7",
"jit-grunt": "^0.9.1"

@@ -39,0 +40,0 @@ },

{
"name": "generator-mvc6-angular",
"version": "0.1.1",
"version": "0.1.2",
"description": "MVC 6 Angular Yeoman generator",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -43,7 +43,7 @@ # generator-mvc6-angular [![Build Status](https://secure.travis-ci.org/dolanmiu/generator-mvc6-angular.png?branch=master)](https://travis-ci.org/dolanmiu/generator-mvc6-angular)

As you know, the client is made with Angular, and its all in the `Client` folder. `index.js` is the main file which declares your app's namespace, and the rest of the Angular app is inside the `App` folder.
As you know, the client is made with Angular, and its all in the `Client` folder. `app.js` is the main file which declares your app's namespace, and the rest of the Angular app is inside the `App` folder.
Inside the `App` folder, you get the `Components` folder, which stores the components of the app, and the rest of the different pages. You are provided with a default `Main` folder, which is the main page you see when you start the app.
By default, the generator uses superior `ui.router`, to add more routes, edit the `index.js` file. I will add options for future releases though.
By default, the generator uses superior `ui.router`, to add more routes, edit the `app.js` file. I will add options for future releases though.

@@ -59,3 +59,3 @@ ### Directory structure

│ | ├── Main - Specific app component
│ | └ index.js - The main angular js file which declares angular dependancies and routes.
│ | └ app.js - The main angular js file which declares angular dependancies and routes.
│ ├── Assets - Custom assets: fonts, images, etc…

@@ -62,0 +62,0 @@ │ └── index.html - App entry point

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc