Skip to content

Commit

Permalink
Upgrade microbundle (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
danoc authored Oct 24, 2022
1 parent d7256b8 commit a872a02
Show file tree
Hide file tree
Showing 6 changed files with 2,000 additions and 602 deletions.
5 changes: 5 additions & 0 deletions .changeset/hot-singers-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"clickable-box": patch
---

Upgrade microbundle, the tool used for publishing packages
File renamed without changes.
1 change: 0 additions & 1 deletion babel.config.js → babel.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ module.exports = {
"@babel/preset-react",
"@babel/preset-typescript",
],
plugins: [],
};
13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@
"version": "1.1.7",
"author": "Daniel O'Connor <daniel@danoc.me>",
"license": "MIT",
"type": "module",
"source": "./src/index.tsx",
"main": "./dist/clickable-box.js",
"exports": {
"require": "./dist/clickable-box.cjs",
"default": "./dist/clickable-box.modern.js"
},
"main": "./dist/clickable-box.cjs",
"module": "./dist/clickable-box.module.js",
"unpkg": "./dist/clickable-box.umd.js",
"types": "./dist/index.d.ts",
"types": "./dist/clickable-box.d.ts",
"files": [
"dist"
],
Expand All @@ -21,7 +26,9 @@
"release": "rm -rf dist && pnpm install --frozen-lockfile && pnpm test && pnpm microbundle --jsx React.createElement && pnpm changeset publish"
},
"devDependencies": {
"@babel/preset-typescript": "^7.12.7",
"@babel/preset-env": "^7.19.4",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@changesets/cli": "^2.25.0",
"@testing-library/react": "^11.2.3",
"@types/jest": "^26.0.20",
Expand Down
Loading

0 comments on commit a872a02

Please sign in to comment.