Skip to content

Commit

Permalink
Merge branch 'main' into IGAPP-1061-upgrade-react-and-react-native
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahsporck committed Jan 31, 2023
2 parents f70cdc0 + 39a4e27 commit 7704e60
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"lint:ci": "yarn run eslint --quiet --format junit -o reports/lint/junit-lint.xml",
"ts:check": "tsc --build"
},
"peerDependencies": {
"peerDependencies": {
"@types/react": "^18.0.26",
"react": "18.2.0"
},
Expand Down
2 changes: 2 additions & 0 deletions api-client/src/models/PoiModel.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import moment, { Moment } from 'moment'
// Fix for minifying js issue with hermes using moment().locale https://github.com/moment/moment/issues/5789
import 'moment/locale/de'

import { mapMarker, PoiFeature } from '../maps'
import ExtendedPageModel from './ExtendedPageModel'
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/web/capabilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const browserstackCapabilities = {
browserName: 'Safari',
browserVersion: '14.0',
}),
} as Record<typeof browsers[number], Capabilities>
} as Record<(typeof browsers)[number], Capabilities>

export const ciCapabilities = {
browserName: 'chrome',
Expand Down
10 changes: 9 additions & 1 deletion native/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@
"typeRoots": ["./src/@types", "./node_modules/@types", "../node_modules/@types"],
"types": ["jest", "node", "react-native", "styled-components-react-native"]
},
"include": ["src/**/*", "./jest.setup.ts", "index.ts", "jest.config.ts", "metro.config.ci.js", "metro.config.js", "babel-jest.js"],
"include": [
"src/**/*",
"./jest.setup.ts",
"index.ts",
"jest.config.ts",
"metro.config.ci.js",
"metro.config.js",
"babel-jest.js"
],
"references": [
{
"path": "../translations"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
issue_key: IGAPP-1209
show_in_stores: true
platforms:
- android
- ios
en: Fix app crashes for places that are currently opened.
de: App Abstürze bei gerade geöffneten Orten wurden behoben.
2 changes: 1 addition & 1 deletion tools/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const PLATFORMS = [PLATFORM_WEB, PLATFORM_IOS, PLATFORM_ANDROID]
const MAIN_BRANCH = 'main'

type ReleaseInformation = {
platform: typeof PLATFORMS[number]
platform: (typeof PLATFORMS)[number]
versionName: string
}
const tagId = ({ platform, versionName }: ReleaseInformation): string => `${versionName}-${platform}`
Expand Down

0 comments on commit 7704e60

Please sign in to comment.