Skip to content

Commit

Permalink
0.3.2 - Updated imports and exports
Browse files Browse the repository at this point in the history
  • Loading branch information
ponlawat-w committed Dec 10, 2023
1 parent 6ed28fc commit 4aa9cdb
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 17 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,9 @@ jobs:
run: |
git config --global user.name "ponlawat-w"
git config --global user.email "[email protected]"
git tag -fa "v${{ steps.get-package-version.outputs.VERSION }}" -m "v${{ steps.get-package-version.outputs.VERSION }}"
git tag -fa "v${{ steps.get-package-version.outputs.VERSION }}" -F ./CHANGES.md
git push --force origin v${{ steps.get-package-version.outputs.VERSION }}
- name: Release
run: gh release create v${{ steps.get-package-version.outputs.VERSION }} -t v${{ steps.get-package-version.outputs.VERSION }} --notes-from-tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Updated imports and exports
18 changes: 9 additions & 9 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ol-osmwaysnap",
"type": "module",
"version": "0.3.1",
"version": "0.3.2",
"description": "OpenLayers Interaction Extension for Snapping Ways from OSM using Overpass API",
"keywords": [
"osm",
Expand Down Expand Up @@ -41,6 +41,6 @@
"webpack-cli": "^4.10.0"
},
"dependencies": {
"ol-osmoverpass": "^0.2.1"
"ol-osmoverpass": "^0.2.3"
}
}
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export { OSMWaySnapEventType, OSMWaySnapEvent, type OSMWaySnapOnSignature } from './event';
export { default as OSMWaySnap, type OSMWaySnapOptions } from './interaction';
export { default as LineStringUtils } from './line-string-utils';
export { OSMWaySnapEventType, OSMWaySnapEvent, type OSMWaySnapOnSignature } from './event.js';
export { default as OSMWaySnap, type OSMWaySnapOptions } from './interaction.js';
export { default as LineStringUtils } from './line-string-utils.js';
4 changes: 2 additions & 2 deletions src/interaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { Vector as VectorSource } from 'ol/source';
import { Circle, Fill, Stroke } from 'ol/style';
import Style, { createEditingStyle } from 'ol/style/Style';
import { OSMOverpassWaySource, type OSMOverpassSourceOptions } from 'ol-osmoverpass';
import { OSMWaySnapEvent, OSMWaySnapEventType } from './event';
import LineStringUtils from './line-string-utils';
import { OSMWaySnapEvent, OSMWaySnapEventType } from './event.js';
import LineStringUtils from './line-string-utils.js';
import type { MapBrowserEvent } from 'ol';
import type { EventsKey } from 'ol/events';
import type { Coordinate } from 'ol/coordinate';
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"module": "ES2020",
"moduleResolution": "Node",
"target": "ES2020",
"verbatimModuleSyntax": true,
"rootDir": "./src",
"declaration": true,
"declarationMap": true,
Expand Down

0 comments on commit 4aa9cdb

Please sign in to comment.