Skip to content

Commit 442a4a9

Browse files
committed
chore: update package.json for new license and ts for new imports
1 parent 2478e2a commit 442a4a9

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

react-native/example/src/App.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ import { Button, StyleSheet, View } from 'react-native';
22
import {
33
CourseFiltering,
44
FerrostarCore,
5-
NavigationView,
65
RouteDeviationTracking,
76
SpecialAdvanceConditions,
87
StepAdvanceMode,
98
WaypointKind,
10-
} from 'react-native-ferrostar';
9+
} from 'react-native-ferrostar/core';
10+
import { NavigationView } from 'react-native-ferrostar/views';
1111
import Geolocation, {
1212
type GeolocationResponse,
1313
} from '@react-native-community/geolocation';
1414
import { useEffect, useMemo, useState } from 'react';
1515

16-
const apiKey = process.env.STADIA_MAPS_API_KEY ?? "";
16+
const apiKey = process.env.STADIA_MAPS_API_KEY ?? '';
1717
const styleUrl = `https://tiles.stadiamaps.com/styles/alidade_smooth.json?api_key=${apiKey}`;
1818

1919
export default function App() {

react-native/package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,13 @@
5858
"type": "git",
5959
"url": "git+https://github.com/stadiamaps/ferrostar.git"
6060
},
61-
"author": "Benjamin Trounson <btrounson@outlook.co.nz> (https://github.com/bjtrounson)",
62-
"license": "MIT",
61+
"collaborators": [
62+
"Benjamin Trounson <btrounson@outlook.co.nz> (https://github.com/bjtrounson)",
63+
"Ian Wagner <ian@stadiamaps.com>",
64+
"Jacob Fielding <jacob@rallista.app>",
65+
"Luke Seelenbinder <luke@stadiamaps.com>"
66+
],
67+
"license": "BSD-3-Clause",
6368
"bugs": {
6469
"url": "https://github.com/stadiamaps/ferrostar/issues"
6570
},

react-native/src/views/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import NavigationView from './NavigationView';
2+
import NavigationMapViewCamera from './NavigationMapViewCamera';
3+
import BorderedPolyline from './BorderedPolyline';
4+
5+
export { NavigationView, NavigationMapViewCamera, BorderedPolyline };

0 commit comments

Comments
 (0)