Skip to content

Commit 5e0cd69

Browse files
committed
chore: update 3rd party libraries
1 parent 31190ce commit 5e0cd69

14 files changed

+10817
-12759
lines changed

apps/boilerplate/config/webpack/webpack.dev.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const devConfig = {
4646
loader: "sass-loader",
4747
options: {
4848
sassOptions: {
49-
includePaths: [nodeModulesPath],
49+
loadPaths: [nodeModulesPath],
5050
},
5151
},
5252
},

apps/boilerplate/config/webpack/webpack.prod.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const prodConfig = {
2222
loader: "sass-loader",
2323
options: {
2424
sassOptions: {
25-
includePaths: [nodeModulesPath],
25+
loadPaths: [nodeModulesPath],
2626
},
2727
},
2828
},

apps/boilerplate/package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -16,35 +16,35 @@
1616
"dependencies": {
1717
"@fluidus-ui/core": "^0.0.1",
1818
"@fluidus-ui/react": "^0.0.1",
19-
"antd": "^5.18.1",
19+
"antd": "^5.21.3",
2020
"classnames": "^2.5.1",
2121
"react": "^18.3.1",
2222
"react-dom": "^18.3.1",
23-
"react-hook-form": "^7.51.4",
24-
"react-router-dom": "^6.25.1",
25-
"react-use": "^17.5.0",
23+
"react-hook-form": "^7.53.0",
24+
"react-router-dom": "^6.27.0",
25+
"react-use": "^17.5.1",
2626
"swr": "^2.2.5"
2727
},
2828
"devDependencies": {
29-
"@types/react": "^18.3.3",
30-
"@types/react-dom": "^18.3.0",
29+
"@types/react": "^18.3.11",
30+
"@types/react-dom": "^18.3.1",
3131
"@types/webpack-bundle-analyzer": "^4.7.0",
3232
"cross-env": "^7.0.3",
3333
"css-loader": "^7.1.2",
3434
"glob": "^10.4.3",
3535
"html-webpack-plugin": "^5.6.0",
36-
"mini-css-extract-plugin": "^2.9.0",
36+
"mini-css-extract-plugin": "^2.9.1",
3737
"purgecss": "^6.0.0",
3838
"purgecss-webpack-plugin": "^6.0.0",
39-
"sass": "^1.77.5",
40-
"sass-loader": "^14.2.0",
39+
"sass": "^1.79.5",
40+
"sass-loader": "^16.0.2",
4141
"style-loader": "^4.0.0",
4242
"ts-loader": "^9.5.1",
4343
"typescript": "5.5.3",
44-
"webpack": "^5.92.0",
44+
"webpack": "^5.95.0",
4545
"webpack-bundle-analyzer": "^4.10.2",
4646
"webpack-cli": "^5.1.4",
47-
"webpack-dev-server": "^5.0.4",
47+
"webpack-dev-server": "^5.1.0",
4848
"webpack-merge": "^6.0.1",
4949
"webpackbar": "^6.0.1"
5050
},

apps/qigong/config/webpack/webpack.common.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ module.exports = {
4444
"@components": path.resolve(__dirname, "../../src/components"),
4545
"@config": path.resolve(__dirname, "../../src/config"),
4646
"@features": path.resolve(__dirname, "../../src/features"),
47+
"@pages": path.resolve(__dirname, "../../src/pages"),
4748
"@scss": path.resolve(__dirname, "../../src/scss"),
4849
react: path.resolve(__dirname, "../../../../node_modules/react"),
4950
"react-dom": path.resolve(
5051
__dirname,
5152
"../../../../node_modules/react-dom",
5253
),
53-
formik: path.resolve(__dirname, "../../../../node_modules/formik"),
5454
},
5555
symlinks: false,
5656
},

apps/qigong/config/webpack/webpack.dev.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const devConfig = {
4242
loader: "sass-loader",
4343
options: {
4444
sassOptions: {
45-
includePaths: [nodeModulesPath],
45+
loadPaths: [nodeModulesPath],
4646
},
4747
},
4848
},

