Skip to content

Commit 9b3652e

Browse files
icd2k3jschrader-nr
andauthored
fix: remove old naming references to react-router-breadcrumbs-hoc (#4)
* fix: remove old references to react-router-breadcrumbs-hoc * chore: bump version * fix: type def link Co-authored-by: Justin Schrader <[email protected]>
1 parent 4451748 commit 9b3652e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "use-react-router-breadcrumbs",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "A hook for displaying and setting breadcrumbs for react router",
55
"main": "dist/cjs/index.js",
66
"module": "dist/es/index.js",
@@ -9,6 +9,7 @@
99
"author": "Justin Schrader <[email protected]>",
1010
"license": "MIT",
1111
"private": false,
12+
"types": "types/use-react-router-breadcrumbs/index.d.ts",
1213
"peerDependencies": {
1314
"react": ">=16.8",
1415
"react-router": ">=5.1.0"

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default exports.map((item) => ({
3939
exports: 'named',
4040
file: item.file,
4141
format: item.format,
42-
name: 'react-router-breadcrumbs-hoc',
42+
name: 'use-react-router-breadcrumbs',
4343
globals,
4444
sourcemap: true,
4545
},

src/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ components.BreadcrumbExtraPropsTest.propTypes = {
150150
bar: PropTypes.string.isRequired,
151151
};
152152

153-
describe('react-router-breadcrumbs-hoc', () => {
153+
describe('use-react-router-breadcrumbs', () => {
154154
describe('Valid routes', () => {
155155
it('Should render breadcrumb components as expected', () => {
156156
const routes = [

0 commit comments

Comments
 (0)