Skip to content

fix(lint): publish as comark-linter, since npm refuses comark-lint as too close to remark-lint - #55

Merged
vitehub-bot[bot] merged 13 commits into
mainfrom
feat/comark-linter
Oct 21, 2026
Merged

vitehub-bot[bot] merged 13 commits into
mainfrom
feat/comark-linter

Conversation

@onmax

@onmax onmax commented Oct 21, 2026

Copy link
Copy Markdown
Owner

npm refuses to publish comark-lint: "Package name too similar to existing package remark-lint". So the package becomes comark-linter. The name is already claimed on npm under onmax_, with release.yaml and environment npm set as its trusted publisher.

Only the package name changes. The command, the config file, the messages, and the rule names stay comark-lint:

pnpm add -D comark-linter
pnpm comark-lint "docs/**/*.md"      # the bin is still comark-lint
npx comark-linter report.md          # npx resolves packages by name
import { lint } from "comark-linter";
import comark from "comark-linter/doctor";

What changed:

  • packages/lint/package.json and the root dev dependency.
  • doctor.config.ts.
  • The lint docs and README, which now note the package-vs-command split.
  • The agents guide and the charts skill (npx comark-linter).
  • The docs build's npm link for the lint section.
  • AGENTS.md.

This has to merge before the next release. Until it does, the release workflow would try to publish comark-lint and fail with a 403.

🤖 Generated with Claude Code

@onmax
onmax added this pull request to stack #56 October 21, 2026 08:14
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ 4070f81 2026-10-21T13:29:13.057Z Visit the dashboard ↗
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ 50cf033 2026-10-21T13:14:30.395Z Visit the dashboard ↗
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ eed44e2 2026-10-21T12:55:29.864Z Visit the dashboard ↗
  • Build: Failed ❌

View logs ↗
bfbb2b9 2026-10-21T12:29:33.162Z View logs ↗
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ 5661654 2026-10-21T11:45:48.909Z Visit the dashboard ↗
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ 0a0724c 2026-10-21T11:32:47.007Z Visit the dashboard ↗
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ 1b80c92 2026-10-21T08:51:47.952Z Visit the dashboard ↗
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ 1cc4f66 2026-10-21T08:25:33.127Z Visit the dashboard ↗
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ fbe6abc 2026-10-21T08:14:40.759Z Visit the dashboard ↗

@vitehub-bot
vitehub-bot Bot force-pushed the feat/comark-linter branch from fbe6abc to 1cc4f66 Compare October 21, 2026 08:24
@vitehub-bot

vitehub-bot Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor
Session Status Started Duration
Pending Completed Not started —

Latest result

Pull request merged.

Final answers

Session

Pull request merged.

Session

Updated the branch with main because main changed docs/build.ts after its checks ran; waiting for checks on the new head.

Session

Updated the branch with main because main changed docs/build.ts after its checks ran; waiting for checks on the new head.

Session

Updated the branch with main because main changed docs/build.ts after its checks ran; waiting for checks on the new head.

Session

Updated the branch with main because main changed docs/build.ts after its checks ran; waiting for checks on the new head.

Session

Updated the branch with main because main changed docs/build.ts after its checks ran; waiting for checks on the new head.

Session

Updated the branch with main because main changed docs/build.ts after its checks ran; waiting for checks on the new head.

Session

Updated the branch with main because main changed docs/build.ts after its checks ran; waiting for checks on the new head.

Session

Updated the branch with main because main changed docs/build.ts after its checks ran; waiting for checks on the new head.

Session

Updated the branch with main because main changed docs/build.ts after its checks ran; waiting for checks on the new head.

Session

Current HEAD is verified and all required checks pass. Pullfrog’s historical P1 syntax finding is fixed; lockfile, package documentation, badge, and chart-reference findings are resolved or stale. No unresolved actionable threads remain. The push window forbids edits or commits, so no repair was needed; the PR is ready for host merge.

@pkg-pr-new

pkg-pr-new Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

comark-annotate

pnpm add https://pkg.pr.new/comark-annotate@55

comark-carousel

