From b47a37dcc6e0e6f715be9489066861aee755828a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Sim=C3=B3n?= Date: Wed, 24 Jul 2024 16:03:40 -0500 Subject: [PATCH 1/2] chore(env files): untracked them from git --- .env.development | 6 ------ .env.production | 6 ------ .env.staging | 6 ------ .gitignore | 4 +++- 4 files changed, 3 insertions(+), 19 deletions(-) delete mode 100644 .env.development delete mode 100644 .env.production delete mode 100644 .env.staging diff --git a/.env.development b/.env.development deleted file mode 100644 index 4b49c52d..00000000 --- a/.env.development +++ /dev/null @@ -1,6 +0,0 @@ -API_URL=https://dummyjson.com/ - -## TODO: add the variable to your CI and remove it from here, not recommended setting sensitive values on your git repo -SECRET_KEY=my-secret-key -VAR_NUMBER=10 # this is a number variable -VAR_BOOL=true # this is a boolean variable \ No newline at end of file diff --git a/.env.production b/.env.production deleted file mode 100644 index 4b49c52d..00000000 --- a/.env.production +++ /dev/null @@ -1,6 +0,0 @@ -API_URL=https://dummyjson.com/ - -## TODO: add the variable to your CI and remove it from here, not recommended setting sensitive values on your git repo -SECRET_KEY=my-secret-key -VAR_NUMBER=10 # this is a number variable -VAR_BOOL=true # this is a boolean variable \ No newline at end of file diff --git a/.env.staging b/.env.staging deleted file mode 100644 index 4b49c52d..00000000 --- a/.env.staging +++ /dev/null @@ -1,6 +0,0 @@ -API_URL=https://dummyjson.com/ - -## TODO: add the variable to your CI and remove it from here, not recommended setting sensitive values on your git repo -SECRET_KEY=my-secret-key -VAR_NUMBER=10 # this is a number variable -VAR_BOOL=true # this is a boolean variable \ No newline at end of file diff --git a/.gitignore b/.gitignore index 38b0a57e..32183f55 100644 --- a/.gitignore +++ b/.gitignore @@ -14,8 +14,10 @@ yarn-error.log # macOS .DS_Store +.env.* + # @generated expo-cli sync-2b81b286409207a5da26e14c78851eb30d8ccbdb # The following patterns were generated by expo-cli expo-env.d.ts -# @end expo-cli \ No newline at end of file +# @end expo-cli From 07f8ea9d0466dc7f35cb1d45cbd5b6046491b131 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Sim=C3=B3n?= Date: Mon, 5 Aug 2024 09:39:58 -0500 Subject: [PATCH 2/2] fix(env.sample): add env sample file --- .env.sample | 6 ++++++ .gitignore | 11 ++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 .env.sample diff --git a/.env.sample b/.env.sample new file mode 100644 index 00000000..2e1599b7 --- /dev/null +++ b/.env.sample @@ -0,0 +1,6 @@ +API_URL=https://dummyjson.com/ + +## TODO: add the variable to your CI and remove it from here, not recommended setting sensitive values on your git repo +SECRET_KEY=my-secret-key +VAR_NUMBER=10 # this is a number variable +VAR_BOOL=true # this is a boolean variable diff --git a/.gitignore b/.gitignore index d1ae029b..8275e625 100644 --- a/.gitignore +++ b/.gitignore @@ -12,13 +12,18 @@ web-build/ yarn-error.log /coverage -.env.** - +.env.development +.env.production +.env.staging +.env.qa # macOS .DS_Store -.env.* +.env.development +.env.production +.env.staging +.env.qa # @generated expo-cli sync-2b81b286409207a5da26e14c78851eb30d8ccbdb # The following patterns were generated by expo-cli