Skip to content
/ yx-env Public

YX-Env: A personal scripts in Node for projects

License

Notifications You must be signed in to change notification settings

gyx8899/yx-env

Repository files navigation

yx-env

YX-Env: A personal scripts in Node/Shell/Dos for projects

Node Scripts

Node: NVM switch node version

nvm use 12.16.1

Node: Run es6 file script

"node: run js": "node assets/scripts/run-test.js",

Node Run bash

# "git:push": "node run-script.js --fileName=git-push.sh",
# node run-script.js --fileName=git-push.sh
# node ./assets/scripts/add-timestamp.js file=. && cd ../yx-env && npm run git:push -- --1=blog
# cd ../yx-env && npm run git:push -- --1=blog --2=clean

Git Scripts

Shell: Git pull rebase for the parent folder's sub-folder repos

git-pull-rebase.sh

Shell: Set git's global user

git-global-user.sh

Shell: Set git's local user for the parent folder's sub-folder repos

git-local-user.sh

Shell: Set registry with Tao bao

git-registry-taobao.sh

Shell: Set remote template (@daybyday/npm-template)

git-remote-template.sh

Shell: git auto commit + push, comment with filenames and change types

git-push.sh

"scripts": {
   "git-push": "cd ../yx-env && git-push.sh exam-app"
}

Shell: git merge remote repo

git-merge-remote.sh

"scripts": {
   "git-merge-remote": "cd ../yx-env && git-merge-remote.sh yx-jd https://github.com/xxx/xxx.git"
}

Dos script

View port 80's using info

dos-netstat-80.bat

About

YX-Env: A personal scripts in Node for projects

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published