pnpm add https://pkg.pr.new/comark-carousel@55

comark-charts

pnpm add https://pkg.pr.new/comark-charts@55

comark-code

pnpm add https://pkg.pr.new/comark-code@55

comark-embed

pnpm add https://pkg.pr.new/comark-embed@55

comark-github-callouts

pnpm add https://pkg.pr.new/comark-github-callouts@55

comark-icon

pnpm add https://pkg.pr.new/comark-icon@55

comark-include

pnpm add https://pkg.pr.new/comark-include@55

comark-linter

pnpm add https://pkg.pr.new/comark-linter@55

comark-tabs

pnpm add https://pkg.pr.new/comark-tabs@55

comark-zoom

pnpm add https://pkg.pr.new/comark-zoom@55

commit: 4070f81

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ One user-facing package-name reference remains stale; the rename itself is otherwise consistent.

Reviewed changes

  • Published package rename — Changed the package and workspace dependency to comark-linter while retaining the intentional comark-lint CLI, config, and diagnostic identifiers.
  • Documentation and site metadata — Updated package installation/import guidance, agent instructions, the charts skill, and the docs build's npm-name mapping.
  • Release/build metadata — Updated the package's prepack filter and lockfile importer; the release workflow still discovers all packages through packages/*.

ℹ️ A package reference still uses the retired name

docs/pages/charts/guides.md:28 still labels the linter as [comark-lint], even though this PR changes the published package and the lint page metadata to comark-linter. Because this is prose describing the package rather than the intentionally retained executable or rule name, users may infer that they should install or search for the unavailable comark-lint package.

Technical details
# Update the remaining package-name reference

## Affected sites
- `docs/pages/charts/guides.md:28` — the link text says `comark-lint` while referring to the published package.

## Required outcome
- Use `comark-linter` whenever prose refers to the published package, while retaining `comark-lint` for the executable, config filename, and diagnostic identifiers.

Pullfrog  | Fix it ➔ | View workflow run | Using gpt-5.6-sol | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

  • Published package rename — Renamed the workspace and published package to comark-linter while retaining the intentional comark-lint CLI, config filename, and diagnostic identifiers.
  • Documentation and tooling references — Updated package installation/import guidance, agent instructions, the charts skill, the root Doctor config, and the docs build's npm-name mapping.
  • Release metadata — Updated the package prepack filter and lockfile importer to use comark-linter.

Pullfrog  | View workflow run | Using gpt-5.6-sol | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

  • Corrected package documentation — Updated the remaining chart guide reference from comark-lint to the published package name comark-linter.

The remaining comark-lint references are intentional executable, config, rule, diagnostic, or test identifiers.

Pullfrog  | View workflow run | Using gpt-5.6-sol | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

The merge-resolution commit leaves a changed test file syntactically invalid, so the workspace check cannot parse and verify the PR.

Reviewed changes

  • Merge-resolution result — Rechecked the current head against the prior Pullfrog review, including the conflict-resolution changes and their effect on the full PR.
  • Icon test fixture — Inspected the updated issue-reporting test and verified the new syntax failure with pnpm exec vp check.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using gpt-5.6-sol | 𝕏

Comment thread packages/icon/test/icon.test.ts Outdated

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

The latest merge result leaves the package README's npm badges pointing at the unavailable comark-lint package, so the published package's version, downloads, install-size, and license links remain broken or misleading.

Reviewed changes

  • Merged branch updates — Rechecked the merge of feat/tabs-icons into the linter rename branch and its interaction with the package-name changes.
  • Package README badges — Rechecked the latest README metadata and package-versus-command naming split.

⚠️ Package badges still target the retired package name

The README now identifies the package as comark-linter, but all four npmx badge URLs still use comark-lint. Readers following those links will be sent to the retired package name instead of the package this PR publishes.

Technical details
# Update package badge targets

## Affected sites
- `packages/lint/README.md:3-6` — the npm version, downloads, install-size, and license badge URLs and links still use `comark-lint`.

## Required outcome
- Point every package and registry badge at `comark-linter`.
- Keep `comark-lint` only for the executable, config filename, and diagnostic identifiers.

