@terrestris/shogun-admin 17.0.0-next.2 → 17.0.0-next.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.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +88 -77
package/README.md CHANGED
@@ -1,3 +1,7 @@
1
+ ![nodejs](https://github.com/terrestris/shogun-admin/actions/workflows/nodejs.yml/badge.svg)
2
+
3
+ ![release](https://github.com/terrestris/shogun-admin/actions/workflows/release.yaml/badge.svg)
4
+
1
5
  # shogun-admin
2
6
 
3
7
  ## An UI for handling SHOGun entities like users, applications, and layers
package/package.json CHANGED
@@ -1,123 +1,138 @@
1
1
  {
2
2
  "name": "@terrestris/shogun-admin",
3
- "version": "17.0.0-next.2",
3
+ "version": "17.0.0-next.4",
4
4
  "description": "The admin UI for the SHOGun Web-mapping backend.",
5
+ "keywords": [
6
+ "SHOGun",
7
+ "WebMapping"
8
+ ],
9
+ "homepage": "https://github.com/terrestris/shogun-admin#readme",
10
+ "bugs": {
11
+ "url": "https://github.com/terrestris/shogun-admin/issues"
12
+ },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://github.com/terrestris/shogun-admin.git"
16
+ },
17
+ "license": "Apache-2.0 ",
18
+ "author": "terrestris GmbH & Co. KG <info@terrestris.de>",
5
19
  "main": "index.js",
6
20
  "files": [
7
21
  "dist"
8
22
  ],
9
23
  "scripts": {
10
- "build": "tsc && vite build",
11
- "clean:dist": "rimraf ./dist/*",
12
- "lint": "eslint -c .eslintrc.cjs --ext .js,.ts,.tsx src/",
13
- "lint:fix": "eslint -c .eslintrc.cjs --ext .js,.ts,.tsx --fix src/",
24
+ "build": "rspack --config rspack.prod.js build",
25
+ "build:analyze": "npm run build -- --analyze",
26
+ "check": "npm run typecheck && npm run lint && npm run test",
27
+ "lint": "eslint -c eslint.config.mjs src/",
28
+ "lint:fix": "eslint -c eslint.config.mjs --fix src/",
14
29
  "prepare": "husky",
15
30
  "semantic-release": "npm run clean; npm run build; npx semantic-release",
16
- "start": "vite",
31
+ "start": "rspack serve --config rspack.dev.js",
17
32
  "test": "jest --coverage --maxWorkers=50%",
18
33
  "test:watch": "jest --watch",
19
34
  "typecheck": "tsc -p tsconfig.json --noEmit"
20
35
  },
21
- "type": "module",
22
- "repository": {
23
- "type": "git",
24
- "url": "git+https://github.com/terrestris/shogun-admin.git"
25
- },
26
- "author": "terrestris GmbH & Co. KG <info@terrestris.de>",
27
- "keywords": [
28
- "SHOGun",
29
- "WebMapping"
30
- ],
31
- "license": "Apache-2.0 ",
32
- "bugs": {
33
- "url": "https://github.com/terrestris/shogun-admin/issues"
34
- },
35
- "homepage": "https://github.com/terrestris/shogun-admin#readme",
36
36
  "dependencies": {
37
- "@ant-design/icons": "5.3.7",
38
- "@ant-design/pro-components": "^2.7.10",
39
- "@casualbot/jest-sonar-reporter": "2.3.1",
37
+ "@ant-design/icons": "5.5.1",
38
+ "@ant-design/pro-components": "^2.7.18",
39
+ "@casualbot/jest-sonar-reporter": "2.4.0",
40
40
  "@monaco-editor/react": "4.6.0",
41
- "@terrestris/base-util": "2.0.0",
42
- "@terrestris/ol-util": "19.0.0",
43
- "@terrestris/shogun-util": "8.5.0",
41
+ "@terrestris/base-util": "3.0.0",
42
+ "@terrestris/ol-util": "21.0.0",
43
+ "@terrestris/shogun-util": "9.1.1",
44
44
  "@uiw/react-md-editor": "4.0.4",
45
- "antd": "5.17.2",
46
- "i18next": "23.11.5",
45
+ "antd": "5.21.5",
47
46
  "i18next-browser-languagedetector": "8.0.0",
47
+ "i18next": "23.16.2",
48
48
  "js-logger": "1.6.1",
49
49
  "js-md5": "0.8.3",
50
50
  "json-schema": "0.4.0",
51
- "keycloak-js": "25.0.1",
51
+ "keycloak-js": "26.0.1",
52
52
  "lodash": "4.17.21",
53
53
  "moment": "2.30.1",
54
- "monaco-editor": "0.50.0",
55
- "ol": "9.2.4",
56
- "react": "18.3.1",
54
+ "monaco-editor": "0.52.0",
55
+ "ol": "10.2.1",
57
56
  "react-dom": "18.3.1",
58
- "react-hotkeys-hook": "4.5.0",
59
- "react-i18next": "14.1.2",
60
- "react-router-dom": "6.24.0",
57
+ "react-hotkeys-hook": "4.5.1",
58
+ "react-i18next": "15.0.3",
59
+ "react-router-dom": "6.27.0",
60
+ "react": "18.3.1",
61
61
  "recoil": "0.7.7",
62
62
  "shapefile.js": "1.1.4"
63
63
  },
64
64
  "devDependencies": {
65
- "@babel/core": "7.24.7",
66
- "@babel/plugin-proposal-class-properties": "7.18.6",
65
+ "@babel/core": "7.25.8",
66
+ "@babel/plugin-proposal-function-bind": "7.25.8",
67
67
  "@babel/plugin-proposal-object-rest-spread": "7.20.7",
68
68
  "@babel/plugin-proposal-optional-chaining": "7.21.0",
69
+ "@babel/plugin-transform-class-properties": "7.25.7",
70
+ "@babel/plugin-transform-modules-commonjs": "7.25.7",
69
71
  "@babel/polyfill": "7.12.1",
70
- "@babel/preset-env": "7.24.7",
71
- "@babel/preset-react": "7.24.7",
72
- "@babel/preset-typescript": "7.24.7",
73
- "@commitlint/cli": "19.3.0",
74
- "@commitlint/config-conventional": "19.2.2",
75
- "@playwright/test": "1.45.0",
76
- "@originjs/vite-plugin-federation": "^1.3.5",
72
+ "@babel/preset-env": "7.25.8",
73
+ "@babel/preset-react": "7.25.7",
74
+ "@babel/preset-typescript": "7.25.7",
75
+ "@commitlint/cli": "19.5.0",
76
+ "@commitlint/config-conventional": "19.5.0",
77
+ "@eslint/eslintrc": "3.1.0",
78
+ "@eslint/js": "9.13.0",
79
+ "@module-federation/enhanced": "0.6.11",
80
+ "@playwright/test": "1.48.1",
81
+ "@rspack/cli": "1.0.13",
82
+ "@rspack/core": "1.0.13",
83
+ "@rspack/plugin-react-refresh": "1.0.0",
77
84
  "@semantic-release/changelog": "6.0.3",
78
85
  "@semantic-release/git": "10.0.1",
79
- "@semantic-release/github": "10.0.6",
86
+ "@semantic-release/github": "11.0.0",
80
87
  "@semantic-release/npm": "12.0.1",
81
88
  "@semantic-release/release-notes-generator": "14.0.1",
82
- "@terrestris/eslint-config-typescript": "5.0.0",
83
- "@terrestris/eslint-config-typescript-react": "2.0.0",
84
- "@testing-library/jest-dom": "6.4.6",
85
- "@testing-library/react": "16.0.0",
86
- "@types/jest": "29.5.12",
87
- "@types/react": "18.3.3",
88
- "@types/react-dom": "18.3.0",
89
- "@types/react-redux": "7.1.33",
89
+ "@stylistic/eslint-plugin": "2.9.0",
90
+ "@swc/helpers": "0.5.13",
91
+ "@terrestris/eslint-config-typescript-react": "3.0.0",
92
+ "@terrestris/eslint-config-typescript": "7.0.0",
93
+ "@testing-library/jest-dom": "6.6.2",
94
+ "@testing-library/react": "16.0.1",
95
+ "@types/jest": "29.5.13",
96
+ "@types/lodash": "4.17.12",
97
+ "@types/react-dom": "18.3.1",
98
+ "@types/react-redux": "7.1.34",
90
99
  "@types/react-router-dom": "5.3.3",
91
- "@typescript-eslint/eslint-plugin": "7.14.1",
92
- "@typescript-eslint/eslint-plugin-tslint": "7.0.2",
93
- "@typescript-eslint/parser": "7.14.1",
94
- "@vitejs/plugin-react": "^4.3.1",
95
- "babel-plugin-import": "^1.13.8",
100
+ "@types/react": "18.3.11",
101
+ "@typescript-eslint/eslint-plugin": "8.10.0",
102
+ "@typescript-eslint/parser": "8.10.0",
103
+ "babel-plugin-import": "1.13.8",
96
104
  "buffer": "6.0.3",
97
105
  "dotenv": "16.4.5",
98
- "eslint": "8.57.0",
99
- "eslint-plugin-import": "2.29.1",
100
- "eslint-plugin-react-hooks": "4.6.2",
101
- "husky": "9.0.11",
106
+ "eslint-plugin-import": "2.31.0",
107
+ "eslint-plugin-react-hooks": "5.1.0-beta-26f2496093-20240514",
108
+ "eslint": "9.13.0",
109
+ "globals": "15.11.0",
110
+ "husky": "9.1.6",
102
111
  "isomorphic-fetch": "3.0.0",
103
- "jest": "29.7.0",
104
112
  "jest-dom": "4.0.0",
105
113
  "jest-environment-jsdom": "29.7.0",
114
+ "jest": "29.7.0",
115
+ "less-loader": "12.2.0",
106
116
  "less": "4.2.0",
107
- "mini-css-extract-plugin": "2.9.0",
117
+ "monaco-editor-webpack-plugin": "7.1.0",
108
118
  "openapi-types": "12.1.3",
119
+ "react-refresh": "0.14.2",
109
120
  "regenerator-runtime": "0.14.1",
110
- "rimraf": "5.0.7",
111
- "semantic-release": "24.0.0",
112
- "typescript": "5.5.2",
113
- "vite": "^5.2.13",
114
- "vite-plugin-externals": "^0.6.2",
115
- "vite-plugin-top-level-await": "^1.4.1",
116
- "vitest": "^1.6.0",
121
+ "rimraf": "6.0.1",
122
+ "semantic-release": "24.1.3",
123
+ "source-map-loader": "5.0.0",
124
+ "style-loader": "4.0.0",
125
+ "typescript-eslint": "8.10.0",
126
+ "typescript": "5.6.3",
127
+ "webpack-merge": "6.0.1",
117
128
  "whatwg-fetch": "3.6.20"
118
129
  },
119
130
  "optionalDependencies": {
120
- "@rollup/rollup-linux-x64-gnu": "4.18.0"
131
+ "@rollup/rollup-linux-x64-gnu": "4.24.0"
132
+ },
133
+ "engines": {
134
+ "node": ">=20",
135
+ "npm": ">=10"
121
136
  },
122
137
  "@casualbot/jest-sonar-reporter": {
123
138
  "suiteName": "jest tests",
@@ -129,9 +144,5 @@
129
144
  "ancestorSeparator": " › ",
130
145
  "usePathForSuiteName": "true",
131
146
  "relativePaths": "true"
132
- },
133
- "engines": {
134
- "node": ">=20",
135
- "npm": ">=10"
136
147
  }
137
148
  }