apps/qigong/config/webpack/webpack.prod.config.js

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,30 @@
11
const { merge } = require("webpack-merge");
22
const { BundleAnalyzerPlugin } = require("webpack-bundle-analyzer");
33
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
4+
const path = require("path");
45
const commonConfig = require("./webpack.common.config");
56

7+
const nodeModulesPath = path.resolve(__dirname, "../../../../node_modules");
8+
69
const prodConfig = {
710
mode: "production",
811
devtool: "source-map", // 'source-map' recommended for prod (see https://webpack.js.org/configuration/devtool/)
912
module: {
1013
rules: [
1114
{
1215
test: /\.(sa|sc|c)ss$/i,
13-
use: [MiniCssExtractPlugin.loader, "css-loader", "sass-loader"],
16+
use: [
17+
MiniCssExtractPlugin.loader,
18+
"css-loader",
19+
{
20+
loader: "sass-loader",
21+
options: {
22+
sassOptions: {
23+
loadPaths: [nodeModulesPath],
24+
},
25+
},
26+
},
27+
],
1428
},
1529
],
1630
},

apps/qigong/package.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -16,34 +16,34 @@
1616
"dependencies": {
1717
"@fluidus-ui/core": "^0.0.1",
1818
"@fluidus-ui/react": "^0.0.1",
19-
"antd": "^5.18.1",
19+
"antd": "^5.21.3",
2020
"classnames": "^2.5.1",
2121
"react": "^18.3.1",
2222
"react-dom": "^18.3.1",
23-
"react-hook-form": "^7.51.4",
24-
"react-router-dom": "^6.23.0",
25-
"react-use": "^17.5.0"
23+
"react-hook-form": "^7.53.0",
24+
"react-router-dom": "^6.27.0",
25+
"react-use": "^17.5.1"
2626
},
2727
"devDependencies": {
28-
"@types/react": "^18.3.3",
29-
"@types/react-dom": "^18.3.0",
28+
"@types/react": "^18.3.11",
29+
"@types/react-dom": "^18.3.1",
3030
"@types/webpack-bundle-analyzer": "^4.7.0",
3131
"cross-env": "^7.0.3",
3232
"css-loader": "^7.1.2",
3333
"html-webpack-plugin": "^5.6.0",
3434
"mini-css-extract-plugin": "^2.9.0",
3535
"purgecss": "^6.0.0",
3636
"purgecss-webpack-plugin": "^6.0.0",
37-
"sass": "^1.77.5",
38-
"sass-loader": "^14.2.0",
37+
"sass": "^1.79.5",
38+
"sass-loader": "^16.0.2",
3939
"style-loader": "^4.0.0",
4040
"ts-loader": "^9.5.1",
41-
"typescript": "5.4.5",
42-
"webpack": "^5.92.0",
41+
"typescript": "5.5.3",
42+
"webpack": "^5.95.0",
4343
"webpack-bundle-analyzer": "^4.10.2",
4444
"webpack-cli": "^5.1.4",
45-
"webpack-dev-server": "^5.0.4",
46-
"webpack-merge": "^5.10.0",
45+
"webpack-dev-server": "^5.1.0",
46+
"webpack-merge": "^6.0.1",
4747
"webpackbar": "^6.0.1"
4848
},
4949
"engines": {

apps/qigong/tsconfig.json

+22-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,32 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
// "extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"rootDir": "src",
55
"baseUrl": "src",
66
"outDir": "dist",
7+
"target": "es2021",
8+
"declaration": false,
9+
"declarationMap": true,
10+
"sourceMap": true,
11+
"skipLibCheck": true,
12+
"allowJs": true,
13+
// "checkJs": true,
14+
"esModuleInterop": true,
15+
"allowSyntheticDefaultImports": true,
16+
17+
// Bundler mode
18+
"module": "esnext",
19+
"moduleResolution": "bundler",
20+
"isolatedModules": true,
21+
"resolveJsonModule": true,
22+
"jsx": "react-jsx",
23+
24+
// Linting
25+
"noImplicitAny": true,
26+
"strict": true,
727
"paths": {
828
"@components/*": ["components/*"],
29+
"@pages/*": ["pages/*"],
930
"@types/*": ["types/*"],
1031
"@utils/*": ["utils/*"]
1132
}

0 commit comments

Comments
 (0)