Added check on correct setup of the environment

This commit is contained in:
Davide Passoni
2024-02-19 15:34:39 +01:00
parent bc6c70928f
commit 4efd48c4b9
12 changed files with 40 additions and 20 deletions

View File

@@ -1 +1 @@
call browserify ./src/index.ts -o ../../build/frontend/public/javascripts/bundle.js -t [ babelify --global true --presets [ @babel/preset-env ] --extensions '.js'] -p [ tsify --noImplicitAny ]
call browserify .\src\index.ts -o ..\..\build\frontend\public\javascripts\bundle.js -t [ babelify --global true --presets [ @babel\preset-env ] --extensions '.js'] -p [ tsify --noImplicitAny ]

View File

@@ -1 +1 @@
tsc --project tsconfig.json --declaration --emitDeclarationOnly --outfile ./@types/olympus/index.d.ts
tsc --project tsconfig.json --declaration --emitDeclarationOnly --outfile .\@types\olympus\index.d.ts

View File

@@ -1 +1,5 @@
watchify ./src/index.ts --debug -o ../server/public/javascripts/bundle.js -t [ babelify --global true --presets [ @babel/preset-env ] --extensions '.js'] -p [ tsify --noImplicitAny ]
cd ..
call .\check_setup.bat
cd website
watchify .\src\index.ts --debug -o ..\server\public\javascripts\bundle.js -t [ babelify --global true --presets [ @babel/preset-env ] --extensions '.js'] -p [ tsify --noImplicitAny ]

View File

@@ -35,7 +35,7 @@ L.Map.addInitHook("addHandler", "gestureHandling", GestureHandling);
// TODO would be nice to convert to ts - yes
require("../../node_modules/leaflet.nauticscale/dist/leaflet.nauticscale.js")
require("../../node_modules/leaflet-path-drag/dist/L.Path.Drag.js")
require("../../node_modules/leaflet-path-drag/dist/index.js")
export type MapMarkerVisibilityControl = {
"category"?: string;