chore(react,react-router): dev command for watch mode, ts dep updates

This commit is contained in:
Sean Perkins
2022-10-19 18:19:59 -04:00
parent e254718982
commit 48460c4a76
3 changed files with 9 additions and 6 deletions

View File

@ -24,6 +24,7 @@
"build": "npm run clean && npm run compile",
"clean": "rimraf dist dist-transpiled",
"compile": "npm run tsc && rollup -c",
"dev": "tsc -p . --watch",
"release": "np --any-branch --no-cleanup",
"lint": "tslint --project .",
"lint.fix": "tslint --project . --fix",
@ -44,7 +45,7 @@
"react": ">=16.8.6",
"react-dom": ">=16.8.6",
"react-router": "^5.0.1",
"react-router-dom": "^5.0.1"
"react-router-dom": "^5.3.0"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^8.1.0",
@ -52,18 +53,18 @@
"@types/react": "16.14.0",
"@types/react-dom": "^16.9.0",
"@types/react-router": "^5.0.3",
"@types/react-router-dom": "^5.1.5",
"@types/react-router-dom": "^5.3.3",
"prettier": "^2.2.0",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-router": "^5.0.1",
"react-router-dom": "^5.0.1",
"react-router-dom": "5.3.0",
"rimraf": "^3.0.2",
"rollup": "^2.26.4",
"rollup-plugin-sourcemaps": "^0.6.2",
"tslint": "^6.1.3",
"tslint-ionic-rules": "0.0.21",
"tslint-react": "^5.0.0",
"typescript": "^3.9.5"
"typescript": "^4.0.0"
}
}

View File

@ -17,7 +17,9 @@ export class IonRouteInner extends React.PureComponent<IonRouteProps> {
*
* TODO: FW-647
*/
computedMatch={(this.props as any).computedMatch}
{...{
computedMatch: (this.props as any).computedMatch,
}}
/>
);
}

View File

@ -73,7 +73,7 @@
"tslint": "^6.1.2",
"tslint-ionic-rules": "0.0.21",
"tslint-react": "^5.0.0",
"typescript": "^3.9.5"
"typescript": "^4.0.0"
},
"jest": {
"preset": "ts-jest",