geojs 1.10.18 → 1.10.20
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/workflows/main.yml +1 -1
- package/.pre-commit-config.yaml +68 -0
- package/geo.js +379 -351
- package/geo.lean.js +378 -350
- package/geo.lean.min.js +3 -3
- package/geo.min.js +4 -4
- package/package.json +14 -6
- package/src/canvas/textFeature.js +3 -0
|
@@ -20,7 +20,7 @@ jobs:
|
|
|
20
20
|
- uses: actions/checkout@v3
|
|
21
21
|
- uses: actions/setup-node@v3
|
|
22
22
|
with:
|
|
23
|
-
node-version: '
|
|
23
|
+
node-version: '18'
|
|
24
24
|
- uses: browser-actions/setup-firefox@latest
|
|
25
25
|
- run: sudo apt-get install --yes --no-install-recommends optipng
|
|
26
26
|
- run: sudo apt-get remove --yes fonts-lato
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Initially run
|
|
2
|
+
# pre-commit install
|
|
3
|
+
# pre-commit install --hook-type commit-msg
|
|
4
|
+
# See https://pre-commit.com for more information
|
|
5
|
+
# See https://pre-commit.com/hooks.html for more hooks
|
|
6
|
+
default_stages: [commit, push]
|
|
7
|
+
repos:
|
|
8
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
9
|
+
rev: v4.4.0
|
|
10
|
+
hooks:
|
|
11
|
+
- id: check-added-large-files
|
|
12
|
+
- id: check-ast
|
|
13
|
+
- id: check-builtin-literals
|
|
14
|
+
- id: check-case-conflict
|
|
15
|
+
- id: check-docstring-first
|
|
16
|
+
- id: check-executables-have-shebangs
|
|
17
|
+
- id: check-json
|
|
18
|
+
- id: check-merge-conflict
|
|
19
|
+
- id: check-shebang-scripts-are-executable
|
|
20
|
+
# - id: check-symlinks
|
|
21
|
+
# - id: check-toml
|
|
22
|
+
# - id: check-xml
|
|
23
|
+
- id: check-yaml
|
|
24
|
+
- id: debug-statements
|
|
25
|
+
- id: destroyed-symlinks
|
|
26
|
+
- id: detect-private-key
|
|
27
|
+
- id: double-quote-string-fixer
|
|
28
|
+
- id: end-of-file-fixer
|
|
29
|
+
- id: fix-byte-order-marker
|
|
30
|
+
- id: forbid-new-submodules
|
|
31
|
+
- id: mixed-line-ending
|
|
32
|
+
- id: trailing-whitespace
|
|
33
|
+
- repo: https://github.com/pre-commit/pygrep-hooks
|
|
34
|
+
rev: v1.10.0
|
|
35
|
+
hooks:
|
|
36
|
+
- id: python-no-eval
|
|
37
|
+
- id: python-no-log-warn
|
|
38
|
+
- id: rst-backticks
|
|
39
|
+
- id: rst-directive-colons
|
|
40
|
+
- id: rst-inline-touching-normal
|
|
41
|
+
- id: text-unicode-replacement-char
|
|
42
|
+
- repo: https://github.com/Lucas-C/pre-commit-hooks-markup
|
|
43
|
+
rev: v1.0.1
|
|
44
|
+
hooks:
|
|
45
|
+
- id: rst-linter
|
|
46
|
+
files: README.rst
|
|
47
|
+
name: rst-linter of README.rst
|
|
48
|
+
- repo: https://github.com/codespell-project/codespell
|
|
49
|
+
rev: v2.2.4
|
|
50
|
+
hooks:
|
|
51
|
+
- id: codespell
|
|
52
|
+
args:
|
|
53
|
+
- --ignore-words-list
|
|
54
|
+
- "hist,indext,pixelx,thex,hight,reenable,lastr,xdescribe,afterall,countr"
|
|
55
|
+
- --skip
|
|
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
|
+
- repo: https://github.com/syntaqx/git-hooks
|
|
58
|
+
rev: v0.0.18
|
|
59
|
+
hooks:
|
|
60
|
+
- id: circleci-config-validate
|
|
61
|
+
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
|
|
62
|
+
rev: v9.5.0
|
|
63
|
+
hooks:
|
|
64
|
+
- id: commitlint
|
|
65
|
+
stages: [commit-msg]
|
|
66
|
+
additional_dependencies: ['@commitlint/config-conventional']
|
|
67
|
+
verbose: true
|
|
68
|
+
entry: bash -c 'commitlint --edit "$@" || true' --
|