Skip to content

check-app-rules: back to the abap2UI5 source copy - #279

Merged
oblomov-dev merged 1 commit into
mainfrom
claude/gracious-goldberg-m8d37t
Oct 26, 2026
Merged

oblomov-dev merged 1 commit into
mainfrom
claude/gracious-goldberg-m8d37t

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

scripts/check-app-rules.mjs is a copy of abap2UI5's .github/shared/check-app-rules.mjs. In #278, parseJsonc was moved out of the copy into scripts/lib/jsonc.mjs. Since then, abap2UI5's shared-file gate fails on every PR (for example abap2UI5/abap2UI5#2952):

.github/shared/check-app-rules.mjs differs in samples-controls/scripts/check-app-rules.mjs
  first difference at line 44
this repository is the source — copy it there, or change it here first

This PR copies the source back unchanged; it already has its own inline parseJsonc. lib/jsonc.mjs stays, because e2e-build.mjs still uses it.

Checks

  • npm run check:app-rules: 211 of 211 rules, OK.
  • abap2UI5 npm run check:shared against this checkout: every copy matches its source, OK.

Generated by Claude Code

#278 moved parseJsonc out of scripts/check-app-rules.mjs into
lib/jsonc.mjs, but the file is a copy of abap2UI5's
.github/shared/check-app-rules.mjs, and abap2UI5's shared-file gate
now fails on the difference. The source already has its own inline
parseJsonc, so the copy goes back to it verbatim; lib/jsonc.mjs stays
for e2e-build.mjs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VTHUii3vvZF41gabs3JqHc
@oblomov-dev
oblomov-dev merged commit e31ebdb into main Oct 26, 2026
22 checks passed
@oblomov-dev
oblomov-dev deleted the claude/gracious-goldberg-m8d37t branch October 26, 2026 14:11
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.

2 participants