Skip to content

Commit

Permalink
Merge pull request #41 from OrdnanceSurvey/dev
Browse files Browse the repository at this point in the history
Release/0.2.1
  • Loading branch information
JEPooley authored Nov 4, 2022
2 parents a3fcc86 + cddd5db commit d529138
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.2.0](https://github.com/OrdnanceSurvey/osdatahub-js/releases/tag/v0.2.0) - 2022-11-02
## [[0.2.1](https://github.com/OrdnanceSurvey/osdatahub-js/releases/tag/v0.2.1)] - 2022-11-04

### Changed

- Updated README with correct UNPKG link for browser use of osdatahub

## [[0.2.0](https://github.com/OrdnanceSurvey/osdatahub-js/releases/tag/v0.2.0)] - 2022-11-02

### Added

Expand All @@ -21,7 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- node-fetch replaced by cross-fetch
- Default limits set to 100 (from 1000)

## [0.1.1](https://github.com/OrdnanceSurvey/osdatahub-js/releases/tag/v0.1.1) - 2022-10-10
## [[0.1.1](https://github.com/OrdnanceSurvey/osdatahub-js/releases/tag/v0.1.1)] - 2022-10-10

### Added

Expand All @@ -33,6 +39,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[Unreleased]: [https://github.com/OrdnanceSurvey/osdatahub-js/compare/main...dev ](https://github.com/OrdnanceSurvey/osdatahub-js/compare/main...dev)

[0.2.1]: [https://github.com/OrdnanceSurvey/osdatahub-js/compare/v0.2.0...v0.2.1 ](https://github.com/OrdnanceSurvey/osdatahub-js/compare/v0.2.0...v0.2.1)

[0.2.0]: [https://github.com/OrdnanceSurvey/osdatahub-js/compare/v0.1.1...v0.2.0 ](https://github.com/OrdnanceSurvey/osdatahub-js/compare/v0.1.1...v0.2.0)

[0.1.1]: [https://github.com/OrdnanceSurvey/osdatahub-js/releases/tag/v0.1.1 ](https://github.com/OrdnanceSurvey/osdatahub-js/releases/tag/v0.1.1)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ import { placesAPI } from "osdatahub";
Use directly in the browser with the following script tag:

```html
<script src="https://unpkg.com/osdatahub@0.2.0/dist/bundle.min.js"></script>
<script src="https://unpkg.com/osdatahub/dist/bundle.min.js"></script>
```

**Note:** Be wary of exposing your OS Data Hub API key when running osdatahub in the browser!
Expand Down
4 changes: 2 additions & 2 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,6 +1,6 @@
{
"name": "osdatahub",
"version": "0.2.0",
"version": "0.2.1",
"description": "A JavaScript wrapper for the Ordnance Survey NGD API, Names API and Places API.",
"main": "build/index.js",
"type": "module",
Expand All @@ -12,7 +12,7 @@
"test-crs": "npm test -- ./tests/crs.test.ts",
"build": "npx tsc",
"bundle": "npm run build && npx mkdirp dist && browserify ./build/index.js --standalone osdatahub > dist/bundle.js -t babelify && uglifyjs ./dist/bundle.js -o ./dist/bundle.min.js",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "npx eslint ./src ./tests",
"prepare": "npm run build && npm run bundle",
"prepublishOnly": "npm test && npm run lint && npm run bundle",
Expand Down

0 comments on commit d529138

Please sign in to comment.