mirror of
https://github.com/cupcakearmy/markdown-it-import.git
synced 2024-12-22 08:16:27 +00:00
cleanup and dep update
This commit is contained in:
parent
a6c56e536a
commit
06e5b80a0e
@ -34,9 +34,9 @@
|
|||||||
"prepublishOnly": "bun run build"
|
"prepublishOnly": "bun run build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"bun-types": "latest",
|
"@types/bun": "^1.1.10",
|
||||||
"markdown-it": "^13.0.2",
|
"markdown-it": "^14.1.0",
|
||||||
"typescript": "^5.0.0"
|
"typescript": "^5.6.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14"
|
"node": ">=14"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { readFile } from 'fs/promises'
|
import { readFile } from 'node:fs/promises'
|
||||||
import { join } from 'path'
|
import { join } from 'node:path'
|
||||||
import MarkdownIt from 'markdown-it'
|
import MarkdownIt from 'markdown-it'
|
||||||
import { Options, importPlugin } from '../src/index.ts'
|
import { Options, importPlugin } from '../src/index.ts'
|
||||||
|
|
||||||
|
@ -6,13 +6,11 @@
|
|||||||
"moduleResolution": "bundler",
|
"moduleResolution": "bundler",
|
||||||
"moduleDetection": "force",
|
"moduleDetection": "force",
|
||||||
"allowImportingTsExtensions": true,
|
"allowImportingTsExtensions": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
"emitDeclarationOnly": true,
|
"emitDeclarationOnly": true,
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
"composite": true,
|
"composite": true,
|
||||||
"strict": true,
|
"strict": true
|
||||||
"types": [
|
|
||||||
"bun-types" // add Bun global
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"include": ["./src"]
|
"include": ["./src"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user