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
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,38 +264,38 @@
"@rollup/plugin-replace": "^6.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-typescript": "^12.3.0",
"@size-limit/preset-small-lib": "^13.0.3",
"@size-limit/preset-small-lib": "^14.0.0",
"@types/css-font-loading-module": "0.0.14",
"@types/jsdom": "^28.0.1",
"@types/node": "^26.4.0",
"@vitest/browser": "^4.1.7",
"@vitest/browser-playwright": "^4.1.7",
"@vitest/browser-webdriverio": "^4.1.10",
"@vitest/coverage-istanbul": "^4.1.7",
"@webgpu/types": "^0.1.69",
"@types/node": "^26.6.2",
"@vitest/browser": "^4.1.11",
"@vitest/browser-playwright": "^4.1.11",
"@vitest/browser-webdriverio": "^4.1.11",
"@vitest/coverage-istanbul": "^4.1.11",
"@webgpu/types": "^0.1.74",
"esbuild": "^0.28.2",
"eslint": "~10.9.1",
"eslint": "~10.11.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-security": "^4.0.0",
"eslint-plugin-security": "^4.0.1",
"eslint-plugin-simple-import-sort": "^14.0.0",
"eslint-plugin-unicorn": "^74.0.0",
"eslint-plugin-unicorn": "^76.0.0",
"eslint-plugin-unused-imports": "^4.4.1",
"globals": "^17.11.0",
"globals": "^17.12.0",
"husky": "^9.1.7",
"jiti": "^2.7.0",
"jsdom": "^29.1.1",
"lint-staged": "^17.4.1",
"playwright": "^1.62.1",
"lint-staged": "^17.5.1",
"playwright": "^1.63.0",
"prettier": "3.9.8",
"rimraf": "^6.1.3",
"rolldown": "1.2.9",
"rollup": "^4.63.1",
"rollup": "^4.63.4",
"rollup-plugin-esbuild": "^6.2.1",
"size-limit": "^13.0.3",
"size-limit": "^14.0.0",
"tslib": "^2.8.1",
"tsx": "^4.23.12",
"tsx": "^4.23.15",
"typescript": "~6.0.3",
"typescript-eslint": "~8.68.0",
"vitest": "^4.1.7"
"typescript-eslint": "~8.70.1",
"vitest": "^4.1.11"
}
}
4 changes: 2 additions & 2 deletions packages/create-exo-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"url": "git+https://github.com/Exoridus/ExoJS.git"
},
"devDependencies": {
"@types/node": "^26.4.0",
"tsx": "^4.23.12",
"@types/node": "^26.6.2",
"tsx": "^4.23.15",
"typescript": "~6.0.3"
}
}
4 changes: 2 additions & 2 deletions packages/eslint-plugin-exojs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
},
"devDependencies": {
"@types/estree": "^1.0.9",
"@types/node": "^26.4.0",
"eslint": "~10.9.1",
"@types/node": "^26.6.2",
"eslint": "~10.11.0",
"typescript": "~6.0.3"
},
"license": "MIT",
Expand Down
10 changes: 5 additions & 5 deletions packages/exojs-bench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
"@codexo/exojs-particles": "workspace:*",
"@codexo/exojs-physics": "workspace:*",
"@codexo/exojs-tilemap": "workspace:*",
"@types/node": "^26.4.0",
"@webgpu/types": "^0.1.69",
"playwright": "^1.62.1",
"tsx": "^4.23.12",
"vitest": "^4.1.7"
"@types/node": "^26.6.2",
"@webgpu/types": "^0.1.74",
"playwright": "^1.63.0",
"tsx": "^4.23.15",
"vitest": "^4.1.11"
},
"license": "MIT"
}
4 changes: 2 additions & 2 deletions packages/exojs-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
"esbuild": "^0.28.2"
},
"devDependencies": {
"rollup": "^4.63.1",
"vite": "^7.3.5"
"rollup": "^4.63.4",
"vite": "^8.3.0"
},
"license": "MIT",
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/exojs-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
},
"devDependencies": {
"@codexo/exojs": "workspace:*",
"@types/node": "^26.4.0",
"@types/node": "^26.6.2",
"typescript": "~6.0.3"
},
"license": "MIT",
Expand Down
8 changes: 6 additions & 2 deletions packages/exojs-config/eslint/correctness.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,10 @@ export const typeAwareCorrectnessRules = {
// `window` is not the global object in a worker, and this engine runs in both.
'unicorn/prefer-global-this': 'error',

// Promoted from warning: all three are satisfied everywhere, so the warning
// Promoted from warning: both are satisfied everywhere, so the warning
// was a migration state with nothing left to migrate.
'unicorn/no-for-each': 'error',
'unicorn/prefer-spread': 'error',
'unicorn/prefer-ternary': 'error',

// ── Unicorn: Bug patterns the type system does not reject ────────────────
'unicorn/no-accidental-bitwise-operator': 'error',
Expand Down Expand Up @@ -308,6 +307,11 @@ export const typeAwareCorrectnessRules = {
// part of its contract and is spelled out for that reason.
// unicorn/consistent-function-style
// Overlaps `func-style` above, which already decides this repository-wide.
// unicorn/prefer-ternary
// Held while it only merged `if`/`else` pairs. Since unicorn 75 it also
// folds an `if (...) return a;` guard into the `return` after it: 196 hits,
// and the autofix turns boolean guards into `cond ? false : expr`. The
// `only-single-line` option does not narrow it.
// unicorn/prefer-set-methods, unicorn/prefer-group-by,
// unicorn/prefer-get-or-insert-computed, unicorn/prefer-regexp-escape,
// unicorn/prefer-array-from-async, unicorn/prefer-array-last-methods,
Expand Down
12 changes: 6 additions & 6 deletions packages/exojs-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@
"dependencies": {
"@codecov/rollup-plugin": "^2.0.1",
"@codexo/exojs-build": "workspace:*",
"@eslint-react/eslint-plugin": "^5.9.0",
"@eslint-react/eslint-plugin": "^5.20.5",
"@eslint/js": "^10.0.1",
"@vitest/eslint-plugin": "^1.6.20",
"@vitest/eslint-plugin": "^1.6.27",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-security": "^4.0.0",
"eslint-plugin-security": "^4.0.1",
"eslint-plugin-simple-import-sort": "^14.0.0",
"eslint-plugin-unicorn": "^74.0.0",
"eslint-plugin-unicorn": "^76.0.0",
"eslint-plugin-unused-imports": "^4.4.1",
"globals": "^17.11.0",
"globals": "^17.12.0",
"rolldown": "1.2.9",
"typescript-eslint": "~8.68.0"
"typescript-eslint": "~8.70.1"
},
"license": "MIT"
}
3 changes: 1 addition & 2 deletions packages/exojs-ldtk/src/ldtkToTileMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -536,8 +536,7 @@ const convertField = (field: LdtkFieldInstance): TilePropertyValue | undefined =

// Exhaustiveness check: if LDtk ever adds a new field type, `field` will
// fail to narrow to `never` here and tsc will error.
const _exhaustive: never = field;
void _exhaustive;
field satisfies never;
throw new Error(`convertFieldInstances: unrecognised LDtk field type "${(field as LdtkFieldInstance).__type}".`);
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ ${sunQuadWgsl}`,
this._followCamera();
this._ambient.copy(ambient);

const marching = this._cascading ? false : this._writeLights(lights, occluders);
const marching = !this._cascading && this._writeLights(lights, occluders);

this._publishSources(lights);
this._writeWalk(lights, occluders);
Expand Down
8 changes: 4 additions & 4 deletions packages/exojs-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
"devDependencies": {
"@codexo/exojs": "workspace:*",
"@codexo/exojs-config": "workspace:*",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/react": "^19.2.17",
"eslint": "~10.9.1",
"@testing-library/dom": "^10.4.2",
"@testing-library/react": "^16.3.3",
"@types/react": "^19.3.0",
"eslint": "~10.11.0",
"eslint-config-prettier": "^10.1.8"
},
"license": "MIT",
Expand Down
3 changes: 1 addition & 2 deletions packages/exojs-tiled/src/TiledMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -805,8 +805,7 @@ const convertPropertyValue = (property: TiledPropertyData): TilePropertyValue |
default: {
// Exhaustiveness check: if a new TiledPropertyType is ever added,
// `property.type` will fail to narrow to `never` here and tsc will error.
const _exhaustive: never = property.type;
void _exhaustive;
property.type satisfies never;
throw new Error(`convertProperties: unrecognised Tiled property type "${property.type as string}".`);
}
}
Expand Down
Loading
Loading