Skip to content

Commit

Permalink
chore: update package.json for new license and ts for new imports
Browse files Browse the repository at this point in the history
  • Loading branch information
bjtrounson committed Jan 21, 2025
1 parent 2478e2a commit 442a4a9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
6 changes: 3 additions & 3 deletions react-native/example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ import { Button, StyleSheet, View } from 'react-native';
import {
CourseFiltering,
FerrostarCore,
NavigationView,
RouteDeviationTracking,
SpecialAdvanceConditions,
StepAdvanceMode,
WaypointKind,
} from 'react-native-ferrostar';
} from 'react-native-ferrostar/core';
import { NavigationView } from 'react-native-ferrostar/views';
import Geolocation, {
type GeolocationResponse,
} from '@react-native-community/geolocation';
import { useEffect, useMemo, useState } from 'react';

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

export default function App() {
Expand Down
9 changes: 7 additions & 2 deletions react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,13 @@
"type": "git",
"url": "git+https://github.com/stadiamaps/ferrostar.git"
},
"author": "Benjamin Trounson <btrounson@outlook.co.nz> (https://github.com/bjtrounson)",
"license": "MIT",
"collaborators": [
"Benjamin Trounson <btrounson@outlook.co.nz> (https://github.com/bjtrounson)",
"Ian Wagner <ian@stadiamaps.com>",
"Jacob Fielding <jacob@rallista.app>",
"Luke Seelenbinder <luke@stadiamaps.com>"
],
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/stadiamaps/ferrostar/issues"
},
Expand Down
5 changes: 5 additions & 0 deletions react-native/src/views/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import NavigationView from './NavigationView';
import NavigationMapViewCamera from './NavigationMapViewCamera';
import BorderedPolyline from './BorderedPolyline';

export { NavigationView, NavigationMapViewCamera, BorderedPolyline };

0 comments on commit 442a4a9

Please sign in to comment.