New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

npm-alex-module

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-alex-module

latest
npmnpm
Version
1.2.9
Version published
Maintainers
1
Created
Source

THD Generic Module

This is a boilerplate for creating unified THD global modules.

Coverage:

https://pages.github.homedepot.com/OnlineTechnology/thd-generic-module/coverage/lcov-report/

How to use this project

DEV setup:

Rename your module in the webpack configs.

    filename: '[name].js',
    libraryTarget: 'umd',
    library: 'THD_GENERIC_MODULE'
  }

Run npm install from the root folder

Run npm start will start up a webpack dev server for testing locally on port 8080.

Run npm run test will run all unit tests

Run npm build will run a production build

Local server url: http://localhost:8080/

Publishing

Make changes, and push them to git, using the following commit message syntax:

type(category): Message

Types
  • chore – small changes and updates
  • docs – documentation
  • feat – new features
  • fix – bug fixes
  • other – misc changes
  • refactor – refactoring and clean up
  • style – visual, style-only changes
  • test – adding or modifying test cases

examples:

git commit –m "feat(widget): Added new options to Paragraph widget."
git commit –m "feat(create page): Added a check before creation to make sure that all required fields are provided."

Run script to generate changelog and patch

npm run release:(patch|minor|major)

git push --follow-tags

Publish the module to the Enterprise NPM repository on Artifactory

registry-switch use artifactory

npm publish --registry https://npm.artifactory.homedepot.com/artifactory/api/npm/npm-local

registry-switch use nexus

npm publish --registry https://nexus.hdtechlab.com/nexus/content/repositories/npm-internal/

FAQs

Package last updated on 28 Jan 2019

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