Skip to content

Clean package json scripts#1686

Merged
simo6529 merged 4 commits intomainfrom
clean-package-json-scripts
Dec 30, 2025
Merged

Clean package json scripts#1686
simo6529 merged 4 commits intomainfrom
clean-package-json-scripts

Conversation

@simo6529
Copy link
Copy Markdown
Collaborator

@simo6529 simo6529 commented Dec 30, 2025

Summary by CodeRabbit

Release Notes

  • Chores

    • Removed 10 npm scripts including type-check, code coverage tracking utilities, and an import transformation tool.
    • Simplified development workflows by eliminating type-check validation steps from quality gates.
  • Documentation

    • Updated workflow guidance and acceptance criteria across documentation to remove type-check requirements from validation steps.

✏️ Tip: You can customize this high-level summary in your review settings.

Signed-off-by: Simo <simo@6529.io>
Signed-off-by: Simo <simo@6529.io>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Dec 30, 2025

📝 Walkthrough

Walkthrough

The pull request removes type-check workflows, documentation references, and npm scripts. Type-check commands are deleted from documentation files, acceptance criteria, and logs across the codebase. Multiple npm scripts are removed from package.json, including type-check, test coverage variants, compile, and a relative-to-alias-imports utility script.

Changes

Cohort / File(s) Summary
Documentation — Guidance & Workflows
AGENTS.md, GEMINI.md, __tests__/AGENTS.md, app/api/AGENTS.md
Removed Type Check section blocks and npm run type-check commands from Quickstart, Programmatic Checks, Quality Gates, and Running Tests guidance. Reduced documented validation steps to test and lint only.
Ticket Documentation — Plan/Acceptance Updates
codex/tickets/TKT-0009.md, codex/tickets/TKT-0010.md, codex/tickets/TKT-0012.md, codex/tickets/TKT-0015.md, codex/tickets/TKT-0016.md, codex/tickets/TKT-0020.md, codex/tickets/TKT-0035.md, codex/tickets/TKT-0036.md
Removed npm run type-check requirement from Plan and Acceptance sections. Updated validation criteria to require only npm run lint and targeted tests.
Ticket Documentation — Log Entry Updates
codex/tickets/TKT-0019.md, codex/tickets/TKT-0021.md, codex/tickets/TKT-0027.md, codex/tickets/TKT-0028.md, codex/tickets/TKT-0029.md, codex/tickets/TKT-0030.md, codex/tickets/TKT-0032.md, codex/tickets/TKT-0033.md, codex/tickets/TKT-0034.md, codex/tickets/TKT-0037.md
Updated log entries to remove type-check references or replace with "TypeScript checks" terminology. Removed test:cov:changed references; replaced with targeted test descriptions.
NPM Scripts Configuration
package.json
Removed 10 npm script entries: compile, build:lint, test:cov, test:cov:summary, test:cov:verbose, test:cov:changed, improve-coverage, test:watch, type-check, relative-to-alias-imports.
Utility Script Removal
scripts/relative-to-alias-imports.ts
Deleted TypeScript script that transformed non-relative imports to alias-based or shortest relative paths, with special handling for Jest/Vi mocks and require() calls.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Suggested reviewers

  • ragnep
  • prxt6529

Poem

🐰 Type-checks fade to morning light,
Scripts dissolve like stars at night,
Lint and test now reign supreme,
Simpler workflows, cleaner dream!

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Clean package json scripts' accurately reflects the primary change, which is the removal of 10 npm scripts from package.json. While documentation files were also updated to reflect these removals, the core objective is cleaning up the package.json scripts.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🧹 Nitpick comments (1)
codex/tickets/TKT-0016.md (1)

33-35: Ensure log terminology aligns with actual implementation.

The log entries now refer to "TypeScript checks" instead of "type-check", but it's unclear whether this is merely a terminology change or reflects a fundamental workflow change (i.e., no longer running type checking via npm scripts).

📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 83752ae and 76329da.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (25)
  • AGENTS.md
  • GEMINI.md
  • __tests__/AGENTS.md
  • app/api/AGENTS.md
  • codex/tickets/TKT-0009.md
  • codex/tickets/TKT-0010.md
  • codex/tickets/TKT-0012.md
  • codex/tickets/TKT-0015.md
  • codex/tickets/TKT-0016.md
  • codex/tickets/TKT-0019.md
  • codex/tickets/TKT-0020.md
  • codex/tickets/TKT-0021.md
  • codex/tickets/TKT-0027.md
  • codex/tickets/TKT-0028.md
  • codex/tickets/TKT-0029.md
  • codex/tickets/TKT-0030.md
  • codex/tickets/TKT-0032.md
  • codex/tickets/TKT-0033.md
  • codex/tickets/TKT-0034.md
  • codex/tickets/TKT-0035.md
  • codex/tickets/TKT-0036.md
  • codex/tickets/TKT-0037.md
  • package.json
  • scripts/relative-to-alias-imports.ts
  • type_check_output.txt
💤 Files with no reviewable changes (4)
  • AGENTS.md
  • GEMINI.md
  • scripts/relative-to-alias-imports.ts
  • tests/AGENTS.md
🧰 Additional context used
📓 Path-based instructions (1)
codex/**/*.{md,yml,yaml}

📄 CodeRabbit inference engine (AGENTS.md)

Review codex/STATE.md at the start of every workstream; keep tickets in sync with codex/tickets/; author new tickets with provided template, keep alphabetical YAML front matter, and log timestamped updates

Files:

  • codex/tickets/TKT-0027.md
  • codex/tickets/TKT-0033.md
  • codex/tickets/TKT-0012.md
  • codex/tickets/TKT-0019.md
  • codex/tickets/TKT-0029.md
  • codex/tickets/TKT-0037.md
  • codex/tickets/TKT-0009.md
  • codex/tickets/TKT-0030.md
  • codex/tickets/TKT-0015.md
  • codex/tickets/TKT-0032.md
  • codex/tickets/TKT-0020.md
  • codex/tickets/TKT-0028.md
  • codex/tickets/TKT-0035.md
  • codex/tickets/TKT-0021.md
  • codex/tickets/TKT-0036.md
  • codex/tickets/TKT-0010.md
  • codex/tickets/TKT-0034.md
  • codex/tickets/TKT-0016.md
🧠 Learnings (28)
📓 Common learnings
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: GEMINI.md:0-0
Timestamp: 2025-12-05T10:55:30.871Z
Learning: Run `npm run test`, `npm run lint`, and `npm run type-check` for all code changes (unless only editing docs or non-code)
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: app/api/AGENTS.md:0-0
Timestamp: 2025-11-25T08:37:44.688Z
Learning: All changes must pass the same commands listed in the top-level AGENTS.md: `npm run test`, `npm run lint`, and `npm run type-check` (or the targeted `test:cov:changed` when appropriate).
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: __tests__/AGENTS.md:0-0
Timestamp: 2025-12-05T10:55:43.476Z
Learning: Applies to __tests__/**/*.{ts,tsx,js} : Avoid double negatives in code; prefer explicit logic and remove redundant annotations; use optional chaining (`?.`)
📚 Learning: 2025-11-25T08:37:44.688Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: app/api/AGENTS.md:0-0
Timestamp: 2025-11-25T08:37:44.688Z
Learning: All changes must pass the same commands listed in the top-level AGENTS.md: `npm run test`, `npm run lint`, and `npm run type-check` (or the targeted `test:cov:changed` when appropriate).

Applied to files:

  • codex/tickets/TKT-0027.md
  • app/api/AGENTS.md
  • codex/tickets/TKT-0012.md
  • codex/tickets/TKT-0019.md
  • codex/tickets/TKT-0029.md
  • codex/tickets/TKT-0037.md
  • codex/tickets/TKT-0009.md
  • codex/tickets/TKT-0030.md
  • codex/tickets/TKT-0015.md
  • codex/tickets/TKT-0032.md
  • codex/tickets/TKT-0020.md
  • codex/tickets/TKT-0028.md
  • codex/tickets/TKT-0035.md
  • codex/tickets/TKT-0021.md
  • package.json
  • codex/tickets/TKT-0036.md
  • codex/tickets/TKT-0010.md
  • codex/tickets/TKT-0034.md
  • codex/tickets/TKT-0016.md
