Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Typescript Config Scaffolding #44

Open
3 of 7 tasks
Tracked by #3300
vaibhavsingh97 opened this issue Aug 5, 2022 · 0 comments
Open
3 of 7 tasks
Tracked by #3300

[Enhancement] Typescript Config Scaffolding #44

vaibhavsingh97 opened this issue Aug 5, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@vaibhavsingh97
Copy link
Member

vaibhavsingh97 commented Aug 5, 2022

  • Use tsc –init for the new npm project, to create tsconfig config file
  • Add BDD test example #45
  • Creating Nightwatch.conf.ts for typescript projects (After Nightwatch release, which supports native typescript transpiling)
    • Refactoring of “Nightwatch.conf.ts” for typescript projects. Since it uses module.exports, which typescript understands but not the recommended way.
  • Remove the usage of this.otherInfo.tsOutDir and examplesJsSrc/testsJsSrc.
  • Don't add a test script in package.json file.
  • Verify if setupTypescript() needs to be run in case only config file is to be generated. (We might generate nightwatch/tsconfig.json using setupTypeScript() but still we won't be able to install ts-node, so why even try to setup TypeScript? Probably just generate the config file.)
    Edit: Actually we do install ts-node with generate-config.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Status: In Progress
Status: In Progress
Development

No branches or pull requests

2 participants