From e2e1ff82787f967b8c1e8845363291732cae59be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sarstr=C3=B6m?= Date: Fri, 12 Nov 2021 08:23:17 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Fixes=20issue=20with=20pa?= =?UTF-8?q?ckage.json=20in=20hjarntorget?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/skolplattformen-sthlm/App.js | 2 +- libs/api-hjarntorget/package.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/skolplattformen-sthlm/App.js b/apps/skolplattformen-sthlm/App.js index 9ff52f8b4..56ef8ba65 100644 --- a/apps/skolplattformen-sthlm/App.js +++ b/apps/skolplattformen-sthlm/App.js @@ -1,7 +1,7 @@ import * as eva from '@eva-design/eva' import AsyncStorage from '@react-native-async-storage/async-storage' import CookieManager from '@react-native-cookies/cookies' -import init from '@skolplattformen/api-skolplattformen' +import init from '@skolplattformen/api-hjarntorget' import { ApiProvider } from '@skolplattformen/hooks' import { ApplicationProvider, IconRegistry } from '@ui-kitten/components' import { EvaIconsPack } from '@ui-kitten/eva-icons' diff --git a/libs/api-hjarntorget/package.json b/libs/api-hjarntorget/package.json index b4bb3790f..ffd19eff8 100644 --- a/libs/api-hjarntorget/package.json +++ b/libs/api-hjarntorget/package.json @@ -2,8 +2,7 @@ "name": "@skolplattformen/api-hjarntorget", "version": "0.15.0", "description": "Since the proxy was blocked (and also deemed a bad idea by some), this is a reboot of the API running in process in the app(s).", - "main": "dist/index.js", - "types": "dist/index.d.ts", + "main": "lib/index.ts", "files": [ "dist/**/*" ],