Skip to content

Ts6 - #107

Open
lm-sousa wants to merge 13 commits into
langSpecV3from
ts6
Open

Ts6#107
lm-sousa wants to merge 13 commits into
langSpecV3from
ts6

Conversation

@lm-sousa

Copy link
Copy Markdown
Member

No description provided.

Copilot AI lite review requested due to automatic review settings August 28, 2026 20:54

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 691df915ed

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Lara-JS/package.json
…ly erasable syntax is allowed

- Removed a couple of deprecated files.
- Transformed enums into "const" declarations.
- Modified the tsconfig.json files
- Updated to TS 6 while I was at it.
Since we do not transpile TS anymore, the sources have been moved to their old destination folders.
The problem stems from the requirement of Node.js of "rewriteRelativeImportExtensions" to be "true".
This causes any import that refers to the package name ("@specs-feup/lara/...") to throw a compilation error when compiling Lara-JS.
However, if we rewrite them to use relative imports, the Jest config in the downstream weavers will error out.
Thus, we added directives for the Typescript compiler to ignore the errors in these particular lines.
The ignore directives were of the appropriate scope as to avoid compilation errors in Lara-JS and in the downstream weavers' compilations.
@lm-sousa

lm-sousa commented Sep 5, 2026

Copy link
Copy Markdown
Member Author

Note

omen-alpha responding on behalf of @lm-sousa

The two S1763 "Unreachable code" findings in Lara-JS/scripts/convert-joinpoint-specification.ts (lines 463 and 471) are valid — dead break; statements after return. Removed in 38d0c9f; the Quality Gate passes again (all checks green on the new commit).

Remove dead break statements flagged by SonarCloud (S1763) in
convert-joinpoint-specification.ts, and add explicit .js -> .ts
export patterns so legacy subpath imports like
@specs-feup/lara/api/lara/util/Accumulator.js keep resolving after
the native-TypeScript migration (found by Codex review).
@sonarqubecloud

sonarqubecloud Bot commented Sep 5, 2026

Copy link
Copy Markdown

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