尚未偵測到更新。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