Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DNM] Add raster-dem encoding properties #3

Closed
wants to merge 125 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
9194b3c
bump version to 19 (#123)
HarelM Apr 14, 2023
786b1fd
Fix release notes (#125)
HarelM Apr 14, 2023
faa621c
Bugfix: restore support for Color instances in Color.parse (#128)
kajkal Apr 16, 2023
8e5b3c8
Use dark logo (#127)
birkskyum Apr 16, 2023
b743740
Bump dts-bundle-generator from 7.2.0 to 8.0.1 (#131)
dependabot[bot] Apr 17, 2023
373754a
Bump @rollup/plugin-commonjs from 24.0.1 to 24.1.0 (#132)
dependabot[bot] Apr 17, 2023
51a65d0
Bump semver from 7.3.8 to 7.4.0 (#130)
dependabot[bot] Apr 17, 2023
b593a14
Bump rollup from 3.20.2 to 3.20.4 (#133)
dependabot[bot] Apr 17, 2023
b414c14
Bump version to 19.0.1 (#134)
HarelM Apr 17, 2023
4f849af
Automated migration of not-CSS-Color-specification-compliant hsl colo…
kajkal Apr 19, 2023
dcb12f3
Use d50 referent instead of d65 for lab (and by extension hcl) color …
ChrisLoer Apr 28, 2023
b8a4b1a
Bump eslint from 8.38.0 to 8.39.0 (#136)
dependabot[bot] Apr 30, 2023
8d0d576
Bump semver from 7.4.0 to 7.5.0 (#137)
dependabot[bot] Apr 30, 2023
b09be2d
Bump rollup from 3.20.4 to 3.21.0 (#139)
dependabot[bot] Apr 30, 2023
40dfdd5
Bump @types/jest from 29.5.0 to 29.5.1 (#142)
dependabot[bot] Apr 30, 2023
98fb5a1
Bump eslint-plugin-jsdoc from 41.1.1 to 43.0.7 (#143)
dependabot[bot] Apr 30, 2023
6c7285f
Bump @typescript-eslint/parser from 5.58.0 to 5.59.1 (#147)
dependabot[bot] Apr 30, 2023
035d95a
Bump @types/node from 18.15.11 to 18.16.3 (#149)
dependabot[bot] Apr 30, 2023
90bcace
Bump @typescript-eslint/eslint-plugin from 5.58.0 to 5.59.1 (#148)
dependabot[bot] Apr 30, 2023
d2ce655
Bump version to 19.1.0 (#150)
HarelM Apr 30, 2023
30cbd60
Remove mapbox references from docs and CLI tools (#160)
typebrook May 9, 2023
28140e5
Update MapLibre Native (#173)
birkskyum May 16, 2023
754a680
Custom CSS Color 4 compliant css color parser (#175)
kajkal May 22, 2023
0cca8cf
Release 19.2.0 (#185)
birkskyum May 22, 2023
f1a5661
Skip running color match regex, if not required (#186)
pramilk May 26, 2023
a1a9e0c
Bump @rollup/plugin-typescript from 11.1.0 to 11.1.1 (#166)
dependabot[bot] Jun 7, 2023
ecb117d
Bump semver from 7.5.0 to 7.5.1 (#167)
dependabot[bot] Jun 7, 2023
b8f5f4f
Bump @rollup/plugin-commonjs from 24.1.0 to 25.0.0 (#169)
dependabot[bot] Jun 7, 2023
6cf03f1
Bump jest-canvas-mock from 2.5.0 to 2.5.1 (#181)
dependabot[bot] Jun 7, 2023
9d16ee3
Bump @types/node from 18.16.3 to 20.2.5 (#194)
dependabot[bot] Jun 7, 2023
99a070e
Bump @antfu/utils from 0.7.2 to 0.7.4 in /docs (#195)
dependabot[bot] Jun 7, 2023
ad3f951
Bump vite from 4.2.1 to 4.2.3 in /docs (#205)
dependabot[bot] Jun 7, 2023
47136f2
Bump rollup from 3.21.0 to 3.24.0 (#208)
dependabot[bot] Jun 7, 2023
40ab1c5
Bump @rollup/plugin-terser from 0.4.1 to 0.4.3 (#177)
dependabot[bot] Jun 7, 2023
a5c5f65
Bump tslib from 2.5.0 to 2.5.3 (#201)
dependabot[bot] Jun 7, 2023
b184538
Bump eslint-plugin-jsdoc from 43.0.7 to 46.2.5 (#209)
dependabot[bot] Jun 7, 2023
2284b1f
Bump @typescript-eslint/eslint-plugin from 5.59.1 to 5.59.9 (#211)
dependabot[bot] Jun 7, 2023
79260dd
Bump @rollup/plugin-node-resolve from 15.0.2 to 15.1.0 (#200)
dependabot[bot] Jun 7, 2023
6733343
Bump typescript from 5.0.4 to 5.1.3 (#198)
dependabot[bot] Jun 7, 2023
1263e9b
Bump @typescript-eslint/parser from 5.59.1 to 5.59.9 (#210)
dependabot[bot] Jun 7, 2023
1700f28
Bump @types/jest from 29.5.1 to 29.5.2 (#203)
dependabot[bot] Jun 7, 2023
2c7a621
adhere to naming convention of maplibre (#212)
birkskyum Jun 10, 2023
5c4b8b6
remove dependency on @mapbox/point-geometry (#207)
rotu Jun 14, 2023
5a76ac6
Add coverage to codecov and automerge to dependabot (#238)
HarelM Jun 29, 2023
633b699
Bump semver from 7.5.1 to 7.5.3 (#234)
dependabot[bot] Jun 29, 2023
18e6e4c
Bump eslint-plugin-jest from 27.2.1 to 27.2.2 (#230)
dependabot[bot] Jun 29, 2023
69893f3
Bump @typescript-eslint/parser from 5.59.9 to 5.60.1 (#239)
dependabot[bot] Jun 29, 2023
fee0a7b
Bump @rollup/plugin-commonjs from 25.0.0 to 25.0.2 (#235)
dependabot[bot] Jun 29, 2023
99fc211
Bump @typescript-eslint/eslint-plugin from 5.59.9 to 5.60.1 (#241)
dependabot[bot] Jun 29, 2023
6918294
Bump rollup from 3.24.0 to 3.25.3 (#240)
dependabot[bot] Jun 29, 2023
943e306
Update automerge-dependabot.yml (#244)
HarelM Jun 29, 2023
b05ca8f
Bump eslint and @types/eslint (#227)
dependabot[bot] Jun 29, 2023
ba5a1aa
Bump @types/node from 20.2.5 to 20.3.2 (#243)
dependabot[bot] Jun 29, 2023
94ad3e5
Bump dependabot/fetch-metadata from 1.3.6 to 1.6.0 (#245)
dependabot[bot] Jul 3, 2023
c67ba4d
Bump eslint-plugin-jsdoc from 46.2.5 to 46.4.3 (#247)
dependabot[bot] Jul 3, 2023
10855eb
Bump typescript from 5.1.3 to 5.1.6 (#246)
dependabot[bot] Jul 3, 2023
965ff5a
Bump jest-canvas-mock from 2.5.1 to 2.5.2 (#248)
dependabot[bot] Jul 3, 2023
f9440ed
Bump ts-jest from 29.1.0 to 29.1.1 (#250)
dependabot[bot] Jul 3, 2023
7313279
Bump @rollup/plugin-typescript from 11.1.1 to 11.1.2 (#252)
dependabot[bot] Jul 3, 2023
0ef2fd1
Bump @types/node from 20.3.2 to 20.3.3 (#253)
dependabot[bot] Jul 3, 2023
2239bd4
Bump rollup from 3.25.3 to 3.26.0 (#251)
dependabot[bot] Jul 3, 2023
c98fb23
Bump tslib from 2.5.3 to 2.6.0 (#249)
dependabot[bot] Jul 3, 2023
601ab81
Bump eslint from 8.43.0 to 8.44.0 (#254)
dependabot[bot] Jul 3, 2023
53186c4
Trim css color before parsing (#255)
kajkal Jul 9, 2023
9a26dac
Bump @typescript-eslint/parser from 5.60.1 to 5.61.0 (#257)
dependabot[bot] Jul 10, 2023
c09d377
Bump rollup from 3.26.0 to 3.26.2 (#256)
dependabot[bot] Jul 10, 2023
0b20ba9
Bump @types/eslint from 8.40.2 to 8.44.0 (#261)
dependabot[bot] Jul 10, 2023
dcbb164
Bump tough-cookie from 4.1.2 to 4.1.3 (#264)
dependabot[bot] Jul 10, 2023
4fe1969
Bump semver from 7.5.3 to 7.5.4 (#263)
dependabot[bot] Jul 10, 2023
7de39c6
Bump @typescript-eslint/eslint-plugin from 5.60.1 to 5.61.0 (#258)
dependabot[bot] Jul 10, 2023
b7297fe
Bump jest-environment-jsdom from 29.5.0 to 29.6.1 (#259)
dependabot[bot] Jul 10, 2023
9ebd957
Bump @types/node from 20.3.3 to 20.4.1 (#260)
dependabot[bot] Jul 10, 2023
aeb93a0
Bump jest from 29.5.0 to 29.6.1 (#262)
dependabot[bot] Jul 10, 2023
75a03e0
Bump version to 19.2.2 (#265)
kajkal Jul 11, 2023
ab99591
Bump semver from 6.3.0 to 6.3.1 in /docs (#266)
dependabot[bot] Jul 11, 2023
10aff95
Bump eslint-plugin-jest from 27.2.2 to 27.2.3 (#268)
dependabot[bot] Jul 17, 2023
f80ef02
Bump @typescript-eslint/parser from 5.61.0 to 5.62.0 (#270)
dependabot[bot] Jul 17, 2023
c51bdac
Bump eslint from 8.44.0 to 8.45.0 (#272)
dependabot[bot] Jul 17, 2023
1db0f5b
Bump @types/jest from 29.5.2 to 29.5.3 (#271)
dependabot[bot] Jul 17, 2023
b0b8734
Bump @rollup/plugin-commonjs from 25.0.2 to 25.0.3 (#274)
dependabot[bot] Jul 17, 2023
04194a8
Bump @types/node from 20.4.1 to 20.4.2 (#273)
dependabot[bot] Jul 17, 2023
e67d924
Bump eslint-plugin-jsdoc from 46.4.3 to 46.4.4 (#275)
dependabot[bot] Jul 17, 2023
141ca39
Add text-variable-anchor-offset property (#228)
drwestco Jul 19, 2023
c6b3331
Bump word-wrap from 1.2.3 to 1.2.4 (#276)
dependabot[bot] Jul 19, 2023
2392b37
Bump version to 19.3.0 (#277)
drwestco Jul 19, 2023
8e81b04
Bump eslint-plugin-react from 7.32.2 to 7.33.0 (#278)
dependabot[bot] Jul 24, 2023
65b88a8
Bump @types/node from 20.4.2 to 20.4.4 (#279)
dependabot[bot] Jul 24, 2023
eb47a4a
Bump rollup from 3.26.2 to 3.26.3 (#281)
dependabot[bot] Jul 24, 2023
d029da3
Bump rollup from 3.26.3 to 3.27.0 (#282)
dependabot[bot] Jul 31, 2023
2f0744a
Bump jest from 29.6.1 to 29.6.2 (#285)
dependabot[bot] Jul 31, 2023
4006d77
Bump eslint-plugin-import from 2.27.5 to 2.28.0 (#283)
dependabot[bot] Jul 31, 2023
1ac3ab0
Bump tslib from 2.6.0 to 2.6.1 (#286)
dependabot[bot] Jul 31, 2023
0095beb
Bump @types/node from 20.4.4 to 20.4.5 (#291)
dependabot[bot] Jul 31, 2023
c28d166
Bump jest-environment-jsdom from 29.6.1 to 29.6.2 (#289)
dependabot[bot] Jul 31, 2023
8d69618
Bump eslint-plugin-jsdoc from 46.4.4 to 46.4.5 (#290)
dependabot[bot] Jul 31, 2023
4082a02
Bump eslint and @types/eslint (#288)
dependabot[bot] Jul 31, 2023
b1f7413
Bump eslint-plugin-react from 7.33.0 to 7.33.1 (#287)
dependabot[bot] Jul 31, 2023
303d915
Bump @types/eslint from 8.44.1 to 8.44.2 (#292)
dependabot[bot] Aug 7, 2023
12bccac
Bump eslint-plugin-jsdoc from 46.4.5 to 46.4.6 (#293)
dependabot[bot] Aug 7, 2023
ce0e564
Bump rollup from 3.27.0 to 3.27.2 (#296)
dependabot[bot] Aug 7, 2023
8caa43f
Bump @types/node from 20.4.5 to 20.4.8 (#295)
dependabot[bot] Aug 7, 2023
d38ab8c
Bump @rollup/plugin-commonjs from 25.0.3 to 25.0.4 (#300)
dependabot[bot] Aug 14, 2023
2a7f2fb
Bump @types/node from 20.4.8 to 20.5.0 (#301)
dependabot[bot] Aug 14, 2023
50e7161
Bump eslint from 8.46.0 to 8.47.0 (#303)
dependabot[bot] Aug 14, 2023
1bed0c6
Bump rollup from 3.27.2 to 3.28.0 (#302)
dependabot[bot] Aug 14, 2023
fcc156c
Update docs to describe raster-fade-duration's effect on rendering vi…
neodescis Aug 16, 2023
aff23cd
Bump @types/node from 20.5.0 to 20.5.1 (#305)
dependabot[bot] Aug 21, 2023
fd3b654
Bump eslint-plugin-jsdoc from 46.4.6 to 46.5.0 (#304)
dependabot[bot] Aug 21, 2023
67aa38b
Bump eslint-plugin-import from 2.28.0 to 2.28.1 (#308)
dependabot[bot] Aug 21, 2023
15fef90
Bump @rollup/plugin-node-resolve from 15.1.0 to 15.2.0 (#307)
dependabot[bot] Aug 21, 2023
f023c7d
Bump tslib from 2.6.1 to 2.6.2 (#309)
dependabot[bot] Aug 21, 2023
d665496
Bump eslint-plugin-react from 7.33.1 to 7.33.2 (#310)
dependabot[bot] Aug 21, 2023
4ce1aa5
Bump eslint from 8.47.0 to 8.48.0 (#313)
dependabot[bot] Aug 28, 2023
ebd9646
Bump jest-environment-jsdom from 29.6.2 to 29.6.4 (#314)
dependabot[bot] Aug 28, 2023
1494a9b
Bump jest and @types/jest (#315)
dependabot[bot] Aug 28, 2023
38d71df
Bump rollup from 3.28.0 to 3.28.1 (#317)
dependabot[bot] Aug 28, 2023
86a651c
Bump @types/node from 20.5.1 to 20.5.7 (#318)
dependabot[bot] Aug 28, 2023
053a05d
Bump @rollup/plugin-node-resolve from 15.2.0 to 15.2.1 (#320)
dependabot[bot] Aug 28, 2023
222ec8a
Bump @rollup/plugin-typescript from 11.1.2 to 11.1.3 (#319)
dependabot[bot] Aug 28, 2023
553e7b7
Bump typescript from 5.1.6 to 5.2.2 (#321)
dependabot[bot] Aug 28, 2023
c31c061
Bump @types/node from 20.5.7 to 20.5.9 (#323)
dependabot[bot] Sep 4, 2023
cf798db
Bump eslint-plugin-jsdoc from 46.5.0 to 46.5.1 (#325)
dependabot[bot] Sep 4, 2023
67e455a
Add parameters
ibesora Sep 15, 2023
5c21521
Add changelog
ibesora Sep 15, 2023
d949804
Remove dist from .gitignore
ibesora Sep 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/automerge-dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Automerge Dependabot

on: pull_request

permissions: write-all

jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve Dependabot PRs
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
4 changes: 2 additions & 2 deletions .github/workflows/publish-style-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
with:
tag: ${{ steps.prepare_release.outputs.version_tag }}
name: ${{steps.prepare_release.outputs.version_tag }}
body: ${{ steps.release_notes.outputs.release_notes }}
bodyFile: ${{ steps.release_notes.outputs.release_notes }}
draft: false
prerelease: false

Expand All @@ -82,4 +82,4 @@ jobs:
run: |
npm publish --access=public --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ORG_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_ORG_TOKEN }}
11 changes: 8 additions & 3 deletions .github/workflows/test-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,13 @@ jobs:
with:
node-version: lts/*
- run: npm ci
- run: npm run jest-ci -- --selectProjects unit --testPathIgnorePatterns "/src/(gl|render|ui)/"
- run: npm run jest-ci -- --selectProjects integration --testPathIgnorePatterns "/test/integration/(query|browser|build)/"
- run: npm run jest-ci -- --coverage --coverageDirectory=coverage-unit --coverageReporters json --selectProjects unit
- run: npm run jest-ci -- --coverage --coverageDirectory=coverage-integration --coverageReporters json --selectProjects integration
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ${{ github.workspace }}/coverage-unit/coverage-final.json, ${{ github.workspace }}/coverage-integration/coverage-final.json
verbose: true
packaging-tests:
name: Packaging and Build tests
strategy:
Expand All @@ -52,4 +57,4 @@ jobs:
- run: npm run generate-typings
- run: npm run build
- run: npm run jest-ci -- --selectProjects build
if: success() || failure()
if: success() || failure()
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
node_modules
.eslintcache
tsc
dist
.DS_Store
*/**/*.g.ts
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 16.14.2
55 changes: 52 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,72 @@
## main

* Document `raster-fade-duration` property's effect on rendering a video. [#297](https://github.com/maplibre/maplibre-style-spec/pull/297)
* Add raster dem source `redMix`, `greenMix`, `blueMix`, `baseMix` properties [#326](https://github.com/maplibre/maplibre-style-spec/issues/326)

## 19.3.0

### ✨ Features and improvements

* Add style property definition and validation for symbol layer `text-variable-anchor-offset` layout property. [#112](https://github.com/maplibre/maplibre-style-spec/issues/112)

## 19.2.2

### ✨ Features and improvements

* Trim css color before parsing [#255](https://github.com/maplibre/maplibre-style-spec/pull/255)

## 19.2.1
### ✨ Features and improvements

* Skip running color match regex for hex color or rgb, if not required [#186](https://github.com/maplibre/maplibre-style-spec/pull/186)

## 19.2.0

### ✨ Features and improvements

* Remove mapbox reference from docs and test cases [#111](https://github.com/maplibre/maplibre-style-spec/issues/111)
* Custom CSS Color 4 compliant css color parser [#175](https://github.com/maplibre/maplibre-style-spec/issues/175)

## 19.1.0

### ✨ Features and improvements

* Use D50 white point instead of D65 in HCL/LAB color spaces [#146](https://github.com/maplibre/maplibre-style-spec/pull/146)
* Automated migration of not-CSS-Color-specification-compliant hsl color values [#135](https://github.com/maplibre/maplibre-style-spec/pull/135)

## 19.0.1

### 🐛 Bug fixes

* Restore support for `Color` instances in `Color.parse` [#128](https://github.com/maplibre/maplibre-style-spec/pull/128)


## 19.0.0

### ✨ Features and improvements

* Add support for defining colors using CSS Color 4 syntax [#94](https://github.com/maplibre/maplibre-style-spec/pull/94)
* [Breaking] Interpretation of interpolation of colors with alpha channel equal to 0 has changed. When interpolating colors with alpha channel equal to 0, the values of the other color channels in the specified color space are included in the calculation. Previously they were ignored and only the alpha value of the other, not fully transparent, color was interpolated. [#94](https://github.com/maplibre/maplibre-style-spec/pull/94)

### 🐛 Bug fixes

* Fix color interpolation in HCL and LAB color spaces to use d50 white point instead of d65, in conformance with CSS spec [#146](https://github.com/maplibre/maplibre-style-spec/pull/146)

* Fix incorrect color interpolation in HCL and LAB color spaces when interpolation results are outside the sRGB gamut. [#94](https://github.com/maplibre/maplibre-style-spec/pull/94)

### Breaking changes

Interpretation of interpolation of colors with alpha channel equal to 0 has changed. When interpolating colors with alpha channel equal to 0, the values of the other color channels in the specified color space are included in the calculation. Previously they were ignored and only the alpha value of the other, not fully transparent, color was interpolated. [#94](https://github.com/maplibre/maplibre-style-spec/pull/94)


## 18.0.0
* The maplibre style specification and utilities now has it's own repository. The major bump is mainly a precautionary measure, in case the restructuring causes friction.

## 17.1.0
* Add support for multiple sprites in one style (#1805)
* Add support for multiple sprites in one style [#1805](https://github.com/maplibre/maplibre-style-spec/pull/1805)

## 17.0.2

* Fix errors when running style-spec bin scripts and added missing help. Removed unnecessary script 'gl-style-composite'. ([#1971](https://github.com/maplibre/maplibre-gl-js/pull/1971))
* Fix errors when running style-spec bin scripts and added missing help. Removed unnecessary script 'gl-style-composite'. [#1971](https://github.com/maplibre/maplibre-gl-js/pull/1971)

## 17.0.1

Expand Down
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# MapLibre GL style specification & utilities
# MapLibre Style Specification & Utilities

This repository contains code and reference files that define the MapLibre GL style specification and provides some utilities for working with MapLibre styles.
[![NPM Version](https://badge.fury.io/js/@maplibre%2Fmaplibre-gl-style-spec.svg)](https://npmjs.org/package/@maplibre/maplibre-gl-style-spec)
[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg?style=flat)](LICENSE.txt) [![PRs](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat)](https://opensource.org/licenses/BSD-3-Clause) [![codecov](https://codecov.io/gh/maplibre/maplibre-style-spec/branch/main/graph/badge.svg)](https://codecov.io/gh/maplibre/maplibre-style-spec)

The style specification is used in MapLibre GL JS and in MapLibre GL Native. Our long-term goal is to have feature parity between the web and the native libraries.
This repository contains code and reference files that define the MapLibre style specification and provides some utilities for working with MapLibre styles.

The style specification is used in MapLibre GL JS and in MapLibre Native. Our long-term goal is to have feature parity between the web and the native libraries.

## Contributing

Expand All @@ -13,9 +16,8 @@ We aim to avoid breaking changes in the MapLibre style specification, because it

## NPM Package

[![NPM Version](https://badge.fury.io/js/@maplibre%2Fmaplibre-gl-style-spec.svg)](https://npmjs.org/package/@maplibre/maplibre-gl-style-spec)

The MapLibre GL style specification and utilities are published as a seperate npm
The MapLibre style specification and utilities are published as a seperate npm
package so that they can be installed without the bulk of GL JS.

npm install @maplibre/maplibre-gl-style-spec
Expand Down
2 changes: 2 additions & 0 deletions build/generate-style-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ export type ColorSpecification = string;

export type PaddingSpecification = number | number[];

export type VariableAnchorOffsetCollectionSpecification = Array<string | [number, number]>;

export type SpriteSpecification = string | {id: string; url: string}[];

export type FormattedSpecification = string;
Expand Down
2 changes: 1 addition & 1 deletion build/release-notes.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const previous = releaseNotes[1];
// Print the release notes template.

const templatedReleaseNotes = `https://github.com/maplibre/maplibre-gl-style-spec
[Changes](https://github.com/maplibre/maplibre-gl-style-spec/compare/v${previous.version}...v${latest.version}) since [MapLibre GL Style Spec v${previous.version}](https://github.com/maplibre/maplibre-gl-style-spec/releases/tag/v${previous.version}):
[Changes](https://github.com/maplibre/maplibre-gl-style-spec/compare/v${previous.version}...v${latest.version}) since [MapLibre Style Spec v${previous.version}](https://github.com/maplibre/maplibre-gl-style-spec/releases/tag/v${previous.version}):

${latest.changelog}

Expand Down
Loading