@abyss-project/commons-front-core 1.0.140 → 1.0.141
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-DIIK_rRd.js +2604 -0
- package/dist/components/CookieConsent/index.d.ts +1 -0
- package/dist/cookie-consent.d.ts +2 -0
- package/dist/cookie-consent.js +16 -0
- package/dist/hooks/use-rich-intl.hook.d.ts +8 -0
- package/dist/{index-okqeKiVw.js → index-0jt8DKLf.js} +11 -11
- package/dist/{index-Bl6SIpvf.js → index-B3Y7Rb_Q.js} +1 -1
- package/dist/{index-UEOwaY3O.js → index-BLr1fOuq.js} +4 -4
- package/dist/{index-D-lNUR0y.js → index-BWj4TKOS.js} +2 -2
- package/dist/{index-DmM6klgp.js → index-B_fAiFZq.js} +3 -3
- package/dist/{index-KCcZKXY3.js → index-Blqg9cwf.js} +3 -3
- package/dist/{index-0Kl4O08s.js → index-BrSAVa-Q.js} +2 -2
- package/dist/{index-DYCXaPIH.js → index-C70H1Rqy.js} +4 -4
- package/dist/{index-CBU4Yqx5.js → index-C9HpxdlC.js} +2 -2
- package/dist/{index-CypPvn_s.js → index-CDvwJmU3.js} +8 -8
- package/dist/{index-DR4nDzIn.js → index-CI_ndLtL.js} +43317 -45910
- package/dist/{index-DmUCpN76.js → index-CQv4ue2W.js} +2 -2
- package/dist/{index-DS8zE3ca.js → index-CRlvyprK.js} +3 -3
- package/dist/{index-SiHpvGQe.js → index-Cb3RkMZy.js} +2 -2
- package/dist/{index-BR_Xw8UL.js → index-CkpUdKTG.js} +3 -3
- package/dist/{index-BanaQPDD.js → index-CnuCwLCI.js} +2 -2
- package/dist/{index-DK4YUg-N.js → index-CxyWN2Jp.js} +2 -2
- package/dist/{index-DRApEyFE.js → index-DQJBss56.js} +2 -2
- package/dist/{index-CU2W3qym.js → index-jiAI8FrN.js} +4 -4
- package/dist/{index-BdtnG5GK.js → index-prtXdje2.js} +2 -2
- package/dist/{index-D5ysDxCf.js → index-rNuCv1FV.js} +5 -5
- package/dist/{index-D-1klt9M.js → index-tz9rZQUM.js} +8 -8
- package/dist/index.js +223 -222
- package/package.json +12 -1
- package/vite.config.ts +10 -3
- /package/dist/{index.css → commons-front-core.css} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abyss-project/commons-front-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.141",
|
|
4
4
|
"description": "Front Core package of AbyssProject",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -9,6 +9,17 @@
|
|
|
9
9
|
".": {
|
|
10
10
|
"import": "./dist/index.js",
|
|
11
11
|
"types": "./dist/index.d.ts"
|
|
12
|
+
},
|
|
13
|
+
"./cookie-consent": {
|
|
14
|
+
"import": "./dist/cookie-consent.js",
|
|
15
|
+
"types": "./dist/cookie-consent.d.ts"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"typesVersions": {
|
|
19
|
+
"*": {
|
|
20
|
+
"cookie-consent": [
|
|
21
|
+
"./dist/cookie-consent.d.ts"
|
|
22
|
+
]
|
|
12
23
|
}
|
|
13
24
|
},
|
|
14
25
|
"type": "module",
|
package/vite.config.ts
CHANGED
|
@@ -32,10 +32,17 @@ export default defineConfig({
|
|
|
32
32
|
},
|
|
33
33
|
build: {
|
|
34
34
|
lib: {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
// Multiple entries: the full barrel (`index`) plus a browser-safe,
|
|
36
|
+
// tree-shaken `cookie-consent` entry. The latter lets webpack consumers
|
|
37
|
+
// (e.g. the Next.js landing) pull ONLY the cookie-consent UI without
|
|
38
|
+
// dragging in react-toastify (React-17 `render`), pdf.js, or the server
|
|
39
|
+
// monitor SDK that the full barrel transitively includes.
|
|
40
|
+
entry: {
|
|
41
|
+
index: resolve(__dirname, 'src/index.ts'),
|
|
42
|
+
'cookie-consent': resolve(__dirname, 'src/components/CookieConsent/index.ts'),
|
|
43
|
+
},
|
|
37
44
|
formats: ['es'],
|
|
38
|
-
fileName:
|
|
45
|
+
fileName: (_format, entryName) => `${entryName}.js`,
|
|
39
46
|
},
|
|
40
47
|
rollupOptions: {
|
|
41
48
|
// Externalize peer dependencies. Match exact name OR sub-path imports
|
|
File without changes
|