Skip to content

Commit 3ae001f

Browse files
wangelajokerttu
andauthored
chore: fix publishing workflows (#227)
Co-authored-by: Joonas Kerttula <[email protected]>
1 parent 80754c7 commit 3ae001f

File tree

10 files changed

+336
-285
lines changed

10 files changed

+336
-285
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright 2024 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
enabled: true
16+
always_check_pr_title: true

.github/workflows/release-please.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,8 @@ jobs:
5757
- if: ${{ steps.release.outputs.release_created }}
5858
name: Start publish
5959
uses: ./.github/workflows/publish.yml
60+
61+
publish:
62+
needs: release-please
63+
if: ${{ release-please.steps.release.outputs.release_created }}
64+
uses: ./.github/workflows/publish.yml

example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import MultipleMapsScreen from './MultipleMapsScreen';
2727
import {
2828
NavigationProvider,
2929
type TermsAndConditionsDialogOptions,
30-
} from 'react-native-navigation-sdk';
30+
} from '@googlemaps/react-native-navigation-sdk';
3131

3232
export type ScreenNames = ['Home', 'Navigation', 'Multiple maps'];
3333

example/src/MultipleMapsScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import {
3737
type LatLng,
3838
type NavigationCallbacks,
3939
useNavigation,
40-
} from 'react-native-navigation-sdk';
40+
} from '@googlemaps/react-native-navigation-sdk';
4141
import usePermissions from './checkPermissions';
4242
import OverlayModal from './overlayModal';
4343
import { NavigationView } from '../../src/navigation/navigationView/navigationView';

example/src/NavigationScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import {
3434
RouteStatus,
3535
type ArrivalEvent,
3636
type Location,
37-
} from 'react-native-navigation-sdk';
37+
} from '@googlemaps/react-native-navigation-sdk';
3838
import usePermissions from './checkPermissions';
3939
import MapsControls from './mapsControls';
4040
import NavigationControls from './navigationControls';

example/src/mapsControls.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import {
2727
type Circle,
2828
type Polyline,
2929
type Polygon,
30-
} from 'react-native-navigation-sdk';
30+
} from '@googlemaps/react-native-navigation-sdk';
3131

3232
export interface MapControlsProps {
3333
readonly mapViewController: MapViewController;

example/src/navigationControls.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import {
3232
type Waypoint,
3333
type CameraPosition,
3434
type NavigationController,
35-
} from 'react-native-navigation-sdk';
35+
} from '@googlemaps/react-native-navigation-sdk';
3636
import SelectDropdown from 'react-native-select-dropdown';
3737

3838
import styles from './styles';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "react-native-navigation-sdk",
2+
"name": "@googlemaps/react-native-navigation-sdk",
33
"version": "0.4.2",
44
"author": "Google",
55
"description": "A React Native library for Navigation SDK on Google Maps Platform",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"rootDir": ".",
44
"paths": {
5-
"react-native-navigation-sdk": ["./src/index"]
5+
"@googlemaps/react-native-navigation-sdk": ["./src/index"]
66
},
77
"allowUnreachableCode": false,
88
"allowUnusedLabels": false,

0 commit comments

Comments
 (0)