1.2.9 • Published 5 years ago

npm-alex-module v1.2.9

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

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/
1.2.9

5 years ago

1.2.8

5 years ago

1.2.7

5 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago