git » sdk » commit a1744e2

Add playwright/test and sqlite-wasm to dev dependencies

author Eric Roberts
2026-08-24 15:34:23 UTC
committer Stephen Paul Weber
2026-08-24 16:03:53 UTC
parent 3f44d62e5fe04187412ea556631c0725b10693ff

Add playwright/test and sqlite-wasm to dev dependencies

You need these to run the browser tests locally so IMO they should be in dev
dependencies. They therefore no longer need to be explicitly installed in the
container.

build-misc/Containerfile.image +1 -1
npm/package.json +2 -0

diff --git a/build-misc/Containerfile.image b/build-misc/Containerfile.image
index ee43a6f..2204067 100644
--- a/build-misc/Containerfile.image
+++ b/build-misc/Containerfile.image
@@ -80,7 +80,7 @@ ENV HAXE_STD_PATH=/opt/haxe/std
 RUN make hx-build-dep
 
 COPY npm /usr/src/sdk/npm
-RUN cd npm && npm install && npm install @playwright/test@1.60.0 @sqlite.org/sqlite-wasm
+RUN cd npm && npm install
 RUN ln -s npm/node_modules node_modules
 
 COPY . /usr/src/sdk/
diff --git a/npm/package.json b/npm/package.json
index fa09dec..e7d6455 100644
--- a/npm/package.json
+++ b/npm/package.json
@@ -35,6 +35,8 @@
     }
   },
   "devDependencies": {
+    "@playwright/test": "^1.60.0",
+    "@sqlite.org/sqlite-wasm": "^3.53.0-build1",
     "typescript": "^5.4.5"
   }
 }