Skip to content

Commit 776834f

Browse files
committed
chore: configure remark in package.json
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
1 parent 21186bb commit 776834f

File tree

3 files changed

+7
-15
lines changed

3 files changed

+7
-15
lines changed

.remarkrc.mjs

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

dprint/remark.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @module dprint/remark
44
*/
55

6-
import remarkPresetFlex from '@flex-development/remark-preset'
6+
import remarkPreset from '@flex-development/remark-preset'
77
import { ok } from 'devlop'
88
import { Transform } from 'node:stream'
99
import remarkParse from 'remark-parse'
@@ -36,7 +36,7 @@ process.stdin.pipe(new Transform({
3636

3737
await unified()
3838
.use(remarkParse)
39-
.use(remarkPresetFlex)
39+
.use(remarkPreset)
4040
.use(remarkStringify)
4141
.process(file)
4242

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@
3838
".": "./lib/index.mjs",
3939
"./package.json": "./package.json"
4040
},
41+
"remarkConfig": {
42+
"plugins": [
43+
"@flex-development/remark-preset"
44+
]
45+
},
4146
"scripts": {
4247
"build": "yarn clean:build && tsc -p tsconfig.build.json --noEmit false",
4348
"check:ci": "yarn dedupe --check && yarn check:format && yarn check:lint && yarn check:spelling && yarn pack && yarn check:types:build && attw package.tgz && yarn clean:pack",

0 commit comments

Comments
 (0)