jmapcloud-ng 0.4.1 → 0.4.3
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/.browserslistrc +4 -0
- package/.eslintrc.js +6 -32
- package/package.json +68 -88
- package/public/105.5e536d565eb5cb57a55a.js +1 -0
- package/public/120.0754159ac549a9bfc9a7.js +1 -0
- package/public/158.1d22eab510c81f05efd0.js +74 -0
- package/public/168.34a9acb4e98d443e1ad9.js +1 -0
- package/public/298.5fd02571e384827193a2.js +1 -0
- package/public/305.da795abfa09e11216556.js +1 -0
- package/public/417.78709243b86a132f0935.js +1 -0
- package/public/856.eb5cb423896ff4359cae.js +1 -0
- package/public/894.e6a931e7d006e81ac8c4.js +1 -0
- package/public/958.22aff38793d0476be62e.js +81 -0
- package/public/index.js +1 -1
- package/syncAndBuild.sh +1 -1
- package/public/131.0f519d60c21230cb40d9.js +0 -1
- package/public/153.185db585ff4779fdc656.js +0 -81
- package/public/369.9a3a5ff6a36ef1431155.js +0 -74
- package/public/455.226787bf3f47469a9bde.js +0 -1
- package/public/589.081e1965f205b0d03552.js +0 -1
- package/public/696.16b8c0acd5d7cd065e5b.js +0 -1
- package/public/699.aa561c37c93d1d049e8a.js +0 -1
- package/public/730.ac5db02052df1aa3f97f.js +0 -1
- package/public/816.76f1388943dada201bbb.js +0 -1
- package/public/865.1c89efcd1c54da9b75a0.js +0 -1
- package/public/912.fea7ef4b363330728ce2.js +0 -1
package/.browserslistrc
ADDED
package/.eslintrc.js
CHANGED
|
@@ -1,24 +1,16 @@
|
|
|
1
|
+
const path = require("path")
|
|
1
2
|
module.exports = {
|
|
2
3
|
env: {
|
|
3
4
|
browser: true
|
|
4
5
|
},
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
|
8
|
-
"prettier"
|
|
9
|
-
],
|
|
6
|
+
// TODO: add "eslint:recommended" to extends one day
|
|
7
|
+
extends: ["plugin:@typescript-eslint/recommended-type-checked", "prettier"],
|
|
10
8
|
parser: "@typescript-eslint/parser",
|
|
11
9
|
parserOptions: {
|
|
12
|
-
project: "tsconfig.json",
|
|
10
|
+
project: path.join(__dirname, "tsconfig.json"),
|
|
13
11
|
sourceType: "module"
|
|
14
12
|
},
|
|
15
|
-
plugins: [
|
|
16
|
-
"eslint-plugin-import",
|
|
17
|
-
"eslint-plugin-jsdoc",
|
|
18
|
-
"eslint-plugin-prefer-arrow",
|
|
19
|
-
"@typescript-eslint",
|
|
20
|
-
"@typescript-eslint/tslint"
|
|
21
|
-
],
|
|
13
|
+
plugins: ["eslint-plugin-import", "eslint-plugin-jsdoc", "eslint-plugin-prefer-arrow", "@typescript-eslint"],
|
|
22
14
|
root: true,
|
|
23
15
|
rules: {
|
|
24
16
|
"@typescript-eslint/adjacent-overload-signatures": "error",
|
|
@@ -146,7 +138,6 @@ module.exports = {
|
|
|
146
138
|
"import/order": "off",
|
|
147
139
|
"jsdoc/check-alignment": "error",
|
|
148
140
|
"jsdoc/check-indentation": "error",
|
|
149
|
-
"jsdoc/newline-after-description": "error",
|
|
150
141
|
"max-classes-per-file": ["error", 10],
|
|
151
142
|
"max-len": [
|
|
152
143
|
"error",
|
|
@@ -247,23 +238,6 @@ module.exports = {
|
|
|
247
238
|
"@typescript-eslint/no-floating-promises": "off",
|
|
248
239
|
"@typescript-eslint/unbound-method": "off",
|
|
249
240
|
"@typescript-eslint/no-unsafe-call": "off",
|
|
250
|
-
"@typescript-eslint/require-await": "off"
|
|
251
|
-
"@typescript-eslint/tslint/config": [
|
|
252
|
-
"error",
|
|
253
|
-
{
|
|
254
|
-
rules: {
|
|
255
|
-
"import-spacing": true,
|
|
256
|
-
"whitespace": [
|
|
257
|
-
true,
|
|
258
|
-
"check-branch",
|
|
259
|
-
"check-decl",
|
|
260
|
-
"check-operator",
|
|
261
|
-
"check-separator",
|
|
262
|
-
"check-type",
|
|
263
|
-
"check-typecast"
|
|
264
|
-
]
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
]
|
|
241
|
+
"@typescript-eslint/require-await": "off"
|
|
268
242
|
}
|
|
269
243
|
}
|
package/package.json
CHANGED
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jmapcloud-ng",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "K2 Geospatial Web Client",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "public/index.js",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
9
|
-
"lint": "export NODE_ENV='production';
|
|
10
|
-
"build": "
|
|
11
|
-
"build-vps": "export NODE_ENV='
|
|
12
|
-
"build-dev": "export NODE_ENV='development'; gulp --gulpfile build/gulpfile.js;",
|
|
13
|
-
"build-win": "gulp --gulpfile build/gulpfile.js",
|
|
14
|
-
"copy": "export NODE_ENV='development'; gulp copy-html --gulpfile build/gulpfile.js;",
|
|
9
|
+
"lint": "export NODE_ENV='production'; node build/buildfile.js lint;",
|
|
10
|
+
"build": "node build/buildfile.js build ",
|
|
11
|
+
"build-vps": "export NODE_ENV='development' SERVER_JS_PATH='/var/www/html/ng/ng' WEBPACK_PUBLIC_PATH='/ng/' CORE_INDEX_FILE_URL='./ng-core/index.js'; node build/buildfile.js build-vps;",
|
|
15
12
|
"count-all": "find ./src -name '*.ts*' | xargs wc -l",
|
|
16
13
|
"count-test": "find ./src -name '*.spec.ts' | xargs wc -l",
|
|
17
|
-
"start": "
|
|
18
|
-
"start-tunnel": "lt --local-https true --allow-invalid-cert --port 8086 -s "
|
|
14
|
+
"start": "export NODE_ENV='development'; node build/buildfile.js start;"
|
|
19
15
|
},
|
|
20
16
|
"author": "K2 Geospatial",
|
|
21
17
|
"license": "ISC",
|
|
@@ -31,105 +27,89 @@
|
|
|
31
27
|
}
|
|
32
28
|
},
|
|
33
29
|
"dependencies": {
|
|
34
|
-
"@
|
|
35
|
-
"@fortawesome/fontawesome-
|
|
36
|
-
"@fortawesome/
|
|
37
|
-
"@fortawesome/pro-
|
|
38
|
-
"@fortawesome/pro-
|
|
39
|
-
"@fortawesome/pro-
|
|
40
|
-
"@fortawesome/
|
|
41
|
-
"@
|
|
42
|
-
"@mapbox/mapbox-gl-draw": "1.3.0",
|
|
30
|
+
"@fortawesome/fontawesome-pro": "6.4.2",
|
|
31
|
+
"@fortawesome/fontawesome-svg-core": "^6.4.2",
|
|
32
|
+
"@fortawesome/pro-duotone-svg-icons": "^6.4.2",
|
|
33
|
+
"@fortawesome/pro-light-svg-icons": "^6.4.2",
|
|
34
|
+
"@fortawesome/pro-regular-svg-icons": "^6.4.2",
|
|
35
|
+
"@fortawesome/pro-solid-svg-icons": "^6.4.2",
|
|
36
|
+
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
37
|
+
"@mapbox/mapbox-gl-draw": "^1.4.2",
|
|
43
38
|
"@mui/lab": "^5.0.0-alpha",
|
|
44
|
-
"@mui/material": "^5.14.
|
|
45
|
-
"@mui/x-date-pickers": "^6.
|
|
39
|
+
"@mui/material": "^5.14.8",
|
|
40
|
+
"@mui/x-date-pickers": "^6.12.1",
|
|
46
41
|
"@turf/circle": "^6.5.0",
|
|
47
42
|
"@turf/helpers": "6.5.0",
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"color": "^3.1.3",
|
|
51
|
-
"core-js": "^3.31.0",
|
|
43
|
+
"color": "^4.2.3",
|
|
44
|
+
"core-js": "^3.33.0",
|
|
52
45
|
"date-fns": "^2.23.0",
|
|
53
|
-
"formik": "^2.
|
|
54
|
-
"geometric": "^2.5.
|
|
55
|
-
"hast-util-to-html": "^
|
|
56
|
-
"jmapcloud-ng-core": "0.4.
|
|
57
|
-
"json-pointer": "^0.6.
|
|
58
|
-
"jspdf": "^2.
|
|
59
|
-
"maplibre-gl": "^3.
|
|
60
|
-
"
|
|
61
|
-
"normalize-diacritics": "^3.0.0",
|
|
46
|
+
"formik": "^2.4.3",
|
|
47
|
+
"geometric": "^2.5.4",
|
|
48
|
+
"hast-util-to-html": "^9.0.0",
|
|
49
|
+
"jmapcloud-ng-core": "0.4.4",
|
|
50
|
+
"json-pointer": "^0.6.2",
|
|
51
|
+
"jspdf": "^2.5.1",
|
|
52
|
+
"maplibre-gl": "^3.3.1",
|
|
53
|
+
"normalize-diacritics": "^4.0.0",
|
|
62
54
|
"react": "^18.2.0",
|
|
63
55
|
"react-color": "^2.19.3",
|
|
64
56
|
"react-dom": "^18.2.0",
|
|
65
|
-
"react-redux": "^
|
|
57
|
+
"react-redux": "^8.1.2",
|
|
66
58
|
"react-swipeable-views-react-18-fix": "0.14.1",
|
|
67
|
-
"react-window": "^1.8.
|
|
68
|
-
"redux": "^4.
|
|
69
|
-
"regenerator-runtime": "^0.
|
|
59
|
+
"react-window": "^1.8.9",
|
|
60
|
+
"redux": "^4.2.1",
|
|
61
|
+
"regenerator-runtime": "^0.14.0",
|
|
70
62
|
"svg-parser": "^2.0.4",
|
|
71
|
-
"uuid": "^
|
|
72
|
-
"xlsx": "^0.
|
|
63
|
+
"uuid": "^9.0.0",
|
|
64
|
+
"xlsx": "^0.18.5"
|
|
73
65
|
},
|
|
74
66
|
"devDependencies": {
|
|
75
|
-
"@babel/core": "^7.15
|
|
76
|
-
"@babel/plugin-proposal-
|
|
77
|
-
"@babel/plugin-
|
|
78
|
-
"@babel/plugin-transform-
|
|
79
|
-
"@babel/plugin-transform-object-assign": "^7.
|
|
80
|
-
"@babel/plugin-transform-react-jsx": "7.
|
|
81
|
-
"@babel/plugin-transform-runtime": "^7.15
|
|
82
|
-
"@babel/preset-env": "^7.15
|
|
83
|
-
"@babel/preset-react": "7.
|
|
84
|
-
"@babel/preset-typescript": "^7.15
|
|
85
|
-
"@babel/runtime": "^7.15
|
|
86
|
-
"@types/chai": "^4.
|
|
87
|
-
"@types/color": "^3.0.
|
|
88
|
-
"@types/geometric": "^2.
|
|
67
|
+
"@babel/core": "^7.22.15",
|
|
68
|
+
"@babel/plugin-proposal-decorators": "^7.22.15",
|
|
69
|
+
"@babel/plugin-transform-arrow-functions": "^7.22.5",
|
|
70
|
+
"@babel/plugin-transform-class-properties": "^7.22.5",
|
|
71
|
+
"@babel/plugin-transform-object-assign": "^7.22.5",
|
|
72
|
+
"@babel/plugin-transform-react-jsx": "^7.22.15",
|
|
73
|
+
"@babel/plugin-transform-runtime": "^7.22.15",
|
|
74
|
+
"@babel/preset-env": "^7.22.15",
|
|
75
|
+
"@babel/preset-react": "^7.22.15",
|
|
76
|
+
"@babel/preset-typescript": "^7.22.15",
|
|
77
|
+
"@babel/runtime": "^7.22.15",
|
|
78
|
+
"@types/chai": "^4.3.6",
|
|
79
|
+
"@types/color": "^3.0.4",
|
|
80
|
+
"@types/geometric": "^2.5.0",
|
|
89
81
|
"@types/json-pointer": "^1.0.31",
|
|
90
|
-
"@types/mocha": "^
|
|
91
|
-
"@types/react-color": "^3.0.
|
|
82
|
+
"@types/mocha": "^10.0.1",
|
|
83
|
+
"@types/react-color": "^3.0.6",
|
|
92
84
|
"@types/react-dom": "^18.2.7",
|
|
93
|
-
"@types/react-redux": "^7.1.
|
|
85
|
+
"@types/react-redux": "^7.1.26",
|
|
94
86
|
"@types/react-swipeable-views": "^0.13.2",
|
|
95
87
|
"@types/react-window": "^1.8.5",
|
|
96
88
|
"@types/svg-parser": "^2.0.3",
|
|
97
|
-
"@types/uuid": "^
|
|
98
|
-
"@types/webpack-env": "^1.
|
|
99
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
100
|
-
"@typescript-eslint/
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"babel-preset-es2015": "^6.24.1",
|
|
106
|
-
"chai": "^4.2.4",
|
|
107
|
-
"chai-http": "^4.3.0",
|
|
108
|
-
"css-loader": "^6.2.0",
|
|
89
|
+
"@types/uuid": "^9.0.3",
|
|
90
|
+
"@types/webpack-env": "^1.18.1",
|
|
91
|
+
"@typescript-eslint/eslint-plugin": "^6.6.0",
|
|
92
|
+
"@typescript-eslint/parser": "^6.6.0",
|
|
93
|
+
"babel-loader": "^9.1.3",
|
|
94
|
+
"chai": "^4.3.8",
|
|
95
|
+
"chai-http": "^4.4.0",
|
|
96
|
+
"css-loader": "^6.8.1",
|
|
109
97
|
"del": "^6.0.0",
|
|
110
|
-
"eslint": "^8.
|
|
111
|
-
"eslint-config-prettier": "^
|
|
112
|
-
"eslint-plugin-import": "^2.
|
|
113
|
-
"eslint-plugin-jsdoc": "^
|
|
98
|
+
"eslint": "^8.48.0",
|
|
99
|
+
"eslint-config-prettier": "^9.0.0",
|
|
100
|
+
"eslint-plugin-import": "^2.28.1",
|
|
101
|
+
"eslint-plugin-jsdoc": "^46.5.1",
|
|
114
102
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"gulp-eslint-new": "^1.8.2",
|
|
118
|
-
"gulp-plumber": "^1.2.1",
|
|
119
|
-
"gulp-rewrite-css": "^1.1.2",
|
|
120
|
-
"jmapcloud-ng-core-types": "0.4.0",
|
|
121
|
-
"jmapcloud-ng-types": "0.4.0",
|
|
103
|
+
"jmapcloud-ng-core-types": "0.4.2",
|
|
104
|
+
"jmapcloud-ng-types": "0.4.2",
|
|
122
105
|
"postcss-loader": "^7.3.3",
|
|
123
106
|
"postcss-parent-selector": "^1.0.0",
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"ts-loader": "^9.2.5",
|
|
107
|
+
"style-loader": "^3.3.3",
|
|
108
|
+
"terser-webpack-plugin": "^5.3.9",
|
|
109
|
+
"ts-loader": "^9.4.4",
|
|
128
110
|
"typescript": "^5.2.2",
|
|
129
|
-
"
|
|
130
|
-
"webpack": "^
|
|
131
|
-
"webpack-
|
|
132
|
-
"webpack-dev-server": "^4.15.1",
|
|
133
|
-
"webpack-stream": "^7.0.0"
|
|
111
|
+
"webpack": "^5.88.2",
|
|
112
|
+
"webpack-bundle-analyzer": "^4.9.1",
|
|
113
|
+
"webpack-dev-server": "^4.15.1"
|
|
134
114
|
}
|
|
135
115
|
}
|