Skip to content

Commit d937f12

Browse files
authored
Prepare for 1.0.1 (#1421)
* Fix project caching logic in case when projectRoot variable is used * Bump version * Fix extension build configuration for the tests * Bump appium version * Make Hermes test tolerant to failures
1 parent 5ae900b commit d937f12

File tree

11 files changed

+69
-61
lines changed

11 files changed

+69
-61
lines changed

.ci/smoke/smoke-tests-common-validation.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ steps:
3333
displayName: "gulp release"
3434
inputs:
3535
targets: release
36-
arguments: --nightly
3736

3837
- task: CopyFiles@2
3938
displayName: "Copy Files to: test/smoke/package/resources/drop-win"
@@ -49,7 +48,7 @@ steps:
4948
5049
- bash: |
5150
npm install -g yarn react-native-cli
52-
npm install -g appium@$(appiumVersion)
51+
npm install -g appium@$(appiumVersion) --force
5352
npm install -g expo-cli@$(expoCLIVersion)
5453
displayName: "npm install -g yarn react-native-cli expo-cli appium"
5554

.ci/smoke/smoke-tests-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pr:
77

88
variables:
99
vswdbotLogin: vswdbot
10-
appiumVersion: 1.18.0
10+
appiumVersion: 1.18.2
1111
basicOnly: false
1212
expoCLIVersion: latest
1313
nightlyBuild: false

.ci/smoke/smoke-tests-mac.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pr:
77

88
variables:
99
vswdbotLogin: vswdbot
10-
appiumVersion: 1.18.0
10+
appiumVersion: 1.18.2
1111
basicOnly: false
1212
expoCLIVersion: latest
1313
nightlyBuild: false

.ci/smoke/smoke-tests-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pr:
77

88
variables:
99
vswdbotLogin: vswdbot
10-
appiumVersion: 1.17.1
10+
appiumVersion: 1.18.2
1111
basicOnly: false
1212
expoCLIVersion: latest
1313
nightlyBuild: false

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.1
2+
* Fixed issue connected to incorrect project caching when the `projectRoot` argument is used in `settings.json`
3+
4+
15
## 1.0.0
26
* Added `sourcemaps` parameters for Direct debugging scenarios [#1395](https://github.com/microsoft/vscode-react-native/pull/1395)
37
* Fixed the `Debug Windows` scenario for React Native Windows applications v0.63 [#1395](https://github.com/microsoft/vscode-react-native/pull/1395), [#1412](https://github.com/microsoft/vscode-react-native/pull/1412)

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vscode-react-native",
33
"displayName": "React Native Tools",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"private": true,
66
"publisher": "msjsdiag",
77
"icon": "images/icon.png",

src/extension/projectsStorage.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import {AppLauncher} from "./appLauncher";
77
export class ProjectsStorage {
88
public static readonly projectsCache: {[key: string]: AppLauncher} = {};
99

10-
public static addFolder(workspaceFolder: vscode.WorkspaceFolder, appLauncher: AppLauncher): void {
11-
this.projectsCache[workspaceFolder.uri.fsPath.toLowerCase()] = appLauncher;
10+
public static addFolder(workspaceFolder: string, appLauncher: AppLauncher): void {
11+
this.projectsCache[workspaceFolder.toLowerCase()] = appLauncher;
1212
}
1313

1414
public static getFolder(workspaceFolder: vscode.WorkspaceFolder): AppLauncher {

src/extension/rn-extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function onFolderAdded(context: vscode.ExtensionContext, folder: vscode.Workspac
162162
let reactDirManager = new ReactDirManager(rootPath);
163163
return setupAndDispose(reactDirManager, context)
164164
.then(() => {
165-
ProjectsStorage.addFolder(folder, new AppLauncher(reactDirManager, folder));
165+
ProjectsStorage.addFolder(projectRootPath, new AppLauncher(reactDirManager, folder));
166166

167167
return void 0;
168168
});

test/smoke/package/config.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"ANDROID_EMULATOR": "Nexus_5X_API_28",
3-
"ANDROID_VERSION": "9",
4-
"IOS_SIMULATOR": "iPhone8",
5-
"IOS_VERSION": "13.6",
6-
"CODE_VERSION": "1.45.1",
7-
"EXPO_XDL_VERSION": "57.9.31",
8-
"EXPO_SDK_MAJOR_VERSION": "38",
9-
"RN_VERSION": "0.63.2",
10-
"PURE_RN_VERSION": "0.62.2",
11-
"PURE_EXPO_VERSION": "38.0.9"
2+
"ANDROID_EMULATOR": "Nexus_5X_API_28",
3+
"ANDROID_VERSION": "9",
4+
"IOS_SIMULATOR": "iPhone8",
5+
"IOS_VERSION": "13.6",
6+
"CODE_VERSION": "1.45.1",
7+
"EXPO_XDL_VERSION": "57.9.31",
8+
"EXPO_SDK_MAJOR_VERSION": "38",
9+
"RN_VERSION": "0.63.2",
10+
"PURE_RN_VERSION": "0.62.2",
11+
"PURE_EXPO_VERSION": "38.0.9"
1212
}

0 commit comments

Comments
 (0)