@burdenoff/microfe-technospam 2026.730.3 → 2026.801.1

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.
Files changed (22) hide show
  1. package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -1
  2. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -1
  3. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -1
  4. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -1
  5. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -1
  6. package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -1
  7. package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -1
  8. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -1
  9. package/dist/node_modules/sonner/dist/index.js.map +1 -1
  10. package/dist/technospam/TechnoSpamRoutes.js +1 -1
  11. package/dist/technospam/TechnoSpamRoutes.js.map +1 -1
  12. package/dist/technospam/pages/ApplicationsProblemDetailsPagePage.js +1 -1
  13. package/dist/technospam/pages/ApplicationsProblemDetailsPagePage.js.map +1 -1
  14. package/dist/technospam/pages/CoursesCourseDetailsPagePage.js +1 -1
  15. package/dist/technospam/pages/CoursesCourseDetailsPagePage.js.map +1 -1
  16. package/dist/technospam/pages/HackathonsHackathonDetailsPagePage.js +1 -1
  17. package/dist/technospam/pages/HackathonsHackathonDetailsPagePage.js.map +1 -1
  18. package/dist/technospam/pages/MentorshipMentorProfilePagePage.js +1 -1
  19. package/dist/technospam/pages/MentorshipMentorProfilePagePage.js.map +1 -1
  20. package/dist/technospam/providers/TechnoSpamProvider.js +1 -1
  21. package/dist/technospam/providers/TechnoSpamProvider.js.map +1 -1
  22. package/package.json +7 -7
