jmapcloud-ng 1.0.156 → 1.0.159
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/jest.config.js +13 -0
- package/package.json +8 -5
- package/public/{116.243067463a5070710b94.js → 116.e988a9f64df3416fdc36.js} +1 -1
- package/public/{232.3262ec32af66844064ea.js → 195.2d4257102d8c085ba6aa.js} +2 -2
- package/public/396.8c45d6990d6f9f13ab7d.js +1 -0
- package/public/index.js +1 -1
- package/public/396.8b3e223faafbd074bbd5.js +0 -1
package/jest.config.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const { createDefaultPreset } = require("ts-jest")
|
|
2
|
+
|
|
3
|
+
const tsJestTransformCfg = createDefaultPreset().transform
|
|
4
|
+
|
|
5
|
+
/** @type {import("jest").Config} **/
|
|
6
|
+
module.exports = {
|
|
7
|
+
testEnvironment: "node",
|
|
8
|
+
transform: {
|
|
9
|
+
...tsJestTransformCfg
|
|
10
|
+
},
|
|
11
|
+
moduleDirectories: ["node_modules", "src"],
|
|
12
|
+
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"]
|
|
13
|
+
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jmapcloud-ng",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.159",
|
|
4
4
|
"description": "K2 Geospatial Web Client",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "public/index.js",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"test": "
|
|
8
|
+
"test": "jest",
|
|
9
9
|
"lint": "export NODE_ENV='production'; node build/buildfile.js lint;",
|
|
10
10
|
"build": "node build/buildfile.js build ",
|
|
11
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;",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"formik": "^2.4.6",
|
|
56
56
|
"geometric": "^2.5.4",
|
|
57
57
|
"hast-util-to-html": "^9.0.1",
|
|
58
|
-
"jmapcloud-ng-core": "1.0.
|
|
58
|
+
"jmapcloud-ng-core": "1.0.119",
|
|
59
59
|
"json-pointer": "^0.6.2",
|
|
60
60
|
"jspdf": "^2.5.1",
|
|
61
61
|
"mapbox-gl-draw-snap-mode-k2": "^0.0.2",
|
|
@@ -91,6 +91,7 @@
|
|
|
91
91
|
"@types/chai": "^4.3.16",
|
|
92
92
|
"@types/color": "^3.0.6",
|
|
93
93
|
"@types/geometric": "^2.5.3",
|
|
94
|
+
"@types/jest": "^29.5.14",
|
|
94
95
|
"@types/json-pointer": "^1.0.34",
|
|
95
96
|
"@types/mocha": "^10.0.6",
|
|
96
97
|
"@types/react-color": "^3.0.12",
|
|
@@ -112,12 +113,14 @@
|
|
|
112
113
|
"eslint-plugin-import": "^2.29.1",
|
|
113
114
|
"eslint-plugin-jsdoc": "^48.2.5",
|
|
114
115
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
115
|
-
"
|
|
116
|
-
"jmapcloud-ng-types": "1.0.
|
|
116
|
+
"jest": "^29.7.0",
|
|
117
|
+
"jmapcloud-ng-core-types": "1.0.54",
|
|
118
|
+
"jmapcloud-ng-types": "1.0.51",
|
|
117
119
|
"postcss-loader": "^8.1.1",
|
|
118
120
|
"postcss-parent-selector": "^1.0.0",
|
|
119
121
|
"style-loader": "^4.0.0",
|
|
120
122
|
"terser-webpack-plugin": "^5.3.10",
|
|
123
|
+
"ts-jest": "^29.3.4",
|
|
121
124
|
"ts-loader": "^9.5.1",
|
|
122
125
|
"typescript": "^5.4.5",
|
|
123
126
|
"webpack": "^5.91.0",
|