Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
734530c
feat(legacy): inline https://github.com/mdn/yari/commit/0cfdd1b8445c0…
caugner Oct 2, 2025
d40a96a
chore(legacy): use vendor/yari instead of node_modules/@mdn/yari
caugner Oct 2, 2025
13c8b4f
chore: remove obsolete yari parts
caugner Oct 2, 2025
7a4128d
fix(vendor/yari): ignore Express errors
caugner Oct 2, 2025
8db297f
Merge branch 'main' into vendor-yari
caugner Apr 28, 2026
0d9b519
fix(legacy): restore prepare hook to install vendor/yari deps
caugner Apr 28, 2026
4d75f21
fix(vendor/yari): declare packageManager so yarn ignores fred's npm f…
caugner Apr 28, 2026
a58ac1d
fix(legacy): resolve modules from vendor/yari/node_modules
caugner Apr 28, 2026
dd0fb1b
fix(server): ignore Express v4/v5 mismatch on handleRunner call
caugner Apr 28, 2026
8142a0a
fix(legacy): alias react to vendor/yari copy to avoid dual-React
caugner Apr 28, 2026
83fe2da
chore(vendor/yari): remove unused top-level directories
caugner Apr 28, 2026
c16b654
chore(vendor/yari): remove unused libs subdirs
caugner Apr 28, 2026
196f8d7
chore(vendor/yari): remove project-meta files
caugner Apr 28, 2026
04af348
chore(vendor/yari): drop dead scripts, bins, and tsconfig.dist
caugner Apr 28, 2026
4eaf0c7
chore: drop build:legacy script targeting deleted yari pipeline
caugner Apr 28, 2026
525aca5
chore(legacy): drop unused yari rspack entry, html template, manifest…
caugner Apr 28, 2026
ac00ff8
chore(vendor/yari): remove yari-only client/src route subtrees
caugner Apr 28, 2026
a6f542d
chore(vendor/yari): remove yari-SPA root files and unused types
caugner Apr 28, 2026
d425625
chore(vendor/yari): remove unused client/public assets
caugner Apr 28, 2026
3c78f66
chore(vendor/yari): remove unused document/playground/telemetry files
caugner Apr 28, 2026
9b6e874
chore(vendor/yari): remove unused homepage and plus subfeatures
caugner Apr 28, 2026
566a0f2
chore(vendor/yari): remove unused ui/ components
caugner Apr 28, 2026
578bf14
chore(vendor/yari): remove unused client/src/assets
caugner Apr 28, 2026
c080c28
docs(vendor/yari): add README describing vendored state
caugner Apr 28, 2026
a92e5ec
chore(vendor/yari): trim package.json to deps actually used by build
caugner Apr 28, 2026
a528000
docs(vendor/yari): drop stale Express v4/v5 note
caugner Apr 28, 2026
3048afa
chore(vendor/yari): remove yari's CRA-style client build pipeline
caugner Apr 28, 2026
60405fd
chore(vendor/yari): drop yari-only icons from icon SCSS map and assets
caugner Apr 28, 2026
cabf745
chore(vendor/yari): drop unused interactive-example, play, about, pag…
caugner Apr 28, 2026
bdd81fe
chore(vendor/yari): drop on-github, lit/community, lit/curriculum, pl…
caugner Apr 28, 2026
af3bb90
chore(vendor/yari): remove orphan SCSS for already-deleted ui/ compon…
caugner Apr 28, 2026
e01f6e8
chore(vendor/yari): reset libs/play to main
caugner Apr 28, 2026
cf1c0bb
chore(legacy/plus-updates): use fred's mdn-compat-table-lazy element …
caugner Apr 28, 2026
6cf6e14
chore(vendor/yari): remove lit/compat (replaced by fred's compat-tabl…
caugner Apr 28, 2026
e5154d9
chore(vendor/yari): remove curriculum theming, article-footer SVG, an…
caugner Apr 28, 2026
1b1bbda
chore(vendor/yari): remove observatory/baseline theming vars and base…
caugner Apr 28, 2026
3af8d23
chore(vendor/yari): drop dead lit/libs/types files surfaced by knip
caugner Apr 28, 2026
f779465
chore(vendor/yari): restore type files referenced by live code
caugner Apr 28, 2026
0d202bf
chore(vendor/yari): reset client/pwa to main
caugner Apr 28, 2026
369fe1d
chore(vendor/yari): format with prettier
caugner Apr 28, 2026
bf9090b
chore(vendor/yari): drop unused dependencies
caugner Apr 28, 2026
bf3316b
docs(vendor/yari): document remaining dependencies
caugner Apr 28, 2026
e7d706f
chore(vendor/yari): drop duplicate Inter font-face and unused Barlow …
caugner Apr 28, 2026
884e31a
chore(vendor/yari): drop unused icon SVGs and trim $icons map
caugner Apr 28, 2026
a29338c
chore(vendor/yari): restore browser icons used by Plus updates
caugner Apr 28, 2026
aab78a4
chore(vendor/yari): drop unused curriculum-* SVG assets
caugner Apr 28, 2026
14109b4
chore(vendor/yari): drop unused RenderSideBar export and leaf helpers
caugner Apr 28, 2026
568741d
chore(vendor/yari): trim SidebarContainer to TOC + slot only
caugner Apr 28, 2026
cdcc347
chore(vendor/yari): drop sidebar-click telemetry hook
caugner Apr 28, 2026
e0aab07
chore(vendor/yari): replace yarn.lock files with package-lock.json
caugner Apr 28, 2026
f517794
chore: switch vendor/yari from yarn to npm
caugner Apr 28, 2026
6b83818
chore(vendor/yari): consolidate nested packages into npm workspaces
caugner Apr 28, 2026
8e9d1c0
chore(vendor/yari): align dexie to ^4.2.0 in client/pwa
caugner Apr 28, 2026
fc8464f
revert: restore .lefthook.yml to main
caugner Apr 28, 2026
ad86e10
revert: restore .stylelintignore to main
caugner Apr 28, 2026
19693b5
chore: drop unused downshift devDep and React 19 alias workaround
caugner Apr 28, 2026
8d047c1
docs(vendor/yari): refresh README for npm-workspaces and main's SW
caugner Apr 28, 2026
1aace9c
docs(vendor/yari): drop "Updating" section
caugner Apr 28, 2026
9c3a2f9
Revert "chore(vendor/yari): drop metrics.yaml and pings.yaml"
caugner Apr 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pre-commit:
glob: "components/**/*.js"

- name: stylelint
run: npx stylelint --fix --cache {staged_files}
run: npx stylelint --fix --cache --allow-empty-input {staged_files}
glob: "*.css"
stage_fixed: true

Expand All @@ -42,7 +42,7 @@ pre-push:
- name: lit-analyzer
run: npm run lit-analyzer -- components
- name: stylelint
run: npx stylelint '**/*.css' --cache --ignore-path .gitignore
run: npx stylelint '**/*.css' --cache --ignore-path .stylelintignore --ignore-path .gitignore
- name: tsc
run: npx tsc

Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
CHANGELOG.md
vendor
1 change: 1 addition & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
dist/
vendor/
12 changes: 6 additions & 6 deletions legacy/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import ReactDOM from "react-dom/client";
Comment thread
caugner marked this conversation as resolved.
import { BrowserRouter as Router, Route, Routes } from "react-router-dom";
import { UserDataProvider } from "@mdn/yari/client/src/user-context";
import { UIProvider } from "@mdn/yari/client/src/ui-context";
import { Plus } from "@mdn/yari/client/src/plus";
import { GleanProvider } from "@mdn/yari/client/src/telemetry/glean-context";
import { UserDataProvider } from "../vendor/yari/client/src/user-context";
import { UIProvider } from "../vendor/yari/client/src/ui-context";
import { Plus } from "../vendor/yari/client/src/plus";
import { GleanProvider } from "../vendor/yari/client/src/telemetry/glean-context";

import "@mdn/yari/client/src/app.scss";
import "@mdn/yari/client/src/document/index.scss";
import "../vendor/yari/client/src/app.scss";
import "../vendor/yari/client/src/document/index.scss";

import "./legacy.css";
import "../hooks/legacy-theme-controller.js";
Expand Down
Loading
Loading