mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 20:09:27 -06:00
Move assert.ts and rison.ts to shared/ directory to eliminate browser dependencies in Node.js contexts. Create shared/url-serialization.ts with Node-compatible ConfigMinifier implementation, allowing Cypress tests to import serialization functions without crashing on module load. - Moved static/assert.ts → shared/assert.ts - Moved static/rison.ts → shared/rison.ts - Created shared/url-serialization.ts with ConfigMinifier - Updated 40+ import paths across codebase - Refactored cypress/e2e/frontend.cy.ts to use buildKnownGoodState() - Added test/url-serialization.ts for verification - Updated biome.json to allow hasOwnProperty in shared/ directory Fixes Cypress spec file loading which previously crashed due to GoldenLayout browser dependency in import chain. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>