Skip to content

Commit

Permalink
Merge pull request #57 from birkskyum/add-deno-option-for-cli
Browse files Browse the repository at this point in the history
Add deno support for solid cli
  • Loading branch information
Tommypop2 authored Nov 9, 2024
2 parents fbba4d7 + f50292b commit b516a0e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/utils/src/package-manager/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ export const detectPackageManager = (): PackageManager => {
return s;
},
};
case userAgent.startsWith("deno"):
return {
name: "deno",
runner: "deno run",
installCommand: "add",
runScriptCommand(s) {
return `task ${s}`;
},
};
default:
return {
name: "npm",
Expand Down

0 comments on commit b516a0e

Please sign in to comment.