{"id":16254193,"url":"https://github.com/sumn2u/vue-deploy-s3","last_synced_at":"2025-06-20T08:07:02.333Z","repository":{"id":57395584,"uuid":"158643186","full_name":"sumn2u/vue-deploy-s3","owner":"sumn2u","description":"deploy vuejs app to s3","archived":false,"fork":false,"pushed_at":"2019-02-05T17:12:58.000Z","size":206,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T06:41:41.859Z","etag":null,"topics":["deployment","s3","s3-bucket","versioning","vuejs"],"latest_commit_sha":null,"homepage":"https://medium.com/@sumn2u/maintaining-app-versions-of-your-vuejs-projects-in-s3-5f8e3de23aaa","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sumn2u.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-22T04:40:51.000Z","updated_at":"2019-04-06T10:26:18.000Z","dependencies_parsed_at":"2022-09-26T17:51:32.613Z","dependency_job_id":null,"html_url":"https://github.com/sumn2u/vue-deploy-s3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sumn2u/vue-deploy-s3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumn2u%2Fvue-deploy-s3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumn2u%2Fvue-deploy-s3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumn2u%2Fvue-deploy-s3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumn2u%2Fvue-deploy-s3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sumn2u","download_url":"https://codeload.github.com/sumn2u/vue-deploy-s3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumn2u%2Fvue-deploy-s3/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260907157,"owners_count":23080612,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deployment","s3","s3-bucket","versioning","vuejs"],"created_at":"2024-10-10T15:20:25.900Z","updated_at":"2025-06-20T08:06:57.321Z","avatar_url":"https://github.com/sumn2u.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-deploy-s3\n\n[![GitHub issues](https://img.shields.io/github/issues/sumn2u/vue-deploy-s3.svg)](https://github.com/sumn2u/vue-deploy-s3/issues) [![GitHub forks](https://img.shields.io/github/forks/sumn2u/vue-deploy-s3.svg)](https://github.com/sumn2u/vue-deploy-s3/network) [![GitHub stars](https://img.shields.io/github/stars/sumn2u/vue-deploy-s3.svg)](https://github.com/sumn2u/vue-deploy-s3/stargazers) [![GitHub license](https://img.shields.io/github/license/sumn2u/vue-deploy-s3.svg)](https://github.com/sumn2u/vue-deploy-s3/blob/master/LICENSE)\n[![codecov](https://codecov.io/gh/sumn2u/vue-deploy-s3/branch/master/graph/badge.svg)](https://codecov.io/gh/sumn2u/vue-deploy-s3) [![Build Status](https://travis-ci.org/sumn2u/vue-deploy-s3.svg?branch=master)](https://travis-ci.org/sumn2u/vue-deploy-s3) [![Twitter](https://img.shields.io/twitter/url/https/github.com/sumn2u/vue-deploy-s3.svg?style=social)](https://twitter.com/intent/tweet?text=Wow:\u0026url=https%3A%2F%2Fgithub.com%2Fsumn2u%2Fvue-deploy-s3)\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fsumn2u%2Fvue-deploy-s3.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fsumn2u%2Fvue-deploy-s3?ref=badge_shield)\n\n\u003e  Deploy vue app to s3 and Cloudfront with versioning and activation features.\n\n```\n\n                                     _                  _                                 _____ \n __   __  _   _    ___            __| |   ___   _ __   | |   ___    _   _           ___  |___ / \n \\ \\ / / | | | |  / _ \\  _____   / _` |  / _ \\ | '_ \\  | |  / _ \\  | | | |  _____  / __|   |_ \\ \n  \\ V /  | |_| | |  __/ |_____| | (_| | |  __/ | |_) | | | | (_) | | |_| | |_____| \\__ \\  ___) |\n   \\_/    \\__,_|  \\___|          \\__,_|  \\___| | .__/  |_|  \\___/   \\__, |         |___/ |____/ \n                                               |_|                  |___/                       \n\n```\n\nThis package doesn't build the app, instead use webpack or vue cli to build your application instead.\n\n## Table of Contents\n\n- [Install](#install)\n- [Usage](#usage)\n- [Contribute](#contribute)\n- [License](#license)\n\n## Install\n\n```sh\nnpm i -g vue-deploy-s3\n\n# or\n\nyarn global add vue-deploy-s3\n\n```\n\n## Usage\n\u003e vue-deploy-s3\n```\n Usage: vue-deploy-s3 [options] [command]\n\n\n  Commands:\n\n    setup                 run deployment configuration file\n    deploy [env]          deploy code to s3 bucket with specific environment\n    list [env]            list deployed version from s3\n    activate \u003ckey\u003e [env]  activate version with or specific environment\n\n  Options:\n\n    -h, --help     output usage information\n    -V, --version  output the version number\n\n\n\n```\n To initialize setup file for vue-deploy-s3 , go inside your vue app project root directory and  use following command \n\n\u003e vue-deploy-s3 setup\n```\n\n                                     _                  _                                 _____ \n __   __  _   _    ___            __| |   ___   _ __   | |   ___    _   _           ___  |___ / \n \\ \\ / / | | | |  / _ \\  _____   / _` |  / _ \\ | '_ \\  | |  / _ \\  | | | |  _____  / __|   |_ \\ \n  \\ V /  | |_| | |  __/ |_____| | (_| | |  __/ | |_) | | | | (_) | | |_| | |_____| \\__ \\  ___) |\n   \\_/    \\__,_|  \\___|          \\__,_|  \\___| | .__/  |_|  \\___/   \\__, |         |___/ |____/ \n                                               |_|                  |___/                       \n\nResult:\n\n\n✓ Deployment file created\n\n➡  Type help command to proceed further\n\n\n```\nIt will automatically create a deploy.js file. Now inside deploy.js file put your s3 bucket name, along with ACCESSKEYID and SECERETKEY.\n\nAfter building your vue app. It's time to deploy your app to S3 bucket.\n\n\u003e vue-deploy-s3 deploy development\n\n```\n\nChecking configuration file\n\nResult:\n\nStarting 'upload:development'...\nFinished 'upload:development' after 1ms\n\nRevision created successfuly\n\n```\nIt will upload your assests to the s3 bucket with uniquely generated file name. \n![upload revisions](img/deploy.png)\n\nIn order to get revision of deployed files we use list command.\n\n\u003e  vue-deploy-s3 list development\n\n```\n\nChecking configuration file\nResult:\nStarting 'list:development'...\nFinished 'list:development' after 4ms\n┌───────────────────┬──────────────────────────────┐\n│ RevisionKey       │ Commit Date                  │\n├───────────────────┼──────────────────────────────┤\n│   index:01403ec   │ 2018/04/04 14:26:29          │\n├───────────────────┼──────────────────────────────┤\n│   index:527cd76   │ 2018/04/04 14:34:49          │\n├───────────────────┼──────────────────────────────┤\n│   index:6993120   │ 2018/04/04 14:09:03          │\n├───────────────────┼──────────────────────────────┤\n│   index:fa51993   │ 2018/04/04 15:41:51          │\n└───────────────────┴──────────────────────────────┘\n \n```\nTo activate a specific version use the activate command followed by key.\n\n\u003e  vue-deploy-s3 activate fa51993 development\n\n```\nChecking configuration file\nResult:\nStarting 'activate:fa51993'...\nFinished 'activate:fa51993' after 6ms\nActivating index file of key fa51993\nRevision activated successfully\n\n\n```\n\nTo revert application to a specific version use the activate command followed by key.\n\n\u003e  vue-deploy-s3 activate 6993120 development\n\n```\nChecking configuration file\nResult:\nStarting 'activate:6993120'...\nFinished 'activate:6993120' after 6ms\nActivating index file of key 6993120\nRevision activated successfully\n\n\n```\n\n\n## Contribute\n\nContributors are welcome.\nSmall note: If editing the README, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification. \n\n## License\n\nMIT © sumn2u\n\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fsumn2u%2Fvue-deploy-s3.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fsumn2u%2Fvue-deploy-s3?ref=badge_large)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumn2u%2Fvue-deploy-s3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumn2u%2Fvue-deploy-s3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumn2u%2Fvue-deploy-s3/lists"}