Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

Commit 7982bfb

Browse files
authored
feat(*): update to angular 9/10 and @types/googlemaps
- switch to @types/googlemaps typing - switch to angular building - updates to tslint - switch from js-marker-clusterer to @google/markerclustererplus - general cleanup of unused files - update netlify config - fix DataLayer `style` type special thanks to @terencehonles for his work on switching types
1 parent ea471aa commit 7982bfb

File tree

140 files changed

+13773
-5379
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+13773
-5379
lines changed

.clang-format

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

.editorconfig

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# http://editorconfig.org
2-
1+
# Editor configuration, see https://editorconfig.org
32
root = true
43

54
[*]
@@ -8,4 +7,11 @@ indent_style = space
87
indent_size = 2
98
end_of_line = lf
109
insert_final_newline = true
11-
trim_trailing_whitespace = true
10+
trim_trailing_whitespace = true
11+
12+
[*.ts]
13+
quote_type = single
14+
15+
[*.md]
16+
max_line_length = off
17+
trim_trailing_whitespace = false

.eslintrc

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

.gitignore

Lines changed: 46 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,48 @@
1-
node_modules/
2-
dist
3-
docs_generated
4-
packages/**/*.js
5-
packages/**/*.map
6-
packages/**/*.ngfactory.js
7-
.tmp
8-
test-built
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
/docs/public
8+
# Only exists if Bazel was run
9+
/bazel-out
10+
11+
# dependencies
12+
/node_modules
13+
/packages/*/node_modules
14+
15+
# profiling files
16+
chrome-profiler-events*.json
17+
speed-measure-plugin*.json
18+
19+
# IDEs and editors
20+
/.idea
21+
.project
22+
.classpath
23+
.c9/
24+
*.launch
25+
.settings/
26+
*.sublime-workspace
27+
28+
# IDE - VSCode
29+
.vscode/*
30+
!.vscode/settings.json
31+
!.vscode/tasks.json
32+
!.vscode/launch.json
33+
!.vscode/extensions.json
34+
.history/*
35+
36+
# misc
37+
/.sass-cache
38+
/connect.lock
39+
/coverage
40+
/libpeerconnection.log
941
npm-debug.log
10-
*.ngfactory.ts
11-
coverage/
12-
.*.swp
13-
.idea/
42+
yarn-error.log
43+
testem.log
44+
/typings
45+
46+
# System Files
1447
.DS_Store
15-
docs/public
16-
agm-*-*.tgz
48+
Thumbs.db

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierrc.json

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

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"jest.pathToJest": "yarn test --"
3+
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Angular 2+ components for Google Maps. (Previously known as angular2-google-maps
1010

1111
---
1212

13-
[![Build Status](https://travis-ci.org/SebastianM/angular-google-maps.svg?branch=master)](https://travis-ci.org/SebastianM/angular-google-maps) [![Questions?: join the chat](https://img.shields.io/badge/questions%3F-join%20the%20chat-blue.svg)](https://discord.gg/XAr2ACE) [![npm version](https://badge.fury.io/js/%40agm%2Fcore.svg)](https://www.npmjs.com/package/@agm/core) ![supported angular versions: 6+](https://img.shields.io/badge/supported%20angular%20versions-6+-green.svg)
13+
[![Build Status](https://travis-ci.org/SebastianM/angular-google-maps.svg?branch=master)](https://travis-ci.org/SebastianM/angular-google-maps) [![Questions?: join the chat](https://img.shields.io/badge/questions%3F-join%20the%20chat-blue.svg)](https://discord.gg/XAr2ACE) [![npm version](https://badge.fury.io/js/%40agm%2Fcore.svg)](https://www.npmjs.com/package/@agm/core) ![supported angular versions: 9+](https://img.shields.io/badge/supported%20angular%20versions-9.1+-green.svg)
1414

1515
---
1616

@@ -35,7 +35,7 @@ If you just want to play with AGM and don't want to set up a full project, you c
3535

3636
## Installation
3737

38-
`AGM` gets shipped via the Node Package Manager. So make sure that you have [NodeJS](https://nodejs.org) installed.
38+
`AGM` gets shipped via the Node Package Manager. So make sure that you have [NodeJS](https://nodejs.org) installed.
3939
You can install the package with the following command:
4040

4141
```shell

angular.json

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"cli": {
5+
"packageManager": "yarn"
6+
},
7+
"newProjectRoot": "packages",
8+
"projects": {
9+
"core": {
10+
"projectType": "library",
11+
"root": "packages/core",
12+
"sourceRoot": "packages/core/src",
13+
"prefix": "agm",
14+
"architect": {
15+
"build": {
16+
"builder": "@angular-devkit/build-ng-packagr:build",
17+
"options": {
18+
"tsConfig": "packages/core/tsconfig.lib.json",
19+
"project": "packages/core/ng-package.json"
20+
},
21+
"configurations": {
22+
"production": {
23+
"tsConfig": "packages/core/tsconfig.lib.prod.json"
24+
}
25+
}
26+
},
27+
"lint": {
28+
"builder": "@angular-devkit/build-angular:tslint",
29+
"options": {
30+
"tsConfig": [
31+
"packages/core/tsconfig.lint.json"
32+
],
33+
"exclude": [
34+
"**/node_modules/**"
35+
]
36+
}
37+
}
38+
}
39+
},
40+
"markerclusterer": {
41+
"projectType": "library",
42+
"root": "packages/markerclusterer",
43+
"sourceRoot": "packages/markerclusterer/src",
44+
"prefix": "agm",
45+
"architect": {
46+
"build": {
47+
"builder": "@angular-devkit/build-ng-packagr:build",
48+
"options": {
49+
"tsConfig": "packages/markerclusterer/tsconfig.lib.json",
50+
"project": "packages/markerclusterer/ng-package.json"
51+
},
52+
"configurations": {
53+
"production": {
54+
"tsConfig": "packages/markerclusterer/tsconfig.lib.prod.json"
55+
}
56+
}
57+
},
58+
"lint": {
59+
"builder": "@angular-devkit/build-angular:tslint",
60+
"options": {
61+
"tsConfig": [
62+
"packages/markerclusterer/tsconfig.lint.json"
63+
],
64+
"exclude": [
65+
"**/node_modules/**"
66+
]
67+
}
68+
}
69+
}
70+
},
71+
"snazzy-info-window": {
72+
"projectType": "library",
73+
"root": "packages/snazzy-info-window",
74+
"sourceRoot": "packages/snazzy-info-window/src",
75+
"prefix": "agm",
76+
"architect": {
77+
"build": {
78+
"builder": "@angular-devkit/build-ng-packagr:build",
79+
"options": {
80+
"tsConfig": "packages/snazzy-info-window/tsconfig.lib.json",
81+
"project": "packages/snazzy-info-window/ng-package.json"
82+
},
83+
"configurations": {
84+
"production": {
85+
"tsConfig": "packages/snazzy-info-window/tsconfig.lib.prod.json"
86+
}
87+
}
88+
},
89+
"lint": {
90+
"builder": "@angular-devkit/build-angular:tslint",
91+
"options": {
92+
"tsConfig": [
93+
"packages/snazzy-info-window/tsconfig.lint.json"
94+
],
95+
"exclude": [
96+
"**/node_modules/**"
97+
]
98+
}
99+
}
100+
}
101+
},
102+
"drawing": {
103+
"projectType": "library",
104+
"root": "packages/drawing",
105+
"sourceRoot": "packages/drawing/src",
106+
"prefix": "agm",
107+
"architect": {
108+
"build": {
109+
"builder": "@angular-devkit/build-ng-packagr:build",
110+
"options": {
111+
"tsConfig": "packages/drawing/tsconfig.lib.json",
112+
"project": "packages/drawing/ng-package.json"
113+
},
114+
"configurations": {
115+
"production": {
116+
"tsConfig": "packages/drawing/tsconfig.lib.prod.json"
117+
}
118+
}
119+
},
120+
"lint": {
121+
"builder": "@angular-devkit/build-angular:tslint",
122+
"options": {
123+
"tsConfig": [
124+
"packages/drawing/tsconfig.lint.json"
125+
],
126+
"exclude": [
127+
"**/node_modules/**"
128+
]
129+
}
130+
}
131+
}
132+
}},
133+
}

docs/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
baseURL = "http://angular-maps.com/"
22
languageCode = "en-us"
3-
title = "Angular 2+ Google Maps Components"
3+
title = "Angular Google Maps Components"
44
theme = "angular-google-maps"

0 commit comments

Comments
 (0)