-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a8644ef
commit e73c435
Showing
6 changed files
with
72 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,7 @@ | |
"name": "@danet/cli", | ||
"version": "0.9.0", | ||
"exports": { | ||
"./bundle.ts": "./bundle.ts", | ||
"./generate.ts": "./generate.ts", | ||
"./main.ts": "./main.ts", | ||
"./deployToDenoDeploy.ts": "./deployToDenoDeploy.ts", | ||
"./deps.ts": "./deps.ts", | ||
"./run.ts": "./run.ts", | ||
"./deno.json": "./deno.json" | ||
".": "./main.ts" | ||
}, | ||
"fmt": { | ||
"options": { | ||
|
@@ -28,7 +22,8 @@ | |
}, | ||
"imports": { | ||
"@cliffy/command": "jsr:@cliffy/[email protected]", | ||
"@ts-morph/ts-morph": "jsr:@ts-morph/ts-morph", | ||
"@ts-morph/ts-morph": "jsr:@ts-morph/ts-morph@23.0.0", | ||
"@danet/core": "jsr:@danet/core@2" | ||
} | ||
}, | ||
"license": "MIT" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
export const runProjectWithWatch = async () => { | ||
const p = Deno.run({ | ||
cmd: ['deno', 'run', '--watch', '--allow-net', '--allow-read', '--unstable', '--allow-env', 'run.ts'] | ||
}) | ||
await p.status(); | ||
export const runProjectWithWatch: () => void = async () => { | ||
const command = new Deno.Command("deno", { | ||
args: ['run', '--watch', '--allow-net', '--allow-read', '--unstable', '--allow-env', 'run.ts'] | ||
}); | ||
await command.output(); | ||
} | ||
|
||
export const runProject = async () => { | ||
const p = Deno.run({ | ||
cmd: ['deno', 'run', '--allow-net', '--allow-read', '--unstable', '--allow-env', 'run.ts'] | ||
}) | ||
await p.status(); | ||
export const runProject: () => void = async () => { | ||
const command = new Deno.Command("deno", { | ||
args: ['run', '--allow-net', '--allow-read', '--unstable', '--allow-env', 'run.ts'] | ||
}); | ||
await command.output(); | ||
} |