💣 Tools v1.3.295-469
This is an open-source project. Star this repository if you like it, or even donate! Thank you so much! :)
I run my own server with dynamic IP address so it may happen that the server can not be reachable for about max 15 minutes due to the dynamic DNS. The server may also be unreachable when I backup the SSD with Clonzilla (very rarely) or an electrical issue (but this should not happen again). When the server is down, please hang on for 15-30 minutes and the server will be back up.
All my domains (patrikx3.com and corifeus.com) could have errors since I am developing in my free time. However, it is usually stable.
Bugs are evident™ - MATRIX️
Node Version Requirement
Built on Node
await keywords are required.
This is an internal tool program (
p3x) to manage a recursive async and serial command for NPM packages.
sudo npm install -g p3x-tools --unsafe-perm=true --allow-root
All folders exclude
bower_components except it is included.
p3x docker clean # delete images the have exitedp3x docker clear # delete all images in dockerp3x docker free # delete exited containersp3x pkg yarn install | <command> # installs recursive every project that has a package.jsonp3x build yarn install | <command> # install recursive every package that has a corifeus-builderp3x npm unpublish # unpublish every package from NPM except the last Minor version (Major.Minor.Build-Commit)p3x link # links every recursive given package togetherp3x git <command> # you can execute a command on every git dir, recursivep3x rm <folder> # remove recursive the given folderp3x ncu -a # updates recursive all packagesp3x git pull # recursive pull every folderp3x git push # recursive push every folderp3x git renew|truncate # remote all commits, from #1231 commit to #1p3x git init repo-name # .git is not required, is auto added, post-update is generated so it is my own, specific for the patrikx3.com server git repo (it adds in the webhook), the names are only lower cased forcefully a-z, digit and dash.
and more ...
If you want the commands is serials, add the
--serial flag, otherwise all
Default excludes from GitHub:
Github fork upstream
1 . Clone your fork:
git clone email@example.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
2 . Add remote from original repository in your forked repository:
cd into/cloned/fork-repogit remote add upstream https://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.gitgit fetch upstream
3 . Updating your fork from original repo to keep up with their changes:
git pull upstream mastergit merge upstream/mastergit push# orgit checkout devgit pull upstream devgit merge upstream/devgit push
Warning / deprecate
npm deprecate <pkg>@<version> <message>// or betternpm deprecate my-thing@"< 0.2.3" "critical bug fixed in v0.2.3"
Really make a bare repo to smaller
git gc --prune=now --aggressive
Show available versions on NPM
# for examplenpm show p3x-angular-compile versions --json
Verdaccio NPM fix
docker run --rm -it node:9.2.0-alpine sh/ # npm login --registryUsername: adminPassword:Email: (this IS public) firstname.lastname@example.orgLogged in as admin on ./ # cat ~/.npmrc//npm.company.com/:_authToken=Rwl9t+GHjlgP+brFJ6WycIe1y6r3Z+ShUEqsLusmFC11w3n6ex8JdmkMoKv/0U/D/ #
Another solution is like this:
# project .npmrcregistry = ""ca = nullalways-auth = true
Swap for Docker
sudo nano /etc/default/grub
P3X-TOOLS Build v1.3.295-469