Pullfrog  | Fix it ➔ | View workflow run | Using gpt-5.6-sol | 𝕏

@vitehub-bot

vitehub-bot Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Pullfrog P1 syntax finding fixed by restoring the icon markdown fixture and issues assertion; package README badge targets were corrected to comark-linter. Local validation was blocked by the sandbox pnpm SQLite cache path; hosted checks should verify the repair.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

The latest commits introduce two installability regressions: the workspace lockfile is stale, and the Vite Doctor documentation points users at a package that is not published.

Reviewed changes

  • Renamed the executable — Changed the lint binary and its user-facing CLI/config references from comark-lint to lint-comark.
  • Expanded the playground — Added editable JSON configuration, config sharing, JSON highlighting, and responsive preset thumbnail fitting.
  • Repaired merged fixtures and metadata — Restored the icon issue test and corrected the lint package's npm badge targets.

⚠️ The workspace dependency is missing from the lockfile

The root package.json now declares lint-comark, but the lockfile importer only contains comark-linter. A frozen install therefore fails before CI can build or test the workspace, as confirmed by pnpm exec vp check reporting ERR_PNPM_OUTDATED_LOCKFILE.

Technical details
# Synchronize the root workspace dependency

## Affected sites
- `package.json:36` — adds `lint-comark: workspace:*`.
- `pnpm-lock.yaml:119-121` — contains the `comark-linter` importer entry but no matching `lint-comark` entry.

## Required outcome
- Make the root package manifest and `pnpm-lock.yaml` describe the same workspace dependencies so frozen installs succeed.

⚠️ The Vite Doctor page installs and imports the wrong package

The published package is comark-linter, but the updated Vite Doctor page tells users to install lint-comark and import lint-comark/doctor. That package does not exist for this PR, so the documented setup cannot install or resolve the Doctor extension.

Technical details
# Keep Vite Doctor guidance on the published package name

## Affected sites
- `docs/pages/lint/vite-doctor.md:4` — installs `lint-comark` instead of `comark-linter`.
- `docs/pages/lint/vite-doctor.md:9-13` — imports `lint-comark/doctor` instead of `comark-linter/doctor`.

## Required outcome
- Install and import `comark-linter`; retain `lint-comark` only where the executable name is intended.

Note: 1 inline comment(s) dropped because they did not anchor to lines inside the PR diff:

  • docs/pages/lint/vite-doctor.md:4 (RIGHT) — file not in PR diff

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using gpt-5.6-sol | 𝕏

Comment thread package.json Outdated

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

  • Corrected Vite Doctor documentation — Updated the new Vite Doctor page to install and import the published comark-linter package while retaining lint-comark only for the executable and config naming.
  • Revalidated package metadata — Confirmed the prior lockfile, icon-test, badge, and package-name findings are resolved in the current head; no additional stale published-package references remain.

Pullfrog  | View workflow run | Using gpt-5.6-sol | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

This incremental review covers the fixture repair committed since the prior Pullfrog review.

  • Restored icon test fixture — Reinstated the single-string Markdown input and the render assertion so the icon issue test is syntactically valid and exercises both rendering and diagnostics again.

The prior syntax-error feedback is addressed. Verification was attempted, but pnpm's read-only prepare step failed while trying to lock .git/config; the lockfile check itself reported that the lockfile is up to date.

Pullfrog  | View workflow run | Using gpt-5.6-sol | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

This incremental review covers the merge of main into feat/comark-linter since the prior Pullfrog review.

  • Merged current base — Rechecked the merge-resolution changes in docs/build.ts and their interaction with the published comark-linter package mapping.
  • Revalidated prior fixes — Confirmed that the synchronized workspace dependency and lockfile, corrected Vite Doctor guidance, package badges, and restored icon test fixture remain intact.

Pullfrog  | View workflow run | Using gpt-5.6-sol | 𝕏

@vitehub-bot
vitehub-bot Bot merged commit 8370c96 into main Oct 21, 2026
9 checks passed
@github-actions github-actions Bot mentioned this pull request Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant