Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Update node version and patch material ui types
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisSimon committed Jul 11, 2022
1 parent 0ba5014 commit 649fe18
Show file tree
Hide file tree
Showing 5 changed files with 199 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v12
v14
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@0x/website",
"version": "0.0.89",
"engines": {
"node": ">=12 <13"
"node": ">=14 <15"
},
"private": true,
"description": "Website and 0x portal dapp",
Expand All @@ -25,7 +25,8 @@
"deploy_live": "npm run update:tools && yarn index_docs --environment production && DEPLOY_ROLLBAR_SOURCEMAPS=true npm run build:prod && aws s3 sync ./public/. s3://0x.org --profile $(npm config get awscli_profile) --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --exclude *.map.js && ./cdn-cache-clear.sh live",
"index_docs": "TS_NODE_PROJECT=./tsconfig-indexing.json node --stack-size=16000 -r ts-node/register scripts/algolia_index.ts",
"prettier": "prettier --write \"ts/**/*.{ts,tsx,js,json,css,yml,md}\"",
"lint:prettier": "prettier --check \"ts/**/*.{ts,tsx,js,json,css,yml,md}\""
"lint:prettier": "prettier --check \"ts/**/*.{ts,tsx,js,json,css,yml,md}\"",
"postinstall": "patch-package"
},
"resolutions": {
"node-hid": "2.1.1",
Expand Down Expand Up @@ -91,7 +92,9 @@
"moment-timezone": "^0.5.33",
"nice-color-palettes": "^3.0.0",
"numeral": "^2.0.6",
"patch-package": "^6.4.7",
"polished": "^1.9.2",
"postinstall-postinstall": "^2.1.0",
"query-string": "^6.0.0",
"rc-slider": "^8.6.3",
"react": "^16.12.0",
Expand Down Expand Up @@ -204,10 +207,11 @@
"terser-webpack-plugin": "^1.4.1",
"to-vfile": "^6.0.0",
"ts-jest": "^24.2.0",
"ts-loader": "^8.2.0",
"ts-node": "^8.3.0",
"tslint": "5.11.0",
"tslint-config-0xproject": "^0.0.2",
"typescript": "^3.8.3",
"typescript": "^4.0.0",
"unist-util-find-after": "^2.0.4",
"unist-util-modify-children": "^1.1.4",
"unist-util-select": "^2.0.2",
Expand Down
12 changes: 12 additions & 0 deletions patches/@types+material-ui+0.20.8.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/node_modules/@types/material-ui/index.d.ts b/node_modules/@types/material-ui/index.d.ts
index 2d8631e..de3e6f2 100644
--- a/node_modules/@types/material-ui/index.d.ts
+++ b/node_modules/@types/material-ui/index.d.ts
@@ -1284,6 +1284,7 @@ declare namespace __MaterialUI {
anchorOrigin?: propTypes.origin;
animated?: boolean;
animation?: React.ComponentClass<Popover.PopoverAnimationProps>;
+ autoWidth?: boolean;
className?: string;
disabled?: boolean;
iconButton?: React.ReactNode;
3 changes: 1 addition & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ module.exports = (_env, argv) => {
},
{
test: /\.tsx?$/,
loader: 'awesome-typescript-loader',
loader: 'ts-loader',
options: {
useCache: true,
// Skip type checking for local dev, can be done in editor and pre-push
transpileOnly: isDevEnvironment,
},
Expand Down
Loading

0 comments on commit 649fe18

Please sign in to comment.