@jaws-developers-customers/consulca-types 1.0.7 → 1.1.15

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/README.md CHANGED
@@ -10,13 +10,15 @@ npm install @jaws-developers-customers/consulca-types
10
10
 
11
11
  ## Pubblicazione automatica
12
12
 
13
- Ogni push su `main` esegue i test e pubblica automaticamente il pacchetto su npm tramite GitHub Actions.
13
+ Ogni push su `master` esegue i test e pubblica automaticamente il pacchetto su npm tramite GitHub Actions.
14
14
 
15
15
  Prerequisito:
16
16
 
17
- - npm Trusted Publisher configurato per questo repository/workflow su npm
17
+ - npm Trusted Publisher configurato nelle impostazioni del pacchetto su npm per l'organizzazione `JAWS-Developers-Customers`, il repository `15-NPMPackage` e il workflow `publish.yml` (senza environment).
18
18
 
19
- Il workflow genera una versione unica per ogni run su `main`, così la pubblicazione non fallisce per versioni duplicate.
19
+ Il trusted publishing richiede npm 11.5.1 o successivo: il workflow installa npm 11.21.0 prima della pubblicazione, senza usare `NPM_TOKEN`. La versione npm 10 inclusa in Node.js 22 non supporta questa autenticazione, anche se può generare la provenance.
20
+
21
+ Il workflow genera una versione unica per ogni run su `master`, così la pubblicazione non fallisce per versioni duplicate.
20
22
 
21
23
  ## Cosa esporta
22
24
 
package/index.js CHANGED
@@ -20,7 +20,7 @@ const COLOR_PALETTE = Object.freeze({
20
20
  text: '#102A43',
21
21
  });
22
22
  const CONSTANTS = Object.freeze({
23
- API_DEV: 'https://api.consulca.local',
23
+ API_DEV: 'https://test.jawsdevelopers.ch',
24
24
  API: 'https://api.consulca.ch',
25
25
  ICON: 'https://www.consulca.ch/wp-content/themes/consulca_theme2020/img/default_user.png'
26
26
  });
package/index.mjs CHANGED
@@ -20,7 +20,6 @@ export const {
20
20
  formatCurrency,
21
21
  formatDate,
22
22
  formatDateTime,
23
- getColorPalette,
24
23
  getUserFullName,
25
24
  hasAccessChannel,
26
25
  hasUserRole,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jaws-developers-customers/consulca-types",
3
- "version": "1.0.7",
3
+ "version": "1.1.15",
4
4
  "description": "Tipi e helper per il dominio Consulca.",
5
5
  "keywords": [
6
6
  "consulca",