Giter Club home page Giter Club logo

angular-cli-library-generator's People

Contributors

bmvantunes avatar greenkeeper[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

angular-cli-library-generator's Issues

change component-demo.html

to have as template just

make sure we check the prefix in .angular-cli.json to use the correct one.

<original-component></original-component>

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because we are using your CI build statuses to figure out when to notify you about breaking changes.

Since we did not receive a CI status on the greenkeeper/initial branch, we assume that you still need to configure it.

If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with greenkeeper/.

We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

Once you have installed CI on this repository, you’ll need to re-trigger Greenkeeper’s initial Pull Request. To do this, please delete the greenkeeper/initial branch in this repository, and then remove and re-add this repository to the Greenkeeper integration’s white list on Github. You'll find this list on your repo or organiszation’s settings page, under Installed GitHub Apps.

An in-range update of yargs is breaking the build 🚨

Version 10.1.1 of yargs was just published.

Branch Build failing 🚨
Dependency yargs
Current Version 10.1.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

yargs is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 4 commits.

  • 232f9ca chore(release): 10.1.1
  • e87f487 docs: fix middlware docs (#1037)
  • 331d103 fix: Add dirname sanity check on findUp (#1036)
  • 0942a15 chore: use chai 4.x (#1033)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Create Main component

Use yargs to use a command like:
nglg component my-component
(the command can be changed during implementation)

The result of that command should be (inside src/app/components):

  • a folder my-component with files inside that folder

Files:

  • my-component.component.ts - ChangeDetectionStrategy.OnPush
  • my-component.component.scss
  • my-component.component.html
  • my-component.component.spec.ts
  • my-component.module.ts that declares and exports the component
  • index.ts with exports MyComponentComponent and exports MyComponentModule

Then look at ticket #6 to understand the rest of the command.

An in-range update of @types/node is breaking the build 🚨

Version 8.5.4 of @types/node was just published.

Branch Build failing 🚨
Dependency @types/node
Current Version 8.5.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Generate Demo

Look at ticket #5 to have more background.

  • inside folder src/app/components/my-component create a folder called my-component-demo

Create the following files inside that folder:

  • my-component-demo.component.ts - ChangeDetectionStrategy.OnPush
  • my-component-demo.component.scss
  • my-component-demo.component.html with content <my-component></my-component>
  • my-component-demo.component.spec.ts
  • my-component-demo-routing.module.ts imports ../my-component.component as well as demoComponent and has an empty "" route to ./my-component-demo.component
  • my-component-demo.module.ts that imports MyComponentDemoRoutingModule
  • index.ts with exports MyComponentDemoModule

Look at ticket #7 for more steps

Create a file with routes for all demos

Delete and create the file src/app/demo/all-demo-routes.ts

The content of the file should be something like:

/********************************************************
 ** AUTO-GENERATED FILE, DON'T CHANGE **
 ********************************************************/
export const Routes = [
   { path: 'lazy', loadChildren: 'lazy-component/lazy-demo-component#lazy-demo.module' },
   // all the folders inside ./src/app/components/****
];

Enable Travis-CI

Make sure Travis do the following steps:

  • Builds
  • Run TsLint
  • Run Unit Testing
  • Add the badge inside README.md

An in-range update of @angular/cli is breaking the build 🚨

Version 1.4.3 of @angular/cli just got published.

Branch Build failing 🚨
Dependency @angular/cli
Current Version 1.4.2
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

@angular/cli is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪

Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Release Notes v1.4.3

Bug Fixes

  • @angular/cli: add appRoot to generate (f2a2149), closes #7695
  • @angular/cli: fix an issue with schematics (b90825c)
  • @angular/cli: Generating component considers default style extension for project now (2a96b9e)
  • @angular/cli: only set less-loader paths when present in config (941f868)
  • Allow for trailing commas in lint rules (4420f7e)
Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

add a refresh option

We should be able to refresh the nglg folder without having to generate a new component

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.