Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/ansi-regex-5.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
guym4c authored Jan 21, 2025
2 parents 3156aab + 4466137 commit 70ff0a4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.1.1](https://github.com/americanexpress/create-shared-react-context/compare/v1.1.0...v1.1.1) (2025-01-15)


### Bug Fixes

* **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))

# [1.1.0](https://github.com/americanexpress/create-shared-react-context/compare/v1.0.5...v1.1.0) (2025-01-13)


Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ function createSharedReactContext<T>(
return context;
}

export default createSharedReactContext;
export = createSharedReactContext;
2 changes: 2 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
"compilerOptions": {
"jsx": "react",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"types": ["node"],
"outDir": "./dist",
"allowJs": true,
"target": "es6",
"module": "commonjs",
"moduleResolution": "node",
"strict": true
},
Expand Down

0 comments on commit 70ff0a4

Please sign in to comment.