geojs 1.12.0 → 1.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/dependabot.yml +7 -0
- package/.github/workflows/commitlint.yml +2 -2
- package/.github/workflows/main.yml +15 -13
- package/.pre-commit-config.yaml +3 -3
- package/geo.js +2930 -2666
- package/geo.lean.js +2925 -2668
- package/geo.lean.min.js +4 -4
- package/geo.min.js +5 -5
- package/package.json +2 -2
- package/src/vgl/uniform.js +1 -3
- package/src/webgl/webglRenderer.js +3 -1
|
@@ -17,8 +17,8 @@ jobs:
|
|
|
17
17
|
build:
|
|
18
18
|
runs-on: ubuntu-latest
|
|
19
19
|
steps:
|
|
20
|
-
- uses: actions/checkout@
|
|
21
|
-
- uses: actions/setup-node@
|
|
20
|
+
- uses: actions/checkout@v4
|
|
21
|
+
- uses: actions/setup-node@v4
|
|
22
22
|
with:
|
|
23
23
|
node-version: '18'
|
|
24
24
|
- uses: browser-actions/setup-firefox@latest
|
|
@@ -31,10 +31,12 @@ jobs:
|
|
|
31
31
|
- run: npm run setup-website
|
|
32
32
|
- run: npm run ci-xvfb
|
|
33
33
|
- run: npm run ci-build-website
|
|
34
|
-
- uses: codecov/codecov-action@
|
|
34
|
+
- uses: codecov/codecov-action@v4
|
|
35
35
|
with:
|
|
36
36
|
fail_ci_if_error: false
|
|
37
37
|
verbose: true
|
|
38
|
+
env:
|
|
39
|
+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
38
40
|
- name: On failure, create alternate baseline images in case the new behavior is correct
|
|
39
41
|
if: ${{ failure() }}
|
|
40
42
|
run: |
|
|
@@ -42,7 +44,7 @@ jobs:
|
|
|
42
44
|
python3 tests/runners/baseline_images.py -cevb _build
|
|
43
45
|
- name: Upload test images on failure
|
|
44
46
|
if: ${{ failure() }}
|
|
45
|
-
uses: actions/upload-artifact@
|
|
47
|
+
uses: actions/upload-artifact@v4
|
|
46
48
|
with:
|
|
47
49
|
name: images
|
|
48
50
|
path: |
|
|
@@ -50,7 +52,7 @@ jobs:
|
|
|
50
52
|
_build/Baseline*tgz
|
|
51
53
|
- name: Upload artifacts
|
|
52
54
|
if: ${{ always() }}
|
|
53
|
-
uses: actions/upload-artifact@
|
|
55
|
+
uses: actions/upload-artifact@v4
|
|
54
56
|
with:
|
|
55
57
|
name: dist
|
|
56
58
|
path: |
|
|
@@ -58,7 +60,7 @@ jobs:
|
|
|
58
60
|
dist/built
|
|
59
61
|
- name: Upload built website
|
|
60
62
|
if: ${{ success() }}
|
|
61
|
-
uses: actions/upload-artifact@
|
|
63
|
+
uses: actions/upload-artifact@v4
|
|
62
64
|
with:
|
|
63
65
|
name: website
|
|
64
66
|
path: |
|
|
@@ -66,9 +68,9 @@ jobs:
|
|
|
66
68
|
unpinned:
|
|
67
69
|
runs-on: ubuntu-latest
|
|
68
70
|
steps:
|
|
69
|
-
- uses: actions/checkout@
|
|
71
|
+
- uses: actions/checkout@v4
|
|
70
72
|
# Don't pin version to test with the latest common version
|
|
71
|
-
- uses: actions/setup-node@
|
|
73
|
+
- uses: actions/setup-node@v4
|
|
72
74
|
with:
|
|
73
75
|
node-version: 'lts/*'
|
|
74
76
|
- run: npm --version && node --version
|
|
@@ -90,12 +92,12 @@ jobs:
|
|
|
90
92
|
runs-on: ubuntu-latest
|
|
91
93
|
steps:
|
|
92
94
|
- name: Import artifacts
|
|
93
|
-
uses: actions/download-artifact@
|
|
95
|
+
uses: actions/download-artifact@v4
|
|
94
96
|
with:
|
|
95
97
|
name: website
|
|
96
98
|
path: website/public
|
|
97
99
|
- name: Deploy
|
|
98
|
-
uses: peaceiris/actions-gh-pages@
|
|
100
|
+
uses: peaceiris/actions-gh-pages@v4
|
|
99
101
|
with:
|
|
100
102
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
101
103
|
publish_dir: website/public
|
|
@@ -104,13 +106,13 @@ jobs:
|
|
|
104
106
|
needs: build
|
|
105
107
|
runs-on: ubuntu-latest
|
|
106
108
|
steps:
|
|
107
|
-
- uses: actions/checkout@
|
|
108
|
-
- uses: actions/setup-node@
|
|
109
|
+
- uses: actions/checkout@v4
|
|
110
|
+
- uses: actions/setup-node@v4
|
|
109
111
|
with:
|
|
110
112
|
node-version: 'lts/*'
|
|
111
113
|
- run: npm ci
|
|
112
114
|
- name: Import artifacts
|
|
113
|
-
uses: actions/download-artifact@
|
|
115
|
+
uses: actions/download-artifact@v4
|
|
114
116
|
with:
|
|
115
117
|
name: dist
|
|
116
118
|
path: dist
|
package/.pre-commit-config.yaml
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
default_stages: [commit, push]
|
|
7
7
|
repos:
|
|
8
8
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
9
|
-
rev: v4.
|
|
9
|
+
rev: v4.6.0
|
|
10
10
|
hooks:
|
|
11
11
|
- id: check-added-large-files
|
|
12
12
|
- id: check-ast
|
|
@@ -46,7 +46,7 @@ repos:
|
|
|
46
46
|
files: README.rst
|
|
47
47
|
name: rst-linter of README.rst
|
|
48
48
|
- repo: https://github.com/codespell-project/codespell
|
|
49
|
-
rev: v2.
|
|
49
|
+
rev: v2.3.0
|
|
50
50
|
hooks:
|
|
51
51
|
- id: codespell
|
|
52
52
|
args:
|
|
@@ -55,7 +55,7 @@ repos:
|
|
|
55
55
|
- --skip
|
|
56
56
|
- examples/sld/index.pug,package-lock.json,examples/reprojection/proj.json,website/themes/agency/source/vendor/jquery/jquery.min.js,examples/reprojection/capitals.json
|
|
57
57
|
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
|
|
58
|
-
rev: v9.
|
|
58
|
+
rev: v9.17.0
|
|
59
59
|
hooks:
|
|
60
60
|
- id: commitlint
|
|
61
61
|
stages: [commit-msg]
|