{"_id":"@allnulled/gitano","_rev":"4-e721f827d846845f68b7ffdd2f6145b5","name":"@allnulled/gitano","dist-tags":{"latest":"1.0.13"},"versions":{"1.0.0":{"name":"@allnulled/gitano","version":"1.0.0","description":"Utilidad para hacer operaciones rápidas con Git en línea de comandos. ","main":"index.js","bin":{"gitano":"index.js"},"scripts":{"test":"node test/index.js"},"keywords":[],"author":"","license":"ISC","gitHead":"e0f12f6da8fdfc4c3c5c8e21c825710900ea61e3","_id":"@allnulled/gitano@1.0.0","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-7i2ZZTgfPKNLQ+uLMjD1rFb3WlQnfuHyYCk6AIeJlFxrx4lEG29oT9dSgNc4tdxqePQIkvdXnG5NXrMHlVK6+A==","shasum":"0d7cfda89aaaf1c3cd58abec8b4260a77283dc95","tarball":"https://registry.npmjs.org/@allnulled/gitano/-/gitano-1.0.0.tgz","fileCount":3,"unpackedSize":2978,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICU7CQKtcPbqVIozJ6BjlsK2X5QNzVG/tFpF/ydRGnAuAiB8Ap9LUKfHnUNKAadbv6Bt030ffShvT9OBthIYx6sZBw=="}]},"_npmUser":{"name":"allnulled","email":"todosanulados@gmail.com"},"directories":{},"maintainers":[{"name":"allnulled","email":"todosanulados@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gitano_1.0.0_1701383844214_0.2906247599370362"},"_hasShrinkwrap":false},"1.0.2":{"name":"@allnulled/gitano","version":"1.0.2","description":"Utilidad para hacer operaciones rápidas con Git en línea de comandos. ","main":"index.js","bin":{"gitano":"index.js"},"scripts":{"test":"node test/index.js"},"keywords":[],"author":{"name":"allnulled"},"license":"WTFPL","repository":{"type":"git","url":"git+https://github.com/allnulled/gitano-bin.git"},"bugs":{"url":"https://github.com/allnulled/gitano-bin/issues"},"homepage":"https://github.com/allnulled/gitano-bin#readme","gitHead":"378c01cd0b8db4cf482a2fa042b7dc066bd69185","_id":"@allnulled/gitano@1.0.2","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-uZfX2GHzBOZnDuqN3SDZsoRNVsmDTWac5joMlILQ3idQP5O3HlAPaZIVydOGgILX02wXLByuzMwgKXVELAq01Q==","shasum":"0a4dc8222e50d2e8b5970661d209c0783b7c95ad","tarball":"https://registry.npmjs.org/@allnulled/gitano/-/gitano-1.0.2.tgz","fileCount":3,"unpackedSize":3233,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFRKYT2cSAnYaDPpJmVUYTbQw3ojc7EObtWZSvesQCrmAiAzVxQBRDTyN6HKdBW8BlijqEa0NlUUfb3g1AcpQ6Bybg=="}]},"_npmUser":{"name":"allnulled","email":"todosanulados@gmail.com"},"directories":{},"maintainers":[{"name":"allnulled","email":"todosanulados@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gitano_1.0.2_1701383977545_0.04041694371418081"},"_hasShrinkwrap":false},"1.0.11":{"name":"@allnulled/gitano","version":"1.0.11","description":"Utilidad para hacer operaciones rápidas con Git en línea de comandos. ","main":"index.js","bin":{"gitano":"index.js"},"scripts":{"test":"node test/index.js"},"keywords":[],"author":{"name":"allnulled"},"license":"WTFPL","repository":{"type":"git","url":"git+https://github.com/allnulled/gitano-bin.git"},"bugs":{"url":"https://github.com/allnulled/gitano-bin/issues"},"homepage":"https://github.com/allnulled/gitano-bin#readme","uuid_commit":6,"gitHead":"c9345a7dcc0c6595869b6a75d389ef5afa894e57","_id":"@allnulled/gitano@1.0.11","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-Ml+sSldk/zMOjcyBLXL/RGMvfBdBvrrQ8/38ad9z13R7U9kYESVIqoUpzfiTba67ow9fK41YL5YfmDBjLwt5UA==","shasum":"56eaa0fc50f78b1b48a9c2592c63c3373aec3834","tarball":"https://registry.npmjs.org/@allnulled/gitano/-/gitano-1.0.11.tgz","fileCount":3,"unpackedSize":4644,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAcvSRBKyRWJB/icHeXYFZZXAu3CJVHE0iCrH97sSaJqAiEAhcfRfCQKXP+Kd3KOEDuWsAP/DkXaQKeS/nfl2rgTFDk="}]},"_npmUser":{"name":"allnulled","email":"todosanulados@gmail.com"},"directories":{},"maintainers":[{"name":"allnulled","email":"todosanulados@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gitano_1.0.11_1701385019245_0.2690168162074651"},"_hasShrinkwrap":false},"1.0.12":{"name":"@allnulled/gitano","version":"1.0.12","description":"Utilidad para hacer operaciones rápidas con Git en línea de comandos. ","main":"index.js","bin":{"gitano":"index.js"},"scripts":{"test":"node test/index.js"},"keywords":[],"author":{"name":"allnulled"},"license":"WTFPL","repository":{"type":"git","url":"git+https://github.com/allnulled/gitano-bin.git"},"bugs":{"url":"https://github.com/allnulled/gitano-bin/issues"},"homepage":"https://github.com/allnulled/gitano-bin#readme","uuid_commit":7,"gitHead":"053c187c3133fc450d71583507135887c25d5508","_id":"@allnulled/gitano@1.0.12","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-u523q9XhL9lSmQ5BtezQM0Pc2kD1MqydlTcLal1ViGRge+HnTBinE9aNtDnupEziPR80kks3HnV+R7uIa7/42w==","shasum":"7d3acd302ea6684db74d1233fb25575781b0cb9e","tarball":"https://registry.npmjs.org/@allnulled/gitano/-/gitano-1.0.12.tgz","fileCount":3,"unpackedSize":5067,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEG//e8TlaAqE87eBZ0aGXTvZ/BRpAqP29pMrh3a/jHlAiEAwoEZnfFaVU1NGyrVwsMUewQtcV5qdGziuEM6TVkZYX0="}]},"_npmUser":{"name":"allnulled","email":"todosanulados@gmail.com"},"directories":{},"maintainers":[{"name":"allnulled","email":"todosanulados@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gitano_1.0.12_1701385172074_0.7259063725391621"},"_hasShrinkwrap":false},"1.0.13":{"name":"@allnulled/gitano","version":"1.0.13","description":"Utilidad para hacer operaciones rápidas con Git en línea de comandos. ","main":"index.js","bin":{"gitano":"index.js"},"scripts":{"test":"node test/index.js"},"keywords":[],"author":{"name":"allnulled"},"license":"WTFPL","repository":{"type":"git","url":"git+https://github.com/allnulled/gitano-bin.git"},"bugs":{"url":"https://github.com/allnulled/gitano-bin/issues"},"homepage":"https://github.com/allnulled/gitano-bin#readme","uuid_commit":1,"gitHead":"1d0702e14fdc2f1c59bb3fdbfc35fe9c176726b8","_id":"@allnulled/gitano@1.0.13","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-Y2JQM5ObMy9WXrJrluzJTErqJ+mzvgulNX3SUFyuR4AybXwlGQLL1qmK7apiWFQkueXtZgwvEHDyWjGKL0QyJQ==","shasum":"ce96aafa51fee8e5b7f64048f4f67d0a062676bf","tarball":"https://registry.npmjs.org/@allnulled/gitano/-/gitano-1.0.13.tgz","fileCount":3,"unpackedSize":5269,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGTcVijwXC/vodFGJHl8vf3I0ZQXrxb7JOK13Sj3iYjYAiAjNxg1oqiey4ojz2cGQZAcqr1bdxdGx8tQ957hTOHpLw=="}]},"_npmUser":{"name":"allnulled","email":"todosanulados@gmail.com"},"directories":{},"maintainers":[{"name":"allnulled","email":"todosanulados@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gitano_1.0.13_1701396711752_0.46436312066469787"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-30T22:37:24.144Z","1.0.0":"2023-11-30T22:37:24.445Z","modified":"2023-12-01T02:11:52.120Z","1.0.2":"2023-11-30T22:39:37.700Z","1.0.11":"2023-11-30T22:56:59.450Z","1.0.12":"2023-11-30T22:59:32.245Z","1.0.13":"2023-12-01T02:11:51.956Z"},"maintainers":[{"name":"allnulled","email":"todosanulados@gmail.com"}],"description":"Utilidad para hacer operaciones rápidas con Git en línea de comandos. ","keywords":[],"license":"WTFPL","readme":"# gitano\n\nUtilidad para hacer operaciones rápidas con Git en línea de comandos. \n\n# Índice\n\n- [gitano](#gitano)\n- [Índice](#índice)\n- [Instalación](#instalación)\n- [Uso](#uso)\n\n# Instalación\n\n```sh\nnpm install --global @allnulled/gitano\n```\n\nPuedes encontrar la documentación en:\n\n  - [https://github.com/allnulled/gitano-bin](https://github.com/allnulled/gitano-bin)\n  - [https://www.npmjs.com/package/@allnulled/gitano](https://www.npmjs.com/package/@allnulled/gitano)\n\n# Uso\n\nPrimero, emplazar el directorio actual al `.git` del proyecto. Luego:\n\n----\n\nPara hacer un **push**:\n\n```sh\ngitano push mensaje de commit opcional\n```\n\nEl comando `push` consiste en:\n\n```js\nconst comando_push = function(mensaje) {\n    const child_process = require(\"child_process\");\n    child_process.execSync(\"git add .\", cmd_options);\n    child_process.execSync(\"git commit -m \" + JSON.stringify(mensaje), cmd_options);\n    child_process.execSync(\"git push\", cmd_options);\n};\n```\n\n----\n\nPara hacer un **versionate**:\n\n```sh\ngitano versionate mensaje de commit opcional\n```\n\nEl comando `versionate` consiste en:\n\n```js\nconst comando_versionate = function(mensaje) {\n    const child_process = require(\"child_process\");\n    const path = require(\"path\");\n    const fs = require(\"fs\");\n    child_process.execSync(\"git add .\", cmd_options);\n    child_process.execSync(\"git commit -m \" + JSON.stringify(mensaje), cmd_options);\n    child_process.execSync(\"git push\", cmd_options);\n    child_process.execSync(\"npm version patch\", cmd_options);\n    const package_path = path.resolve(process.cwd(), \"package.json\");\n    const package_data = require(package_path);\n    if(!package_data.uuid_commit) {\n        package_data.uuid_commit = 0;\n    }\n    package_data.uuid_commit++;\n    fs.writeFileSync(package_path, JSON.stringify(package_data, null, 4), \"utf8\");\n    const version = package_data.version;\n    child_process.execSync(\"git add .\", cmd_options);\n    child_process.execSync(\"git commit -m \" + JSON.stringify(\"v\" + version), cmd_options);\n    child_process.execSync(\"git push\", cmd_options);\n    child_process.execSync(\"npm publish\", cmd_options);\n};\n```\n","readmeFilename":"README.md","homepage":"https://github.com/allnulled/gitano-bin#readme","repository":{"type":"git","url":"git+https://github.com/allnulled/gitano-bin.git"},"author":{"name":"allnulled"},"bugs":{"url":"https://github.com/allnulled/gitano-bin/issues"}}