Skip to content

Commit a6c4a9d

Browse files
authored
feat(google-maps): use ios swift package manager config
Agent-Logs-Url: https://github.com/NativeScript/plugins/sessions/71c12428-fdc1-44b3-bb29-9334c3e77fd6
1 parent c099cad commit a6c4a9d

File tree

5 files changed

+23
-10
lines changed

5 files changed

+23
-10
lines changed

packages/google-maps/.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"extends": ["../../.eslintrc.json"],
3-
"ignorePatterns": ["!**/*", "node_modules/**/*"],
3+
"ignorePatterns": ["!**/*", "node_modules/**/*", "nativescript.config.ts"],
44
"overrides": [
55
{
66
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { NativeScriptConfig } from '@nativescript/core';
2+
3+
export default {
4+
ios: {
5+
SPMPackages: [
6+
{
7+
name: 'GoogleMaps',
8+
libs: ['GoogleMaps'],
9+
version: '10.12.0',
10+
repositoryURL: 'https://github.com/googlemaps/ios-maps-sdk.git',
11+
},
12+
],
13+
},
14+
} as NativeScriptConfig;

packages/google-maps/platforms/ios/Podfile

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/google-maps/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"packages/google-maps/*.md",
1616
"packages/google-maps/index.d.ts",
1717
"packages/google-maps/utils/index.d.ts",
18+
"packages/google-maps/nativescript.config.ts",
1819
"LICENSE",
1920
{
2021
"glob": "**/*",

packages/google-maps/tsconfig.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"extends": "../../tsconfig.base.json",
3-
"compilerOptions": {
4-
"outDir": "../../dist/out-tsc",
5-
"rootDir": "."
6-
},
7-
"exclude": ["**/*.spec.ts", "angular", "src-native"],
8-
"include": ["**/*.ts", "references.d.ts"]
2+
"extends": "../../tsconfig.base.json",
3+
"compilerOptions": {
4+
"outDir": "../../dist/out-tsc",
5+
"rootDir": "."
6+
},
7+
"exclude": ["**/*.spec.ts", "angular", "nativescript.config.ts", "src-native"],
8+
"include": ["**/*.ts", "references.d.ts"]
99
}

0 commit comments

Comments
 (0)