📚 Learning: 2025-12-05T10:55:30.871Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: GEMINI.md:0-0
Timestamp: 2025-12-05T10:55:30.871Z
Learning: Enforce ≥ 80% line coverage for files changed since `main` via Jest tests

Applied to files:

  • codex/tickets/TKT-0027.md
  • codex/tickets/TKT-0029.md
  • codex/tickets/TKT-0030.md
  • codex/tickets/TKT-0028.md
📚 Learning: 2025-12-05T10:55:30.871Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: GEMINI.md:0-0
Timestamp: 2025-12-05T10:55:30.871Z
Learning: Applies to **/*.{ts,tsx} : Must pass `tsc --noEmit` for TypeScript type checking

Applied to files:

  • codex/tickets/TKT-0033.md
  • codex/tickets/TKT-0012.md
  • codex/tickets/TKT-0019.md
  • codex/tickets/TKT-0029.md
  • codex/tickets/TKT-0015.md
  • codex/tickets/TKT-0020.md
  • codex/tickets/TKT-0036.md
  • codex/tickets/TKT-0016.md
📚 Learning: 2025-12-03T14:52:34.271Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-03T14:52:34.271Z
Learning: Applies to **/*.{ts,tsx} : Must pass `tsc --noEmit` type checking

Applied to files:

  • codex/tickets/TKT-0033.md
  • codex/tickets/TKT-0012.md
  • codex/tickets/TKT-0019.md
  • codex/tickets/TKT-0029.md
  • codex/tickets/TKT-0015.md
  • codex/tickets/TKT-0020.md
  • codex/tickets/TKT-0036.md
  • codex/tickets/TKT-0016.md
📚 Learning: 2025-12-05T10:55:30.871Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: GEMINI.md:0-0
Timestamp: 2025-12-05T10:55:30.871Z
Learning: Run `npm run test`, `npm run lint`, and `npm run type-check` for all code changes (unless only editing docs or non-code)

Applied to files:

  • app/api/AGENTS.md
  • codex/tickets/TKT-0012.md
  • codex/tickets/TKT-0019.md
  • codex/tickets/TKT-0037.md
  • codex/tickets/TKT-0030.md
  • codex/tickets/TKT-0032.md
  • codex/tickets/TKT-0020.md
  • codex/tickets/TKT-0028.md
  • codex/tickets/TKT-0021.md
  • package.json
  • codex/tickets/TKT-0036.md
  • codex/tickets/TKT-0010.md
  • codex/tickets/TKT-0016.md
📚 Learning: 2025-12-03T14:52:34.271Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-03T14:52:34.271Z
Learning: Run `npm run test` to execute all Jest tests and enforce ≥ 80% line coverage for files changed since `main`

Applied to files:

  • app/api/AGENTS.md
  • codex/tickets/TKT-0030.md
  • codex/tickets/TKT-0028.md
  • codex/tickets/TKT-0021.md
  • package.json
📚 Learning: 2025-12-05T10:55:43.476Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: __tests__/AGENTS.md:0-0
Timestamp: 2025-12-05T10:55:43.476Z
Learning: Applies to __tests__/**/__tests__/**/*.test.{ts,tsx,js} : Test high-risk areas including happy path workflows, invalid input errors, edge cases/boundaries, component & API interactions, and performance/security when relevant

Applied to files:

  • app/api/AGENTS.md
  • codex/tickets/TKT-0012.md
  • codex/tickets/TKT-0037.md
  • package.json
  • codex/tickets/TKT-0016.md
📚 Learning: 2025-12-05T10:55:43.476Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: __tests__/AGENTS.md:0-0
Timestamp: 2025-12-05T10:55:43.476Z
Learning: Applies to __tests__/**/__tests__/**/*.test.{ts,tsx,js} : All tests must live in `__tests__`, mirroring source folders (`components`, `contexts`, `hooks`, `utils`)

Applied to files:

  • app/api/AGENTS.md
📚 Learning: 2025-12-05T10:55:43.476Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: __tests__/AGENTS.md:0-0
Timestamp: 2025-12-05T10:55:43.476Z
Learning: Applies to __tests__/**/*.{ts,tsx,js} : Avoid double negatives in code; prefer explicit logic and remove redundant annotations; use optional chaining (`?.`)

