Skip to content

Commit 6146dec

Browse files
author
Qu4k
committed
feat: change default file name to scripts
1 parent 5316ae7 commit 6146dec

File tree

3 files changed

+9
-31
lines changed

3 files changed

+9
-31
lines changed

denon.config.ts

Lines changed: 0 additions & 28 deletions
This file was deleted.

scripts.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
scripts:
2+
test:
3+
- "deno fmt --check"
4+
- "deno lint --unstable"
5+
- "deno test --unstable -A"
6+
watch: false

src/templates.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export interface Template {
1010
}
1111

1212
const json: Template = {
13-
filename: "denon.json",
13+
filename: "scripts.json",
1414
source: String.raw`{
1515
"$schema": "https://deno.land/x/denon/schema.json",
1616
"scripts": {
@@ -23,15 +23,15 @@ const json: Template = {
2323
};
2424

2525
const yaml: Template = {
26-
filename: "denon.yml",
26+
filename: "scripts.yml",
2727
source: String.raw`scripts:
2828
start:
2929
cmd: "deno run app.ts"
3030
desc: "run my app.ts file"`,
3131
};
3232

3333
const typescript: Template = {
34-
filename: "denon.config.ts",
34+
filename: "scripts.config.ts",
3535
source: String.raw`
3636
import { DenonConfig } from "https://deno.land/x/denon@${VERSION}/mod.ts";
3737

0 commit comments

Comments
 (0)