Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate to ts #52

Merged
merged 7 commits into from
Jan 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.next
node_modules
dist
13 changes: 0 additions & 13 deletions lib/index.d.ts

This file was deleted.

2 changes: 0 additions & 2 deletions lib/index.js

This file was deleted.

19 changes: 13 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@
"version": "0.5.0",
"type": "module",
"exports": {
".": "./lib/index.js",
".": "./dist/index.js",
"./package.json": "./package.json"
},
"license": "MIT",
"files": [
"lib"
"dist"
],
"types": "./lib/index.d.ts",
"types": "./dist/index.d.ts",
"scripts": {
"build:site": "next build ./site",
"build": "bunchee",
"prepublishOnly": "pnpm run build",
"build:site": "pnpm run build && next build ./site",
"start": "next start ./site",
"dev": "next dev ./site"
},
Expand All @@ -25,12 +27,17 @@
"sucrase": "3.35.0"
},
"devDependencies": {
"@types/node": "^22.10.7",
"@types/react": "^19.0.7",
"@types/react-dom": "^19.0.3",
"bunchee": "^6.3.2",
"codice": "^0.4.4",
"devjar": "link:",
"devjar": "link:./",
"next": "^15.1.5",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"sugar-high": "^0.8.2"
"sugar-high": "^0.8.2",
"typescript": "^5.7.3"
},
"packageManager": "pnpm@9.15.4"
}
Loading
Loading