Skip to content

CodeceptJS v4 initializes tsconfig for cjs and ts-node #5594

Description

@danielrentz

Run npx codeceptjs init and select TypeScript support. It emits a tsconfig.json with outdated "ts-node" entry and set module mode to "commonjs".

{
  "ts-node": {
    "files": true
  },
  "compilerOptions": {
    "module": "commonjs",
    ...
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions