jmapcloud-ng 0.4.2 → 0.4.4

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",
@@ -246,23 +238,6 @@ module.exports = {
246
238
  "@typescript-eslint/no-floating-promises": "off",
247
239
  "@typescript-eslint/unbound-method": "off",
248
240
  "@typescript-eslint/no-unsafe-call": "off",
249
- "@typescript-eslint/require-await": "off",
250
- "@typescript-eslint/tslint/config": [
251
- "error",
252
- {
253
- rules: {
254
- "import-spacing": true,
255
- "whitespace": [
256
- true,
257
- "check-branch",
258
- "check-decl",
259
- "check-operator",
260
- "check-separator",
261
- "check-type",
262
- "check-typecast"
263
- ]
264
- }
265
- }
266
- ]
241
+ "@typescript-eslint/require-await": "off"
267
242
  }
268
243
  }
package/package.json CHANGED
@@ -1,21 +1,17 @@
1
1
  {
2
2
  "name": "jmapcloud-ng",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
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",
@@ -45,12 +41,12 @@
45
41
  "@turf/circle": "^6.5.0",
46
42
  "@turf/helpers": "6.5.0",
47
43
  "color": "^4.2.3",
48
- "core-js": "^3.32.1",
44
+ "core-js": "^3.33.0",
49
45
  "date-fns": "^2.23.0",
50
46
  "formik": "^2.4.3",
51
47
  "geometric": "^2.5.4",
52
48
  "hast-util-to-html": "^9.0.0",
53
- "jmapcloud-ng-core": "0.4.2",
49
+ "jmapcloud-ng-core": "0.4.5",
54
50
  "json-pointer": "^0.6.2",
55
51
  "jspdf": "^2.5.1",
56
52
  "maplibre-gl": "^3.3.1",
@@ -69,9 +65,9 @@
69
65
  },
70
66
  "devDependencies": {
71
67
  "@babel/core": "^7.22.15",
72
- "@babel/plugin-proposal-class-properties": "^7.18.6",
73
68
  "@babel/plugin-proposal-decorators": "^7.22.15",
74
69
  "@babel/plugin-transform-arrow-functions": "^7.22.5",
70
+ "@babel/plugin-transform-class-properties": "^7.22.5",
75
71
  "@babel/plugin-transform-object-assign": "^7.22.5",
76
72
  "@babel/plugin-transform-react-jsx": "^7.22.15",
77
73
  "@babel/plugin-transform-runtime": "^7.22.15",
@@ -93,9 +89,7 @@
93
89
  "@types/uuid": "^9.0.3",
94
90
  "@types/webpack-env": "^1.18.1",
95
91
  "@typescript-eslint/eslint-plugin": "^6.6.0",
96
- "@typescript-eslint/eslint-plugin-tslint": "^6.6.0",
97
92
  "@typescript-eslint/parser": "^6.6.0",
98
- "babel-engine-plugin": "^0.3.0",
99
93
  "babel-loader": "^9.1.3",
100
94
  "chai": "^4.3.8",
101
95
  "chai-http": "^4.4.0",
@@ -106,12 +100,8 @@
106
100
  "eslint-plugin-import": "^2.28.1",
107
101
  "eslint-plugin-jsdoc": "^46.5.1",
108
102
  "eslint-plugin-prefer-arrow": "^1.2.3",
109
- "gulp": "^4.0.2",
110
- "gulp-eslint-new": "^1.8.2",
111
- "gulp-plumber": "^1.2.1",
112
- "gulp-rewrite-css": "^1.1.2",
113
- "jmapcloud-ng-core-types": "0.4.0",
114
- "jmapcloud-ng-types": "0.4.0",
103
+ "jmapcloud-ng-core-types": "0.4.5",
104
+ "jmapcloud-ng-types": "0.4.3",
115
105
  "postcss-loader": "^7.3.3",
116
106
  "postcss-parent-selector": "^1.0.0",
117
107
  "style-loader": "^3.3.3",
@@ -120,7 +110,6 @@
120
110
  "typescript": "^5.2.2",
121
111
  "webpack": "^5.88.2",
122
112
  "webpack-bundle-analyzer": "^4.9.1",
123
- "webpack-dev-server": "^4.15.1",
124
- "webpack-stream": "^7.0.0"
113
+ "webpack-dev-server": "^4.15.1"
125
114
  }
126
115
  }