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

[Feature Request] Add TypeScript Support #722

Open
anand-srivastava opened this issue Jan 30, 2025 · 0 comments
Open

[Feature Request] Add TypeScript Support #722

anand-srivastava opened this issue Jan 30, 2025 · 0 comments
Labels
bug Something isn't working documentation enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@anand-srivastava
Copy link

Requesting support for TypeScript in aio, including the addition of TypeScript project templates. This would allow developers to create and maintain applications using TypeScript while leveraging Adobe’s extensibility tools.

Use Case

Many developers prefer TypeScript for its type safety, better tooling support, and improved maintainability. Currently, when using aio app init, the generated templates are JavaScript-based. Providing TypeScript support would:

  • Enable developers to scaffold projects with TypeScript out of the box.
  • Improve developer experience with better IntelliSense and error handling.
  • Align with modern development trends, as many enterprise applications favor TypeScript over JavaScript.

Proposed Behaviour

  1. Add TypeScript templates:
    • Update aio app init to include an option for TypeScript (--typescript flag)
    • Provide equivalent templates for TypeScript similar to the existing JavaScript templates
    • Include tsconfig.json and necessary dependencies (typescript, @types/node, etc.)
  2. Update other CLI Commands to Support TypeScript:
    • Ensure aio app run, aio app deploy, and other commands work seamlessly with TypeScript projects
    • Automatically transpile .ts files if required before execution
  3. Documentation & Examples:
    • Update the official documentation to include examples of how to use TypeScript in Adobe App Builder applications
@anand-srivastava anand-srivastava changed the title Feature Request: Add TypeScript Support [Feature Request] Add TypeScript Support Jan 30, 2025
@purplecabbage purplecabbage added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers documentation bug Something isn't working labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants