Skip to content

Commit

Permalink
Fix bug with .envFile (microsoft#605)
Browse files Browse the repository at this point in the history
  • Loading branch information
itoys authored Nov 22, 2017
1 parent 67d948c commit 2c0ba9b
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 12 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 0.5.7
* Bug fixes

## 0.5.6
* Bug fixes

Expand Down
2 changes: 1 addition & 1 deletion npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 38 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vscode-react-native",
"displayName": "React Native Tools",
"version": "0.5.6",
"version": "0.5.7",
"private": true,
"publisher": "vsmobile",
"icon": "images/icon.png",
Expand Down Expand Up @@ -303,7 +303,8 @@
},
"envFile": {
"type": "string",
"description": "Absolute path to a file containing environment variable definitions."
"description": "Absolute path to a file containing environment variable definitions.",
"default": "${workspaceFolder}/.env"
},
"variant": {
"type": "string",
Expand Down Expand Up @@ -346,6 +347,34 @@
"default": [],
"scope": "resource"
},
"react-native.ios.env.simulator": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Environment variables passed to the program.",
"default": {},
"scope": "resource"
},
"react-native.ios.env.device": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Environment variables passed to the program.",
"default": {},
"scope": "resource"
},
"react-native.ios.envFile.simulator": {
"type": "string",
"description": "Absolute path to a file containing environment variable definitions.",
"scope": "resource"
},
"react-native.ios.envFile.device": {
"type": "string",
"description": "Absolute path to a file containing environment variable definitions.",
"scope": "resource"
},
"react-native.android.runArguments.simulator": {
"description": "Run arguments to be passed to 'react-native run-android' command",
"type": "array",
Expand All @@ -367,13 +396,7 @@
"default": {},
"scope": "resource"
},
"react-native.android.envFile.device": {
"type": "string",
"description": "Absolute path to a file containing environment variable definitions.",
"default": "${workspaceFolder}/.env",
"scope": "resource"
},
"react-native.ios.env.simulator": {
"react-native.android.env.device": {
"type": "object",
"additionalProperties": {
"type": "string"
Expand All @@ -382,10 +405,14 @@
"default": {},
"scope": "resource"
},
"react-native.ios.envFile.device": {
"react-native.android.envFile.simulator": {
"type": "string",
"description": "Absolute path to a file containing environment variable definitions.",
"scope": "resource"
},
"react-native.android.envFile.device": {
"type": "string",
"description": "Absolute path to a file containing environment variable definitions.",
"default": "${workspaceFolder}/.env",
"scope": "resource"
},
"react-native.packager.port": {
Expand Down

0 comments on commit 2c0ba9b

Please sign in to comment.