File tree Expand file tree Collapse file tree 11 files changed +206
-148
lines changed
Expand file tree Collapse file tree 11 files changed +206
-148
lines changed Original file line number Diff line number Diff line change 11import { type SVGProps } from 'react'
22import { cn } from '#app/utils/misc.tsx'
3+ //@ts -ignore
34import href from './icons/sprite.svg'
45import { type IconName } from '@/icon-name'
56
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ import {
1111} from 'react-router'
1212import { HoneypotProvider } from 'remix-utils/honeypot/react'
1313import { type Route } from './+types/root.ts'
14+ //@ts -ignore
1415import appleTouchIconAssetUrl from './assets/favicons/apple-touch-icon.png'
16+ //@ts -ignore
1517import faviconAssetUrl from './assets/favicons/favicon.svg'
1618import { GeneralErrorBoundary } from './components/error-boundary.tsx'
1719import { EpicProgress } from './components/progress-bar.tsx'
Original file line number Diff line number Diff line change 1+ //@ts -nocheck
2+
13import docker from './docker.svg'
24import eslint from './eslint.svg'
35import fakerJS from './faker.svg'
Original file line number Diff line number Diff line change 1+ //@ts -nocheck
12/**
23 * @vitest -environment jsdom
34 */
Original file line number Diff line number Diff line change 4949 "@epic-web/remember" : " 1.1.0" ,
5050 "@epic-web/totp" : " 2.1.1" ,
5151 "@mjackson/form-data-parser" : " 0.7.0" ,
52- "@module-federation/enhanced" : " 0.0.0-next-20250321011937 " ,
53- "@module-federation/node" : " 0.0.0-next-20250321011937 " ,
54- "@module-federation/rsbuild-plugin" : " 0.0.0-next-20250321011937 " ,
52+ "@module-federation/enhanced" : " 0.0.0-next-20250325035711 " ,
53+ "@module-federation/node" : " 0.0.0-next-20250325035711 " ,
54+ "@module-federation/rsbuild-plugin" : " 0.0.0-next-20250325035711 " ,
5555 "@nasa-gcn/remix-seo" : " 2.0.1" ,
5656 "@oslojs/crypto" : " 1.0.1" ,
5757 "@oslojs/encoding" : " 1.1.0" ,
170170 },
171171 "prisma" : {
172172 "seed" : " tsx prisma/seed.ts"
173+ },
174+ "vitest" : {
175+ "setupFiles" : [" ./vitest.setup.ts" ]
173176 }
174177}
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ const exposedComponents = {
5959 "./utils/connections" : "./app/utils/connections" ,
6060 "./utils/misc" : "./app/utils/misc" ,
6161 "./routes/login" : "./app/routes/_auth+/login?react-router-route" ,
62- "./routes/login.server" : "./app/routes/_auth+/login.server"
62+ "./routes/login.server" : "./app/routes/_auth+/login.server.ts "
6363}
6464
6565// Filter out .server exposes for web environment
@@ -73,7 +73,8 @@ const commonFederationConfig = {
7373 shareStrategy : "loaded-first" as const ,
7474 runtime : undefined ,
7575 exposes : exposedComponents ,
76- shared : sharedDependencies
76+ shared : sharedDependencies ,
77+ dts : false
7778}
7879
7980// Web-specific federation config
@@ -96,7 +97,7 @@ const nodeFederationConfig = {
9697 ] ,
9798 // see https://github.com/module-federation/core/blob/main/packages/manifest/src/ManifestManager.ts#L106
9899 manifest :{
99- additionalData :( additionalDataOptions ) => {
100+ additionalData :( additionalDataOptions : { stats : any } ) => {
100101 const { stats, } = additionalDataOptions ;
101102 stats . metaData . ssrRemoteEntry = stats . metaData . remoteEntry ;
102103 return stats ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export default {
2020 presets : [ marketingPreset ] ,
2121 plugins : [ animatePlugin , radixPlugin ] ,
2222 safelist : [
23- // Match everything
24- / . * /
23+ // Using string pattern to match everything instead of RegExp
24+ '*'
2525 ] ,
2626} satisfies Config
Original file line number Diff line number Diff line change 4949 "@epic-web/remember" : " 1.1.0" ,
5050 "@epic-web/totp" : " 2.1.1" ,
5151 "@mjackson/form-data-parser" : " 0.7.0" ,
52- "@module-federation/enhanced" : " 0.0.0-next-20250321011937 " ,
53- "@module-federation/node" : " 0.0.0-next-20250321011937 " ,
54- "@module-federation/rsbuild-plugin" : " 0.0.0-next-20250321011937 " ,
52+ "@module-federation/enhanced" : " 0.0.0-next-20250325035711 " ,
53+ "@module-federation/node" : " 0.0.0-next-20250325035711 " ,
54+ "@module-federation/rsbuild-plugin" : " 0.0.0-next-20250325035711 " ,
5555 "@nasa-gcn/remix-seo" : " 2.0.1" ,
5656 "@oslojs/crypto" : " 1.0.1" ,
5757 "@oslojs/encoding" : " 1.1.0" ,
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ const sharedDependencies = {
3737const commonFederationConfig = {
3838 name : 'host' ,
3939 shareStrategy : "loaded-first" as const ,
40- shared : sharedDependencies
40+ shared : sharedDependencies ,
41+ dts : false
4142}
4243
4344// Web-specific federation config
@@ -52,7 +53,6 @@ const webFederationConfig = {
5253// Node-specific federation config
5354const nodeFederationConfig = {
5455 ...commonFederationConfig ,
55- dts : false ,
5656 remotes : {
5757 remote : 'remote@http://localhost:3001/static/static/js/remote.js' ,
5858 } ,
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export default {
1919 } ,
2020 safelist : [
2121 // Match everything
22- / . * /
22+ "*"
2323 ] ,
2424 presets : [ marketingPreset ] ,
2525 plugins : [ animatePlugin , radixPlugin ] ,
You can’t perform that action at this time.
0 commit comments