Skip to content

Commit

Permalink
Misc fixups
Browse files Browse the repository at this point in the history
- Changed demo html page to use released polyline package.
- Added .prettierignore so that publishes don't fail from files in
  the /coverage directory
- Changed .gitignore to ignore .env.save files along with .env
- Small syntax change to maven publish script
  • Loading branch information
mbalfour-amzn committed Oct 29, 2024
1 parent dc260aa commit 3ceaae5
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
**/*.iml
**/.gradle
**/.env
**/.env.save
**/local.properties
**/captures
**/.externalNativeBuild
Expand Down
6 changes: 6 additions & 0 deletions javascript/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/.idea
/.vscode
/dist
/node_modules
/coverage
/package-lock.json
2 changes: 1 addition & 1 deletion javascript/demo/polyline-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<body>
<div id="map" />
<script src="https://unpkg.com/maplibre-gl/dist/maplibre-gl.js"></script>
<script src="../dist/polyline.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@aws/polyline"></script>

<script>
// Create a simple map using the default MapLibre demo tiles.
Expand Down
4 changes: 2 additions & 2 deletions javascript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion javascript/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aws/polyline",
"description": "A library for encoding and decoding polylines",
"version": "0.1.0",
"version": "0.1.1",
"keywords": [],
"author": {
"name": "Amazon Web Services",
Expand Down
2 changes: 1 addition & 1 deletion kotlin/polyline/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
publishing {
repositories {
maven {
name = "Polyline"
name = "polyline"
url = uri("https://aws.oss.sonatype.org/service/local/staging/deploy/maven2/")
credentials(PasswordCredentials::class)
}
Expand Down

0 comments on commit 3ceaae5

Please sign in to comment.