Skip to content

Typescript support for External Source PluginsΒ #1296

@lschierer

Description

@lschierer

Type of Change

New Feature

Summary

Please support using TypeScript to write an External Source Plugin

Details

I attempted to follow https://www.greenwoodjs.io/plugins/source/ changing the .js extension out for .ts and get an ERR_UNKNOWN_FILE_EXTENSION that persists even after I was assisted in solving these errors for other sections of my configuration here.

I suspect that its actually possible to do this, but that it would be (currently) a multi-step process, where I'd need to transpile the plugin to javascript to then be able to run the greenwood develop or build commands. This request is to support, and document, a configuration that will consolidate that into a single command line that could be included as the develop script in a package.json file.

I further suspect that this is related to #1250 where in the comments I requested support for the main configuration file to be supported as a typescript file. My intuition is that if you solved that, this would be mostly solved as well.

Metadata

Metadata

Labels

featureNew feature or requestv0.32.0websiteTasks related to the projects website / documentation

Type

No type

Projects

Status

βœ… Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions