Update dependencies

This commit is contained in:
Bill 2022-07-25 11:45:51 -04:00
parent 1c6f7fec1c
commit c8abd9aed9
3 changed files with 1622 additions and 1601 deletions

View File

@ -24,20 +24,25 @@ module.exports = {
}, },
module: { module: {
...webpackConfig.module, ...webpackConfig.module,
rules: webpackConfig.module.rules.map((rule) => rules: [
{ {
if(!rule.oneOf) return rule; test: /\.mjs$/,
include: /node_modules/,
type: 'javascript/auto'
},
...webpackConfig.module.rules.map((rule) => {
if (!rule.oneOf) return rule;
return { return {
...rule, ...rule,
oneOf: rule.oneOf.map((ruleObject) => oneOf: rule.oneOf.map((ruleObject) => {
{ if (!new RegExp(ruleObject.test).test('.ts') || !ruleObject.include) return ruleObject;
if(!new RegExp(ruleObject.test).test('.ts') || !ruleObject.include) return ruleObject;
return { ...ruleObject, include: undefined };
return { ...ruleObject, include: undefined }; })
}) };
}; })
}) ]
} }
}) })
} }

View File

@ -3,27 +3,26 @@
"version": "2.0.0", "version": "2.0.0",
"private": true, "private": true,
"scripts": { "scripts": {
"start": "cross-env SKIP_PREFLIGHT_CHECK=true BROWSER=none IMAGE_INLINE_SIZE_LIMIT=100000 craco start", "start": "cross-env SKIP_PREFLIGHT_CHECK=true BROWSER=none IMAGE_INLINE_SIZE_LIMIT=100000 craco --openssl-legacy-provider start",
"build": "cross-env SKIP_PREFLIGHT_CHECK=true GENERATE_SOURCEMAP=false IMAGE_INLINE_SIZE_LIMIT=100000 craco build", "build": "cross-env SKIP_PREFLIGHT_CHECK=true GENERATE_SOURCEMAP=false IMAGE_INLINE_SIZE_LIMIT=100000 craco --openssl-legacy-provider build",
"build:prod": "npx browserslist@latest --update-db && yarn build", "build:prod": "npx browserslist@latest --update-db && yarn build",
"test": "craco test", "test": "craco test",
"eject": "react-scripts eject", "eject": "react-scripts eject",
"eslint": "eslint src --ext .ts,.tsx" "eslint": "eslint src --ext .ts,.tsx"
}, },
"dependencies": { "dependencies": {
"@craco/craco": "^6.3.0", "@craco/craco": "^6.4.5",
"@fortawesome/fontawesome-svg-core": "^6.1.0", "@fortawesome/fontawesome-svg-core": "^6.1.1",
"@fortawesome/free-solid-svg-icons": "^6.1.0", "@fortawesome/free-solid-svg-icons": "^6.1.1",
"@fortawesome/react-fontawesome": "^0.1.17", "@fortawesome/react-fontawesome": "^0.2.0",
"@nitrots/nitro-renderer": "^1.2.5", "@nitrots/nitro-renderer": "^1.3.1",
"@types/react-transition-group": "^4.4.4",
"animate.css": "^4.1.1", "animate.css": "^4.1.1",
"classnames": "^2.3.1", "classnames": "^2.3.1",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"emoji-toolkit": "^6.6.0", "emoji-toolkit": "^6.6.0",
"react": "^18.0.0", "react": "^18.2.0",
"react-bootstrap": "^2.2.2", "react-bootstrap": "^2.2.2",
"react-dom": "^18.0.0", "react-dom": "^18.2.0",
"react-scripts": "4.0.3", "react-scripts": "4.0.3",
"react-slider": "^2.0.0", "react-slider": "^2.0.0",
"react-transition-group": "^4.4.2", "react-transition-group": "^4.4.2",
@ -31,26 +30,27 @@
"react-youtube": "^7.13.1", "react-youtube": "^7.13.1",
"sass": "^1.53.0", "sass": "^1.53.0",
"typescript": "^4.3.5", "typescript": "^4.3.5",
"use-between": "^1.3.1" "use-between": "^1.3.4"
}, },
"resolutions": { "resolutions": {
"react-error-overlay": "6.0.9", "react-error-overlay": "6.0.11",
"@types/react": "^18.0.8", "@types/react": "^18.0.15",
"@types/react-dom": "^18.0.3" "@types/react-dom": "^18.0.6"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^12.20.19", "@types/node": "^18.6.1",
"@types/react": "^18.0.8", "@types/react": "^18.0.15",
"@types/react-dom": "^18.0.3", "@types/react-dom": "^18.0.6",
"@types/react-slider": "^1.3.1", "@types/react-slider": "^1.3.1",
"@types/react-virtualized": "^9.21.13", "@types/react-transition-group": "^4.4.5",
"@typescript-eslint/eslint-plugin": "^5.17.0", "@types/react-virtualized": "^9.21.21",
"@typescript-eslint/parser": "^5.17.0", "@typescript-eslint/eslint-plugin": "^5.30.7",
"eslint": "^8.12.0", "@typescript-eslint/parser": "^5.30.7",
"eslint-plugin-import": "^2.25.4", "eslint": "^8.20.0",
"eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-import": "^2.26.0",
"eslint-plugin-react": "^7.29.4", "eslint-plugin-jsx-a11y": "^6.6.0",
"eslint-plugin-react-hooks": "^4.4.0", "eslint-plugin-react": "^7.30.1",
"react-error-overlay": "6.0.9" "eslint-plugin-react-hooks": "^4.6.0",
"react-error-overlay": "6.0.11"
} }
} }

3140
yarn.lock

File diff suppressed because it is too large Load Diff