GithubHelp home page GithubHelp logo

draftbit / exp-deploy-cli Goto Github PK

View Code? Open in Web Editor NEW
38.0 38.0 5.0 98 KB

๐Ÿ–ฅ ๐Ÿ—œ Deploy Expo apps to different environments (staging, production)

JavaScript 100.00%
cli environment-variables expo react-native

exp-deploy-cli's People

Contributors

browniefed avatar fozzylyon avatar peterpme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

exp-deploy-cli's Issues

write tests

tests are a great way to make sure i don't let silly bugs slip through ๐Ÿ˜„

exp-deploy rollback command

Given a release, give the user an interactive prompt to be able to instantly rollback to an old release and then deploy it. Rollbacks will be based on git tags / releases

explain how "config" in app.json work

In the readme it states:

"if you'd like to store environment variables, create a config object next to expo within app.json:"

but in the code seems no support for that and also expo does not mention that neither.

So, does this really work?

exp-deploy config:set / config:get command

config:set will set the environment var across all three files
config:get will show you ALL the env vars set under config

config:get --production will only show production
config:get --staging will only show staging

config:set --production will only set production
config:set --staging will only set staging

exp-deploy releases command

Releases command that will read exp-releases.json and show you all of the releases you've deployed. This will most likely be based on a git tag / release.

expo-deploy command issue

After installing expo-deploy cli and building config/exp-production.json, /config/exp-development.json, running command "exp-deploy --env production" will prompt same in terminal as command "exp-deploy --help".

Running command "exp-deploy --env staging" will show: "app.json and/or config don't exist. Are you sure you're in the right directory? Did you run [exp-deploy config] first?"
Note: I am running this command from root direcotry where is app.json and config/

Tag every new `exp-deploy`

Every time a user runs exp-deploy with an environment, create a new git tag. This can be based on npm version patch or some other philosophy

exp-deploy sync command

There's a really good chance that your app.json, ./config/exp-production.json, './config/exp-development.jsonwill go out of sync.sync` will diff the three files and ask you interactively what to update

Save release history

Save release history into a exp-releases.json file or something similar so users can rollback to a specific version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.