Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lucca-front/ng

Package Overview
Dependencies
Maintainers
1
Versions
497
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lucca-front/ng

a library of usefull components for angular web app

  • 0.0.21
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

tl;dr

This is the part of the framework dedicated to angular. It contains a set of tools and components to help develop an agular web application like

  • some usefull components (DIP)
  • a scss plugin to map angular standard classes (ng-valid, ng-empty) to @lucca-front/sccs style
  • a scss plugin for styling classic third party library like ng-material or ng-bootstrap (DIP)

see demo (DIP) for more details on what is available

Install and use

npm install @lucca-front/ng --save

Use components

Each component will have its own module to facilitate dependency injection. So if you want a specific component just do that

import { NgModule } from '@angular/core';
import { LuLolModule } from '@lucca-front/ng';
@NgModule({
  imports: [
    LuLolModule,
  ],
  providers: [],
})
export class MyModule { }

If you dont want to pick'n'mix and just import everything from lucca-front/ng, do that

import { NgModule } from '@angular/core';
import { LuRootModule } from '@lucca-front/ng';
@NgModule({
  imports: [
    LuRootModule,
  ],
  providers: [],
})
export class MyModule { }

Use scss plugins

DIP

Contribute

the code is split between 2 folders:

  • /src: that's the source code, the code that will be published
  • /demo: the code used for the demo web app and also serve as development environment

both are angular-cli applications.

You can find a step by step procedure to add a component to the lib and its page on the demo, then start the development of said component in the file step-by-step.md

See golden rules for contributing in the CONTRIBUTING.md

Versionning

the versionning strategy for all packages under @lucca-front follows the same rules as the ones under @angular. Every package will have the same version to avoid having /scss version 2.1 depending on /icons 1.3 but /ng depends on /scss 1.4 in its version 2.2.

so to avoid unnecessary complexity, all sub-packages will change version at the same time:

/ng#1.3.0 depends on /scss#1.3.0 which depends on /icons#1.3.0

Keywords

FAQs

Package last updated on 11 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc