尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Schemd documentation, schematic IDE, and interactive engineering laboratories.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗The Svelte 5 and SvelteKit 3 documentation site, IDE, and simulation laboratory for
@schemd/core. Schemd is pronounced “skemd”
(/skɛmd/).
The site serves eleven documentation lines, a native-textarea browser IDE, release and coverage
reports, and eighteen instrumented laboratories covering digital, analog, quantum, power and
control systems. English and Spanish interfaces share the same routes; Spanish URLs begin with /es.
Requirements: Node.js 24 or newer and Bun.
bun install --frozen-lockfile
bun run dev
The production target is a long-running adapter-bun process:
bun run build
HOST=0.0.0.0 PORT=3000 bun run start
The Bun adapter assumes HTTPS behind a proxy. Set SCHEMD_ORIGIN when building for a known
public origin. For a local production preview with working form submissions:
SCHEMD_ORIGIN=http://127.0.0.1:4173 bun run build
bun run start:test
Playwright applies that local build origin automatically. Only trust proxy headers that your
reverse proxy overwrites; the adapter also supports PROTOCOL_HEADER, HOST_HEADER,
ADDRESS_HEADER, XFF_DEPTH, BODY_SIZE_LIMIT and SHUTDOWN_TIMEOUT.
@sveltejs/adapter-bun@schemd/core 1.3, with independently versioned documentation from 0.2 through 1.3The browser loads the compiler only on playground and review routes. Every other route keeps it out of the eager client graph.
bun run format:check
bun run lint
bun run check
bun run test:unit
bun run test:e2e
bun run test:a11y
bun run test:budget
# or run the complete sequence:
bun run release:check
release:check starts with a frozen install. It rejects a dependency manifest and lockfile that
disagree instead of silently validating whichever local link happens to be present.
The suites compile every fence in every documentation line, validate all simulation sources and reference models, exercise editor operations and persistence as pure functions, enforce curriculum contracts, run the production Bun bundle in Chromium, scan public routes with axe, assert accessible MathML and reduced-motion behavior, check mobile containment, and gate eager/lazy JavaScript, fonts, simulation chunks, and total client output.
Documentation lives under src/lib/content/schemd/<major.minor>/; never backfill newer syntax into a
historical line. Adding a documented line means adding a folder; the manifest, search index, version
selector, sitemap, and fence compiler discover it.
/docs/1.3/[slug] — current documentation/playground/1.3.0 — dependency-free source/vector IDE/embed/1.3.0 — standalone compiled SVG/simulations/1.3.0 and /simulations/1.3.0/[environment] — curriculum and laboratories/examples, /coverage, and /changelog — compiled corpus, vocabulary coverage, and releases/api/compile — bounded compilation fallback/sitemap.xml — generated route inventoryDo not derive the engine version from editorial release notes. Server routes read the installed
@schemd/core package manifest; documentation versions are discovered separately from content
folders.
src/lib/server/messages.es.json maps English source messages to formal Spanish. Components use
useLanguage() for messages and links; the root layout provides a separate context per request.
The native language selector lists the autonyms configured in src/lib/i18n/locales.ts and marks
the current language. Add future languages to that registry once their translations are available.
/locale validates choices against the same registry, stores the preference in a cookie and preserves
the current query and hash. The form includes a submit fallback when JavaScript is disabled.
The build collects English messages with scripts/collect-messages.ts, checks compact-key collisions,
and replaces static message literals with compact references. Catalogs remain server data and are
selected by language and site section. After changing interface copy, add its Spanish translation and
run bun scripts/collect-messages.ts. Mathematical notation and compiler source are preserved.
Spanish documentation lives in src/lib/content/schemd/es/{1.2,1.3}/. Older lines retain their English
content with a Spanish notice. test:docs compiles both languages and rejects mismatched file sets,
metadata IDs/order, section IDs or code fences. Language links, metadata and sitemap alternates refer
to the same translated pages.
/templates contains eight compiler-verified starting points. Each opens the playground with source,
canvas bounds, title and output mode encoded in its URL. The component index and every datasheet
are also included in the bilingual sitemap.
Contributing · Support · Security · Code of Conduct · Maintainers