{"_id":"@cstefflexin/auto-updater","_rev":"4-100f1788cf2ef4e858329c0cb14f2dc7","name":"@cstefflexin/auto-updater","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"@cstefflexin/auto-updater","version":"1.0.0","main":"index.js","repository":{"type":"git","url":"git+https://github.com/cstefFlexin/auto-updater.git"},"author":{"name":"cstef"},"license":"MIT","types":"index.d.ts","scripts":{"build":"tsc"},"dependencies":{"app-root-path":"^3.0.0","chalk":"^4.1.2","cli-spinner":"^0.2.10","consola":"^2.15.3","fs-extra":"^10.0.0","inquirer":"^8.1.5","simple-git":"^2.45.1"},"devDependencies":{"@types/app-root-path":"^1.2.4","@types/cli-spinner":"^0.2.1","@types/fs-extra":"^9.0.13","@types/inquirer":"^8.1.2","@types/node":"^16.9.6"},"gitHead":"5579ff4dfc1a9b78df9db9576b5f8658a4f37b1c","description":"Update your nodejs app automatically from a remote git repo by checking the package.json version","bugs":{"url":"https://github.com/cstefFlexin/auto-updater/issues"},"homepage":"https://github.com/cstefFlexin/auto-updater#readme","_id":"@cstefflexin/auto-updater@1.0.0","_nodeVersion":"16.8.0","_npmVersion":"7.21.1","dist":{"integrity":"sha512-Ic2Ig3ORB2bG0UkDKMoaLptPmbo3LjNhRPTw5N3yKxSvGCbhkWpSTCMOYXtCurgxjHs0GOU+rUCuGAhIZCjSuA==","shasum":"bc8343224ad042922a5044efdb33953a5b606e01","tarball":"https://registry.npmjs.org/@cstefflexin/auto-updater/-/auto-updater-1.0.0.tgz","fileCount":6,"unpackedSize":34670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCW5HOrKcR7iGfYX0tpbPy0Aiwq+oyorSkb3Y9PK14nCgIgBw7aW5pnraKFzDTneOGcEcCb162GFrogCABRlJBhcTE="}]},"_npmUser":{"name":"cstefflexin","email":"colin@petit-suisse.fr"},"directories":{},"maintainers":[{"name":"cstefflexin","email":"colin@petit-suisse.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/auto-updater_1.0.0_1632680315248_0.4659153745877953"},"_hasShrinkwrap":false},"1.1.0":{"name":"@cstefflexin/auto-updater","version":"1.1.0","main":"index.js","repository":{"type":"git","url":"git+https://github.com/cstefFlexin/auto-updater.git"},"author":{"name":"cstef"},"license":"MIT","types":"index.d.ts","scripts":{"build":"tsc"},"dependencies":{"app-root-path":"^3.0.0","chalk":"^4.1.2","cli-spinner":"^0.2.10","consola":"^2.15.3","fs-extra":"^10.0.0","inquirer":"^8.1.5","simple-git":"^2.45.1"},"devDependencies":{"@types/app-root-path":"^1.2.4","@types/cli-spinner":"^0.2.1","@types/fs-extra":"^9.0.13","@types/inquirer":"^8.1.2","@types/node":"^16.9.6"},"gitHead":"2b42cccc2fb9755c40de690b8f12194fca0b8163","description":"Update your nodejs app automatically from a remote git repo by checking the package.json version","bugs":{"url":"https://github.com/cstefFlexin/auto-updater/issues"},"homepage":"https://github.com/cstefFlexin/auto-updater#readme","_id":"@cstefflexin/auto-updater@1.1.0","_nodeVersion":"16.8.0","_npmVersion":"7.21.1","dist":{"integrity":"sha512-TI0chkhWDvr+wEqLA5Dys5JE4BF5xWeVhvrbsCg86U15QJfp/cFTOg68LZO99a8+bs1gmGrlSix75ujj6kYYbg==","shasum":"6d31dbc58b5bca6c168d7b419c043fb5008c860a","tarball":"https://registry.npmjs.org/@cstefflexin/auto-updater/-/auto-updater-1.1.0.tgz","fileCount":6,"unpackedSize":35038,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUqBJ6V7zx94+sZz2GQQ7bqwOBJJxPT1ciQ7T1g+ZdIQIhAJiQ3a1LoXZk8LGey8wjZqgWn7L9p3nG6nofN/wniBdj"}]},"_npmUser":{"name":"cstefflexin","email":"colin@petit-suisse.fr"},"directories":{},"maintainers":[{"name":"cstefflexin","email":"colin@petit-suisse.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/auto-updater_1.1.0_1632680651909_0.13013015524579052"},"_hasShrinkwrap":false},"1.1.1":{"name":"@cstefflexin/auto-updater","version":"1.1.1","main":"index.js","repository":{"type":"git","url":"git+https://github.com/cstefFlexin/auto-updater.git"},"author":{"name":"cstef"},"license":"MIT","types":"index.d.ts","scripts":{"build":"tsc"},"dependencies":{"app-root-path":"^3.0.0","chalk":"^4.1.2","cli-spinner":"^0.2.10","consola":"^2.15.3","fs-extra":"^10.0.0","inquirer":"^8.1.5","simple-git":"^2.45.1"},"devDependencies":{"@types/app-root-path":"^1.2.4","@types/cli-spinner":"^0.2.1","@types/fs-extra":"^9.0.13","@types/inquirer":"^8.1.2","@types/node":"^16.9.6"},"gitHead":"3513fec7f2341d0e875fc0c801240a3edcbaf9ed","description":"Update your nodejs app automatically from a remote git repo by checking the package.json version","bugs":{"url":"https://github.com/cstefFlexin/auto-updater/issues"},"homepage":"https://github.com/cstefFlexin/auto-updater#readme","_id":"@cstefflexin/auto-updater@1.1.1","_nodeVersion":"16.8.0","_npmVersion":"7.21.1","dist":{"integrity":"sha512-B2rqSl2axOBqouqibx70iLS7zBbm/Bhbn/y6XWFx5ObXkoyZRNU1fVQ2Gbiy/I2K3NjjNTPrevWnK3RwRL3JMA==","shasum":"39385a887983d68393aa950179b011ae85e546da","tarball":"https://registry.npmjs.org/@cstefflexin/auto-updater/-/auto-updater-1.1.1.tgz","fileCount":6,"unpackedSize":35039,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzedzCRA9TVsSAnZWagAA5hEQAJLCGBONsTdAe0NeNWBs\n6pJQZqtRfMVRnJR2p0+nBtI7RcFJ7afuvk1rV3aCLX6IvFLINh+XxsMLCfdZ\ny+i2TrIlnmbJ0Z8OAdWvU+1bgEsZLvWLwAGkqM6Vb4fy5qPpC38WSSj8qQ39\n68mBYGyD1se0J09f4ss8PTiyCqcomZmDAJk3V1cGlY/StzxbVAv5HV6Mu4kv\n6Il7/rfATGBAxa/6IroQdbyhYrIr1CkYVIqgbsz2z3NMqY7C4NO3zKCFkUTg\nLJqaRQ7Ijy4i2UdseRin9cl8ZJQLM7PUPN8PMJzp85R9u61eu0AdDfTMe/BP\nUEpmXQRYD6RaceuzV2ODsoIqosFuUU8mY+yuxkv1GCY53KeaZDnDq9sIaCNu\nQtK8m8tumKOkhLmDUvvqDpadU+mjmoDIJtPuIs9Sh36WH/e+3weqMEiCco+K\n9/0BtjE+Koow5HtjKMx9fiLWYQzv2rcFdeyG4G18Dxe+HrbTSTmbR1lyEJNZ\ntgspRzA66eqqN3W4EqYRTXhTN6gddC/vLq64ZuhJKwL4SSkwRZEP8MiKAlo1\nXNoVq+Tke9drU3UDFqhjtvcQisIlFqa3I2wpBEZ8JWC1mIXfoFa/6aJEFFPU\n9hvEOKfeZjfyhFeAkMU9n9+0jNMIfOc+bAB4h4ar6t6a0dsih0H3Cvz7d1TW\npHGP\r\n=oKpg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEwnhfChR9rs6Aq73cUDmvw+JhvA0BNZKcxS9cYR/RybAiEA2YS0LLGJyTx+8riphaWFK6Z7Bq+CqIO06SyPdjHgHj4="}]},"_npmUser":{"name":"cstefflexin","email":"colin@petit-suisse.fr"},"directories":{},"maintainers":[{"name":"cstefflexin","email":"colin@petit-suisse.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/auto-updater_1.1.1_1632680746297_0.4799081522263824"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-26T18:18:35.198Z","1.0.0":"2021-09-26T18:18:35.361Z","modified":"2022-04-05T02:03:38.061Z","1.1.0":"2021-09-26T18:24:12.041Z","1.1.1":"2021-09-26T18:25:46.511Z"},"maintainers":[{"name":"cstefflexin","email":"colin@petit-suisse.fr"}],"description":"Update your nodejs app automatically from a remote git repo by checking the package.json version","homepage":"https://github.com/cstefFlexin/auto-updater#readme","repository":{"type":"git","url":"git+https://github.com/cstefFlexin/auto-updater.git"},"author":{"name":"cstef"},"bugs":{"url":"https://github.com/cstefFlexin/auto-updater/issues"},"license":"MIT","readme":"# Auto-Updater\r\n\r\nUpdate your nodejs app automatically from a remote git repo by checking the package.json version\r\n\r\n\r\n## Installing \r\n\r\n```\r\nyarn add @cstefflexin/auto-updater\r\n```\r\nor \r\n```\r\nnpm install @cstefflexin/auto-updater\r\n```\r\n\r\n\r\n## Using\r\n\r\nTypescript\r\n```ts\r\nimport AutoGitUpdate, { LogLevel } from \"@cstefflexin/auto-updater\";\r\n\r\nconst git = new AutoGitUpdate({\r\n    repository: \"https://github.com/cstefFlexin/auto-updater\",\r\n    tempLocation: \"/Users/cstef/Desktop\",\r\n    branch: \"main\",\r\n    test: true,\r\n    prompt: true,\r\n    logLevel: LogLevel.Info,\r\n});\r\n(async () => {\r\n    await git.autoUpdate();\r\n})();\r\n```\r\n\r\nJavascript\r\n```js\r\n\r\nconst { default: AutoGitUpdate, LogLevel } = require(\"@cstefflexin/auto-updater\");\r\n\r\nconst git = new AutoGitUpdate({\r\n    repository: \"https://github.com/cstefFlexin/auto-updater\",\r\n    tempLocation: \"/Users/cstef/Desktop\",\r\n    branch: \"main\",\r\n    test: true,\r\n    prompt: true,\r\n    logLevel: LogLevel.Info,\r\n});\r\n(async () => {\r\n    await git.autoUpdate();\r\n})();\r\n```\r\n","readmeFilename":"README.md"}