Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package-lock.json13
-rw-r--r--package.json6
-rwxr-xr-xscripts/docker-run2
3 files changed, 7 insertions, 14 deletions
diff --git a/package-lock.json b/package-lock.json
index b7e3a65..060f375 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -5,7 +5,7 @@
"packages": {
"": {
"dependencies": {
- "pan-zoom": "file:../pan-zoom"
+ "pan-zoom": "git://git.webdevcat.me/pan-zoom#cm-programmatic-pan"
},
"devDependencies": {
"esbuild": "^0.20.2",
@@ -16,13 +16,6 @@
"selenium-webdriver": "^4.19.0"
}
},
- "../pan-zoom": {
- "version": "0.2.0",
- "devDependencies": {
- "esbuild": "^0.20.2",
- "esbuild-server": "^0.3.0"
- }
- },
"node_modules/@ampproject/remapping": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz",
@@ -3826,8 +3819,8 @@
"dev": true
},
"node_modules/pan-zoom": {
- "resolved": "../pan-zoom",
- "link": true
+ "version": "0.2.0",
+ "resolved": "git://git.webdevcat.me/pan-zoom#24a2d7fa807d1a6f1b3cb43761c60d80cb023525"
},
"node_modules/parent-module": {
"version": "1.0.1",
diff --git a/package.json b/package.json
index 805fd31..cef238b 100644
--- a/package.json
+++ b/package.json
@@ -1,8 +1,5 @@
{
"type": "module",
- "dependencies": {
- "pan-zoom": "file:../pan-zoom"
- },
"devDependencies": {
"esbuild": "^0.20.2",
"esbuild-server": "^0.3.0",
@@ -17,5 +14,8 @@
"test:integ": "node ./node_modules/.bin/jest --detectOpenHandles --config jest.config.integ.cjs",
"test:integ:debug": "NODE_INSPECT_RESUME_ON_START=1 node inspect ./node_modules/jest/bin/jest.js --config jest.config.integ.cjs --runInBand",
"test": "jest"
+ },
+ "dependencies": {
+ "pan-zoom": "git://git.webdevcat.me/pan-zoom#cm-programmatic-pan"
}
}
diff --git a/scripts/docker-run b/scripts/docker-run
index 42af014..a11ce87 100755
--- a/scripts/docker-run
+++ b/scripts/docker-run
@@ -10,4 +10,4 @@ else
port=8080
fi
-docker run --rm --init -it -v $PWD:/usr/src/app -v $PWD/../pan-zoom:/usr/src/pan-zoom -u $user_id:$user_id -p $port:$port $image $@
+docker run --rm --init -it -v $PWD:/usr/src/app -u $user_id:$user_id -p $port:$port $image $@