-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Labels
CLIRFCProposal and changes to workflows, architecture, APIs, etcProposal and changes to workflows, architecture, APIs, etcfeatureNew feature or requestNew feature or requestwebsiteTasks related to the projects website / documentationTasks related to the projects website / documentation
Milestone
Description
Type of Change
Feature
Summary
Would like to provide Greenwood with the ability to run on a broad spectrum of runtime environments, not just NodeJS. So for example, being able to run Greenwood in
- NodeJS
- Deno (although technically Deno now support npm)
- Bun
- CloudFlare Workers
- etc
This means more Web APIs like fetch
, URL
, etc and less fs
, path
, etc. So would like to make the core as agnostic as possible through and through, in preparation for Serverless / Edge cases as per #1008 and #948 .
Details
Things to look out for would be what "Adapter" strategies for anything that is Node specific. This includes
fs
- alternatives toreadFile
,existsSync
,copy
, etc. Usefs.promises.*
so we can useURL
directlypath
- get rid of all instancesprocess.cwd()
- ???Readable.from
- Workers
os
Also, will want to pull along WCC for this adventure too.
Metadata
Metadata
Assignees
Labels
CLIRFCProposal and changes to workflows, architecture, APIs, etcProposal and changes to workflows, architecture, APIs, etcfeatureNew feature or requestNew feature or requestwebsiteTasks related to the projects website / documentationTasks related to the projects website / documentation
Type
Projects
Status
✅ Done