@pagopa/selfcare-common-frontend 2.5.4 → 2.5.5

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 CHANGED
@@ -4,8 +4,15 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ #### [v2.5.5](https://github.com/pagopa/selfcare-common-frontend/compare/v2.5.4...v2.5.5)
8
+
9
+ - chore: add AI docs and consumer-side package check [`#374`](https://github.com/pagopa/selfcare-common-frontend/pull/374)
10
+ - chore: release v2.5.4 [`#372`](https://github.com/pagopa/selfcare-common-frontend/pull/372)
11
+
7
12
  #### [v2.5.4](https://github.com/pagopa/selfcare-common-frontend/compare/v2.5.3...v2.5.4)
8
13
 
14
+ > 15 October 2026
15
+
9
16
  - chore: upgrade @pagopa/mui-italia from 2.5.0 to 2.7.0 [`#371`](https://github.com/pagopa/selfcare-common-frontend/pull/371)
10
17
  - chore: release v2.5.3 [`#370`](https://github.com/pagopa/selfcare-common-frontend/pull/370)
11
18
 
package/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # SelfCare's common components & features
2
2
  This library contains [utilities](#utilities), [components](#components), [decorators](#decorators), [custom hooks](#custom-hooks) and [features](#features) built for the selfcare project.
3
3
 
4
+ # Package check
5
+
6
+ `yarn check:package` builds `dist/`, packs it and verifies it as a consumer would: the entry points listed in `scripts/package-entrypoints.json` must type-check and bundle with Vite, and every package imported by the library must be declared in `dependencies`. CI runs it on every PR. When adding a module that consumers import by path, add it to `scripts/package-entrypoints.json`.
7
+
4
8
  # Localization
5
9
  This libray has been built using react-i18next and string inside of it are also localizated.
6
10
  Actually the library contains the only "it" translation.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pagopa/selfcare-common-frontend",
3
3
  "description": "Shared React components for the pagopa selfcare project",
4
- "version": "2.5.4",
4
+ "version": "2.5.5",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/pagopa/selfcare-common-frontend",
7
7
  "author": "https://www.pagopa.gov.it",
@@ -48,6 +48,8 @@
48
48
  "cpDistStatic": "copyfiles -u 2 src/lib/index.css src/lib/utils/fixSwagger20ArraySchemaDef.js dist && copyfiles package.json README.md CHANGELOG.md dist",
49
49
  "dist": "yarn setTsConfigDist && tsc && yarn cpDistStatic",
50
50
  "clean:dist": "rimraf dist",
51
+ "check:package": "yarn clean:dist && yarn dist && node scripts/check-package.mjs",
52
+ "clean:package-check": "rimraf .package-check",
51
53
  "test": "vitest run",
52
54
  "test:coverage": "vitest run --coverage",
53
55
  "clean:coverage": "rimraf coverage",