oresoftware / npp Goto Github PK
View Code? Open in Web Editor NEW▷ Tool for publishing multiple packages to NPM
License: MIT License
▷ Tool for publishing multiple packages to NPM
License: MIT License
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
npm install --save-exact
should save the exact versions, better for libraries.
list all git branches without an asterisk
git for-each-ref --format='%(refname)' refs/heads/*
run through publishing once, then publish to verdaccio
then run it again and skip the version bump
npp view should just use the current branch, not checkout integration_temp?
after creating each release branch, wait for the user to merge on github before continuing
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.
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 link like this should appear in the console:
https://github.com/ORESoftware/npp#readme
but it should be sliced to remove the first #
char
git fetch origin should only happen once per repo
sha=`git log --all --format=format:%H -n 1 -- .npp.json`
git branch --contains "$sha" | head -n 1 | tr -d " *"
Have to use the integration branch value .npp.json file instead of using remotes/origin/master
change table header color from red to blue
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.