pulsar-edit / ppm

Pulsar Package Manager
MIT License
35 stars 13 forks source link

Add more package templates #46

Open sertonix opened 1 year ago

sertonix commented 1 year ago

Have you checked for existing feature requests?

Summary

As discussed in pulsar#216 it would be nice to add more templates for packages.

If you have more suggestion just comment here and I will add them to the list.

Enter your response below:

It would support people to create packages in the enviroment/language they like.

Any alternatives?

-

Other examples:

No response

confused-Techie commented 1 year ago

One thing that we probably want to consider prior to adding this, is as of now Pulsar has no native way to run a TypeScript package, so the package template would have to include all the tools to transpile TypeScript into JavaScript manually, unlike CoffeeScript.

So personally I'd rather see us build support for packages to be written in TypeScript first and be transpiled by Pulsar, prior to suggesting people create package's in TypeScript.

confused-Techie commented 1 year ago

Actually nevermind, I've spoken too soon. Pulsar does already 100% support packages being created in TypeScript. So in this case, yes we should absolutely add an example TypeScript package.

savetheclocktower commented 1 year ago

This would be true even if Atom couldn't transpile TypeScript internally.

@steelbrain’s packages are all pretty high-profile examples of TypeScript-based Atom packages that have a robust toolchain. I don't love working with TypeScript, but the experience of hacking on those packages is about as good as it can get under the circumstances.

confused-Techie commented 1 year ago

@savetheclocktower Appreciate the shout out to steelbrain's packages. I'll make sure to take a look at those for reference in drafting a TypeScript package. Since tbh I've never really touched TypeScript beyond reading the Hydrogen source code, so if you're at all familiar would love some pointers on a valid template to include