-
Notifications
You must be signed in to change notification settings - Fork 817
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
140 changed files
with
13,773 additions
and
5,379 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,48 @@ | ||
node_modules/ | ||
dist | ||
docs_generated | ||
packages/**/*.js | ||
packages/**/*.map | ||
packages/**/*.ngfactory.js | ||
.tmp | ||
test-built | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# compiled output | ||
/dist | ||
/tmp | ||
/out-tsc | ||
/docs/public | ||
# Only exists if Bazel was run | ||
/bazel-out | ||
|
||
# dependencies | ||
/node_modules | ||
/packages/*/node_modules | ||
|
||
# profiling files | ||
chrome-profiler-events*.json | ||
speed-measure-plugin*.json | ||
|
||
# IDEs and editors | ||
/.idea | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
|
||
# IDE - VSCode | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
.history/* | ||
|
||
# misc | ||
/.sass-cache | ||
/connect.lock | ||
/coverage | ||
/libpeerconnection.log | ||
npm-debug.log | ||
*.ngfactory.ts | ||
coverage/ | ||
.*.swp | ||
.idea/ | ||
yarn-error.log | ||
testem.log | ||
/typings | ||
|
||
# System Files | ||
.DS_Store | ||
docs/public | ||
agm-*-*.tgz | ||
Thumbs.db |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"jest.pathToJest": "yarn test --" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
{ | ||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||
"version": 1, | ||
"cli": { | ||
"packageManager": "yarn" | ||
}, | ||
"newProjectRoot": "packages", | ||
"projects": { | ||
"core": { | ||
"projectType": "library", | ||
"root": "packages/core", | ||
"sourceRoot": "packages/core/src", | ||
"prefix": "agm", | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-ng-packagr:build", | ||
"options": { | ||
"tsConfig": "packages/core/tsconfig.lib.json", | ||
"project": "packages/core/ng-package.json" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"tsConfig": "packages/core/tsconfig.lib.prod.json" | ||
} | ||
} | ||
}, | ||
"lint": { | ||
"builder": "@angular-devkit/build-angular:tslint", | ||
"options": { | ||
"tsConfig": [ | ||
"packages/core/tsconfig.lint.json" | ||
], | ||
"exclude": [ | ||
"**/node_modules/**" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"markerclusterer": { | ||
"projectType": "library", | ||
"root": "packages/markerclusterer", | ||
"sourceRoot": "packages/markerclusterer/src", | ||
"prefix": "agm", | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-ng-packagr:build", | ||
"options": { | ||
"tsConfig": "packages/markerclusterer/tsconfig.lib.json", | ||
"project": "packages/markerclusterer/ng-package.json" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"tsConfig": "packages/markerclusterer/tsconfig.lib.prod.json" | ||
} | ||
} | ||
}, | ||
"lint": { | ||
"builder": "@angular-devkit/build-angular:tslint", | ||
"options": { | ||
"tsConfig": [ | ||
"packages/markerclusterer/tsconfig.lint.json" | ||
], | ||
"exclude": [ | ||
"**/node_modules/**" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"snazzy-info-window": { | ||
"projectType": "library", | ||
"root": "packages/snazzy-info-window", | ||
"sourceRoot": "packages/snazzy-info-window/src", | ||
"prefix": "agm", | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-ng-packagr:build", | ||
"options": { | ||
"tsConfig": "packages/snazzy-info-window/tsconfig.lib.json", | ||
"project": "packages/snazzy-info-window/ng-package.json" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"tsConfig": "packages/snazzy-info-window/tsconfig.lib.prod.json" | ||
} | ||
} | ||
}, | ||
"lint": { | ||
"builder": "@angular-devkit/build-angular:tslint", | ||
"options": { | ||
"tsConfig": [ | ||
"packages/snazzy-info-window/tsconfig.lint.json" | ||
], | ||
"exclude": [ | ||
"**/node_modules/**" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"drawing": { | ||
"projectType": "library", | ||
"root": "packages/drawing", | ||
"sourceRoot": "packages/drawing/src", | ||
"prefix": "agm", | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-ng-packagr:build", | ||
"options": { | ||
"tsConfig": "packages/drawing/tsconfig.lib.json", | ||
"project": "packages/drawing/ng-package.json" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"tsConfig": "packages/drawing/tsconfig.lib.prod.json" | ||
} | ||
} | ||
}, | ||
"lint": { | ||
"builder": "@angular-devkit/build-angular:tslint", | ||
"options": { | ||
"tsConfig": [ | ||
"packages/drawing/tsconfig.lint.json" | ||
], | ||
"exclude": [ | ||
"**/node_modules/**" | ||
] | ||
} | ||
} | ||
} | ||
}}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
baseURL = "http://angular-maps.com/" | ||
languageCode = "en-us" | ||
title = "Angular 2+ Google Maps Components" | ||
title = "Angular Google Maps Components" | ||
theme = "angular-google-maps" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
module.exports = { | ||
setupTestFrameworkScriptFile: './jest.setup.js', | ||
transform: { | ||
'^.+\\.ts?$': 'ts-jest' | ||
preset: 'jest-preset-angular', | ||
//https://github.com/thymikee/jest-preset-angular/issues/167#issuecomment-459686655 | ||
modulePathIgnorePatterns: ["<rootDir>/dist/"], | ||
moduleNameMapper: { | ||
"^@agm/(.*)$": "<rootDir>/dist/$1", | ||
}, | ||
testRegex: '(/packages/.*\\.spec)\\.ts$', | ||
moduleFileExtensions: [ | ||
'js', | ||
'ts' | ||
], | ||
collectCoverageFrom: [ | ||
'packages/**/*.ts', | ||
'!packages/**/index.ts' | ||
] | ||
}; | ||
setupFilesAfterEnv: ['<rootDir>/jest.setup.ts'], | ||
}; |
Oops, something went wrong.