@adobe/aem-cs-source-migration-commons

0.0.5 • Public • Published

Version Downloads/week

@adobe/aem-cs-source-migration-commons

aem-cs-source-migration-commons library provides common functionalities and helper utilities used by AEM as a Cloud Service Code Refactoring Tools (packages).

Introduction

While the Code Refactoring tools (modules) are created for different purposes, they each end up defining a set of utility methods and functionalities that are similar. To avoid duplicate code or functionalities, common utilities are extracted out into its own module, which can then be included by the tools and used.

This project offers a set of functionalities that can be shared among different code refactoring tool modules:

  • Logging Functionality
  • Summary Report Generation Functionality
  • Common Utility Methods and Constants

Usage

Installing the Utilities

This project uses node and npm. Check your system if you already have these utilities installed.

It can be installed like any other Node.js module.

$ npm install @adobe/aem-cs-source-migration-commons

Adding the Module Requirement

Follow the steps below to add the module to your Node.js project:

  1. Install the module in your project.
  2. Add the require function in the module in the javascript file where it will be consumed:
const Commons = require('@adobe/aem-cs-source-migration-commons');

or by destructuring assignment syntax (as per requirement)

const {    
    logger,
    constants,
    util,
    ConversionStep,
    ConversionOperation,
    SummaryReportWriter} = require('@adobe/aem-cs-source-migration-commons');

Contributing

Contributions are welcomed! Refer to Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. Refer to LICENSE for more information.

Readme

Keywords

none

Package Sidebar

Install

npm i @adobe/aem-cs-source-migration-commons

Weekly Downloads

34

Version

0.0.5

License

Apache-2.0

Unpacked Size

55.1 kB

Total Files

21

Last publish

Collaborators

  • dylandepass
  • djaeggi
  • adobehalls
  • fullcolorcoder
  • marbec
  • tripod
  • garthdb
  • lazd
  • adobe-admin
  • patrickfulton
  • trieloff
  • shazron
  • krisnye
  • dcpfsdk
  • natebaldwin
  • devongovett
  • aspro83
  • symanovi
  • dpfister
  • stefan-guggisberg
  • korra
  • rofe
  • kptdobe