Skip to content

Commit

Permalink
v0.21.0
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Deubler <[email protected]>
  • Loading branch information
TerminalTim committed Mar 9, 2021
1 parent a14e26b commit 2d3f18a
Show file tree
Hide file tree
Showing 16 changed files with 179 additions and 27 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Install dependencies
run: yarn install --network-timeout ${{ env.yarn-network-timeout }}
- name: Build release package
Expand All @@ -51,6 +52,7 @@ jobs:
run: |
distTag=$(jq -r '.version | match(".*-([^.]*)").captures[0].string' package.json)
echo "::set-output name=dist-tag::${distTag:-latest}"
echo '//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}' > ~/.npmrc
- name: npm publish
if: matrix.os == 'ubuntu-latest'
uses: pascalgn/[email protected]
Expand All @@ -59,8 +61,8 @@ jobs:
tag_message: "v%s"
commit_pattern: "^Release (\\S+)"
workspace: "."
publish_command: "npx lerna"
publish_command: "lerna"
publish_args: "publish from-package --no-git-tag-version --yes --dist-tag ${{ steps.get-dist-tag.outputs.dist-tag }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
46 changes: 46 additions & 0 deletions .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: NPM Publish

on:
workflow_dispatch:

env:
yarn-network-timeout: 1000000

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '12'
registry-url: 'https://registry.npmjs.org'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Install dependencies
run: yarn install --network-timeout ${{ env.yarn-network-timeout }}
- name: Build documentation
run: yarn run build-doc
- name: Build release
run: yarn run build-release
- name: Get npm dist-tag
id: get-dist-tag
run: |
distTag=$(jq -r '.version | match(".*-([^.]*)").captures[0].string' package.json)
echo "::set-output name=dist-tag::${distTag:-latest}"
- name: npm publish
if: github.ref == 'refs/heads/master'
run: lerna publish from-package --no-git-tag-version --yes --dist-tag ${{ steps.get-dist-tag.outputs.dist-tag }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
## 0.21.0 (2021-3-9)
### editor
* added: typescript declarations for the public api interface
* fixed: extruded areas / Buildings can't be translated by user-interaction with the transformer utility in certain layer configurations
* fixed: x,y coordinates are flipped in deprecated "editor.PixelCoordinate" of legacy api interface
### display
* added: typescript declarations for the public api interface
* added: Lines, Circles and Rectangles can now be defined and displayed with dimensions in meters. e.g. style.radius = "1m"
* added: Support to offset Circles and Rects in meters e.g. style.offsetX = "1m"
* added: Lines can now be offset in meters to the left or right. e.g. lineStyle.offset = "1m"
* improved: pointer event triggering now supports a larger position offset for point styles
* fixed: broken event triggering of features that are styled using "zoomRange" values.
* fixed: invoke "styleValueFunctions" with the correct zoomlevel in any case
* fixed: text that uses stroke and alpha is displayed opaque
* fixed: missing pointer-events when the map is zoomed in very close (zoomlevel >22)
### core
* added: typescript declarations for the public api interface
### general
* added: typescript support in the api playground
* added: the playground now supports code completion/suggestions using the api type declarations.

## 0.20.0 (2021-2-12)
### editor
* added: Convert mixed geographical and pixel coordinates of various formats to GEOJSONCoordinates.
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"packages": [
"packages/*"
],
"version": "0.20.0",
"version": "0.21.0",
"npmClient": "yarn",
"useWorkspaces": true
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@here/xyz-maps",
"version": "0.20.0",
"version": "0.21.0",
"description": "XYZ Editor is an experimental and work in progress open-source map editor written in TypeScript/JavaScript",
"author": {
"name": "HERE Europe B.V.",
Expand Down
21 changes: 21 additions & 0 deletions packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
## 0.21.0 (2021-3-9)
### editor
* added: typescript declarations for the public api interface
* fixed: extruded areas / Buildings can't be translated by user-interaction with the transformer utility in certain layer configurations
* fixed: x,y coordinates are flipped in deprecated "editor.PixelCoordinate" of legacy api interface
### display
* added: typescript declarations for the public api interface
* added: Lines, Circles and Rectangles can now be defined and displayed with dimensions in meters. e.g. style.radius = "1m"
* added: Support to offset Circles and Rects in meters e.g. style.offsetX = "1m"
* added: Lines can now be offset in meters to the left or right. e.g. lineStyle.offset = "1m"
* improved: pointer event triggering now supports a larger position offset for point styles
* fixed: broken event triggering of features that are styled using "zoomRange" values.
* fixed: invoke "styleValueFunctions" with the correct zoomlevel in any case
* fixed: text that uses stroke and alpha is displayed opaque
* fixed: missing pointer-events when the map is zoomed in very close (zoomlevel >22)
### core
* added: typescript declarations for the public api interface
### general
* added: typescript support in the api playground
* added: the playground now supports code completion/suggestions using the api type declarations.

## 0.20.0 (2021-2-12)
### editor
* added: Convert mixed geographical and pixel coordinates of various formats to GEOJSONCoordinates.
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@here/xyz-maps-common",
"version": "0.20.0",
"version": "0.21.0",
"description": "Commonly used libraries of XYZ Maps.",
"author": {
"name": "HERE Europe B.V.",
Expand Down
21 changes: 21 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
## 0.21.0 (2021-3-9)
### editor
* added: typescript declarations for the public api interface
* fixed: extruded areas / Buildings can't be translated by user-interaction with the transformer utility in certain layer configurations
* fixed: x,y coordinates are flipped in deprecated "editor.PixelCoordinate" of legacy api interface
### display
* added: typescript declarations for the public api interface
* added: Lines, Circles and Rectangles can now be defined and displayed with dimensions in meters. e.g. style.radius = "1m"
* added: Support to offset Circles and Rects in meters e.g. style.offsetX = "1m"
* added: Lines can now be offset in meters to the left or right. e.g. lineStyle.offset = "1m"
* improved: pointer event triggering now supports a larger position offset for point styles
* fixed: broken event triggering of features that are styled using "zoomRange" values.
* fixed: invoke "styleValueFunctions" with the correct zoomlevel in any case
* fixed: text that uses stroke and alpha is displayed opaque
* fixed: missing pointer-events when the map is zoomed in very close (zoomlevel >22)
### core
* added: typescript declarations for the public api interface
### general
* added: typescript support in the api playground
* added: the playground now supports code completion/suggestions using the api type declarations.

## 0.20.0 (2021-2-12)
### editor
* added: Convert mixed geographical and pixel coordinates of various formats to GEOJSONCoordinates.
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@here/xyz-maps-core",
"version": "0.20.0",
"version": "0.21.0",
"description": "Core libs of XYZ Editor.",
"author": {
"name": "HERE Europe B.V.",
Expand All @@ -26,7 +26,7 @@
},
"publishConfig": {},
"dependencies": {
"@here/xyz-maps-common": "^0.20.0"
"@here/xyz-maps-common": "^0.21.0"
},
"devDependencies": {
"@mapbox/vector-tile": "^1.3.1",
Expand Down
21 changes: 21 additions & 0 deletions packages/display/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
## 0.21.0 (2021-3-9)
### editor
* added: typescript declarations for the public api interface
* fixed: extruded areas / Buildings can't be translated by user-interaction with the transformer utility in certain layer configurations
* fixed: x,y coordinates are flipped in deprecated "editor.PixelCoordinate" of legacy api interface
### display
* added: typescript declarations for the public api interface
* added: Lines, Circles and Rectangles can now be defined and displayed with dimensions in meters. e.g. style.radius = "1m"
* added: Support to offset Circles and Rects in meters e.g. style.offsetX = "1m"
* added: Lines can now be offset in meters to the left or right. e.g. lineStyle.offset = "1m"
* improved: pointer event triggering now supports a larger position offset for point styles
* fixed: broken event triggering of features that are styled using "zoomRange" values.
* fixed: invoke "styleValueFunctions" with the correct zoomlevel in any case
* fixed: text that uses stroke and alpha is displayed opaque
* fixed: missing pointer-events when the map is zoomed in very close (zoomlevel >22)
### core
* added: typescript declarations for the public api interface
### general
* added: typescript support in the api playground
* added: the playground now supports code completion/suggestions using the api type declarations.

## 0.20.0 (2021-2-12)
### editor
* added: Convert mixed geographical and pixel coordinates of various formats to GEOJSONCoordinates.
Expand Down
6 changes: 3 additions & 3 deletions packages/display/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@here/xyz-maps-display",
"version": "0.20.0",
"version": "0.21.0",
"description": "Map display of XYZ editor.",
"author": {
"name": "HERE Europe B.V.",
Expand All @@ -27,8 +27,8 @@
},
"publishConfig": {},
"dependencies": {
"@here/xyz-maps-common": "^0.20.0",
"@here/xyz-maps-core": "^0.20.0"
"@here/xyz-maps-common": "^0.21.0",
"@here/xyz-maps-core": "^0.21.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^12.0.0",
Expand Down
21 changes: 21 additions & 0 deletions packages/editor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
## 0.21.0 (2021-3-9)
### editor
* added: typescript declarations for the public api interface
* fixed: extruded areas / Buildings can't be translated by user-interaction with the transformer utility in certain layer configurations
* fixed: x,y coordinates are flipped in deprecated "editor.PixelCoordinate" of legacy api interface
### display
* added: typescript declarations for the public api interface
* added: Lines, Circles and Rectangles can now be defined and displayed with dimensions in meters. e.g. style.radius = "1m"
* added: Support to offset Circles and Rects in meters e.g. style.offsetX = "1m"
* added: Lines can now be offset in meters to the left or right. e.g. lineStyle.offset = "1m"
* improved: pointer event triggering now supports a larger position offset for point styles
* fixed: broken event triggering of features that are styled using "zoomRange" values.
* fixed: invoke "styleValueFunctions" with the correct zoomlevel in any case
* fixed: text that uses stroke and alpha is displayed opaque
* fixed: missing pointer-events when the map is zoomed in very close (zoomlevel >22)
### core
* added: typescript declarations for the public api interface
### general
* added: typescript support in the api playground
* added: the playground now supports code completion/suggestions using the api type declarations.

## 0.20.0 (2021-2-12)
### editor
* added: Convert mixed geographical and pixel coordinates of various formats to GEOJSONCoordinates.
Expand Down
8 changes: 4 additions & 4 deletions packages/editor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@here/xyz-maps-editor",
"version": "0.20.0",
"version": "0.21.0",
"description": "XYZ editor.",
"author": {
"name": "HERE Europe B.V.",
Expand All @@ -27,9 +27,9 @@
"build-dts": "npx buildDts -p ."
},
"dependencies": {
"@here/xyz-maps-common": "^0.20.0",
"@here/xyz-maps-core": "^0.20.0",
"@here/xyz-maps-display": "^0.20.0"
"@here/xyz-maps-common": "^0.21.0",
"@here/xyz-maps-core": "^0.21.0",
"@here/xyz-maps-display": "^0.21.0"
},
"devDependencies": {
"@rollup/plugin-typescript": "^2.1.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/playground/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@here/xyz-maps-playground",
"version": "0.20.0",
"version": "0.21.0",
"description": "Playground for XYZ editor.",
"author": {
"name": "HERE Europe B.V.",
Expand All @@ -19,10 +19,10 @@
"dev": "rollup -c -w"
},
"dependencies": {
"@here/xyz-maps-common": "^0.20.0",
"@here/xyz-maps-core": "^0.20.0",
"@here/xyz-maps-display": "^0.20.0",
"@here/xyz-maps-editor": "^0.20.0",
"@here/xyz-maps-common": "^0.21.0",
"@here/xyz-maps-core": "^0.21.0",
"@here/xyz-maps-display": "^0.21.0",
"@here/xyz-maps-editor": "^0.21.0",
"@monaco-editor/react": "^4.0.7",
"monaco-editor": "^0.21.3",
"react": "^17.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@here/xyz-maps-test",
"version": "0.20.0",
"version": "0.21.0",
"description": "Tests for XYZ editor.",
"author": {
"name": "HERE Europe B.V.",
Expand Down
11 changes: 5 additions & 6 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@here/xyz-maps-utils",
"version": "0.20.0",
"version": "0.21.0",
"description": "Development utilities used to build XYZ Maps modules",
"author": {
"name": "HERE Europe B.V.",
Expand All @@ -13,14 +13,13 @@
"directory": "packages/utils"
},
"private": true,
"scripts": {
},
"scripts": {},
"devDependencies": {
"@microsoft/api-extractor": "^7.13.1",
"typescript": "^3.9.6",
"cross-spawn": "^7.0.3",
"ts-morph": "^9.1.0",
"yargs": "^16.2.0",
"cross-spawn": "^7.0.3"
"typescript": "^3.9.6",
"yargs": "^16.2.0"
},
"bin": {
"buildDts": "./lib/buildDts/cli.js"
Expand Down

0 comments on commit 2d3f18a

Please sign in to comment.