Skip to content

Commit

Permalink
chore: bump deps and simplify exports
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Jan 18, 2025
1 parent 42c2947 commit a48e03c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 17 deletions.
7 changes: 0 additions & 7 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -481,13 +481,6 @@ function tokenize(code, options) {
}
continue
}

// if (curr === ' ' || isSign(curr)) {
// append()
// current = curr
// append()
// continue
// }
}
}

Expand Down
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,21 @@
"version": "0.8.2",
"type": "module",
"types": "./lib/index.d.ts",
"exports": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"main": "./lib/index.js",
"description": "Super lightweight JSX syntax highlighter",
"files": [
"lib"
],
"license": "MIT",
"scripts": {
"test": "vitest run",
"test": "vitest",
"dev": "next dev docs",
"build": "next build docs"
},
"devDependencies": {
"@types/node": "22.10.7",
"@types/react": "19.0.7",
"codice": "^0.4.2",
"codice": "^0.4.3",
"next": "15.1.5",
"react": "^19.0.0",
"react-dom": "^19.0.0",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a48e03c

Please sign in to comment.