%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.41 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11584/root/var/www/html/ppaobm/vendor/bower-asset/fullcalendar/bin/ |
Upload File : |
#!/usr/bin/env node const path = require('path') const shell = require('shelljs') const tsConfig = require(path.resolve(__dirname, '../tsconfig.json')) const packagePaths = tsConfig.compilerOptions.paths let version = process.argv[2] // first arg starts at index 2 let productionStr = process.argv[3] let npmRegistryStr if (!version) { console.log('Must enter a version') process.exit(1) } if (!productionStr) { console.log('Will use DEV npm registry') npmRegistryStr = '--registry http://localhost:4873' // TODO: make dry. in publish-release.sh also } else if (productionStr === '--production') { console.log('Will use PRODUCTION npm registry') npmRegistryStr = '' } else { console.log('Invalid production flag') process.exit(1) } console.log('Deleting git tag...') shell.exec('git tag -d v' + version) console.log('Unpublishing from registry...') for (let packageName in packagePaths) { let jsPath = packagePaths[packageName][0] if (jsPath.match(/^src\//)) { // one of our lib files shell.exec('npm unpublish ' + packageName + '@' + version + ' ' + npmRegistryStr) } }