npmy v1.3.0

- npm
- Init:
npmy --init - Install:
npmy + typescriptor devnpmy ++ typescript - Uninstall:
npmy - typescript - Outdated + Update:
npmy up - Publish:
npmy :publish --draft,npmy :publish --rc,npmy :publish --minor
- Init:
- npm.scripts
npmy :build
- npx
npmy @mail-core/cli init
Setup
# Install
npm install -g npmy
# Help
npmy --helpnpm
# Install
npmy + @mail-core/cli
# Install as dev
npmy ++ @mail-core/cli
# Uninstall
npmy - @mail-core/clinpm scripts
# `npm start`
npmy :start
# `npm run build`
npmy :buildnpm publish
# Release
# version: x.UP.x
# npm.tag: latest
npmy :publish --minor
# RC
# version: x.x.x-{branch}.UP
# npm.tag: rc
npmy :publish --rc
# Draft (prerelease)
# version: x.x.x-{branch}.UP
# npm.tag: draft
npmy :publish --draftnpx
With support custom registry!!1
# Default regsitry
npmy @mail-core/cli init
# Customize
npmy @mail-core/cli init --registry=https://my.npm.registry.devnpm outdated
# Soft update deps
npmy up
# Update to latest
npmy up --latest
# Update by filter (starts with):
npmy up @mail-core # ← up deps for "@mail-core/*"npm link
npm install -g npmycd path/to/project- Add
.npmyrcto.gitignore touch .npmyrc- Edit
.npmyrcas JSON-file and write{"%TARGET_DEPENDENCY%": "%LOCAL_PATH_TO_PACKAGE_FOLDER%"} npmy --link .- ...
- Profit!
API
npmy --link [path] [--include=pattern]
path— by default current folderadd— add packages into.npmyrc(relative or absolute pattern)include— see globversion— print current versionverbose— process detailing of installation and linking
Description of work / Read article Ru
npmy --link — special tool for local packages development, subjecting to other packages being in development.
Usually I solve this task via npm link, or just symlink. These methods don't work, when dependent package has difficult publish cycle (modifies it's source, e.g. using Babel/Rollup/etc) or there are more then one.
Trust me, npmy --link covers all above mentioned tasks.
Inline usage
# Before: `cd` to your project folder
npmy --link --pkg=tx-i18n --to=~/artifact-project/tx-i18nDevelopment
npm inpm test, code coverage
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
13 years ago
13 years ago
13 years ago
13 years ago