diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bdb91fc..b853207 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,5 @@ # The check on each pull request to main and each push to it, every pin installed first. # See docs/release.md -# Adapted from web-foundation (ceaab61): .github/workflows/ci.yml, its mise-action at its latest. name: CI diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d93605e..fdd5893 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,5 @@ # Publishes the release a pushed vX.Y.Z tag cuts, dispatched by hand with the tag. # See docs/release.md -# Adapted from web-foundation (ceaab61): .github/workflows/release.yml, its mise-action at its latest. name: Release on: diff --git a/.gitignore b/.gitignore index f367ffa..7c41b64 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -# Adapted from spike-html-apps-components (10dde51): .gitignore, with the editor and OS files. .claude/plans/ .claude/briefs/ diff --git a/.prettierignore b/.prettierignore index 68d4012..228e0b9 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,6 +1,5 @@ # Prettier's files: the code, the JSON, and the stylesheets. # See docs/development.md -# From spike-html-apps-components (10dde51): .prettierignore. * !*/ !*.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 948cb4a..76d20a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,15 @@ - - # Changelog All notable changes to `@standards-lab/web-components` are documented here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the package adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Changed + +- The repository's tooling takes marathon 0.24.0, pnpm 12.23.0, and typescript-eslint 8.74.0. + ## [0.2.0] - 2026-11-22 ### Removed diff --git a/README.md b/README.md index 2d21e26..7b9089e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ - - # web-components The Lit components of the standards-lab web client stack: fourteen elements with a shadow root @@ -216,9 +214,7 @@ the procedure. ## Provenance -The package is seeded by copy from spike-html-apps-components at 10dde51, the parent of its -v0.10.3 pack commit, and moved onto web-foundation v0.3.0 and web-tooling v0.1.0. Each copied file -that takes comments names each of its sources in a provenance line. +The package's lineage is in the workspace's [references catalog](https://github.com/standards-lab/org/blob/main/references.md). ## License diff --git a/STANDARDS.md b/STANDARDS.md index 940075f..217298c 100644 --- a/STANDARDS.md +++ b/STANDARDS.md @@ -1,19 +1,16 @@ - - # web-components standards The judgement calls the standards-reviewer applies to web-components, beyond what `mise run check` enforces: each one line, with a pointer to the architecture page that applies where one does. What -the check enforces is never restated here. The `standard` task points them at the Web Elemental -standard once it is founded (`standards-lab/context/web-client.md`, "Toward Web Elemental"). +the check enforces is never restated here. web-components is a Web Elemental member +(`architecture/standards/web-elemental/README.md`). The architecture pages that apply, in the architecture repository: - `architecture/principles/minimal-footprint.md`: lit and marked the only runtime dependencies, and each devDependency deliberate; a consumer installs the tag with no build step. - `architecture/principles/rolling-currency.md`: every tool, package, and action pin explicit and - at its latest, and the foundation's peer range admitting its latest release. + at its latest. - `architecture/principles/independent-releases.md`: the package releases on its own tags. - `architecture/principles/downward-dependencies.md`: the components sit on the foundation and import nothing above them. @@ -45,32 +42,20 @@ The architecture pages that apply, in the architecture repository: built on `@standards-lab/web-foundation` and `@standards-lab/web-icons`, its two peers. - lit and marked are each pinned exactly, and only the Markdown module imports marked (`test/unit/marked.test.ts` enforces it). -- `dist/` lives only in a release tag's tree, the pack, never on a branch. -- Releases are plain `vX.Y.Z` annotated tags on a pack commit whose one parent is main's merge - commit, cut by hand on a green check from `package.json`'s version, each with its `CHANGELOG.md` - section, and never changed or re-cut; the release workflow, dispatched by hand with the pushed - tag and never on a push, only verifies and publishes it (`standards-lab/context/web-client.md`, - "Packaging and release"). +- Its releases, `dist/`, how it resolves the layers below, and its pins follow + `architecture/standards/web-elemental/principles/packages-and-releases.md`. ## Layers - A component takes its data as its own properties, emits events, and imports no SDK or domain code; wiring lives in the app (`architecture/principles/downward-dependencies.md`). - No component binds a key; only the app binds keys. -- A layer resolves the layer below only through its release tag, as a consumer does: never a - link, path alias, source condition, or project reference - (`architecture/principles/independent-releases.md`). ## Code - A module header documents the public contract, what the module provides and promises, with no reasoning; each export carries a one-line doc comment. A sheet's CSS custom properties, classes, and layers are its exports, and each carries its comment. -- A copied file names each source repository and commit in one provenance line per source, which - reads `From|Adapted from (): `, plus at most a short clause naming what - changed, never why, and a third-party source's licence after a semicolon. The lines its immediate - source carried for earlier sources stay beside that source's own. A JSON file, which takes no - comment, has its line in `context/README.md`. - Sources use `.ts` relative specifiers, which tsc rewrites. - The browser tier tests `dist/`, and no server transforms what it serves. - Tests are TypeScript run under Node's type stripping, erasable syntax only, type-checked by diff --git a/context/README.md b/context/README.md index 0879b1c..9d5689b 100644 --- a/context/README.md +++ b/context/README.md @@ -12,24 +12,7 @@ strategy is `standards-lab/context/web-client.md`. ## Provenance -The package is seeded by copy from spike-html-apps-components at 10dde51, the parent of its v0.10.3 -pack commit, and moved onto the pinned web-foundation release's themes. The spike is archived and -never a dependency. Each copied file that takes comments names each of its sources in a provenance -line; the workflows and CHANGELOG.md name theirs, web-foundation's at ceaab61. The files with no -line have their provenance here: - -- `package.json` is adapted from spike-html-apps-components (10dde51): package.json. It is renamed - `@standards-lab/web-components` at 0.1.0, takes `@standards-lab/web-foundation` and - `@standards-lab/web-icons` as its peers, and replaces the spike's foundation and tooling - devDependencies with web-foundation's and web-tooling's release tags, adds web-icons' release - tag, and pins marked and typescript-eslint exactly. -- `.prettierrc.json` is from spike-html-apps-components (10dde51): .prettierrc.json. -- `LICENSE` is from spike-html-apps-components (10dde51): LICENSE, unchanged. -- `pnpm-lock.yaml` is generated, not copied. -- `test/unit/marked.test.ts`, `test/browser/themes.test.ts`, - `test/browser/shortcut-dialogs.test.ts`, `test/browser/support/profiles.ts`, and - `demo/glyphs.js` are written here, with no source. -- `CLAUDE.md`, `.claude/`, and this directory are marathon's working files, written here. +The package's lineage is in the workspace's [references catalog](https://github.com/standards-lab/org/blob/main/references.md). ## Capability map diff --git a/demo/artifact-viewer.html b/demo/artifact-viewer.html index ff8eb65..ba6039a 100644 --- a/demo/artifact-viewer.html +++ b/demo/artifact-viewer.html @@ -4,7 +4,6 @@ artifact viewer specimen -