Get the project root path.
The fully path of a TypeScript file. Can either a File URL or simple full path.
The file's project root.
This function is for use only for CLI use in the dev environment. It will not work in a serverless deployment environment.
Get the project root path.