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.
@@ -0,0 +1,4 @@
1
+ > 0.5%
2
+ last 2 versions
3
+ Firefox ESR
4
+ not dead
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
- extends: [
6
- "plugin:@typescript-eslint/recommended",
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.1",
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'; gulp lint --gulpfile build/gulpfile.js;",
10
- "build": "export NODE_ENV='production'; gulp --gulpfile build/gulpfile.js;",
11
- "build-vps": "export NODE_ENV='production' SERVER_JS_PATH='/var/www/html/ng/ng' WEBPACK_PUBLIC_PATH='./ng/' CORE_INDEX_FILE_URL='./ng-core/index.js'; gulp build-vps --gulpfile build/gulpfile.js;",
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": "gulp --gulpfile build/gulpfile.js 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
- "@date-io/date-fns": "^1.3.13",
35
- "@fortawesome/fontawesome-pro": "^5.15.0",
36
- "@fortawesome/fontawesome-svg-core": "^1.2.31",
37
- "@fortawesome/pro-duotone-svg-icons": "^5.15.0",
38
- "@fortawesome/pro-light-svg-icons": "^5.15.0",
39
- "@fortawesome/pro-regular-svg-icons": "^5.15.0",
40
- "@fortawesome/pro-solid-svg-icons": "^5.15.0",
41
- "@fortawesome/react-fontawesome": "^0.1.11",
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.5",
45
- "@mui/x-date-pickers": "^6.11.2",
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
- "axios": "^0.21.4",
49
- "babel-polyfill": "^6.26.0",
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.2.9",
54
- "geometric": "^2.5.0",
55
- "hast-util-to-html": "^8.0.3",
56
- "jmapcloud-ng-core": "0.4.1",
57
- "json-pointer": "^0.6.1",
58
- "jspdf": "^2.3.1",
59
- "maplibre-gl": "^3.2.1",
60
- "material-design-icons": "^3.0.1",
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": "^7.2.5",
57
+ "react-redux": "^8.1.2",
66
58
  "react-swipeable-views-react-18-fix": "0.14.1",
67
- "react-window": "^1.8.6",
68
- "redux": "^4.1.1",
69
- "regenerator-runtime": "^0.13.11",
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": "^8.3.2",
72
- "xlsx": "^0.17.1"
63
+ "uuid": "^9.0.0",
64
+ "xlsx": "^0.18.5"
73
65
  },
74
66
  "devDependencies": {
75
- "@babel/core": "^7.15.5",
76
- "@babel/plugin-proposal-class-properties": "^7.14.5",
77
- "@babel/plugin-proposal-decorators": "^7.15.4",
78
- "@babel/plugin-transform-arrow-functions": "^7.14.5",
79
- "@babel/plugin-transform-object-assign": "^7.14.5",
80
- "@babel/plugin-transform-react-jsx": "7.14.9",
81
- "@babel/plugin-transform-runtime": "^7.15.0",
82
- "@babel/preset-env": "^7.15.4",
83
- "@babel/preset-react": "7.14.5",
84
- "@babel/preset-typescript": "^7.15.0",
85
- "@babel/runtime": "^7.15.4",
86
- "@types/chai": "^4.2.21",
87
- "@types/color": "^3.0.2",
88
- "@types/geometric": "^2.2.0",
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": "^9.0.0",
91
- "@types/react-color": "^3.0.5",
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.18",
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": "^8.3.1",
98
- "@types/webpack-env": "^1.16.2",
99
- "@typescript-eslint/eslint-plugin": "^5.29.0",
100
- "@typescript-eslint/eslint-plugin-tslint": "^5.29.0",
101
- "@typescript-eslint/parser": "^5.29.0",
102
- "babel-engine-plugin": "^0.3.0",
103
- "babel-loader": "^8.2.2",
104
- "babel-preset-env": "^1.7.0",
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.18.0",
111
- "eslint-config-prettier": "^8.5.0",
112
- "eslint-plugin-import": "^2.26.0",
113
- "eslint-plugin-jsdoc": "^39.3.3",
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
- "file-loader": "^6.2.0",
116
- "gulp": "^4.0.2",
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
- "source-map-loader": "^3.0.0",
125
- "style-loader": "^3.2.1",
126
- "terser-webpack-plugin": "^5.2.4",
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
- "vinyl-paths": "^4.0.0",
130
- "webpack": "^5.52.0",
131
- "webpack-bundle-analyzer": "^4.4.2",
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
  }