Applied to files:

  • codex/tickets/TKT-0012.md
  • codex/tickets/TKT-0019.md
  • codex/tickets/TKT-0029.md
  • codex/tickets/TKT-0009.md
  • codex/tickets/TKT-0030.md
  • codex/tickets/TKT-0020.md
  • codex/tickets/TKT-0028.md
  • codex/tickets/TKT-0035.md
  • codex/tickets/TKT-0021.md
  • codex/tickets/TKT-0036.md
  • codex/tickets/TKT-0034.md
  • codex/tickets/TKT-0016.md
📚 Learning: 2025-12-05T10:55:43.476Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: __tests__/AGENTS.md:0-0
Timestamp: 2025-12-05T10:55:43.476Z
Learning: Applies to __tests__/**/{components,contexts,hooks}/**/*.{ts,tsx} : Use semantic HTML elements (`<label>`, `<output>`) over ARIA attributes when possible; every form control must have a label

Applied to files:

  • codex/tickets/TKT-0012.md
  • codex/tickets/TKT-0021.md
  • codex/tickets/TKT-0016.md
📚 Learning: 2025-12-03T14:52:34.271Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-03T14:52:34.271Z
Learning: TypeScript + React functional components with hooks; follow existing code style and naming conventions; maintain clean code standards (measured by SonarQube)

Applied to files:

  • codex/tickets/TKT-0012.md
  • codex/tickets/TKT-0009.md
  • codex/tickets/TKT-0010.md
  • codex/tickets/TKT-0016.md
📚 Learning: 2025-12-03T14:52:34.271Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-03T14:52:34.271Z
Learning: Fix with modernization (no `// eslint-disable` unless explicitly instructed); prefer refactors aligned with React 19.2, React Compiler, and Next.js 16 conventions

Applied to files:

  • codex/tickets/TKT-0012.md
  • codex/tickets/TKT-0029.md
  • codex/tickets/TKT-0009.md
  • codex/tickets/TKT-0030.md
  • codex/tickets/TKT-0021.md
  • codex/tickets/TKT-0036.md
  • codex/tickets/TKT-0010.md
  • codex/tickets/TKT-0016.md
📚 Learning: 2025-11-25T08:35:58.729Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: .cursorrules:0-0
Timestamp: 2025-11-25T08:35:58.729Z
Learning: Applies to **/*.{ts,tsx,js,jsx} : Write correct, up-to-date, bug-free, fully componentized, secure, and efficient code

Applied to files:

  • codex/tickets/TKT-0012.md
  • codex/tickets/TKT-0010.md
📚 Learning: 2025-12-03T14:52:34.271Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-03T14:52:34.271Z
Learning: Applies to codex/**/*.{md,yml,yaml} : Review `codex/STATE.md` at the start of every workstream; keep tickets in sync with `codex/tickets/`; author new tickets with provided template, keep alphabetical YAML front matter, and log timestamped updates

Applied to files:

  • codex/tickets/TKT-0012.md
  • codex/tickets/TKT-0009.md
📚 Learning: 2025-12-03T14:52:34.271Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-03T14:52:34.271Z
Learning: Applies to @(instrumentation-client.ts|sentry.server.config.ts|sentry.edge.config.ts) : Errors should be filtered in the Sentry `beforeSend` callback; client-side filtering happens in `instrumentation-client.ts`, server-side in `sentry.server.config.ts`, and edge runtime in `sentry.edge.config.ts`

Applied to files:

  • codex/tickets/TKT-0037.md
📚 Learning: 2025-12-05T10:55:43.476Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: __tests__/AGENTS.md:0-0
Timestamp: 2025-12-05T10:55:43.476Z
Learning: Applies to __tests__/**/*.{ts,tsx} : Functions must have ≤ 15 cognitive complexity; extract deep ternaries (>3 levels) and break down complex logic

Applied to files:

  • codex/tickets/TKT-0020.md
📚 Learning: 2025-12-05T10:55:43.476Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: __tests__/AGENTS.md:0-0
Timestamp: 2025-12-05T10:55:43.476Z
Learning: Applies to __tests__/**/*.test.{ts,tsx} : Use Jest + `ts-jest` for TypeScript testing

Applied to files:

  • codex/tickets/TKT-0028.md
  • package.json
