Publish your dependency trees to NPM with ease. NPP goes hand-in-hand with NLU (npm-link-up)
- Currently only works with Git
- You need Git version > 2.7.0 on your local machine
npp view
▷ Tool for publishing multiple packages to NPM
License: MIT License
list all git branches without an asterisk
git for-each-ref --format='%(refname)' refs/heads/*
with this setup:
"searchRoots": [
"/home/oleg/WebstormProjects/oresoftware/r2g",
"/home/oleg/WebstormProjects/sumanjs/suman",
"/home/oleg/WebstormProjects/sumanjs/suman-types",
"/home/oleg/WebstormProjects/sumanjs/suman-watch"
],
"packages": {
"@oresoftware/r2g": true,
"suman": true,
"suman-types": true,
"suman-watch": true
}
"@oresoftware/r2g" won't be found, because the package name was refactored to just "r2g", so we need to throw an error in that case.
a link like this should appear in the console:
https://github.com/ORESoftware/npp#readme
but it should be sliced to remove the first #
char
npm install --save-exact
should save the exact versions, better for libraries.
The -d option should go through all local branches (not the current branch) and delete them if they are up-to-date with the integration branch
git fetch origin should only happen once per repo
after creating each release branch, wait for the user to merge on github before continuing
sha=`git log --all --format=format:%H -n 1 -- .npp.json`
git branch --contains "$sha" | head -n 1 | tr -d " *"
npp view should just use the current branch, not checkout integration_temp?
run through publishing once, then publish to verdaccio
then run it again and skip the version bump
Have to use the integration branch value .npp.json file instead of using remotes/origin/master
change table header color from red to blue
before crafting releases, we checked to see if branches have all been completely merged into integration
after crafting releases, we depend on the user to merge them into master branches
before we publish we should check to see if each release branch has been merged into master
npp should work for just one package and one without an .npp.json file
$ npp publish
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.