Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use Playwright's base image
FROM mcr.microsoft.com/playwright:v1.49.0-jammy
FROM mcr.microsoft.com/playwright:v1.55.0-jammy

# Set the working directory
WORKDIR /work
Expand All @@ -9,7 +9,7 @@ COPY .npmrc .npmrc
COPY package.json package.json

# Install PNPM
RUN corepack enable && corepack prepare pnpm@8.15.5 --activate
RUN corepack enable && corepack prepare pnpm@10.17.0 --activate

# Get pnpm to install the version of Node declared in .npmrc
RUN pnpm exec ls
Expand Down
1 change: 0 additions & 1 deletion examples/tests/mount-pivot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ export default async function ({ renderer, testRoot }: ExampleSettings) {
mount: 0.5,
});


setTimeout(async () => {
const dimension = node
.animate(
Expand Down
6 changes: 2 additions & 4 deletions examples/tests/render-bounds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ export default async function ({ renderer, testRoot }: ExampleSettings) {
});

let redRectAnimation: IAnimationController | null = null;

setTimeout(async () => {

while (true) {
redRectAnimation = redRect
.animate(
Expand Down Expand Up @@ -89,9 +88,8 @@ export default async function ({ renderer, testRoot }: ExampleSettings) {
});

let blueRectAnimation: IAnimationController | null = null;

setTimeout(async () => {

while (true) {
blueRectAnimation = blueRect
.animate(
Expand Down
3 changes: 0 additions & 3 deletions examples/tests/robot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ export default async function ({ renderer, testRoot }: ExampleSettings) {
parent: robot,
});


setTimeout(async () => {

while (true) {
await robotCore
.animate({ y: 10 }, { duration: 500 })
Expand Down Expand Up @@ -143,7 +141,6 @@ export default async function ({ renderer, testRoot }: ExampleSettings) {
parent: testRoot,
});


setTimeout(async () => {
await openGroundDoors(1000);
await robot
Expand Down
2 changes: 0 additions & 2 deletions examples/tests/viewport-events-canvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ export default async function ({ renderer, testRoot }: ExampleSettings) {
.waitUntilStopped();

if (runAnimation) {

setTimeout(animate, 2000);
}
};
Expand All @@ -184,7 +183,6 @@ export default async function ({ renderer, testRoot }: ExampleSettings) {
runAnimation = !runAnimation;

if (runAnimation) {

animate();
}
}
Expand Down
2 changes: 0 additions & 2 deletions examples/tests/viewport-events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ export default async function test({ renderer, testRoot }: ExampleSettings) {
.waitUntilStopped();

if (runAnimation) {

setTimeout(animate, 2000);
}
};
Expand Down Expand Up @@ -467,7 +466,6 @@ export default async function test({ renderer, testRoot }: ExampleSettings) {
runAnimation = !runAnimation;

if (runAnimation) {

animate();
}
}
Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,19 @@
},
"homepage": "https://github.com/lightning-js/renderer#readme",
"devDependencies": {
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"@typescript-eslint/parser": "^8.16.0",
"@vitest/coverage-v8": "^2.1.5",
"concurrently": "^8.0.1",
"eslint": "^9.15.0",
"eslint-config-prettier": "^8.7.0",
"@types/node": "^20.19.17",
"@typescript-eslint/eslint-plugin": "^8.44.0",
"@typescript-eslint/parser": "^8.44.0",
"@vitest/coverage-v8": "^2.1.9",
"concurrently": "^8.2.2",
"eslint": "^9.36.0",
"eslint-config-prettier": "^8.10.2",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"prettier": "^2.8.4",
"typedoc": "^0.26.11",
"typescript": "~5.6.3",
"vitest": "^2.0.0",
"lint-staged": "^13.3.0",
"prettier": "^2.8.8",
"typedoc": "^0.28.13",
"typescript": "~5.9.2",
"vitest": "^2.1.9",
"vitest-mock-extended": "^2.0.2"
},
"lint-staged": {
Expand All @@ -83,10 +83,10 @@
"README.md",
"scripts"
],
"packageManager": "pnpm@8.9.2",
"packageManager": "pnpm@10.17.0",
"engines": {
"npm": ">= 10.0.0",
"pnpm": ">= 8.9.2",
"pnpm": ">= 10.17.0",
"node": ">= 18.0.0"
}
}
Loading
Loading