Skip to content

Commit 262dfe2

Browse files
authored
Merge branch 'main' into fix/dish-pin-colour
2 parents 3ce643a + d20eb0b commit 262dfe2

18 files changed

Lines changed: 132 additions & 85 deletions

File tree

‎.github/workflows/publish-packages.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ jobs:
3636
echo "Released and tagged $TAG"
3737
done
3838
- run: node ./scripts/createRelease ${{ env.TAGS }}
39-
with:
39+
env:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

‎arcana.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ For these cases, this not-so-secret file denotes our not-anymore-arcane knowledg
88

99
1. Draw a dependency tree of POLAR packages with changes documented as `"unpublished"` in their respective `CHANGELOG.md` files.
1010
2. Start with the leafs. Update the version from `"unpublished"` to the appropriate version indicated by the nature of changes. If required, change the package.json dependencies to refer to minimum versions of dependencies used.
11-
3. Push to main. A pipeline is now running that detects the CHANGELOG change, updates the version, publishes the package to NPM, and creates a tag `@polar/package-name@x.y.z`.
12-
4. Create new release note on GitHub. Select the previously created tag, use it as title, and copy the relevant changelog. Link to the NPM package. If it's a client, add the NPM package to the artifacts for an easier download. See previous releases for formatting of contents and artifacts.
11+
3. Push to main. A pipeline is now running that detects the CHANGELOG change, updates the version, publishes the package to NPM, creates a tag `@polar/package-name@x.y.z`, and procudes a GitHub release.
12+
4. If it's a client, add the NPM package to the release artifacts for an easier download. See previous releases for formatting of contents and artifacts.
1313
5. Delete leafs from tree made in `1`. Go back to `2` until the tree is empty.
1414

1515
## Update process

‎package-lock.json‎

Lines changed: 71 additions & 65 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,8 @@
3737
"test:dev": "jest --coverage --coverageReporters=text --watchAll",
3838
"test:coverage": "jest --coverage"
3939
},
40-
"dependencies": {
41-
"@actions/github": "^5.1.1"
42-
},
4340
"devDependencies": {
41+
"@actions/github": "^5.1.1",
4442
"@babel/core": "^7.21.3",
4543
"@babel/preset-env": "^7.20.2",
4644
"@cyclonedx/cyclonedx-npm": "^1.7.2",
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## unpublished
4+
5+
- Fix: Increase type precision of EPSG codes from `string` to `EPSG:${string}`.
6+
37
## 1.0.0
48

59
Initial release.

‎packages/lib/getFeatures/gazetteer/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function getGazetteerFeatures(
2323
version: WFSVersion,
2424
memberSuffix: MemberSuffix,
2525
namespaces: string[],
26-
epsg: string,
26+
epsg: `EPSG:${string}`,
2727
options: AdditionalSearchOptions = {}
2828
): Promise<FeatureCollection> {
2929
let requestUrl = Object.entries(input).reduce(

‎packages/lib/getFeatures/gazetteer/parse.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export function parseGazetteerResponse(
1616
response: Response,
1717
memberSuffix: MemberSuffix,
1818
namespaces: string[],
19-
epsg: string,
19+
epsg: `EPSG:${string}`,
2020
title?: string | string[]
2121
): Promise<FeatureCollection> {
2222
return response.text().then((text) => {

‎packages/lib/getFeatures/types.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export interface AdditionalSearchOptions {
1515
/** Adds the possibility to have a 'title' attribute in a GeoJSON Feature */
1616
export interface PolarGeoJsonFeature extends GeoJsonFeature {
1717
/** The projection of the coordinates of the features */
18-
epsg: string
18+
epsg: `EPSG:${string}`
1919
/** Which fieldName to use for display purposes; e.g. used in the AddressSearch for the result list */
2020
title?: string
2121
}

packages/lib/createTestMountParameters/CHANGELOG.md renamed to packages/lib/testMountParameters/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# CHANGELOG
22

3-
## 1.3.0-mock.0
3+
## unpublished
4+
5+
- Fix: Test now uses a mock EPSG code instead of an empty string.
46

57
## 1.2.0
68

File renamed without changes.

0 commit comments

Comments
 (0)