react-lgpd-consent 0.4.0 → 0.4.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.
- package/CHANGELOG.md +100 -0
- package/QUICKSTART.en.md +34 -0
- package/QUICKSTART.md +308 -1
- package/README.en.md +19 -0
- package/README.md +30 -0
- package/dist/{PreferencesModal-D2SEVH3N.js → PreferencesModal-RNRD3JKB.js} +1 -1
- package/dist/{chunk-B5FNONG3.js → chunk-VOQUCGOA.js} +902 -242
- package/dist/index.cjs +1698 -277
- package/dist/index.d.cts +1782 -230
- package/dist/index.d.ts +1782 -230
- package/dist/index.js +738 -8
- package/package.json +32 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-lgpd-consent",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Biblioteca de consentimento LGPD, integrações nativas e sistema extensível para React.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lgpd",
|
|
@@ -66,6 +66,9 @@
|
|
|
66
66
|
"format": "prettier --write \"src/**/*.{ts,tsx,json,md}\" \"eslint.config.js\"",
|
|
67
67
|
"type-check": "tsc --noEmit",
|
|
68
68
|
"test": "jest --config jest.config.ts",
|
|
69
|
+
"test:coverage": "jest --config jest.config.ts --coverage",
|
|
70
|
+
"coverage-check": "node scripts/coverage-check.cjs",
|
|
71
|
+
"size-check": "size-limit",
|
|
69
72
|
"mutation": "npx stryker run",
|
|
70
73
|
"mutation:tests": "npx stryker run ./stryker.tests.conf.json",
|
|
71
74
|
"prepublishOnly": "npm run build",
|
|
@@ -102,6 +105,7 @@
|
|
|
102
105
|
"@eslint/compat": "1.3.2",
|
|
103
106
|
"@mui/icons-material": "7.3.2",
|
|
104
107
|
"@mui/material": "7.3.2",
|
|
108
|
+
"@size-limit/preset-small-lib": "^11.2.0",
|
|
105
109
|
"@storybook/addon-a11y": "9.1.7",
|
|
106
110
|
"@storybook/addon-docs": "9.1.7",
|
|
107
111
|
"@storybook/addon-vitest": "9.1.7",
|
|
@@ -110,7 +114,7 @@
|
|
|
110
114
|
"@stryker-mutator/jest-runner": "9.1.1",
|
|
111
115
|
"@testing-library/dom": "10.4.1",
|
|
112
116
|
"@testing-library/jest-dom": "6.8.0",
|
|
113
|
-
"@testing-library/react": "16.3.0",
|
|
117
|
+
"@testing-library/react": "^16.3.0",
|
|
114
118
|
"@testing-library/user-event": "14.6.1",
|
|
115
119
|
"@types/jest": "30.0.0",
|
|
116
120
|
"@types/js-cookie": "3.0.6",
|
|
@@ -132,6 +136,7 @@
|
|
|
132
136
|
"react": "19.1.1",
|
|
133
137
|
"react-dom": "19.1.1",
|
|
134
138
|
"rimraf": "6.0.1",
|
|
139
|
+
"size-limit": "^11.2.0",
|
|
135
140
|
"storybook": "9.1.7",
|
|
136
141
|
"ts-jest": "29.4.4",
|
|
137
142
|
"ts-node": "10.9.2",
|
|
@@ -139,5 +144,28 @@
|
|
|
139
144
|
"typedoc": "0.28.13",
|
|
140
145
|
"typescript": "5.9.2",
|
|
141
146
|
"typescript-eslint": "8.44.0"
|
|
142
|
-
}
|
|
143
|
-
|
|
147
|
+
},
|
|
148
|
+
"size-limit": [
|
|
149
|
+
{
|
|
150
|
+
"name": "ESM Bundle",
|
|
151
|
+
"path": "dist/index.js",
|
|
152
|
+
"limit": "17 KB"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "CJS Bundle",
|
|
156
|
+
"path": "dist/index.cjs",
|
|
157
|
+
"limit": "75 KB"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "Types",
|
|
161
|
+
"path": "dist/index.d.ts",
|
|
162
|
+
"limit": "100 KB"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"name": "Complete Package Import",
|
|
166
|
+
"path": "dist/index.js",
|
|
167
|
+
"import": "{ ConsentProvider, useConsent, ConsentScriptLoader }",
|
|
168
|
+
"limit": "15 KB"
|
|
169
|
+
}
|
|
170
|
+
]
|
|
171
|
+
}
|