@@ -1 +1 @@
1
- {"version":3,"file":"TechnoSpamProvider.js","names":[],"sources":["../../../src/technospam/providers/TechnoSpamProvider.tsx"],"sourcesContent":["import type { FC, PropsWithChildren } from 'react';\nimport { createContext, useContext, useMemo } from 'react';\nimport { MemoryRouter } from 'react-router-dom';\nimport { QueryClient, QueryClientProvider } from '@tanstack/react-query';\nimport type { TechnoSpamRootProps } from '../types';\n\ntype TechnoSpamContextValue = TechnoSpamRootProps;\n\nconst TechnoSpamContext = createContext<TechnoSpamContextValue | null>(null);\n\nexport const useTechnoSpam = () => {\n const context = useContext(TechnoSpamContext);\n if (!context) throw new Error('useTechnoSpam must be used within TechnoSpamProvider');\n return context;\n};\n\n/**\n * basePath-aware navigation. Returns a `navigate(path)` that prepends the MFE\n * basePath (so pages navigate with module-relative paths like\n * `/courses/courses-page`) and falls back to react-router when the host does\n * not inject a navigate function.\n */\nexport const useTechnoSpamNavigate = (): ((path: string) => void) => {\n const { navigate: hostNavigate, basePath = '' } = useTechnoSpam();\n const base = basePath.endsWith('/') ? basePath.slice(0, -1) : basePath;\n return (path: string) => {\n const target =\n !base || base === '' || path.startsWith(base)\n ? path\n : `${base}${path.startsWith('/') ? path : `/${path}`}`;\n if (hostNavigate) hostNavigate(target);\n else if (typeof window !== 'undefined') window.history.pushState({}, '', target);\n };\n};\n\nexport const TechnoSpamProvider: FC<PropsWithChildren<TechnoSpamRootProps>> = ({\n children,\n ...props\n}) => {\n const queryClient = useMemo(\n () =>\n new QueryClient({\n defaultOptions: {\n queries: { retry: 1, refetchOnWindowFocus: false, staleTime: 5 * 60 * 1000 },\n },\n }),\n []\n );\n\n const content = (\n <QueryClientProvider client={queryClient}>\n <TechnoSpamContext.Provider value={props}>{children}</TechnoSpamContext.Provider>\n </QueryClientProvider>\n );\n\n if (props.basePath) return content;\n return <MemoryRouter>{content}</MemoryRouter>;\n};\n"],"mappings":";;;;;AAQA,IAAM,IAAoB,EAA6C,KAAK,EAE/D,UAAsB;CACjC,IAAM,IAAU,EAAW,EAAkB;AAC7C,KAAI,CAAC,EAAS,OAAU,MAAM,uDAAuD;AACrF,QAAO;GASI,UAAwD;CACnE,IAAM,EAAE,UAAU,GAAc,cAAW,OAAO,GAAe,EAC3D,IAAO,EAAS,SAAS,IAAI,GAAG,EAAS,MAAM,GAAG,GAAG,GAAG;AAC9D,SAAQ,MAAiB;EACvB,IAAM,IACJ,CAAC,KAAQ,MAAS,MAAM,EAAK,WAAW,EAAK,GACzC,IACA,GAAG,IAAO,EAAK,WAAW,IAAI,GAAG,IAAO,IAAI;AAClD,EAAI,IAAc,EAAa,EAAO,GAC7B,OAAO,SAAW,OAAa,OAAO,QAAQ,UAAU,EAAE,EAAE,IAAI,EAAO;;GAIvE,KAAkE,EAC7E,aACA,GAAG,QACC;CAWJ,IAAM,IACJ,kBAAC,GAAD;EAAqB,QAXH,QAEhB,IAAI,EAAY,EACd,gBAAgB,EACd,SAAS;GAAE,OAAO;GAAG,sBAAsB;GAAO,WAAW,MAAS;GAAM,EAC7E,EACF,CAAC,EACJ,EAAE,CACH;YAIG,kBAAC,EAAkB,UAAnB;GAA4B,OAAO;GAAQ;GAAsC,CAAA;EAC7D,CAAA;AAIxB,QADI,EAAM,WAAiB,IACpB,kBAAC,GAAD,EAAA,UAAe,GAAuB,CAAA"}
1
+ {"version":3,"file":"TechnoSpamProvider.js","names":[],"sources":["../../../src/technospam/providers/TechnoSpamProvider.tsx"],"sourcesContent":["import type { FC, PropsWithChildren } from 'react';\nimport { createContext, useContext, useMemo } from 'react';\nimport { MemoryRouter } from 'react-router';\nimport { QueryClient, QueryClientProvider } from '@tanstack/react-query';\nimport type { TechnoSpamRootProps } from '../types';\n\ntype TechnoSpamContextValue = TechnoSpamRootProps;\n\nconst TechnoSpamContext = createContext<TechnoSpamContextValue | null>(null);\n\nexport const useTechnoSpam = () => {\n const context = useContext(TechnoSpamContext);\n if (!context) throw new Error('useTechnoSpam must be used within TechnoSpamProvider');\n return context;\n};\n\n/**\n * basePath-aware navigation. Returns a `navigate(path)` that prepends the MFE\n * basePath (so pages navigate with module-relative paths like\n * `/courses/courses-page`) and falls back to react-router when the host does\n * not inject a navigate function.\n */\nexport const useTechnoSpamNavigate = (): ((path: string) => void) => {\n const { navigate: hostNavigate, basePath = '' } = useTechnoSpam();\n const base = basePath.endsWith('/') ? basePath.slice(0, -1) : basePath;\n return (path: string) => {\n const target =\n !base || base === '' || path.startsWith(base)\n ? path\n : `${base}${path.startsWith('/') ? path : `/${path}`}`;\n if (hostNavigate) hostNavigate(target);\n else if (typeof window !== 'undefined') window.history.pushState({}, '', target);\n };\n};\n\nexport const TechnoSpamProvider: FC<PropsWithChildren<TechnoSpamRootProps>> = ({\n children,\n ...props\n}) => {\n const queryClient = useMemo(\n () =>\n new QueryClient({\n defaultOptions: {\n queries: { retry: 1, refetchOnWindowFocus: false, staleTime: 5 * 60 * 1000 },\n },\n }),\n []\n );\n\n const content = (\n <QueryClientProvider client={queryClient}>\n <TechnoSpamContext.Provider value={props}>{children}</TechnoSpamContext.Provider>\n </QueryClientProvider>\n );\n\n if (props.basePath) return content;\n return <MemoryRouter>{content}</MemoryRouter>;\n};\n"],"mappings":";;;;;AAQA,IAAM,IAAoB,EAA6C,KAAK,EAE/D,UAAsB;CACjC,IAAM,IAAU,EAAW,EAAkB;AAC7C,KAAI,CAAC,EAAS,OAAU,MAAM,uDAAuD;AACrF,QAAO;GASI,UAAwD;CACnE,IAAM,EAAE,UAAU,GAAc,cAAW,OAAO,GAAe,EAC3D,IAAO,EAAS,SAAS,IAAI,GAAG,EAAS,MAAM,GAAG,GAAG,GAAG;AAC9D,SAAQ,MAAiB;EACvB,IAAM,IACJ,CAAC,KAAQ,MAAS,MAAM,EAAK,WAAW,EAAK,GACzC,IACA,GAAG,IAAO,EAAK,WAAW,IAAI,GAAG,IAAO,IAAI;AAClD,EAAI,IAAc,EAAa,EAAO,GAC7B,OAAO,SAAW,OAAa,OAAO,QAAQ,UAAU,EAAE,EAAE,IAAI,EAAO;;GAIvE,KAAkE,EAC7E,aACA,GAAG,QACC;CAWJ,IAAM,IACJ,kBAAC,GAAD;EAAqB,QAXH,QAEhB,IAAI,EAAY,EACd,gBAAgB,EACd,SAAS;GAAE,OAAO;GAAG,sBAAsB;GAAO,WAAW,MAAS;GAAM,EAC7E,EACF,CAAC,EACJ,EAAE,CACH;YAIG,kBAAC,EAAkB,UAAnB;GAA4B,OAAO;GAAQ;GAAsC,CAAA;EAC7D,CAAA;AAIxB,QADI,EAAM,WAAiB,IACpB,kBAAC,GAAD,EAAA,UAAe,GAAuB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-technospam",
3
- "version": "2026.730.3",
3
+ "version": "2026.801.1",
4
4
  "description": "Burdenoff TechnoSpam Microfrontend",
5
5
  "type": "module",
6
6
  "files": [
@@ -26,11 +26,11 @@
26
26
  "types": "./dist/index.d.ts",
27
27
  "scripts": {
28
28
  "dev": "vite",
29
- "build": "MFE_DTS=1 tsc -p tsconfig.build.json && MFE_DTS=1 vite build",
29
+ "build": "MFE_DTS=1 tsc -p tsconfig.build.json && MFE_DTS=1 bash scripts/build-limits.sh --gate vite build",
30
30
  "lint": "eslint .",
31
31
  "format": "prettier --write \"src/**/*.{ts,tsx}\"",
32
- "type:check": "tsc --noEmit",
33
- "sanity": "bun run codegen && bun run lint && bun run format && bun run type:check && bun run build",
32
+ "type:check": "bash scripts/build-limits.sh tsc --noEmit",
33
+ "sanity": "bash scripts/build-limits.sh --gate bash -c 'bun run codegen && bun run lint && bun run format && bun run type:check && bun run build'",
34
34
  "schema:pull": "graphql-codegen --project schema-wspace && graphql-codegen --project schema-global",
35
35
  "codegen": "graphql-codegen --project wspace && graphql-codegen --project global",
36
36
  "codegen:all": "bun run schema:pull && bun run codegen",
@@ -46,14 +46,14 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@apollo/client": "^4.0.11",
49
- "@burdenoff/fe-libs": "2026.713.6",
49
+ "@burdenoff/fe-libs": "2026.801.1",
50
50
  "@tanstack/react-query": "^5.90.16",
51
51
  "clsx": "^2.1.1",
52
52
  "graphql": "^16.10.0",
53
53
  "lucide-react": "^0.468.0",
54
54
  "react": "^19.0.0",
55
55
  "react-dom": "^19.0.0",
56
- "react-router-dom": "^7.1.3",
56
+ "react-router": "^8.3.0",
57
57
  "sonner": "^1.7.4",
58
58
  "tailwind-merge": "^3.4.0",
59
59
  "zustand": "^5.0.3",
@@ -104,7 +104,7 @@
104
104
  "access": "restricted"
105
105
  },
106
106
  "overrides": {
107
- "@burdenoff/fe-libs": "2026.713.6",
107
+ "@burdenoff/fe-libs": "2026.801.1",
108
108
  "lodash": ">=4.17.21",
109
109
  "lodash-es": ">=4.17.21",
110
110
  "dompurify": ">=3.3.4",