1.0.5 • Published 3 years ago

omni-utils v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

omni-utils

Publishing module

  1. Create repository
  2. Create an account in https://www.npmjs.com/
  3. Set tsconfig.json
{
  "compilerOptions": {
    "target": "es5",
    "module": "commonjs",
    "lib": ["es2017", "es7", "es6", "dom"],
    "declaration": true,
    "outDir": "dist",
    "strict": true,
    "esModuleInterop": true
  },
  "exclude": [
    "node_modules",
    "dist"
  ]
}
  1. Set .npmignore lib
  2. Set .gitignore
node_modules
dist/
  1. Create lib folder, add functions or exports in index.ts
  2. Build package npm run build
  3. Publishing and patching:
npm login
npm publish
npm version patch -m "Version <version> - <message>"

Note

  • Ensure changes have been pushed
  • Build project before publishing

Version structure

Version <step>.<feature>.<patch>

How to use package

Installation

npm install omni-utils

Updating package

npm update omni-utils

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago