@@ -42,10 +42,10 @@ jobs:
4242
4343 - name : Build release
4444 if : matrix.config.kind == 'test_release'
45- run : cargo build --target wasm32-unknown-unknown --features "wasm" --release --verbose --locked
45+ run : cargo build --target wasm32-unknown-unknown --features "wasm" --release --verbose
4646 - name : Test release
4747 if : matrix.config.kind == 'test_release'
48- run : cargo test --release --verbose --locked
48+ run : cargo test --release --verbose
4949
5050 - name : Get tag version
5151 if : matrix.config.kind == 'test_release' && startsWith(github.ref, 'refs/tags/')
@@ -69,25 +69,25 @@ jobs:
6969 body : |
7070 ## Install
7171
72- In *.dprintrc.json*:
72+ [Install](https://dprint.dev/install/) and [setup](https://dprint.dev/setup/) dprint.
7373
74- 1. Specify the plugin url in the `"plugins"` array:
75- ```jsonc
76- {
77- // etc...
78- "plugins": [
79- "https://plugins.dprint.dev/typescript-${{ steps.get_tag_version.outputs.TAG_VERSION }}.wasm"
80- ]
81- }
82- ```
83- 2. Ensure `.{ts,tsx,js,jsx,mjs}` file extensions are matched in an `"includes"` pattern.
74+ Then in your project's *.dprintrc.json*:
75+
76+ 1. Specify the plugin url in the `"plugins"` array.
77+ 2. Ensure `.ts`, `.tsx`, `.js`, `.jsx`, `.mjs` file extensions are matched in an `"includes"` pattern.
8478 3. Add a `"typescript"` configuration property if desired.
8579 ```jsonc
8680 {
8781 // ...etc...
8882 "typescript": {
8983 // TypeScript & JavaScript config goes here
90- }
84+ },
85+ "includes": [
86+ "**/*.{ts,tsx,js,jsx,mjs}"
87+ ],
88+ "plugins": [
89+ "https://plugins.dprint.dev/json-${{ steps.get_tag_version.outputs.TAG_VERSION }}.wasm"
90+ ]
9191 }
9292 ```
9393 draft : true
0 commit comments