open-index/open-npm huggingface dataset:
npm package: @netcentric/eddys-form
Description: Form Block enhacement for Edge Delivery Services
Author: Cognizant Netcentric
Latest version: 1.0.0

# Eddys Form

Form Block enhacement for Edge Delivery Services

## Installation

Having a forked project from https://github.com/adobe/aem-boilerplate

You can use by just

`npm i @netcentric/eddys-form`

it will install the scripts at the root of your Edge delivery project under `libs/eddys-form`

## Usage

in your `/blocks` folder create a new block with a css and a js file

### JS file: There Are 2 ways you can use this plugin

#### Option 1 
Use `eddys-form` block as it is with no possibility to extend the js

You need to import the defaultDecorate function from `libs/eddys-form`.
And export the async function decorate to get your code executed when the block is in place.

```javascript
import defaultDecorate from '/libs/eddys-form/eddys-form.js';

export default async function decorate(block) {
    // Custom decoration can be done here
  await defaultDecorate(block);
}
```

#### Option 2
Use a custom block developed using a js class extending the js class

You need to import the `defaultDecorate` method and `EddysForm` class from the `libs/eddys-form` folder.
And export the async function decorate to get your code executed when the block is in place.
If you are extending the class you need to pass the extended class as a param in the defaultDecorate function

```javascript
import { defaultDecorate, EddysForm } from '/libs/eddys-form/eddys-form.js';

class BlockName extends EddysForm {
  constructor(block) {
    super(block);
  }
    // Code here
}

export default async function decorate(block) {
  // Custom decoration can be done here
  await defaultDecorate(block, BlockName); // Note that you need to pass the extended class to the defaultDeaorate
}
```

### CSS file:
You need to import the CSS file from the `libs/eddys-form` block you want to use.
And then you can add as much extra CSS you want.

```css
@import "/libs/eddys-form/eddys-form.css";

/* you can add custom css here */ 
```


### Release

- based on Angular Commit Message Conventions in commits -
  https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit-message-header
- Commit message format is used to build:
  - Release notes
  - Changelog updates
  - NPM package semver

### Commit message Convention

```
<type>(<scope>): <short summary>
│       │             │
│       │             └─⫸ Summary in present tense. Not capitalized. No period at the end.
│       │
│       └─⫸ Commit Scope (optional): project|based|list
│
└─⫸ Commit Type: build|ci|docs|feat|fix|perf|refactor|test
```
npm package: @netcentric/eslint-config
Description: Netcentric's coding and style rules for Eslint
Latest version: 1.0.0

# @netcentric/eslint-config

