MCPcopy
hub / github.com/triggerdotdev/trigger.dev / isDenoJsRuntime

Method isDenoJsRuntime

packages/cli/src/utils/jsRuntime.ts:122–133  ·  view source on GitHub ↗
(projectRootPath: string)

Source from the content-addressed store, hash-verified

120 }
121
122 static async isDenoJsRuntime(projectRootPath: string): Promise<boolean> {
123 try {
124 try {
125 await fs.stat(pathModule.join(projectRootPath, "deno.json"));
126 } catch (e) {
127 await fs.stat(pathModule.join(projectRootPath, "deno.jsonc"));
128 }
129 return true;
130 } catch {
131 return false;
132 }
133 }
134
135 async checkForOutdatedPackages(): Promise<{ from: string; to: string } | undefined> {
136 return;

Callers 1

getJsRuntimeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected