fix: nx support for skolplattformen app

This commit is contained in:
Jonathan Edenström 2021-09-30 21:43:18 +02:00
parent c0db060513
commit 247c2dc061
9 changed files with 341 additions and 2547 deletions

View File

@ -40,7 +40,7 @@ public class MainApplication extends Application implements ReactApplication {
@Override @Override
protected String getJSMainModuleName() { protected String getJSMainModuleName() {
return "index"; return "apps/skolplattformen-sthlm/index";
} }
}; };

View File

@ -378,7 +378,7 @@ PODS:
- React-RCTNetwork - React-RCTNetwork
- RNGestureHandler (1.10.3): - RNGestureHandler (1.10.3):
- React-Core - React-Core
- RNLocalize (2.1.4): - RNLocalize (2.1.5):
- React-Core - React-Core
- RNReanimated (2.2.2): - RNReanimated (2.2.2):
- DoubleConversion - DoubleConversion
@ -409,7 +409,7 @@ PODS:
- React-RCTVibration - React-RCTVibration
- ReactCommon/turbomodule/core - ReactCommon/turbomodule/core
- Yoga - Yoga
- RNScreens (3.6.0): - RNScreens (3.8.0):
- React-Core - React-Core
- React-RCTImage - React-RCTImage
- RNSVG (12.1.0): - RNSVG (12.1.0):
@ -420,9 +420,9 @@ PODS:
- Yoga (~> 1.14) - Yoga (~> 1.14)
DEPENDENCIES: DEPENDENCIES:
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) - DoubleConversion (from `../../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) - FBLazyVector (from `../../../node_modules/react-native/Libraries/FBLazyVector`)
- FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`) - FBReactNativeSpec (from `../../../node_modules/react-native/React/FBReactNativeSpec`)
- Flipper (= 0.93.0) - Flipper (= 0.93.0)
- Flipper-Boost-iOSX (= 1.76.0.1.11) - Flipper-Boost-iOSX (= 1.76.0.1.11)
- Flipper-DoubleConversion (= 3.1.7) - Flipper-DoubleConversion (= 3.1.7)
@ -444,52 +444,52 @@ DEPENDENCIES:
- FlipperKit/FlipperKitReactPlugin (= 0.93.0) - FlipperKit/FlipperKitReactPlugin (= 0.93.0)
- FlipperKit/FlipperKitUserDefaultsPlugin (= 0.93.0) - FlipperKit/FlipperKitUserDefaultsPlugin (= 0.93.0)
- FlipperKit/SKIOSNetworkPlugin (= 0.93.0) - FlipperKit/SKIOSNetworkPlugin (= 0.93.0)
- glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) - glog (from `../../../node_modules/react-native/third-party-podspecs/glog.podspec`)
- hermes-engine (~> 0.8.1) - hermes-engine (~> 0.8.1)
- libevent (~> 2.1.12) - libevent (~> 2.1.12)
- RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) - RCT-Folly (from `../../../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
- RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`) - RCTRequired (from `../../../node_modules/react-native/Libraries/RCTRequired`)
- RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) - RCTTypeSafety (from `../../../node_modules/react-native/Libraries/TypeSafety`)
- React (from `../node_modules/react-native/`) - React (from `../../../node_modules/react-native/`)
- React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`) - React-callinvoker (from `../../../node_modules/react-native/ReactCommon/callinvoker`)
- React-Core (from `../node_modules/react-native/`) - React-Core (from `../../../node_modules/react-native/`)
- React-Core/DevSupport (from `../node_modules/react-native/`) - React-Core/DevSupport (from `../../../node_modules/react-native/`)
- React-Core/RCTWebSocket (from `../node_modules/react-native/`) - React-Core/RCTWebSocket (from `../../../node_modules/react-native/`)
- React-CoreModules (from `../node_modules/react-native/React/CoreModules`) - React-CoreModules (from `../../../node_modules/react-native/React/CoreModules`)
- React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`) - React-cxxreact (from `../../../node_modules/react-native/ReactCommon/cxxreact`)
- React-hermes (from `../node_modules/react-native/ReactCommon/hermes`) - React-hermes (from `../../../node_modules/react-native/ReactCommon/hermes`)
- React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) - React-jsi (from `../../../node_modules/react-native/ReactCommon/jsi`)
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) - React-jsiexecutor (from `../../../node_modules/react-native/ReactCommon/jsiexecutor`)
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`) - React-jsinspector (from `../../../node_modules/react-native/ReactCommon/jsinspector`)
- "react-native-cookies (from `../node_modules/@react-native-community/cookies`)" - "react-native-cookies (from `../../../node_modules/@react-native-community/cookies`)"
- react-native-restart (from `../node_modules/react-native-restart`) - react-native-restart (from `../../../node_modules/react-native-restart`)
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) - react-native-safe-area-context (from `../../../node_modules/react-native-safe-area-context`)
- react-native-simple-toast (from `../node_modules/react-native-simple-toast`) - react-native-simple-toast (from `../../../node_modules/react-native-simple-toast`)
- react-native-webview (from `../node_modules/react-native-webview`) - react-native-webview (from `../../../node_modules/react-native-webview`)
- React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`) - React-perflogger (from `../../../node_modules/react-native/ReactCommon/reactperflogger`)
- React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) - React-RCTActionSheet (from `../../../node_modules/react-native/Libraries/ActionSheetIOS`)
- React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) - React-RCTAnimation (from `../../../node_modules/react-native/Libraries/NativeAnimation`)
- React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`) - React-RCTBlob (from `../../../node_modules/react-native/Libraries/Blob`)
- React-RCTImage (from `../node_modules/react-native/Libraries/Image`) - React-RCTImage (from `../../../node_modules/react-native/Libraries/Image`)
- React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`) - React-RCTLinking (from `../../../node_modules/react-native/Libraries/LinkingIOS`)
- React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`) - React-RCTNetwork (from `../../../node_modules/react-native/Libraries/Network`)
- React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`) - React-RCTSettings (from `../../../node_modules/react-native/Libraries/Settings`)
- React-RCTText (from `../node_modules/react-native/Libraries/Text`) - React-RCTText (from `../../../node_modules/react-native/Libraries/Text`)
- React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) - React-RCTVibration (from `../../../node_modules/react-native/Libraries/Vibration`)
- React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`) - React-runtimeexecutor (from `../../../node_modules/react-native/ReactCommon/runtimeexecutor`)
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) - ReactCommon/turbomodule/core (from `../../../node_modules/react-native/ReactCommon`)
- RNCalendarEvents (from `../node_modules/react-native-calendar-events`) - RNCalendarEvents (from `../../../node_modules/react-native-calendar-events`)
- "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)" - "RNCAsyncStorage (from `../../../node_modules/@react-native-async-storage/async-storage`)"
- "RNCMaskedView (from `../node_modules/@react-native-community/masked-view`)" - "RNCMaskedView (from `../../../node_modules/@react-native-community/masked-view`)"
- "RNDateTimePicker (from `../node_modules/@react-native-community/datetimepicker`)" - "RNDateTimePicker (from `../../../node_modules/@react-native-community/datetimepicker`)"
- RNDeviceInfo (from `../node_modules/react-native-device-info`) - RNDeviceInfo (from `../../../node_modules/react-native-device-info`)
- RNDevMenu (from `../node_modules/react-native-dev-menu`) - RNDevMenu (from `../../../node_modules/react-native-dev-menu`)
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`) - RNGestureHandler (from `../../../node_modules/react-native-gesture-handler`)
- RNLocalize (from `../node_modules/react-native-localize`) - RNLocalize (from `../../../node_modules/react-native-localize`)
- RNReanimated (from `../node_modules/react-native-reanimated`) - RNReanimated (from `../../../node_modules/react-native-reanimated`)
- RNScreens (from `../node_modules/react-native-screens`) - RNScreens (from `../../../node_modules/react-native-screens`)
- RNSVG (from `../node_modules/react-native-svg`) - RNSVG (from `../../../node_modules/react-native-svg`)
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`) - Yoga (from `../../../node_modules/react-native/ReactCommon/yoga`)
SPEC REPOS: SPEC REPOS:
trunk: trunk:
@ -513,95 +513,95 @@ SPEC REPOS:
EXTERNAL SOURCES: EXTERNAL SOURCES:
DoubleConversion: DoubleConversion:
:podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" :podspec: "../../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
FBLazyVector: FBLazyVector:
:path: "../node_modules/react-native/Libraries/FBLazyVector" :path: "../../../node_modules/react-native/Libraries/FBLazyVector"
FBReactNativeSpec: FBReactNativeSpec:
:path: "../node_modules/react-native/React/FBReactNativeSpec" :path: "../../../node_modules/react-native/React/FBReactNativeSpec"
glog: glog:
:podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" :podspec: "../../../node_modules/react-native/third-party-podspecs/glog.podspec"
RCT-Folly: RCT-Folly:
:podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec" :podspec: "../../../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec"
RCTRequired: RCTRequired:
:path: "../node_modules/react-native/Libraries/RCTRequired" :path: "../../../node_modules/react-native/Libraries/RCTRequired"
RCTTypeSafety: RCTTypeSafety:
:path: "../node_modules/react-native/Libraries/TypeSafety" :path: "../../../node_modules/react-native/Libraries/TypeSafety"
React: React:
:path: "../node_modules/react-native/" :path: "../../../node_modules/react-native/"
React-callinvoker: React-callinvoker:
:path: "../node_modules/react-native/ReactCommon/callinvoker" :path: "../../../node_modules/react-native/ReactCommon/callinvoker"
React-Core: React-Core:
:path: "../node_modules/react-native/" :path: "../../../node_modules/react-native/"
React-CoreModules: React-CoreModules:
:path: "../node_modules/react-native/React/CoreModules" :path: "../../../node_modules/react-native/React/CoreModules"
React-cxxreact: React-cxxreact:
:path: "../node_modules/react-native/ReactCommon/cxxreact" :path: "../../../node_modules/react-native/ReactCommon/cxxreact"
React-hermes: React-hermes:
:path: "../node_modules/react-native/ReactCommon/hermes" :path: "../../../node_modules/react-native/ReactCommon/hermes"
React-jsi: React-jsi:
:path: "../node_modules/react-native/ReactCommon/jsi" :path: "../../../node_modules/react-native/ReactCommon/jsi"
React-jsiexecutor: React-jsiexecutor:
:path: "../node_modules/react-native/ReactCommon/jsiexecutor" :path: "../../../node_modules/react-native/ReactCommon/jsiexecutor"
React-jsinspector: React-jsinspector:
:path: "../node_modules/react-native/ReactCommon/jsinspector" :path: "../../../node_modules/react-native/ReactCommon/jsinspector"
react-native-cookies: react-native-cookies:
:path: "../node_modules/@react-native-community/cookies" :path: "../../../node_modules/@react-native-community/cookies"
react-native-restart: react-native-restart:
:path: "../node_modules/react-native-restart" :path: "../../../node_modules/react-native-restart"
react-native-safe-area-context: react-native-safe-area-context:
:path: "../node_modules/react-native-safe-area-context" :path: "../../../node_modules/react-native-safe-area-context"
react-native-simple-toast: react-native-simple-toast:
:path: "../node_modules/react-native-simple-toast" :path: "../../../node_modules/react-native-simple-toast"
react-native-webview: react-native-webview:
:path: "../node_modules/react-native-webview" :path: "../../../node_modules/react-native-webview"
React-perflogger: React-perflogger:
:path: "../node_modules/react-native/ReactCommon/reactperflogger" :path: "../../../node_modules/react-native/ReactCommon/reactperflogger"
React-RCTActionSheet: React-RCTActionSheet:
:path: "../node_modules/react-native/Libraries/ActionSheetIOS" :path: "../../../node_modules/react-native/Libraries/ActionSheetIOS"
React-RCTAnimation: React-RCTAnimation:
:path: "../node_modules/react-native/Libraries/NativeAnimation" :path: "../../../node_modules/react-native/Libraries/NativeAnimation"
React-RCTBlob: React-RCTBlob:
:path: "../node_modules/react-native/Libraries/Blob" :path: "../../../node_modules/react-native/Libraries/Blob"
React-RCTImage: React-RCTImage:
:path: "../node_modules/react-native/Libraries/Image" :path: "../../../node_modules/react-native/Libraries/Image"
React-RCTLinking: React-RCTLinking:
:path: "../node_modules/react-native/Libraries/LinkingIOS" :path: "../../../node_modules/react-native/Libraries/LinkingIOS"
React-RCTNetwork: React-RCTNetwork:
:path: "../node_modules/react-native/Libraries/Network" :path: "../../../node_modules/react-native/Libraries/Network"
React-RCTSettings: React-RCTSettings:
:path: "../node_modules/react-native/Libraries/Settings" :path: "../../../node_modules/react-native/Libraries/Settings"
React-RCTText: React-RCTText:
:path: "../node_modules/react-native/Libraries/Text" :path: "../../../node_modules/react-native/Libraries/Text"
React-RCTVibration: React-RCTVibration:
:path: "../node_modules/react-native/Libraries/Vibration" :path: "../../../node_modules/react-native/Libraries/Vibration"
React-runtimeexecutor: React-runtimeexecutor:
:path: "../node_modules/react-native/ReactCommon/runtimeexecutor" :path: "../../../node_modules/react-native/ReactCommon/runtimeexecutor"
ReactCommon: ReactCommon:
:path: "../node_modules/react-native/ReactCommon" :path: "../../../node_modules/react-native/ReactCommon"
RNCalendarEvents: RNCalendarEvents:
:path: "../node_modules/react-native-calendar-events" :path: "../../../node_modules/react-native-calendar-events"
RNCAsyncStorage: RNCAsyncStorage:
:path: "../node_modules/@react-native-async-storage/async-storage" :path: "../../../node_modules/@react-native-async-storage/async-storage"
RNCMaskedView: RNCMaskedView:
:path: "../node_modules/@react-native-community/masked-view" :path: "../../../node_modules/@react-native-community/masked-view"
RNDateTimePicker: RNDateTimePicker:
:path: "../node_modules/@react-native-community/datetimepicker" :path: "../../../node_modules/@react-native-community/datetimepicker"
RNDeviceInfo: RNDeviceInfo:
:path: "../node_modules/react-native-device-info" :path: "../../../node_modules/react-native-device-info"
RNDevMenu: RNDevMenu:
:path: "../node_modules/react-native-dev-menu" :path: "../../../node_modules/react-native-dev-menu"
RNGestureHandler: RNGestureHandler:
:path: "../node_modules/react-native-gesture-handler" :path: "../../../node_modules/react-native-gesture-handler"
RNLocalize: RNLocalize:
:path: "../node_modules/react-native-localize" :path: "../../../node_modules/react-native-localize"
RNReanimated: RNReanimated:
:path: "../node_modules/react-native-reanimated" :path: "../../../node_modules/react-native-reanimated"
RNScreens: RNScreens:
:path: "../node_modules/react-native-screens" :path: "../../../node_modules/react-native-screens"
RNSVG: RNSVG:
:path: "../node_modules/react-native-svg" :path: "../../../node_modules/react-native-svg"
Yoga: Yoga:
:path: "../node_modules/react-native/ReactCommon/yoga" :path: "../../../node_modules/react-native/ReactCommon/yoga"
SPEC CHECKSUMS: SPEC CHECKSUMS:
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
@ -659,9 +659,9 @@ SPEC CHECKSUMS:
RNDeviceInfo: cc7de0772378f85d8f36ae439df20f05c590a651 RNDeviceInfo: cc7de0772378f85d8f36ae439df20f05c590a651
RNDevMenu: fd325b5554b61fe7f48d9205a3877cf5ee88cd7c RNDevMenu: fd325b5554b61fe7f48d9205a3877cf5ee88cd7c
RNGestureHandler: a479ebd5ed4221a810967000735517df0d2db211 RNGestureHandler: a479ebd5ed4221a810967000735517df0d2db211
RNLocalize: 7f1e5792b65a839af55a9552d05b3558b66d017e RNLocalize: 74b82db20cc3895ccc25af992c644879bcec2815
RNReanimated: ad24db8af24e3fe1b5c462785bc3db8d5baae2ee RNReanimated: ad24db8af24e3fe1b5c462785bc3db8d5baae2ee
RNScreens: eb0dfb2d6b21d2d7f980ad46b14eb306d2f1062e RNScreens: 6e1ea5787989f92b0671049b808aef64fa1ef98c
RNSVG: ce9d996113475209013317e48b05c21ee988d42e RNSVG: ce9d996113475209013317e48b05c21ee988d42e
Toast: 91b396c56ee72a5790816f40d3a94dd357abc196 Toast: 91b396c56ee72a5790816f40d3a94dd357abc196
Yoga: aa0cb45287ebe1004c02a13f279c55a95f1572f4 Yoga: aa0cb45287ebe1004c02a13f279c55a95f1572f4

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

View File

@ -42,7 +42,7 @@ static void InitializeFlipper(UIApplication *application) {
} else { } else {
rootView.backgroundColor = [UIColor whiteColor]; rootView.backgroundColor = [UIColor whiteColor];
} }
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
UIViewController *rootViewController = [UIViewController new]; UIViewController *rootViewController = [UIViewController new];
rootViewController.view = rootView; rootViewController.view = rootView;
@ -53,7 +53,7 @@ static void InitializeFlipper(UIApplication *application) {
- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
{ {
#if DEBUG #if DEBUG
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"apps/skolplattformen-sthlm/index" fallbackResource:nil];
#else #else
return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
#endif #endif

View File

@ -5,23 +5,28 @@
* @format * @format
*/ */
const MetroConfig = require('@ui-kitten/metro-config') const { withNxMetro } = require('@nrwl/react-native')
/** // UI Kitten disabled for now
* @see https://akveo.github.io/react-native-ui-kitten/docs/guides/improving-performance // const MetroConfig = require('@ui-kitten/metro-config')
*/ // /**
const evaConfig = { // * @see https://akveo.github.io/react-native-ui-kitten/docs/guides/improving-performance
evaPackage: '@eva-design/eva', // */
customMappingPath: './design/mapping.json', // const evaConfig = {
} // evaPackage: '@eva-design/eva',
// customMappingPath: './design/mapping.json',
// }
// const config = MetroConfig.create(evaConfig, {
// transformer: {
// getTransformOptions: async () => ({
// transform: {
// experimentalImportSupport: false,
// inlineRequires: true,
// },
// }),
// },
// })
module.exports = MetroConfig.create(evaConfig, { const config = {}
transformer: {
getTransformOptions: async () => ({ module.exports = withNxMetro(config)
transform: {
experimentalImportSupport: false,
inlineRequires: true,
},
}),
},
})

View File

@ -1,5 +1,5 @@
{ {
"name": "skolplattformen", "name": "skolplattformen-sthlm",
"version": "0.0.1", "version": "0.0.1",
"scripts": { "scripts": {
"android": "react-native run-android", "android": "react-native run-android",
@ -17,84 +17,37 @@
"postinstall": "yarn extract-licenses" "postinstall": "yarn extract-licenses"
}, },
"dependencies": { "dependencies": {
"@eva-design/eva": "2.0.0", "@eva-design/eva": "*",
"@eva-design/material": "2.0.0", "@react-native-async-storage/async-storage": "*",
"@react-native-async-storage/async-storage": "1.15.2", "@react-native-community/cookies": "*",
"@react-native-community/cookies": "5.0.1", "@react-native-community/datetimepicker": "*",
"@react-native-community/datetimepicker": "3.4.3", "@react-native-community/masked-view": "*",
"@react-native-community/masked-view": "^0.1.11", "@react-navigation/bottom-tabs": "*",
"@react-navigation/bottom-tabs": "5.11.9", "@react-navigation/native": "*",
"@react-navigation/native": "5.9.4", "@react-navigation/stack": "*",
"@react-navigation/stack": "5.14.4", "@ui-kitten/components": "*",
"@skolplattformen/api-hooks": "3.0.0", "@ui-kitten/eva-icons": "*",
"@skolplattformen/curriculum": "1.4.2", "react-native-animatable": "*",
"@skolplattformen/embedded-api": "5.3.2", "react-native-calendar-events": "*",
"@ui-kitten/components": "5.0.0", "react-native-dev-menu": "*",
"@ui-kitten/eva-icons": "5.0.0", "react-native-device-info": "*",
"buffer": "6.0.3", "react-native-fix-image": "*",
"deepmerge": "^4.2.2", "react-native-gesture-handler": "*",
"fast-fuzzy": "^1.10.8", "react-native-localize": "*",
"formik": "2.2.6", "react-native-markdown-display": "*",
"hermes-engine": "0.8.1", "react-native-modal-datetime-picker": "*",
"i18n-js": "^3.8.0", "react-native-reanimated": "*",
"moment": "^2.29.1", "react-native-restart": "*",
"personnummer": "3.1.3", "react-native-safe-area-context": "*.0",
"react": "17.0.2", "react-native-screens": "*",
"react-native": "0.65.1", "react-native-simple-toast": "*",
"react-native-animatable": "^1.3.3", "react-native-svg": "*",
"react-native-calendar-events": "2.2.0", "react-native-typography": "*",
"react-native-dev-menu": "^4.0.2", "react-native-webview": "*",
"react-native-device-info": "^8.3.3", "react": "*",
"react-native-fix-image": "2.1.0", "react-native": "*",
"react-native-gesture-handler": "^1.10.3", "@testing-library/react-native": "*"
"react-native-localize": "^2.0.2",
"react-native-markdown-display": "7.0.0-alpha.2",
"react-native-modal-datetime-picker": "9.2.0",
"react-native-reanimated": "2.2.2",
"react-native-restart": "^0.0.22",
"react-native-safe-area-context": "^3.2.0",
"react-native-screens": "^3.3.0",
"react-native-simple-toast": "1.1.3",
"react-native-svg": "12.1.0",
"react-native-typography": "1.4.1",
"react-native-webview": "11.4.2",
"valtio": "^1.2.3",
"yup": "0.32.9"
}, },
"devDependencies": { "devDependencies": {},
"@babel/core": "^7.13.15", "private": true
"@babel/runtime": "^7.13.10",
"@react-native-community/eslint-config": "^2.0.0",
"@testing-library/jest-native": "^4.0.1",
"@testing-library/react-hooks": "^7.0.0",
"@testing-library/react-native": "7.2.0",
"@types/i18n-js": "^3.8.0",
"@types/jest": "^26.0.22",
"@types/jsuri": "^1.3.30",
"@types/markdown-it": "^12.0.1",
"@types/react-native": "^0.64.2",
"@types/react-native-restart": "^0.0.0",
"@ui-kitten/metro-config": "5.0.0",
"babel-jest": "^26.6.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.2.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react-native-a11y": "^2.0.4",
"is-ci-cli": "^2.2.0",
"jest": "^26.6.3",
"jest-watch-typeahead": "^0.6.2",
"metro-react-native-babel-preset": "^0.65.2",
"mockdate": "^3.0.5",
"patch-package": "^6.4.7",
"prettier": "^2.2.1",
"react-native-clean-project": "^3.6.3",
"react-native-codegen": "^0.0.7",
"react-native-oss-license": "^0.4.0",
"react-test-renderer": "17.0.2",
"typescript": "^4.2.4"
},
"private": true,
"resolutions": {
"react": "17.0.2"
}
} }

View File

@ -1,4 +1,5 @@
{ {
"extends": "../../tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"target": "esnext", "target": "esnext",
"module": "commonjs", "module": "commonjs",
@ -8,7 +9,7 @@
"noEmit": true, "noEmit": true,
"isolatedModules": true, "isolatedModules": true,
"strict": true, "strict": true,
"moduleResolution": "node", "moduleResolution": "node",
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"esModuleInterop": true, "esModuleInterop": true,
"skipLibCheck": true, "skipLibCheck": true,

View File

@ -8,11 +8,51 @@
"test": "nx test" "test": "nx test"
}, },
"private": true, "private": true,
"workspaces": ["apps/*"],
"dependencies": { "dependencies": {
"react": "17.0.2", "react": "17.0.2",
"react-native": "0.65.1", "react-native": "0.65.1",
"tslib": "^2.0.0" "tslib": "^2.0.0",
"@eva-design/eva": "2.0.0",
"@eva-design/material": "2.0.0",
"@react-native-async-storage/async-storage": "1.15.2",
"@react-native-community/cookies": "5.0.1",
"@react-native-community/datetimepicker": "3.4.3",
"@react-native-community/masked-view": "^0.1.11",
"@react-navigation/bottom-tabs": "5.11.9",
"@react-navigation/native": "5.9.4",
"@react-navigation/stack": "5.14.4",
"@skolplattformen/api-hooks": "3.0.0",
"@skolplattformen/curriculum": "1.4.2",
"@skolplattformen/embedded-api": "5.3.2",
"@ui-kitten/components": "5.0.0",
"@ui-kitten/eva-icons": "5.0.0",
"buffer": "6.0.3",
"deepmerge": "^4.2.2",
"fast-fuzzy": "^1.10.8",
"formik": "2.2.6",
"hermes-engine": "0.8.1",
"i18n-js": "^3.8.0",
"moment": "^2.29.1",
"personnummer": "3.1.3",
"react-native-animatable": "^1.3.3",
"react-native-calendar-events": "2.2.0",
"react-native-dev-menu": "^4.0.2",
"react-native-device-info": "^8.3.3",
"react-native-fix-image": "2.1.0",
"react-native-gesture-handler": "^1.10.3",
"react-native-localize": "^2.0.2",
"react-native-markdown-display": "7.0.0-alpha.2",
"react-native-modal-datetime-picker": "9.2.0",
"react-native-reanimated": "2.2.2",
"react-native-restart": "^0.0.22",
"react-native-safe-area-context": "^3.2.0",
"react-native-screens": "^3.3.0",
"react-native-simple-toast": "1.1.3",
"react-native-svg": "12.1.0",
"react-native-typography": "1.4.1",
"react-native-webview": "11.4.2",
"valtio": "^1.2.3",
"yup": "0.32.9"
}, },
"devDependencies": { "devDependencies": {
"@nrwl/cli": "12.9.0", "@nrwl/cli": "12.9.0",
@ -52,8 +92,25 @@
"metro-resolver": "0.66.2", "metro-resolver": "0.66.2",
"prettier": "^2.3.1", "prettier": "^2.3.1",
"react-native-codegen": "0.0.7", "react-native-codegen": "0.0.7",
"react-test-renderer": "17.0.2",
"ts-jest": "27.0.3", "ts-jest": "27.0.3",
"typescript": "~4.3.5" "typescript": "~4.3.5",
"@babel/core": "^7.13.15",
"@babel/runtime": "^7.13.10",
"@react-native-community/eslint-config": "^2.0.0",
"@testing-library/react-hooks": "^7.0.0",
"@types/i18n-js": "^3.8.0",
"@types/jsuri": "^1.3.30",
"@types/markdown-it": "^12.0.1",
"@types/react-native-restart": "^0.0.0",
"@ui-kitten/metro-config": "5.0.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react-native-a11y": "^2.0.4",
"is-ci-cli": "^2.2.0",
"jest-watch-typeahead": "^0.6.2",
"mockdate": "^3.0.5",
"patch-package": "^6.4.7",
"react-native-clean-project": "^3.6.3",
"react-native-oss-license": "^0.4.0",
"react-test-renderer": "17.0.2"
} }
} }

2460
yarn.lock

File diff suppressed because it is too large Load Diff