geoserver-node-client 0.0.5 → 0.0.6

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.
@@ -10,7 +10,7 @@ jobs:
10
10
  run-tests-maintenance:
11
11
  runs-on: ubuntu-latest
12
12
  env:
13
- GEOSERVER_VERSION: 2.18.4
13
+ GEOSERVER_VERSION: 2.19.3
14
14
  steps:
15
15
  - uses: actions/checkout@v2
16
16
 
@@ -33,7 +33,7 @@ jobs:
33
33
  run-tests-stable:
34
34
  runs-on: ubuntu-latest
35
35
  env:
36
- GEOSERVER_VERSION: 2.19.2
36
+ GEOSERVER_VERSION: 2.20.1
37
37
  steps:
38
38
  - uses: actions/checkout@v2
39
39
 
@@ -0,0 +1,3 @@
1
+ {
2
+ "eslint.enable": false
3
+ }
package/DOCS_HOME.md CHANGED
@@ -8,8 +8,10 @@ Node.js / JavaScript Client for the [GeoServer REST API](https://docs.geoserver.
8
8
 
9
9
  Compatible with [GeoServer](https://geoserver.org)
10
10
 
11
- - v2.17.x
12
- - v2.18.x
11
+ - v2.20.x
12
+ - v2.19.x
13
+ - v2.18.x (no more maintained and officially deprecated)
14
+ - v2.17.x (no more maintained and officially deprecated)
13
15
 
14
16
  ### Who do I talk to? ###
15
17
 
package/LICENSE ADDED
@@ -0,0 +1,25 @@
1
+ BSD 2-Clause License
2
+
3
+ Copyright (c) 2021, meggsimum (Dipl.-Ing. (FH) Christian Mayer)
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/README.md CHANGED
@@ -15,8 +15,9 @@ Detailed API-Docs can be found [here](https://meggsimum.github.io/geoserver-node
15
15
 
16
16
  Compatible with [GeoServer](https://geoserver.org)
17
17
 
18
+ - v2.20.x
18
19
  - v2.19.x
19
- - v2.18.x
20
+ - v2.18.x (no more maintained and officially deprecated)
20
21
  - v2.17.x (no more maintained and officially deprecated)
21
22
 
22
23
  ### Setup
@@ -42,20 +43,21 @@ First start a GeoServer, e.g. by using this Docker container:
42
43
  docker run \
43
44
  -p 8080:8080 \
44
45
  -v /path/to/geoserver_mnt:/opt/geoserver_data \
45
- meggsimum/geoserver:2.18.2
46
+ meggsimum/geoserver:2.20.1
46
47
  ```
47
48
 
48
49
  Then, in an other terminal, run:
49
50
 
50
51
  ```shell
51
- npm run test
52
+ # specify the GeoServer version and run the test suite
53
+ GEOSERVER_VERSION=2.20.1 npm run test
52
54
  ```
53
55
 
54
56
  ### Release
55
57
 
56
58
  The release to GitHub and npm is done via [release-it](https://github.com/release-it/release-it). This is the workflow for releasing:
57
59
 
58
- 1. Make sure a `GITHUB_TOKEN` is available as environment varible. See [here](https://github.com/release-it/release-it/blob/master/docs/github-releases.md) for more information.
60
+ 1. Make sure a `GITHUB_TOKEN` is available as environment variable. See [here](https://github.com/release-it/release-it/blob/master/docs/github-releases.md) for more information.
59
61
 
60
62
  ```shell
61
63
  export GITHUB_TOKEN=ADD-YOUR-TOKEN-HERE
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geoserver-node-client",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Node.js client for GeoServer REST API",
5
5
  "type": "module",
6
6
  "main": "geoserver-rest-client.js",
@@ -20,18 +20,18 @@
20
20
  "author": "C. Mayer, meggsimum (info_at*meggsimum?dot?de)",
21
21
  "license": "BSD-2-Clause",
22
22
  "dependencies": {
23
- "node-fetch": "^2.6.1"
23
+ "node-fetch": "^2.6.5"
24
24
  },
25
25
  "devDependencies": {
26
- "chai": "^4.3.0",
27
- "eslint": "^7.21.0",
26
+ "chai": "^4.3.4",
27
+ "eslint": "^7.32.0",
28
28
  "eslint-config-standard": "^14.1.1",
29
- "eslint-plugin-import": "^2.22.1",
29
+ "eslint-plugin-import": "^2.25.2",
30
30
  "eslint-plugin-node": "^11.1.0",
31
31
  "eslint-plugin-promise": "^4.3.1",
32
32
  "eslint-plugin-standard": "^4.1.0",
33
- "jsdoc": "^3.6.6",
34
- "mocha": "^8.3.0",
35
- "release-it": "^14.10.0"
33
+ "jsdoc": "^3.6.7",
34
+ "mocha": "^9.1.3",
35
+ "release-it": "^14.11.6"
36
36
  }
37
37
  }