📚 Learning: 2025-12-05T10:55:43.476Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: __tests__/AGENTS.md:0-0
Timestamp: 2025-12-05T10:55:43.476Z
Learning: Applies to __tests__/**/*.{ts,tsx,js} : Catch errors only when meaningful; no empty catch blocks; log errors with context

Applied to files:

  • codex/tickets/TKT-0028.md
📚 Learning: 2025-12-05T10:55:43.476Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: __tests__/AGENTS.md:0-0
Timestamp: 2025-12-05T10:55:43.476Z
Learning: Applies to __tests__/**/*.{ts,tsx,js} : Use `element.remove()` instead of `parent.removeChild(element)` for DOM manipulation

Applied to files:

  • codex/tickets/TKT-0021.md
📚 Learning: 2025-12-05T10:55:30.871Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: GEMINI.md:0-0
Timestamp: 2025-12-05T10:55:30.871Z
Learning: Applies to **/*.{ts,tsx} : Use framework APIs: `<Link>` for internal links, `next/image` for images, adopt Next's ESLint rules

Applied to files:

  • package.json
  • codex/tickets/TKT-0036.md
  • codex/tickets/TKT-0016.md
📚 Learning: 2025-12-05T10:55:43.476Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: __tests__/AGENTS.md:0-0
Timestamp: 2025-12-05T10:55:43.476Z
Learning: Applies to __tests__/**/__tests__/**/*.test.{ts,tsx,js} : Keep tests independent, deterministic, and fast with production-like data

Applied to files:

  • package.json
📚 Learning: 2025-12-03T14:52:34.271Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-03T14:52:34.271Z
Learning: Applies to @(next.config.ts|next.config.js|.eslintrc*) : Use ESLint CLI with `eslint-config-next` flat config instead of `next lint`; remove any `eslint` options from `next.config.*`

Applied to files:

  • package.json
📚 Learning: 2025-12-03T14:52:34.271Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-03T14:52:34.271Z
Learning: Applies to **/*.{js,jsx,ts,tsx} : Use framework APIs: internal links should use `<Link>`, images should use `next/image`, and adopt Next's ESLint rules (Core Web Vitals)

Applied to files:

  • codex/tickets/TKT-0036.md
📚 Learning: 2025-11-25T08:35:58.729Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: .cursorrules:0-0
Timestamp: 2025-11-25T08:35:58.729Z
Learning: Applies to **/*.{ts,tsx,js,jsx} : Use NextJS features that match the current version

Applied to files:

  • codex/tickets/TKT-0016.md
