@nestjs-ssr/react 0.3.15 → 0.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/init.js +6 -1
- package/dist/cli/init.mjs +6 -1
- package/package.json +8 -8
package/dist/cli/init.js
CHANGED
|
@@ -151,7 +151,7 @@ import react from '@vitejs/plugin-react';
|
|
|
151
151
|
import { resolve } from 'path';
|
|
152
152
|
|
|
153
153
|
export default defineConfig({
|
|
154
|
-
plugins: [react()],
|
|
154
|
+
plugins: [react({})],
|
|
155
155
|
resolve: {
|
|
156
156
|
alias: {
|
|
157
157
|
'@': resolve(process.cwd(), 'src'),
|
|
@@ -195,6 +195,11 @@ export default defineConfig({
|
|
|
195
195
|
if (!tsconfig.compilerOptions) {
|
|
196
196
|
tsconfig.compilerOptions = {};
|
|
197
197
|
}
|
|
198
|
+
if (tsconfig.compilerOptions.module !== "nodenext" && tsconfig.compilerOptions.moduleResolution !== "bundler") {
|
|
199
|
+
tsconfig.compilerOptions.module = "nodenext";
|
|
200
|
+
tsconfig.compilerOptions.moduleResolution = "nodenext";
|
|
201
|
+
updated = true;
|
|
202
|
+
}
|
|
198
203
|
if (tsconfig.compilerOptions.jsx !== "react-jsx") {
|
|
199
204
|
tsconfig.compilerOptions.jsx = "react-jsx";
|
|
200
205
|
updated = true;
|
package/dist/cli/init.mjs
CHANGED
|
@@ -148,7 +148,7 @@ import react from '@vitejs/plugin-react';
|
|
|
148
148
|
import { resolve } from 'path';
|
|
149
149
|
|
|
150
150
|
export default defineConfig({
|
|
151
|
-
plugins: [react()],
|
|
151
|
+
plugins: [react({})],
|
|
152
152
|
resolve: {
|
|
153
153
|
alias: {
|
|
154
154
|
'@': resolve(process.cwd(), 'src'),
|
|
@@ -192,6 +192,11 @@ export default defineConfig({
|
|
|
192
192
|
if (!tsconfig.compilerOptions) {
|
|
193
193
|
tsconfig.compilerOptions = {};
|
|
194
194
|
}
|
|
195
|
+
if (tsconfig.compilerOptions.module !== "nodenext" && tsconfig.compilerOptions.moduleResolution !== "bundler") {
|
|
196
|
+
tsconfig.compilerOptions.module = "nodenext";
|
|
197
|
+
tsconfig.compilerOptions.moduleResolution = "nodenext";
|
|
198
|
+
updated = true;
|
|
199
|
+
}
|
|
195
200
|
if (tsconfig.compilerOptions.jsx !== "react-jsx") {
|
|
196
201
|
tsconfig.compilerOptions.jsx = "react-jsx";
|
|
197
202
|
updated = true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjs-ssr/react",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.16",
|
|
4
4
|
"description": "React SSR for NestJS that respects Clean Architecture. Proper DI, SOLID principles, clear separation of concerns.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nestjs",
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"react": "^19.0.0",
|
|
123
123
|
"react-dom": "^19.0.0",
|
|
124
124
|
"typescript": "^5.0.0",
|
|
125
|
-
"vite": "^7.0.0 || ^6.0.0"
|
|
125
|
+
"vite": "^8.0.0 || ^7.0.0 || ^6.0.0"
|
|
126
126
|
},
|
|
127
127
|
"peerDependenciesMeta": {
|
|
128
128
|
"@nestjs/platform-express": {
|
|
@@ -146,10 +146,10 @@
|
|
|
146
146
|
},
|
|
147
147
|
"devDependencies": {
|
|
148
148
|
"@microsoft/api-extractor": "^7.57.7",
|
|
149
|
-
"@nestjs/common": "^11.1.
|
|
150
|
-
"@nestjs/core": "^11.1.
|
|
151
|
-
"@nestjs/platform-express": "^11.1.
|
|
152
|
-
"@nestjs/testing": "^11.1.
|
|
149
|
+
"@nestjs/common": "^11.1.17",
|
|
150
|
+
"@nestjs/core": "^11.1.17",
|
|
151
|
+
"@nestjs/platform-express": "^11.1.17",
|
|
152
|
+
"@nestjs/testing": "^11.1.17",
|
|
153
153
|
"@playwright/test": "^1.58.2",
|
|
154
154
|
"@testing-library/jest-dom": "^6.9.1",
|
|
155
155
|
"@testing-library/react": "^16.3.2",
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
"@types/react": "^19.2.14",
|
|
160
160
|
"@types/react-dom": "^19.2.3",
|
|
161
161
|
"@types/supertest": "^7.2.0",
|
|
162
|
-
"@vitejs/plugin-react": "^
|
|
162
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
163
163
|
"@vitest/coverage-v8": "^4.1.0",
|
|
164
164
|
"@vitest/ui": "^4.1.0",
|
|
165
165
|
"happy-dom": "^20.8.4",
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
"supertest": "^7.2.2",
|
|
170
170
|
"tsup": "^8.5.1",
|
|
171
171
|
"typescript": "^5.9.3",
|
|
172
|
-
"vite": "^
|
|
172
|
+
"vite": "^8.0.1",
|
|
173
173
|
"vitest": "^4.1.0"
|
|
174
174
|
},
|
|
175
175
|
"publishConfig": {
|