w-gis 1.0.5 → 1.0.8
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/ci-test.yml +24 -0
- package/README.md +2 -3
- package/SECURITY.md +5 -0
- package/dist/w-gis.umd.js +2 -2
- package/dist/w-gis.umd.js.map +1 -1
- package/docs/-_class.mjs.html +1 -1
- package/docs/WGis.mjs.html +256 -294
- package/docs/examples/ex-getCenterOfMassMultiPolygon.html +1 -1
- package/docs/examples/ex-getCentroidMultiPolygon.html +1 -1
- package/docs/index.html +1 -1
- package/docs/w-gis.html +5 -5
- package/package.json +5 -4
- package/src/WGis.mjs +255 -293
- package/test/all.test.mjs +10 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
name: Node.js CI
|
|
2
|
+
|
|
3
|
+
on: [push]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
build:
|
|
7
|
+
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
|
|
10
|
+
strategy:
|
|
11
|
+
matrix:
|
|
12
|
+
node-version: [16.x]
|
|
13
|
+
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v2
|
|
16
|
+
- name: Use Node.js ${{ matrix.node-version }}
|
|
17
|
+
uses: actions/setup-node@v1
|
|
18
|
+
with:
|
|
19
|
+
node-version: ${{ matrix.node-version }}
|
|
20
|
+
- run: npm cache clean -f
|
|
21
|
+
- run: npm install
|
|
22
|
+
- run: npm test
|
|
23
|
+
env:
|
|
24
|
+
CI: true
|
package/README.md
CHANGED
|
@@ -3,7 +3,6 @@ A tool for geotech analysis.
|
|
|
3
3
|
|
|
4
4
|

|
|
5
5
|
[](https://npmjs.org/package/w-gis)
|
|
6
|
-
[](https://travis-ci.org/yuda-lyu/w-gis)
|
|
7
6
|
[](https://npmjs.org/package/w-gis)
|
|
8
7
|
[](https://github.com/yuda-lyu/w-gis)
|
|
9
8
|
[](https://npmjs.org/package/w-gis)
|
|
@@ -14,7 +13,7 @@ To view documentation or get support, visit [docs](https://yuda-lyu.github.io/w-
|
|
|
14
13
|
|
|
15
14
|
## Installation
|
|
16
15
|
### Using npm(ES6 module):
|
|
17
|
-
> **Note:** w-gis is mainly dependent on `@turf`, `proj4`, `lodash` and `wsemi`.
|
|
16
|
+
> **Note:** w-gis is mainly dependent on `@turf`, `proj4`, `d3-tricontour`, `lodash` and `wsemi`.
|
|
18
17
|
```alias
|
|
19
18
|
npm i w-gis
|
|
20
19
|
```
|
|
@@ -24,6 +23,6 @@ npm i w-gis
|
|
|
24
23
|
|
|
25
24
|
Add script for w-gis.
|
|
26
25
|
```alias
|
|
27
|
-
<script src="https://cdn.jsdelivr.net/npm/w-gis@1.0.
|
|
26
|
+
<script src="https://cdn.jsdelivr.net/npm/w-gis@1.0.8/dist/w-gis.umd.js"></script>
|
|
28
27
|
|
|
29
28
|
```
|