Skip to content

Commit

Permalink
update npm packages
Browse files Browse the repository at this point in the history
  • Loading branch information
olmobrutall committed Jun 7, 2020
1 parent b8713c3 commit 39f3029
Show file tree
Hide file tree
Showing 4 changed files with 174 additions and 161 deletions.
2 changes: 1 addition & 1 deletion Signum.React/Scripts/Components/ErrorBoundary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBoun
this.setState({ error, info });
}

componentWillReceiveProps(newProps: ErrorBoundaryProps) {
UNSAFE_componentWillReceiveProps(newProps: ErrorBoundaryProps) {
if (newProps.refreshKey != this.props.refreshKey && (this.state.error || this.state.info))
this.setState({ error: undefined, info: undefined });
}
Expand Down
38 changes: 19 additions & 19 deletions Signum.React/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,28 @@
},
"homepage": "https://github.com/signumsoftware/framework#readme",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "1.2.27",
"@fortawesome/free-brands-svg-icons": "5.12.1",
"@fortawesome/free-regular-svg-icons": "5.12.1",
"@fortawesome/free-solid-svg-icons": "5.12.1",
"@fortawesome/react-fontawesome": "0.1.8",
"@fortawesome/fontawesome-svg-core": "1.2.28",
"@fortawesome/free-brands-svg-icons": "5.13.0",
"@fortawesome/free-regular-svg-icons": "5.13.0",
"@fortawesome/free-solid-svg-icons": "5.13.0",
"@fortawesome/react-fontawesome": "0.1.10",
"@types/d3": "5.7.2",
"@types/d3-scale-chromatic": "1.3.1",
"@types/history": "4.7.5",
"@types/d3-scale-chromatic": "1.5.0",
"@types/history": "4.7.6",
"@types/prop-types": "15.7.3",
"@types/query-string": "5.1.0",
"@types/react": "16.9.23",
"@types/react-dom": "16.9.5",
"@types/react-router": "5.1.4",
"@types/react-router-dom": "5.1.3",
"@types/react-transition-group": "4.2.4",
"@types/react-widgets": "4.3.3",
"moment": "2.24.0",
"numbro": "2.1.2",
"popper.js": "1.15.0",
"@types/react": "16.9.35",
"@types/react-dom": "16.9.8",
"@types/react-router": "5.1.7",
"@types/react-router-dom": "5.1.5",
"@types/react-transition-group": "4.4.0",
"@types/react-widgets": "4.4.2",
"moment": "2.26.0",
"numbro": "2.3.0",
"popper.js": "1.16.1",
"query-string": "5.1.1",
"react": "16.12.0",
"react-bootstrap": "1.0.0-beta.16",
"react-dom": "16.12.0"
"react": "16.13.1",
"react-bootstrap": "1.0.1",
"react-dom": "16.13.1"
}
}
1 change: 1 addition & 0 deletions Signum.React/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"sourceMap": false,
"module": "esnext",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"jsx": "react",
"incremental": true,
"outDir": "./ts_out",
Expand Down
Loading

2 comments on commit 39f3029

@olmobrutall
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update NPM packages and remove draft-js-plugins

I've just updated the NPM packages in Framework / Extensions / Southwind.

When updating, remember to remove yarn.lock file in YourApp.React before running yarn install.

Finally, I've removed the dependency to draft-js-plugins (introduced a few weeks ago) and implement the HtmlEditor on top of draft-js directyl to avoid regain control and avoid incomplete TS definition files.

Enjoy!

@MehdyKarimpour
Copy link
Contributor

@MehdyKarimpour MehdyKarimpour commented on 39f3029 Jun 7, 2020 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.