Skip to content

Commit

Permalink
chore(publish): cjsInterop option added
Browse files Browse the repository at this point in the history
  • Loading branch information
eunchurn committed Aug 25, 2024
1 parent 5b1b5b7 commit dd78f55
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 4 deletions.
7 changes: 7 additions & 0 deletions apps/next-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# next-app

## 1.0.3

### Patch Changes

- Updated dependencies
- @eunchurn/react-windrose@1.3.2

## 1.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/next-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-app",
"version": "1.0.2",
"version": "1.0.3",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
7 changes: 7 additions & 0 deletions apps/react-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 1.2.13

### Patch Changes

- Updated dependencies
- @eunchurn/react-windrose@1.3.2

## 1.2.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/react-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-app",
"version": "1.2.12",
"version": "1.2.13",
"private": true,
"scripts": {
"build": "tsc -b && vite build",
Expand Down
6 changes: 6 additions & 0 deletions packages/react-windrose/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 1.3.2

### Patch Changes

- added cjsInterop option

## 1.3.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react-windrose/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eunchurn/react-windrose",
"version": "1.3.1",
"version": "1.3.2",
"private": false,
"types": "lib/index.d.ts",
"exports": {
Expand Down
3 changes: 2 additions & 1 deletion packages/react-windrose/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ export default defineConfig((options) => ({
dts: true,
clean: true,
sourcemap: true,
cjsInterop: true,
target: "es2022",
external: ["react", "react/jsx-runtime"],
minify: !options.watch,
banner: { js: '"use client";' },
...options,
}));
}));

0 comments on commit dd78f55

Please sign in to comment.