[![Version](https://img.shields.io/npm/v/@netcentric/eslint-config.svg)](https://npmjs.org/package/@netcentric/eslint-config)
[![Build Status](https://github.com/netcentric/eslint-config/workflows/CI/badge.svg?branch=main)](https://github.com/netcentric/eslint-config/actions)
[![CodeQL Analysis](https://github.com/netcentric/eslint-config/workflows/CodeQL/badge.svg?branch=main)](https://github.com/netcentric/eslint-config/actions)
[![semver: semantic-release](https://img.shields.io/badge/semver-semantic--release-blue.svg)](https://github.com/semantic-release/semantic-release)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

This package provides Cognizant Netcentric's [ESLint](https://eslint.org) configuration as an extensible shared config.

If ESLint is new to you, you might want to check out [what it does](https://eslint.org/) and [how to configure it](https://eslint.org/docs/latest/use/getting-started).

## Install

```bash
npm i @netcentric/eslint-config
```

## Setup

### .eslintrc

Create or update your `.eslintrc` file:

```json
{
  "extends": "@netcentric/eslint-config"
}
```

## IDE integration

Most IDEs should have an [integration for ESLint](https://eslint.org/docs/latest/use/integrations).

## Build system integration

If you are using https://github.com/Netcentric/fe-build, ESLint is integrated by default.

For custom lint task, update `package.json`

```json
  "scripts": {
    "lint:js": "eslint path/to/source-js-files"
  }
```

Make sure you do not accidently lint files you are not interested that are out of scope for your build; e.g. files within the `node_modules` folder.

## Overwriting rules

Please stick to the Netcentric rules as they are battle tested and were created to form a company wide basis for JS code quality. If there's a very specific case you want to deactivate a rule for consider using [Eslint inline comments](https://eslint.org/docs/latest/use/configure/rules#disabling-rules) instead.

If there's a rule you consider as outdated or simply wrong please contact the package's maintainer or file an issue in JIRA (`bugs` in `package.json`) or create a PR on the package's repository (`repository` in `package.json`).

If you have a very project specific case where adding or deactivating a rule makes perfectly sense, you can overwrite any rule using the `rules` property.

## I don't understand why I violated rule X

You can find a description of all rules on the [Eslint Homepage](https://eslint.org/docs/latest/rules/).
npm package: @netcentric/fe-build
Description: Frontend build tools for AEM projects.
Author: Cognizant Netcentric
Latest version: 5.3.3

# @netcentric/fe-build

Frontend build tools for AEM projects.

[![Version](https://img.shields.io/npm/v/@netcentric/fe-build.svg)](https://npmjs.org/package/@netcentric/fe-build)
[![Build Status](https://github.com/netcentric/fe-build/workflows/CI/badge.svg?branch=main)](https://github.com/netcentric/fe-build/actions)
[![CodeQL Analysis](https://github.com/netcentric/fe-build/workflows/CodeQL/badge.svg?branch=main)](https://github.com/netcentric/fe-build/actions)
[![semver: semantic-release](https://img.shields.io/badge/semver-semantic--release-blue.svg)](https://github.com/semantic-release/semantic-release)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

## Abstract
All-in-one solution for modern Frontend projects, with special focus on [Adobe Experience Manager](https://business.adobe.com/products/experience-manager/adobe-experience-manager.html) development (AEM). It compiles your Scss and JS source files and creates the appropriate [clientLibs](https://experienceleague.adobe.com/docs/experience-manager-65/developing/introduction/clientlibs.html?lang=en) to be included by AEM.

## Getting started
Use [npm](https://docs.npmjs.com/about-npm/) to install fe-build:
```
npm i @netcentric/fe-build
```

Add the `nc-fe-build` task in the scripts section of your package.json file:
```json
  "scripts": {
    "build": "nc-fe-build"
  },
```

Create a directory named `src` and put some Scss and JS files there named "*.source.scss" and "*.source.js".

Create a file named `.febuild` file one level up from where the source code directory is with the following content:
```javascript
module.exports = {}
```

Finally, run the build task:
```bash
npm run build
```

## Features
### JavaScript

- Lint source code with [ESLint](https://eslint.org/).
- Transpilation with [Babel](https://babeljs.io/).
- [core-js](https://github.com/zloirock/core-js) polyfills are automatically added when needed.
- Bundled and optimized with [Webpack](https://webpack.js.org/).
- Analyze bundles with [Webpack Bundle Analyzer](https://www.npmjs.com/package/webpack-bundle-analyzer).

### CSS

- Lint source code with [Stylelint](https://stylelint.io/).
- [SASS](https://sass-lang.com/) compilation.
- Add vendor prefixes with [Autoprefixer](https://github.com/postcss/autoprefixer).

### ClientLibraries

- Automatically create [clientLibrary resources](https://experienceleague.adobe.com/docs/experience-manager-65/developing/introduction/clientlibs.html?lang=en) based on the source files.
- Include all generated CSS and JS files in the css.txt and js.txt files.

## Guides

+ [Configuration](./docs/configuration.md)
+ [Recommended NPM Tasks](./docs/tasks.md)
+ [Quick Start](./docs/quick_start.md)
+ [Migrating to v4.0.0](./docs/migration.md)
+ [Contributing](./docs/CONTRIBUTING.md)