cleanup and dep update

This commit is contained in:
Niccolo Borgioli 2024-10-07 11:11:19 +02:00
parent a6c56e536a
commit 06e5b80a0e
4 changed files with 7 additions and 9 deletions

BIN
bun.lockb

Binary file not shown.

View File

@ -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"

View File

@ -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'

View File

@ -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"]
} }