@abyss-project/commons-front-core 3.2.0 → 3.3.0
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/{CookieConsentSettings.component-CbuDs1eV.js → CookieConsentSettings.component-DDxU9lB_.js} +2053 -1997
- package/dist/components/Layouts/AbyssBillingPlan/AbyssBillingPlan.component.spec.d.ts +1 -0
- package/dist/components/Utils/AbyssLayoutMenu/AbyssLayoutMenu.component.spec.d.ts +1 -0
- package/dist/cookie-consent.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +42 -4
- package/dist/{index-BHTjQ-nA.js → index--nOhPJev.js} +1 -1
- package/dist/{index-CSpacFzK.js → index-0lwoxirP.js} +4 -4
- package/dist/{index-CdSBNpJ7.js → index-AwsGP7Cc.js} +3 -3
- package/dist/{index-D_zOPQKd.js → index-B-t9Mtak.js} +3 -3
- package/dist/{index-qjphGfR8.js → index-B0PIPR3M.js} +2 -2
- package/dist/{index-DFcUTr8P.js → index-B1CcSRlQ.js} +4 -4
- package/dist/{index-iCe4JT7G.js → index-BGMIWugc.js} +2 -2
- package/dist/{index-B0n-lfeR.js → index-BK8FsOJh.js} +8986 -8961
- package/dist/{index-BvEgzbAn.js → index-BYzF1-l4.js} +3 -3
- package/dist/{index-BQczDpgZ.js → index-BZ0NBbuD.js} +2 -2
- package/dist/{index-BzEyHMP8.js → index-Bid_88_S.js} +2 -2
- package/dist/{index-CY1FkVgF.js → index-BnUGxcam.js} +2 -2
- package/dist/{index-Ct-wIZ51.js → index-C8lFSgyO.js} +2 -2
- package/dist/{index-AaOdMoFK.js → index-CcSicji1.js} +2 -2
- package/dist/{index-BKU-q-pW.js → index-CzDS96zm.js} +2 -2
- package/dist/{index-DfL6kyz7.js → index-DTx6pB-d.js} +3 -3
- package/dist/{index-DKhPEyAf.js → index-DsN6bTCO.js} +2 -2
- package/dist/{index-BCKqfi_B.js → index-NvlhgErk.js} +2 -2
- package/dist/{index-CsB1m7yG.js → index-PpHsXSAE.js} +4 -4
- package/dist/{index-Bx2Kkpwt.js → index-mkr4Oxme.js} +2 -2
- package/dist/{index-CGJ-vRjl.js → index-ovZmVMv3.js} +2 -2
- package/dist/{index-BjU1tuoe.js → index-xBFNmia8.js} +2 -2
- package/dist/index.js +135 -132
- package/dist/translations/en.d.ts +10 -2
- package/dist/translations/fr.d.ts +10 -2
- package/dist/utils/billing.utils.d.ts +17 -1
- package/dist/utils/billing.utils.spec.d.ts +1 -0
- package/package.json +3 -3
- package/vite.config.ts +10 -0
package/vite.config.ts
CHANGED
|
@@ -14,6 +14,14 @@ export default defineConfig({
|
|
|
14
14
|
insertTypesEntry: true,
|
|
15
15
|
}),
|
|
16
16
|
].filter(Boolean),
|
|
17
|
+
resolve: {
|
|
18
|
+
alias: {
|
|
19
|
+
// BUNDLED, never external: the plan labels and their resolution (#618). A satellite runs
|
|
20
|
+
// its own, older `@abyss-project/main`, which has no such entry — so this package carries
|
|
21
|
+
// its own copy, compiled from the single source in abyss_main_core.
|
|
22
|
+
'@abyss-project/main/plan-name': resolve(__dirname, '../abyss_main_core/src/plan-name/index.ts'),
|
|
23
|
+
},
|
|
24
|
+
},
|
|
17
25
|
build: {
|
|
18
26
|
lib: {
|
|
19
27
|
// Multiple entries: the full barrel (`index`) plus a browser-safe,
|
|
@@ -51,6 +59,8 @@ export default defineConfig({
|
|
|
51
59
|
// and resolve fine, so they stay externalized.)
|
|
52
60
|
if (id === '@mui/x-date-pickers/AdapterDateFns') return false;
|
|
53
61
|
if (id === '@mui/x-date-pickers/PickersDay') return false;
|
|
62
|
+
// Bundled on purpose, see `resolve.alias` above.
|
|
63
|
+
if (id === '@abyss-project/main/plan-name') return false;
|
|
54
64
|
// Scoped-package prefixes (these always end with '/')
|
|
55
65
|
const scopedPrefixes = ['@mui/', '@emotion/', '@abyss-project/', '@tanstack/'];
|
|
56
66
|
return scopedPrefixes.some((prefix) => id.startsWith(prefix));
|