adonisjs / adonisjs/assembler

Support of typescript 7

Open
#97 1 comment 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
41
Forks
24
Avg merge
13d 22h
Merged PRs (30d)
2

Description

Package version

8.4.0

Describe the bug

Hello! Upgrade to typescript 7 breaks build process with error:

TypeError: ts.getParsedCommandLineOfConfigFile is not a function

 ⁃ at parseConfig (node_modules/.pnpm/@adonisjs+assembler@8.4.0_typescript@7.0.2/node_modules/@adonisjs/assembler/build/virtual_file_system-BFFXmame.js:61:26)

Function ts.getParsedCommandLineOfConfigFile was deprecated in ts6, so in ts7 its removed.

Reproduction repo

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository for parseConfig and getParsedCommandLineOfConfigFile, then reproduce the build failure with TypeScript 7. Replace the removed API usage with the supported approach and verify that the assembler build completes without the reported TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
66/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.