Skip to content

Commit c1c3de1

Browse files
committed
chore: fmt
1 parent 9177427 commit c1c3de1

File tree

6 files changed

+87
-88
lines changed

6 files changed

+87
-88
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
The format is based on [Keep a Changelog],
6-
and this project adheres to [Semantic Versioning].
5+
The format is based on [Keep a Changelog], and this project adheres to
6+
[Semantic Versioning].
77

88
## [2.4.7] - 2021-02-03
99

@@ -28,7 +28,7 @@ and this project adheres to [Semantic Versioning].
2828

2929
### Bug Fixes
3030

31-
- change *.* to **/*.* ([`201d7bc`])
31+
- change _._ to **/_._ ([`201d7bc`])
3232

3333
## [2.4.4] - 2020-10-10
3434

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,6 @@ Scripts can also be defined by a complex object:
266266
// they are described in the next paragraph
267267
"allow": ["env", "write"],
268268
"unstable": true
269-
270269
// running `denon start` will resolve in
271270
// deno run --allow-env --allow-write --unstable app.ts
272271
}
@@ -316,13 +315,13 @@ following the same format.
316315
// as object ...
317316
"allow": {
318317
"read": "/etc,/tmp", // --allow-read=/etc,/tmp
319-
"env": true // --allow-env
318+
"env": true // --allow-env
320319
},
321320
// ... or as array
322321
"allow": [
323322
"run", // --allow-run
324323
"net" // --allow-net
325-
]
324+
],
326325

327326
"scripts": {
328327
"start": {
@@ -333,7 +332,7 @@ following the same format.
333332
// as object ...
334333
"allow": {
335334
"read": "/etc,/tmp", // --allow-read=/etc,/tmp
336-
"env": true // --allow-env
335+
"env": true // --allow-env
337336
},
338337
// ... or as array
339338
"allow": [
@@ -354,7 +353,7 @@ disabling file watching and run a script only once:
354353
{
355354
// globally applied to all scripts
356355
// now denon will essentialy be a script runner
357-
"watch": false
356+
"watch": false,
358357

359358
"scripts": {
360359
"start": {

docs/sidebar.json

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
[
2-
{
3-
"type": "category",
4-
"label": "Denon",
5-
"items": [
6-
"denon/home",
7-
"denon/installation",
8-
"denon/usage"
9-
]
10-
},
11-
{
12-
"type": "category",
13-
"label": "Advanced",
14-
"items": [
15-
{
16-
"type": "category",
17-
"label": "Configuration",
18-
"items": [
19-
"denon/configuration/templates",
20-
"denon/configuration/script",
21-
"denon/configuration/watcher",
22-
"denon/configuration/logger"
23-
]
24-
},
25-
"denon/module",
26-
"denon/contributing"
27-
]
28-
}
29-
]
1+
[
2+
{
3+
"type": "category",
4+
"label": "Denon",
5+
"items": [
6+
"denon/home",
7+
"denon/installation",
8+
"denon/usage"
9+
]
10+
},
11+
{
12+
"type": "category",
13+
"label": "Advanced",
14+
"items": [
15+
{
16+
"type": "category",
17+
"label": "Configuration",
18+
"items": [
19+
"denon/configuration/templates",
20+
"denon/configuration/script",
21+
"denon/configuration/watcher",
22+
"denon/configuration/logger"
23+
]
24+
},
25+
"denon/module",
26+
"denon/contributing"
27+
]
28+
}
29+
]

examples/issue_101/scripts.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
{
2-
"$schema": "https://deno.land/x/denon/schema.json",
3-
"scripts": {
4-
"start": {
5-
"cmd": "deno run ./main.ts"
6-
}
7-
},
8-
"watcher": {
9-
"match": ["src/**/*.ts", "./main.ts"]
10-
},
11-
"logger": {
12-
"debug": true,
13-
"fullscreen": true
14-
}
15-
}
1+
{
2+
"$schema": "https://deno.land/x/denon/schema.json",
3+
"scripts": {
4+
"start": {
5+
"cmd": "deno run ./main.ts"
6+
}
7+
},
8+
"watcher": {
9+
"match": ["src/**/*.ts", "./main.ts"]
10+
},
11+
"logger": {
12+
"debug": true,
13+
"fullscreen": true
14+
}
15+
}

examples/issue_49/denon.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
{
2-
"$schema": "https://deno.land/x/denon/schema.json",
3-
"scripts": {
4-
"start": {
5-
"cmd": "deno run -A ./main.ts"
6-
}
7-
},
8-
"logger": {
9-
"debug": true
10-
}
11-
}
1+
{
2+
"$schema": "https://deno.land/x/denon/schema.json",
3+
"scripts": {
4+
"start": {
5+
"cmd": "deno run -A ./main.ts"
6+
}
7+
},
8+
"logger": {
9+
"debug": true
10+
}
11+
}
Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
{
2-
"scripts": {
3-
"start": {
4-
"cmd": "deno run app.ts",
5-
"desc": "Run the server.",
6-
"allow": [
7-
"env",
8-
"net",
9-
"read",
10-
"run"
11-
]
12-
}
13-
},
14-
"watcher": {
15-
"interval": 350,
16-
"exts": ["js", "ts", "json"],
17-
"match": ["**/*.*"],
18-
"legacy": false
19-
},
20-
"logger": {
21-
"fullscreen": false,
22-
"quiet": false,
23-
"debug": true
24-
}
25-
}
1+
{
2+
"scripts": {
3+
"start": {
4+
"cmd": "deno run app.ts",
5+
"desc": "Run the server.",
6+
"allow": [
7+
"env",
8+
"net",
9+
"read",
10+
"run"
11+
]
12+
}
13+
},
14+
"watcher": {
15+
"interval": 350,
16+
"exts": ["js", "ts", "json"],
17+
"match": ["**/*.*"],
18+
"legacy": false
19+
},
20+
"logger": {
21+
"fullscreen": false,
22+
"quiet": false,
23+
"debug": true
24+
}
25+
}

0 commit comments

Comments
 (0)