[ci] update driver.js installation method
Browse files- static/package.json +12 -12
- static/pnpm-lock.yaml +0 -0
- static/src/components/PagePredictionMap.vue +2 -1
- static/src/input.css +2 -1
static/package.json
CHANGED
@@ -11,24 +11,24 @@
|
|
11 |
"type": "module",
|
12 |
"dependencies": {
|
13 |
"@geoman-io/leaflet-geoman-free": "^2.16.0",
|
14 |
-
"driver.js": "github
|
15 |
"leaflet": "^1.9.4",
|
16 |
"leaflet-providers": "^2.0.0",
|
17 |
-
"vue": "^3.4.
|
18 |
},
|
19 |
"devDependencies": {
|
20 |
-
"@tsconfig/node20": "^20.1.
|
21 |
-
"@types/leaflet": "^1.9.
|
22 |
-
"@types/node": "^20.
|
23 |
"@vitejs/plugin-vue": "^5.0.4",
|
24 |
"@vue/tsconfig": "^0.5.1",
|
25 |
-
"autoprefixer": "^10.4.
|
26 |
-
"eslint": "^
|
27 |
-
"eslint-plugin-vue": "^9.
|
28 |
-
"postcss": "^8.4.
|
29 |
-
"postcss-import": "^16.0
|
30 |
"prettier": "^3.2.5",
|
31 |
-
"tailwindcss": "^3.4.
|
32 |
-
"vite": "^5.
|
33 |
}
|
34 |
}
|
|
|
11 |
"type": "module",
|
12 |
"dependencies": {
|
13 |
"@geoman-io/leaflet-geoman-free": "^2.16.0",
|
14 |
+
"@trincadev/driver.js": "https://github.com/trincadev/driver.js/archive/refs/tags/1.3.1.1-trincadev.tar.gz",
|
15 |
"leaflet": "^1.9.4",
|
16 |
"leaflet-providers": "^2.0.0",
|
17 |
+
"vue": "^3.4.23"
|
18 |
},
|
19 |
"devDependencies": {
|
20 |
+
"@tsconfig/node20": "^20.1.4",
|
21 |
+
"@types/leaflet": "^1.9.11",
|
22 |
+
"@types/node": "^20.12.7",
|
23 |
"@vitejs/plugin-vue": "^5.0.4",
|
24 |
"@vue/tsconfig": "^0.5.1",
|
25 |
+
"autoprefixer": "^10.4.19",
|
26 |
+
"eslint": "^9.0.0",
|
27 |
+
"eslint-plugin-vue": "^9.25.0",
|
28 |
+
"postcss": "^8.4.38",
|
29 |
+
"postcss-import": "^16.1.0",
|
30 |
"prettier": "^3.2.5",
|
31 |
+
"tailwindcss": "^3.4.3",
|
32 |
+
"vite": "^5.2.9"
|
33 |
}
|
34 |
}
|
static/pnpm-lock.yaml
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
static/src/components/PagePredictionMap.vue
CHANGED
@@ -110,7 +110,8 @@ import {
|
|
110 |
import 'leaflet-providers'
|
111 |
import '@geoman-io/leaflet-geoman-free'
|
112 |
import { onMounted, onUpdated, ref, type Ref } from 'vue'
|
113 |
-
|
|
|
114 |
|
115 |
import {
|
116 |
durationRef,
|
|
|
110 |
import 'leaflet-providers'
|
111 |
import '@geoman-io/leaflet-geoman-free'
|
112 |
import { onMounted, onUpdated, ref, type Ref } from 'vue'
|
113 |
+
// workaround because of dist/ content not included in @trincadev/driver.js tag release tarball
|
114 |
+
import { driver } from "../../node_modules/@trincadev/driver.js/src/driver"
|
115 |
|
116 |
import {
|
117 |
durationRef,
|
static/src/input.css
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
@import "leaflet/dist/leaflet.css";
|
2 |
@import "leaflet-custom.css";
|
3 |
@import "@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css";
|
4 |
-
|
|
|
5 |
|
6 |
@tailwind base;
|
7 |
|
|
|
1 |
@import "leaflet/dist/leaflet.css";
|
2 |
@import "leaflet-custom.css";
|
3 |
@import "@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css";
|
4 |
+
/* workaround because of dist/ content not included in @trincadev/driver.js tag release tarball */
|
5 |
+
@import "../node_modules/@trincadev/driver.js/src/driver.css";
|
6 |
|
7 |
@tailwind base;
|
8 |
|