📚 Learning: 2025-12-05T10:55:30.871Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: GEMINI.md:0-0
Timestamp: 2025-12-05T10:55:30.871Z
Learning: Applies to **/*.{ts,tsx} : Use `'use cache'` directive and Cache Components features for explicit opt-in caching in Next.js 16

Applied to files:

  • codex/tickets/TKT-0016.md
📚 Learning: 2025-12-03T14:52:34.271Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-03T14:52:34.271Z
Learning: Applies to **/*.{js,jsx,ts,tsx} : Code must satisfy ESLint (Next's Core Web Vitals + React Hooks)

Applied to files:

  • codex/tickets/TKT-0016.md
📚 Learning: 2025-12-05T10:55:30.871Z
Learnt from: CR
Repo: 6529-Collections/6529seize-frontend PR: 0
File: GEMINI.md:0-0
Timestamp: 2025-12-05T10:55:30.871Z
Learning: Applies to **/*.{js,jsx,ts,tsx} : Code must satisfy ESLint (Next's Core Web Vitals + React Hooks rules)

Applied to files:

  • codex/tickets/TKT-0016.md
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Analyze (javascript-typescript)
🔇 Additional comments (23)
codex/tickets/TKT-0009.md (2)

27-27: Acceptance criterion may be incomplete after script removal.

With npm run type-check being removed from package.json (per PR objective), the acceptance criterion now lists only npm run lint. However, the retrieved learnings state that all code changes must pass npm run test, npm run lint, and npm run type-check.

Clarify whether:

  1. TypeScript checks are no longer required for this ticket, or
  2. TypeScript checks should remain in the acceptance criterion (under a different name/approach if the script is removed), or
  3. The learnings themselves need updating given the script removal.

20-20: Terminology shift aligns with PR objective, but verify consistency across related documentation.

The changes shift from "type-check" (the script) to "TypeScript checks" (the concept), which is semantically cleaner. However, confirm that all related documentation (AGENTS.md, GEMINI.md, etc.) has been similarly updated to reflect that the npm run type-check script is now removed.

To verify consistency, could you confirm:

  • Are AGENTS.md and GEMINI.md updated to remove the requirement for npm run type-check, or do they still reference it?
  • Do other tickets in codex/tickets/ reference the removed script?

Also applies to: 27-27, 38-38

codex/tickets/TKT-0033.md (1)

33-33: No action needed—the terminology change is appropriate.

The update from "type-check" to "TypeScript check" on line 33 correctly reflects the removal of the npm run type-check script from package.json. AGENTS.md and GEMINI.md have already been updated to list only npm run test and npm run lint as required programmatic checks, confirming this is an intentional cleanup across the codebase.

codex/tickets/TKT-0019.md (1)

53-53: Verify TypeScript validation remains active; clarify "TypeScript checks" terminology.

The log entry uses "TypeScript checks" instead of the documented npm run type-check command. If this is a terminology change for the same validation step, clarify in comments or documentation. If it indicates a different validation method, ensure it provides equivalent coverage (e.g., tsc --noEmit).

app/api/AGENTS.md (1)

28-31: No changes needed. The app/api/AGENTS.md Quality Gates section accurately reflects what the top-level AGENTS.md requires. The top-level AGENTS.md "Programmatic Checks" section (lines 33–40) documents only npm run test and npm run lint as mandatory commands—type-check is not listed there. The API route guidance correctly references these same commands and is consistent with the authoritative source document.

Likely an incorrect or invalid review comment.

codex/tickets/TKT-0034.md (1)

35-35: No action required. The log entry correctly documents the verification steps according to the repository's AGENTS.md, which specifies only npm run test and npm run lint as mandatory checks for programmatic validation. The omission of npm run type-check does not represent a deviation from documented requirements.

Likely an incorrect or invalid review comment.

codex/tickets/TKT-0029.md (1)

32-33: TKT-0029.md line 33 already explicitly includes TypeScript validation.

The log entry states: "...ran eslint (scoped), TypeScript checks, and targeted Jest coverage tests." This directly references TypeScript checks, confirming type-check validation was performed. Additionally, the acceptance criteria (line 23) also mentions "type checks," making type validation a documented requirement for this ticket. No clarification needed.

Likely an incorrect or invalid review comment.

codex/tickets/TKT-0032.md (1)

33-35: The ticket log entry is correct. The root AGENTS.md and GEMINI.md explicitly define required checks as npm run test and npm run lint only—npm run type-check is not listed as a mandatory check. The log entry accurately reflects what the project's current quality gates require. There is no contradiction or systematic removal issue; the learnings reflect an earlier standard that has been updated by this PR's changes to the scripts and standards.

Likely an incorrect or invalid review comment.

codex/tickets/TKT-0027.md (1)

33-33: Update the log entry to clarify how TypeScript validation is performed.

The log entry says "ran lint/TypeScript checks/coverage tests," but there is no npm run type-check script in package.json—it appears to have been removed in the "clean-package-json-scripts" refactor. TypeScript validation is enforced through the Next.js build process (npm run base-build runs next build, which validates TypeScript by default). Clarify the log entry to explicitly state that TypeScript checks occur during the build step, not as a separate npm command.

codex/tickets/TKT-0020.md (1)

20-24: > Likely an incorrect or invalid review comment.

codex/tickets/TKT-0036.md (2)

1-25: Missing required codex/STATE.md review per coding guidelines.

The coding guidelines require reviewing codex/STATE.md at the start of every workstream when modifying codex/**/*.md files. This state file is not provided in the review context and should be checked to ensure alignment with the type-check removal changes across tickets.


25-25: Acceptance criteria updated to remove type-check requirement.

Line 25 now specifies only npm run lint and targeted tests, removing the type-check mandate. This aligns with the PR's objective but represents a significant shift in validation requirements. Verify that this change is intentional and that any type-check-dependent validations have been migrated or are no longer needed for this feature.

codex/tickets/TKT-0030.md (1)

33-33: Log entry updated consistently with type-check removal.

The log entry now references only npm run lint instead of including npm run type-check, aligning with the PR's cleanup objective. The change is consistent across all ticket files reviewed.

codex/tickets/TKT-0015.md (1)

25-25: Acceptance criteria simplified by removing type-check reference.

The acceptance now explicitly requires only updated/added tests and npm run test && npm run lint, with type-check removed. This is consistent with the PR's cleanup objective and aligns with other ticket updates.

codex/tickets/TKT-0035.md (1)

27-27: Acceptance criteria streamlined with type-check removal.

Updated to require only npm run lint and targeted component tests, removing type-check validation. The change is consistent across all modified tickets in this PR.

codex/tickets/TKT-0012.md (2)

19-19: Multiple validation references updated to remove type-check.

Lines 19 and 25 both remove type-check from plan and acceptance criteria:

  • Plan (line 19): Now "Validate via linting and targeted tests as required"
  • Acceptance (line 25): Now "Tests and lint commands succeed without new warnings"

These changes are consistent with the PR objective and similar updates across other tickets.

Also applies to: 25-25


36-36: Log entries reflect type-check deprecation with terminology shift.

Line 36 uses "TypeScript checks" terminology where earlier entries might have said "type-check", and line 39 consolidates validation to "lint/tests". This terminology shift is consistent within the ticket's log but verify it matches the project-wide convention being adopted.

Also applies to: 39-39

codex/tickets/TKT-0021.md (1)

25-25: Acceptance and log entries consistently remove type-check references.

Lines 25, 36, and 38 remove or don't mention type-check:

  • Acceptance (line 25): "npm run lint and targeted tests succeed when run"
  • Log (line 36): "ran npm run lint"
  • Log (line 38): "updated tests, and reran lint/tests"

All changes follow the same pattern as other tickets, maintaining consistency in the validation requirement shift.

Also applies to: 36-36, 38-38

codex/tickets/TKT-0037.md (1)

18-18: Type-check validation removed from plan and acceptance.

Lines 18 and 25 remove type-check validation:

  • Plan (line 18): Now only "Run npm run test and npm run lint"
  • Acceptance (line 25): "npm run test and npm run lint pass locally"

The removal is consistent with the PR's intent to deprecate type-check from the validation workflow.

Also applies to: 25-25

codex/tickets/TKT-0010.md (2)

20-20: Plan section updated to remove type-check requirement.

Line 20 now requires only "lint and relevant tests" instead of including type-check validation. This aligns the plan with the PR's objective to deprecate type-check from the validation workflow.


39-39: Log terminology adjusted to reflect validation shift.

Line 39 consolidates validation failures under "lint and type errors" rather than separating type-check as an independent step. The change reflects the architectural shift to remove type-check as a standalone validation tool.

codex/tickets/TKT-0016.md (1)

16-16: Acceptance criteria are consistent with AGENTS.md requirements.

The ticket's Plan mentions "TypeScript checks" as validation, and the Acceptance criteria correctly specifies npm run test and npm run lint, which aligns with the current "Programmatic Checks" documented in AGENTS.md (lines 37–40). There is no npm run type-check script in the repository, so no removal is occurring. The ticket is accurate as written.

Likely an incorrect or invalid review comment.

package.json (1)

5-31: Documentation already reflects removal of type-check—no updates needed.

The scripts have been removed from package.json, which aligns with the PR branch name (clean-package-json-scripts). However, the official documentation (AGENTS.md and GEMINI.md) already requires only npm run test and npm run lint—not type-check. The CI/CD pipeline (build-upload-deploy-prod.yml) similarly does not enforce type-check, so the codebase is internally consistent. The test:cov:changed script never existed in any referenced documentation or workflow file.

Likely an incorrect or invalid review comment.

Comment thread codex/tickets/TKT-0016.md
Comment thread codex/tickets/TKT-0028.md
@sonarqubecloud
Copy link
Copy Markdown

@simo6529 simo6529 merged commit c0c23a0 into main Dec 30, 2025
8 checks passed
@simo6529 simo6529 deleted the clean-package-json-scripts branch December 30, 2025 14:31
@coderabbitai coderabbitai Bot mentioned this pull request Jan 6, 2026
@coderabbitai coderabbitai Bot mentioned this pull request Mar 2, 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.

2 participants