Skip to content

Commit

Permalink
feat: add fmt defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
klaascuvelier committed Apr 13, 2023
1 parent c38d478 commit 140384e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,25 @@

This Deno project was created with `@k11r/nx-deno-deploy`



## Commands

### Serve

Run any Deno project locally.

### Lint

Run any Deno project locally.

#### Prerequisites

- Make sure Deno is installed
- Make sure Deno is installed

#### Permissions

The permissions to be passed to the Deno CLI can be specified in the NX project configuration.
More information on permissions is available in [the manual](https://deno.land/manual@main/runtime/permission_apis).




#### Examples

`nx run <my-project>:serve`
Expand All @@ -31,10 +30,9 @@ More information on permissions is available in [the manual](https://deno.land/m
Test application using `deno test`.
More information is available in [the manual](https://deno.land/manual/testing).


#### Prerequisites

- Make sure Deno is installed
- Make sure Deno is installed

#### Examples

Expand All @@ -47,9 +45,10 @@ Deploy the configured project to Deno Deploy.
Projects will not be build before deploying, by pointing to the entrypath `deployctl` will deploy necessary files directly from the source folder.

#### Prerequisites
- Make sure you have [deployctl](https://github.com/denoland/deployctl) installed
- Make sure you provide a token in the configuration or have `DENO_DEPLOY_TOKEN` set in your environment
- Make sure you created the project you are about to deploy

- Make sure you have [deployctl](https://github.com/denoland/deployctl) installed
- Make sure you provide a token in the configuration or have `DENO_DEPLOY_TOKEN` set in your environment
- Make sure you created the project you are about to deploy

#### Examples

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,19 @@
},
"imports": {
"server": "https://deno.land/std@0.182.0/http/server.ts"
},
"fmt": {
"files": {
"include": [
"src/"
]
},
"options": {
"useTabs": false,
"lineWidth": 80,
"indentWidth": 4,
"singleQuote": true,
"proseWrap": "preserve"
}
}
}

0 comments on commit 140384e

Please sign in to comment.