mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2026-06-04 04:54:05 -06:00
Compare commits
6 Commits
master
...
e42f9f3432
| Author | SHA1 | Date | |
|---|---|---|---|
| e42f9f3432 | |||
|
8bca930c73
|
|||
| 7743a3745b | |||
|
a9176bd4e9
|
|||
| 1d7907afc5 | |||
|
603afe21f9
|
10
README.md
10
README.md
@@ -6,12 +6,12 @@ It is not a project like create-react-app, create-react-app is used as a starter
|
||||
|
||||
Tech(Library or Framework) | Version |
|
||||
--- | --- |
|
||||
React (Render Library) | 19.2.7
|
||||
React (Render Library) | 19.2.4
|
||||
Redux (Global State Management) | 5.0.1
|
||||
React Router DOM (Routing) | 7.16.0
|
||||
Jest (Testing) | 30.4.2
|
||||
Cypress (E2E Testing) | 15.16.0
|
||||
Typescript | 6.0.3
|
||||
React Router DOM (Routing) | 7.13.0
|
||||
Jest (Testing) | 30.2.0
|
||||
Cypress (E2E Testing) | 15.9.0
|
||||
Typescript | 5.9.3
|
||||
|
||||
## Setup
|
||||
To create a new project run in the terminal:
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": ".",
|
||||
"types": ["cypress", "node"]
|
||||
},
|
||||
"include": [
|
||||
"**/*.ts",
|
||||
"**/*.tsx"
|
||||
]
|
||||
}
|
||||
7326
package-lock.json
generated
7326
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
110
package.json
110
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@aleleba/create-react-ssr",
|
||||
"version": "3.10.6",
|
||||
"version": "3.10.4",
|
||||
"description": "Starter Kit of server side render of react",
|
||||
"bin": "./bin/cli.js",
|
||||
"main": "src/server/index",
|
||||
@@ -36,41 +36,41 @@
|
||||
},
|
||||
"homepage": "https://github.com/aleleba/create-react-ssr#readme",
|
||||
"dependencies": {
|
||||
"@babel/register": "^7.29.7",
|
||||
"dotenv": "^17.4.2",
|
||||
"@babel/register": "^7.28.6",
|
||||
"dotenv": "^17.2.3",
|
||||
"express": "^5.2.1",
|
||||
"helmet": "^8.2.0",
|
||||
"helmet": "^8.1.0",
|
||||
"history": "^5.3.0",
|
||||
"ignore-styles": "^5.0.1",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"react-redux": "^9.3.0",
|
||||
"react-router-dom": "^7.16.0",
|
||||
"react": "^19.2.4",
|
||||
"react-dom": "^19.2.4",
|
||||
"react-redux": "^9.2.0",
|
||||
"react-router-dom": "^7.13.0",
|
||||
"react-router-hash-link": "^2.4.3",
|
||||
"redux": "^5.0.1",
|
||||
"webpack": "^5.107.2",
|
||||
"webpack-dev-server": "^5.2.4",
|
||||
"webpack": "^5.104.1",
|
||||
"webpack-dev-server": "^5.2.3",
|
||||
"webpack-manifest-plugin": "^6.0.1",
|
||||
"workbox-background-sync": "^7.4.1",
|
||||
"workbox-broadcast-update": "^7.4.1",
|
||||
"workbox-cacheable-response": "^7.4.1",
|
||||
"workbox-core": "^7.4.1",
|
||||
"workbox-expiration": "^7.4.1",
|
||||
"workbox-google-analytics": "^7.4.1",
|
||||
"workbox-navigation-preload": "^7.4.1",
|
||||
"workbox-precaching": "^7.4.1",
|
||||
"workbox-range-requests": "^7.4.1",
|
||||
"workbox-routing": "^7.4.1",
|
||||
"workbox-strategies": "^7.4.1",
|
||||
"workbox-streams": "^7.4.1"
|
||||
"workbox-background-sync": "^7.4.0",
|
||||
"workbox-broadcast-update": "^7.4.0",
|
||||
"workbox-cacheable-response": "^7.4.0",
|
||||
"workbox-core": "^7.4.0",
|
||||
"workbox-expiration": "^7.4.0",
|
||||
"workbox-google-analytics": "^7.4.0",
|
||||
"workbox-navigation-preload": "^7.4.0",
|
||||
"workbox-precaching": "^7.4.0",
|
||||
"workbox-range-requests": "^7.4.0",
|
||||
"workbox-routing": "^7.4.0",
|
||||
"workbox-strategies": "^7.4.0",
|
||||
"workbox-streams": "^7.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.29.7",
|
||||
"@babel/preset-env": "^7.29.7",
|
||||
"@babel/preset-react": "^7.29.7",
|
||||
"@babel/preset-typescript": "^7.29.7",
|
||||
"@cypress/react": "^9.0.2",
|
||||
"@eslint/js": "^9.39.4",
|
||||
"@babel/core": "^7.28.6",
|
||||
"@babel/preset-env": "^7.28.6",
|
||||
"@babel/preset-react": "^7.28.5",
|
||||
"@babel/preset-typescript": "^7.28.5",
|
||||
"@cypress/react": "^9.0.1",
|
||||
"@eslint/js": "^9.39.2",
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.6.2",
|
||||
"@redux-devtools/extension": "^3.3.0",
|
||||
"@testing-library/dom": "^10.4.1",
|
||||
@@ -78,48 +78,48 @@
|
||||
"@testing-library/react": "^16.3.2",
|
||||
"@testing-library/user-event": "^14.6.1",
|
||||
"@types/jest": "^30.0.0",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/node": "^25.0.10",
|
||||
"@types/react": "^19.2.10",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@types/webpack": "^5.28.5",
|
||||
"@types/webpack-hot-middleware": "^2.25.12",
|
||||
"@types/webpack-node-externals": "^3.0.4",
|
||||
"babel-jest": "^30.4.1",
|
||||
"babel-loader": "^10.1.1",
|
||||
"babel-jest": "^30.2.0",
|
||||
"babel-loader": "^10.0.0",
|
||||
"clean-webpack-plugin": "^4.0.0",
|
||||
"compression-webpack-plugin": "^12.0.0",
|
||||
"copy-webpack-plugin": "^14.0.0",
|
||||
"css-loader": "^7.1.4",
|
||||
"css-minimizer-webpack-plugin": "^8.0.0",
|
||||
"cypress": "^15.16.0",
|
||||
"eslint": "^9.39.4",
|
||||
"compression-webpack-plugin": "^11.1.0",
|
||||
"copy-webpack-plugin": "^13.0.1",
|
||||
"css-loader": "^7.1.3",
|
||||
"css-minimizer-webpack-plugin": "^7.0.4",
|
||||
"cypress": "^15.9.0",
|
||||
"eslint": "^9.39.2",
|
||||
"eslint-plugin-react": "^7.37.5",
|
||||
"eslint-webpack-plugin": "^6.0.0",
|
||||
"eslint-webpack-plugin": "^5.0.2",
|
||||
"file-loader": "^6.2.0",
|
||||
"globals": "^17.6.0",
|
||||
"html-webpack-plugin": "^5.6.7",
|
||||
"globals": "^17.2.0",
|
||||
"html-webpack-plugin": "^5.6.6",
|
||||
"identity-obj-proxy": "^3.0.0",
|
||||
"jest": "^30.4.2",
|
||||
"jest-environment-jsdom": "^30.4.1",
|
||||
"jest": "^30.2.0",
|
||||
"jest-environment-jsdom": "^30.2.0",
|
||||
"jest-fetch-mock": "^3.0.3",
|
||||
"jiti": "^2.7.0",
|
||||
"mini-css-extract-plugin": "^2.10.2",
|
||||
"jiti": "^2.6.1",
|
||||
"mini-css-extract-plugin": "^2.10.0",
|
||||
"react-refresh": "^0.18.0",
|
||||
"resolve-ts-aliases": "^1.0.1",
|
||||
"sass": "^1.100.0",
|
||||
"sass-loader": "^17.0.0",
|
||||
"sass": "^1.97.3",
|
||||
"sass-loader": "^16.0.6",
|
||||
"style-loader": "^4.0.0",
|
||||
"terser-webpack-plugin": "^5.6.1",
|
||||
"ts-jest": "^29.4.11",
|
||||
"typescript": "^6.0.3",
|
||||
"typescript-eslint": "^8.60.1",
|
||||
"terser-webpack-plugin": "^5.3.16",
|
||||
"ts-jest": "^29.4.6",
|
||||
"typescript": "^5.9.3",
|
||||
"typescript-eslint": "^8.54.0",
|
||||
"url-loader": "^4.1.1",
|
||||
"webpack-cli": "^7.0.3",
|
||||
"webpack-dev-middleware": "^8.0.3",
|
||||
"webpack-cli": "^6.0.1",
|
||||
"webpack-dev-middleware": "^7.4.5",
|
||||
"webpack-hot-middleware": "^2.26.1",
|
||||
"webpack-node-externals": "^3.0.0",
|
||||
"webpack-shell-plugin-next": "^2.3.3",
|
||||
"workbox-webpack-plugin": "^7.4.1",
|
||||
"workbox-window": "^7.4.1"
|
||||
"workbox-webpack-plugin": "^7.4.0",
|
||||
"workbox-window": "^7.4.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
"outDir": "build",
|
||||
"skipLibCheck": true,
|
||||
"noImplicitAny": false,
|
||||
"ignoreDeprecations": "6.0",
|
||||
"paths": {
|
||||
"@components/*": ["src/frontend/components/*"],
|
||||
"@components": ["src/frontend/components"],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import path from 'path';
|
||||
import fs from 'fs';
|
||||
import { config as envConfig } from './config/index.ts';
|
||||
import { config as envConfig } from './config';
|
||||
import webpack, { Configuration } from 'webpack';
|
||||
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
|
||||
import ReactRefreshWebpackPlugin from '@pmmmwh/react-refresh-webpack-plugin';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import path from 'path';
|
||||
import fs from 'fs';
|
||||
import { config as envConfig } from './config/index.ts';
|
||||
import { config as envConfig } from './config';
|
||||
import webpack from 'webpack';
|
||||
import CompressionWebpackPlugin from 'compression-webpack-plugin';
|
||||
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
|
||||
@@ -11,12 +11,12 @@ import { CleanWebpackPlugin } from 'clean-webpack-plugin';
|
||||
import ESLintPlugin from 'eslint-webpack-plugin';
|
||||
import CopyPlugin from 'copy-webpack-plugin';
|
||||
import { resolveTsAliases } from 'resolve-ts-aliases';
|
||||
import { InjectManifest } from 'workbox-webpack-plugin';
|
||||
import nodeExternals from 'webpack-node-externals';
|
||||
|
||||
const ROOT_DIR = path.resolve(__dirname);
|
||||
const resolvePath = (...args) => path.resolve(ROOT_DIR, ...args);
|
||||
const BUILD_DIR = resolvePath('build');
|
||||
const { InjectManifest } = require('workbox-webpack-plugin');
|
||||
const nodeExternals = require('webpack-node-externals');
|
||||
const alias = resolveTsAliases(path.resolve('tsconfig.json'));
|
||||
|
||||
const copyPatterns = [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import path from 'path';
|
||||
import fs from 'fs';
|
||||
import { config as envConfig } from './config/index.ts';
|
||||
import { config as envConfig } from './config';
|
||||
import webpack from 'webpack';
|
||||
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
||||
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
|
||||
|
||||
Reference in New Issue
Block a user