Skip to content

Commit 70ff0a4

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/ansi-regex-5.0.1
2 parents 3156aab + 4466137 commit 70ff0a4

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [1.1.1](https://github.com/americanexpress/create-shared-react-context/compare/v1.1.0...v1.1.1) (2025-01-15)
2+
3+
4+
### Bug Fixes
5+
6+
* **interop:** fix export and use commonJS ([#53](https://github.com/americanexpress/create-shared-react-context/issues/53)) ([1777b68](https://github.com/americanexpress/create-shared-react-context/commit/1777b685a0774a73af883e48e9b0609db2168d92))
7+
18
# [1.1.0](https://github.com/americanexpress/create-shared-react-context/compare/v1.0.5...v1.1.0) (2025-01-13)
29

310

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ function createSharedReactContext<T>(
3434
return context;
3535
}
3636

37-
export default createSharedReactContext;
37+
export = createSharedReactContext;

tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
"compilerOptions": {
33
"jsx": "react",
44
"allowSyntheticDefaultImports": true,
5+
"esModuleInterop": true,
56
"types": ["node"],
67
"outDir": "./dist",
78
"allowJs": true,
89
"target": "es6",
10+
"module": "commonjs",
911
"moduleResolution": "node",
1012
"strict": true
1113
},

0 commit comments

Comments
 (0)