@pocket-trash/localizations 0.25.0 → 0.26.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/dist/index.d.ts CHANGED
@@ -272,6 +272,14 @@ export declare const localizations: Readonly<{
272
272
  solid: string;
273
273
  };
274
274
  defaultButton: string;
275
+ deletion: {
276
+ action: string;
277
+ blocked: string;
278
+ confirmation: string;
279
+ description: string;
280
+ failed: string;
281
+ title: string;
282
+ };
275
283
  error: {
276
284
  bearingLength: string;
277
285
  colorHex: string;
@@ -393,6 +401,7 @@ export declare const localizations: Readonly<{
393
401
  description: string;
394
402
  displayName: string;
395
403
  name: string;
404
+ summary: string;
396
405
  };
397
406
  finishChoice: {
398
407
  custom: string;
@@ -401,6 +410,7 @@ export declare const localizations: Readonly<{
401
410
  placeholder: {
402
411
  description: string;
403
412
  name: string;
413
+ summary: string;
404
414
  };
405
415
  select: {
406
416
  addNew: string;
@@ -1255,6 +1265,14 @@ export declare const localizations: Readonly<{
1255
1265
  solid: string;
1256
1266
  };
1257
1267
  defaultButton: string;
1268
+ deletion: {
1269
+ action: string;
1270
+ blocked: string;
1271
+ confirmation: string;
1272
+ description: string;
1273
+ failed: string;
1274
+ title: string;
1275
+ };
1258
1276
  error: {
1259
1277
  bearingLength: string;
1260
1278
  colorHex: string;
@@ -1376,6 +1394,7 @@ export declare const localizations: Readonly<{
1376
1394
  description: string;
1377
1395
  displayName: string;
1378
1396
  name: string;
1397
+ summary: string;
1379
1398
  };
1380
1399
  finishChoice: {
1381
1400
  custom: string;
@@ -1384,6 +1403,7 @@ export declare const localizations: Readonly<{
1384
1403
  placeholder: {
1385
1404
  description: string;
1386
1405
  name: string;
1406
+ summary: string;
1387
1407
  };
1388
1408
  select: {
1389
1409
  addNew: string;
@@ -256,6 +256,14 @@ export declare const enUS: {
256
256
  solid: string;
257
257
  };
258
258
  defaultButton: string;
259
+ deletion: {
260
+ action: string;
261
+ blocked: string;
262
+ confirmation: string;
263
+ description: string;
264
+ failed: string;
265
+ title: string;
266
+ };
259
267
  error: {
260
268
  bearingLength: string;
261
269
  colorHex: string;
@@ -377,6 +385,7 @@ export declare const enUS: {
377
385
  description: string;
378
386
  displayName: string;
379
387
  name: string;
388
+ summary: string;
380
389
  };
381
390
  finishChoice: {
382
391
  custom: string;
@@ -385,6 +394,7 @@ export declare const enUS: {
385
394
  placeholder: {
386
395
  description: string;
387
396
  name: string;
397
+ summary: string;
388
398
  };
389
399
  select: {
390
400
  addNew: string;
@@ -256,6 +256,14 @@ export const enUS = {
256
256
  solid: "Solid",
257
257
  },
258
258
  defaultButton: "Default Button",
259
+ deletion: {
260
+ action: "Permanently delete product",
261
+ blocked: "This product is used by a collection or another product and cannot be deleted.",
262
+ confirmation: "I understand that deleting this product and its images cannot be undone.",
263
+ description: "Permanently delete {name}? Its images, finish options, material links, and specifications will be removed. This cannot be undone.",
264
+ failed: "We couldn't delete this product. Try again.",
265
+ title: "Delete product",
266
+ },
259
267
  error: {
260
268
  bearingLength: "Enter 200 characters or fewer.",
261
269
  colorHex: "Choose a valid colour.",
@@ -377,6 +385,7 @@ export const enUS = {
377
385
  description: "Description",
378
386
  displayName: "Display name",
379
387
  name: "Name",
388
+ summary: "Summary",
380
389
  },
381
390
  finishChoice: {
382
391
  custom: "Custom finish",
@@ -385,6 +394,7 @@ export const enUS = {
385
394
  placeholder: {
386
395
  description: "Describe this collection",
387
396
  name: "Collection name",
397
+ summary: "Summarize this collection",
388
398
  },
389
399
  select: {
390
400
  addNew: "Add new collection",
@@ -256,6 +256,14 @@ export declare const esMX: {
256
256
  solid: string;
257
257
  };
258
258
  defaultButton: string;
259
+ deletion: {
260
+ action: string;
261
+ blocked: string;
262
+ confirmation: string;
263
+ description: string;
264
+ failed: string;
265
+ title: string;
266
+ };
259
267
  error: {
260
268
  bearingLength: string;
261
269
  colorHex: string;
@@ -377,6 +385,7 @@ export declare const esMX: {
377
385
  description: string;
378
386
  displayName: string;
379
387
  name: string;
388
+ summary: string;
380
389
  };
381
390
  finishChoice: {
382
391
  custom: string;
@@ -385,6 +394,7 @@ export declare const esMX: {
385
394
  placeholder: {
386
395
  description: string;
387
396
  name: string;
397
+ summary: string;
388
398
  };
389
399
  select: {
390
400
  addNew: string;
@@ -256,6 +256,14 @@ export const esMX = {
256
256
  solid: "Sólido",
257
257
  },
258
258
  defaultButton: "",
259
+ deletion: {
260
+ action: "Eliminar producto permanentemente",
261
+ blocked: "Este producto está en uso en una colección o en otro producto y no se puede eliminar.",
262
+ confirmation: "Entiendo que la eliminación de este producto y sus imágenes no se puede deshacer.",
263
+ description: "¿Eliminar {name} permanentemente? Se eliminarán sus imágenes, opciones de acabado, vínculos con materiales y especificaciones. Esta acción no se puede deshacer.",
264
+ failed: "No pudimos eliminar este producto. Inténtalo de nuevo.",
265
+ title: "Eliminar producto",
266
+ },
259
267
  error: {
260
268
  bearingLength: "",
261
269
  colorHex: "Elige un color válido.",
@@ -377,6 +385,7 @@ export const esMX = {
377
385
  description: "",
378
386
  displayName: "Nombre para mostrar",
379
387
  name: "",
388
+ summary: "Resumen",
380
389
  },
381
390
  finishChoice: {
382
391
  custom: "Acabado personalizado",
@@ -385,6 +394,7 @@ export const esMX = {
385
394
  placeholder: {
386
395
  description: "",
387
396
  name: "",
397
+ summary: "Resume esta colección",
388
398
  },
389
399
  select: {
390
400
  addNew: "",
@@ -253,6 +253,14 @@ export type CompleteLocalizationResource = Readonly<{
253
253
  solid: string;
254
254
  };
255
255
  defaultButton: string;
256
+ deletion: {
257
+ action: string;
258
+ blocked: string;
259
+ confirmation: string;
260
+ description: string;
261
+ failed: string;
262
+ title: string;
263
+ };
256
264
  error: {
257
265
  bearingLength: string;
258
266
  colorHex: string;
@@ -374,6 +382,7 @@ export type CompleteLocalizationResource = Readonly<{
374
382
  description: string;
375
383
  displayName: string;
376
384
  name: string;
385
+ summary: string;
377
386
  };
378
387
  finishChoice: {
379
388
  custom: string;
@@ -382,6 +391,7 @@ export type CompleteLocalizationResource = Readonly<{
382
391
  placeholder: {
383
392
  description: string;
384
393
  name: string;
394
+ summary: string;
385
395
  };
386
396
  select: {
387
397
  addNew: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocket-trash/localizations",
3
- "version": "0.25.0",
3
+ "version": "0.26.1",
4
4
  "description": "Shared localization utilities and message catalogs for Pocket Trash.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -38,22 +38,21 @@
38
38
  "access": "public"
39
39
  },
40
40
  "engines": {
41
- "node": ">=20"
41
+ "node": ">=22.20.0 <23"
42
42
  },
43
43
  "devDependencies": {
44
- "@biomejs/biome": "^2.5.8",
44
+ "@biomejs/biome": "^2.5.14",
45
45
  "@changesets/cli": "^2.31.1",
46
- "@commitlint/cli": "^21.2.2",
47
- "@commitlint/config-conventional": "^21.2.2",
46
+ "@commitlint/cli": "^21.2.3",
47
+ "@commitlint/config-conventional": "^21.2.3",
48
48
  "husky": "^9.1.7",
49
- "typescript": "^5.9.2"
50
- },
51
- "dependencies": {
52
- "lts": "^2.0.0"
49
+ "npm": "11.20.0",
50
+ "skills": "1.7.0",
51
+ "typescript": "^5.9.3"
53
52
  },
54
53
  "scripts": {
55
- "agent-skills:update": "npx skills add pocket-trash/skills --skill '*' --agent codex claude-code -y",
56
- "build": "tsc -p tsconfig.json",
54
+ "agent-skills:update": "pnpm exec skills add pocket-trash/skills --skill '*' --agent codex claude-code -y",
55
+ "build": "pnpm run security:audit && tsc -p tsconfig.json",
57
56
  "check": "biome check --write .",
58
57
  "changelog:validate": "node scripts/validate-changelog.mjs",
59
58
  "changeset": "changeset",
@@ -63,7 +62,8 @@
63
62
  "lint": "biome ci .",
64
63
  "localization:create": "node scripts/localizations.mjs create",
65
64
  "localization:sync": "node scripts/localizations.mjs sync",
66
- "release": "npm whoami && pnpm run changeset:version && pnpm install --lockfile-only && git add package.json pnpm-lock.yaml CHANGELOG.md .changeset && git commit -m \"chore: version packages [skip ci]\" && changeset publish && git push --follow-tags && VERSION=$(node -p \"require('./package.json').version\") && gh release create \"v$VERSION\" --title \"v$VERSION\" --generate-notes --verify-tag",
65
+ "release": "pnpm run security:audit && pnpm exec npm whoami && pnpm run changeset:version && pnpm install --lockfile-only && git add package.json pnpm-lock.yaml CHANGELOG.md .changeset && git commit -m \"chore: version packages [skip ci]\" && changeset publish && git push --follow-tags && VERSION=$(node -p \"require('./package.json').version\") && gh release create \"v$VERSION\" --title \"v$VERSION\" --generate-notes --verify-tag",
66
+ "security:audit": "pnpm audit --audit-level high",
67
67
  "test": "pnpm changelog:validate && pnpm run build && node --test"
68
68
  }
69
69
  }