anvaka/city-roads
36.4
Weak · 15 November 2026
3.9k
lines of production code
JavaScript
primary language
5
measurements over time
What this system is
Behavioural changes
Major refactoring of the rendering engine and data loading architecture
The core library has been significantly restructured to support a multi-layer rendering system and more flexible data queries. The previous single-layer scene model is replaced by a GridLayer system that allows multiple independent layers, each with its own color and line width settings, and the ability to hide layers without removing them. Data loading is now handled by a new LoadOptions and Query architecture that supports custom projections, bounding box searches, and raw query templates. The scene API exposes methods to manage these layers, set global colors, and export scenes to SVG or PNG, while internal modules like Grid and Progress have been updated to support these new capabilities.
src/lib · high confidence
Migrate to Vue 3 and enable per-layer color customization with SVG export
The application has been upgraded from Vue 2 to Vue 3, updating the initialization logic in main.js and component imports. This release introduces granular color controls, allowing users to customize the colors of individual map layers via the settings panel rather than applying a single global color. Additionally, users can now export the current view as a vector image (.svg) alongside the existing raster (.png) option. The app also features draggable labels and overlays, improved touch handling for mobile devices, and a switch to Cloudfront for data caching.
src · high confidence
Migrated components to Vue 3 composition and directive APIs
The components in this directory have been updated to be compatible with Vue 3. This includes replacing the Vue 2 \value\ prop and \input\ event with the Vue 3 \modelValue\ prop and \update:modelValue\ event (seen in \ColorPicker.vue\ and \EditableLabel.vue\), swapping the \beforeDestroy\ lifecycle hook for \beforeUnmount\ (\FindPlace.vue\), and updating the \v-click-outside\ directive to use the new \created\, \updated\, and \unmounted\ hooks instead of the deprecated \bind\, \update\, and \unbind\ hooks (\clickOutside.js\). Additionally, \ColorPicker.vue\ now imports a local \Sketch.vue\ component from the new \vue3-color\ directory rather than the external \vue-color\ package.
src/components · high confidence
Migrated to Vue 3 and Vite build tooling
The application has been upgraded from Vue 2 to Vue 3, accompanied by a migration from the legacy Vue CLI build system to Vite. This change is evidenced by the removal of older configuration files (\.babelrc\, \.eslintrc.js\, \.postcssrc.js\) and the introduction of \vite.config.js\ and a Vue 3-specific ESLint configuration. Additionally, the HTML entry point was updated to use Vite's module-based script loading (\type="module"\) and the root DOM container was renamed from \\#app\ to \\#host\ to align with the new framework setup.
(repo-wide) · high confidence
Removal of legacy Webpack 1.x configuration files
The project has removed the legacy configuration files \config/dev.env.js\, \config/index.js\, and \config/prod.env.js\. These files previously managed development and production environment variables and Webpack 1.x-specific settings such as the dev server port, proxy table, and source map options. Their deletion indicates a migration away from the older Webpack template structure, likely requiring users to rely on environment variables or a new configuration system for build and development settings.
config · high confidence
Removed legacy Webpack 3 build configuration
The project's Webpack 3 build scripts have been removed, including the production and development configuration files (webpack.prod.conf.js, webpack.dev.conf.js), base configuration, and utility modules. This change eliminates the manual build orchestration and legacy loader setup previously handled by these files.
build · high confidence
Dependencies
37 commits updating dependencies (2 manifests)
A dependency / build maintenance change in (dependencies) — 37 commits (15 fixs), 2 files: “Fixed ios export to png/svg bug”; “latest w-gl”; “npm audit fix”; and 19 more.
(dependencies) · medium confidence · unverified
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 36 → 36 (+0.4)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 63 → 61 (-2.0)
- Architecture 100 → 100 (+0.0)
- Maturity 50 → 50 (+0.0)
- Readiness 19 → 19 (+0.0)
- Security 86 → 89 (+2.1)
- Accessibility 36 → 38 (+1.8)
Resolved (4)
- Medium CVE: [GHSA redacted] (package-lock.json)
- Medium CVE: [GHSA redacted] (package-lock.json)
- No ADRs found
- No tests found
New (3)
- No ADRs found (package.json)
- redundant comment (src/lib/canvas2BlobPolyfill.js)
- redundant comment (src/lib/canvas2BlobPolyfill.js)
Changes since last survey
- 1 commits — 0 feature/other, 1 fixes
By area
- (root) — 1 commit
Notable commits
- fix: npm audit fix
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
anvaka/city-roads was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 4677b4e146190697c8d96d6ab901c7ac90fc633a — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.