Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: npm update #27

Merged
merged 1 commit into from
Sep 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ CLIENT_HOST=http://localhost:3000
CLIENT_PUBLIC_PATH=/ # For production you might want to specify a puclic CDN (where your assets are hosted)

# server only example calling getENV('APP_VERSION') from client will thow.
# Add CLIENT_ to make it availiable from from both client & server
# Add CLIENT_ prefix to make it availiable from from both client & server
# Don't forget to update envSchema in `src/common/env/env.util.ts`
APP_VERSION=0.0.0
92 changes: 46 additions & 46 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,52 +24,53 @@
"setup": "sh setup.sh"
},
"dependencies": {
"@babel/runtime": "7.24.7",
"@babel/runtime": "7.25.6",
"@loadable/component": "^5.16.4",
"@loadable/server": "5.16.5",
"classnames": "^2.5.1",
"core-js": "^3.37.1",
"core-js": "^3.38.1",
"dotenv": "^16.4.5",
"express": "^5.0.0",
"morgan": "^1.10.0",
"postcss": "^8.4.39",
"postcss": "^8.4.47",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-helmet-async": "^2.0.5",
"react-router": "^6.24.1",
"react-router-dom": "^6.24.1",
"react-router": "^6.26.2",
"react-router-dom": "^6.26.2",
"reflect-metadata": "^0.2.2",
"uuid": "^10.0.0",
"winston": "^3.13.0",
"winston": "^3.14.2",
"workbox-window": "^7.1.0",
"yup": "^1.4.0"
},
"devDependencies": {
"@babel/cli": "7.24.7",
"@babel/core": "7.24.7",
"@babel/cli": "7.25.6",
"@babel/core": "7.25.2",
"@babel/plugin-proposal-decorators": "^7.24.7",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/preset-env": "7.24.7",
"@babel/plugin-transform-runtime": "^7.25.4",
"@babel/preset-env": "7.25.4",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@babel/register": "7.24.6",
"@eslint/compat": "^1.1.0",
"@eslint/compat": "^1.1.1",
"@loadable/babel-plugin": "5.16.1",
"@loadable/webpack-plugin": "^5.15.2",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
"@svgr/webpack": "^8.1.0",
"@testing-library/dom": "^10.3.1",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/classnames": "^2.3.0",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/classnames": "^2.3.1",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.13",
"@types/loadable__component": "^5.13.9",
"@types/loadable__server": "^5.12.11",
"@types/loadable__webpack-plugin": "^5.7.6",
"@types/mini-css-extract-plugin": "^2.5.0",
"@types/mini-css-extract-plugin": "^2.5.1",
"@types/morgan": "^1.9.9",
"@types/node": "^20.14.10",
"@types/node": "^22.7.4",
"@types/react-dom": "^18.3.0",
"@types/react-router-dom": "^5.3.3",
"@types/require-from-string": "^1.2.3",
Expand All @@ -78,52 +79,51 @@
"@types/webpack-env": "^1.18.5",
"@types/webpack-node-externals": "^3.0.4",
"@types/webpack-stats-plugin": "^0.3.5",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"autoprefixer": "^10.4.19",
"babel-loader": "^9.1.3",
"babel-plugin-react-compiler": "^0.0.0-experimental-696af53-20240625",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"autoprefixer": "^10.4.20",
"babel-loader": "^9.2.1",
"babel-plugin-react-compiler": "^0.0.0-experimental-b12479e-20240926",
"copy-webpack-plugin": "^12.0.2",
"cross-env": "^7.0.3",
"css-loader": "7.1.2",
"cssnano": "^7.0.4",
"eslint": "^9.6.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-compiler": "^0.0.0-experimental-0998c1e-20240625",
"express": "^4.19.2",
"cssnano": "^7.0.6",
"eslint": "^9.11.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.0",
"eslint-plugin-react-compiler": "^0.0.0-experimental-f444e11-20240926",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"globals": "^15.8.0",
"html-loader": "^5.0.0",
"globals": "^15.9.0",
"html-loader": "^5.1.0",
"html-webpack-plugin": "^5.6.0",
"husky": "^9.0.11",
"husky": "^9.1.6",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.7",
"mini-css-extract-plugin": "^2.9.0",
"nodemon": "^3.1.4",
"lint-staged": "^15.2.10",
"mini-css-extract-plugin": "^2.9.1",
"nodemon": "^3.1.7",
"npm-run-all": "^4.1.5",
"postcss-loader": "^8.1.1",
"postcss-scss": "^4.0.9",
"prettier": "^3.3.2",
"prettier": "^3.3.3",
"react-refresh": "^0.14.2",
"require-from-string": "^2.0.2",
"rimraf": "^5.0.8",
"sass": "^1.77.6",
"sass-loader": "^14.2.1",
"rimraf": "^6.0.1",
"sass": "^1.79.4",
"sass-loader": "^16.0.2",
"serve-favicon": "^2.5.0",
"stylelint": "^16.6.1",
"stylelint": "^16.9.0",
"stylelint-config-standard-scss": "^13.1.0",
"stylelint-order": "^6.0.4",
"ts-jest": "^29.1.5",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"typescript": "^5.5.3",
"webpack": "^5.94.0",
"typescript": "^5.6.2",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
"webpack-dev-middleware": "^7.2.1",
"webpack-dev-server": "^5.0.4",
"webpack-dev-middleware": "^7.4.2",
"webpack-dev-server": "^5.1.0",
"webpack-hot-middleware": "2.26.1",
"webpack-node-externals": "^3.0.0",
"webpack-stats-plugin": "^1.1.3",
Expand Down
2 changes: 1 addition & 1 deletion src/server/router/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { Router } from 'express'
import { render } from '../controller'

export function appRoutes(router: Router) {
router.get('*', render)
router.get(/.*/, render)
}
2 changes: 1 addition & 1 deletion webpack/rules/loaders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const sassLoader = {
loader: 'sass-loader',
options: {
sassOptions: {
includePaths: [resolve(SRC_DIR, 'client/styles')]
loadPaths: [resolve(SRC_DIR, 'client/styles')]
}
}
}
Expand Down
Loading
Loading