Giter Club home page Giter Club logo

Comments (10)

eladb avatar eladb commented on May 17, 2024 7

Projenrc in typescript is now supported via:

projen new typescript --projenrc-ts

from projen.

eladb avatar eladb commented on May 17, 2024 1

I am having seconds thoughts here. Let's keep it in the backlog for now and see how far we can get with JavaScript.

from projen.

eladb avatar eladb commented on May 17, 2024

Yes, why not?

from projen.

eladb avatar eladb commented on May 17, 2024

This will also require ts-node

from projen.

andrestone avatar andrestone commented on May 17, 2024

Maybe npx ts-node as it is in CDK?

from projen.

eladb avatar eladb commented on May 17, 2024

That would mean that every time you run projen ts-node will be executed or it has to be installed globally (which means that which ts-node should just work.

This is related to perhaps adding support for other languages. Would be nice to be able to also author projenrc in python for example, which will also have some ambient prerequisites.

I am open to doing that: we can auto-discover the .projenrc file type based on its extension and then require the user to have the "runtime" pre-installed in their system.

from projen.

skyrpex avatar skyrpex commented on May 17, 2024

There's also https://github.com/antfu/esno, which uses esbuild to transpile on the fly. I use it with CDK and am pretty happy with it.

Maybe a file like cdk.json would help here to make it customizable?

from projen.

eladb avatar eladb commented on May 17, 2024

esbuild does not perform type checking as far as I know, Correct?

from projen.

skyrpex avatar skyrpex commented on May 17, 2024

Exactly, it just executes the code. Maybe that's not what you want in this scenario.

from projen.

github-actions avatar github-actions commented on May 17, 2024

This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon.

from projen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.