@prezly/theme-kit-intl 10.5.0 → 10.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/theme-kit-intl",
3
- "version": "10.5.0",
3
+ "version": "10.6.1",
4
4
  "description": "Translations for Prezly themes",
5
5
  "type": "module",
6
6
  "main": "build/index.mjs",
@@ -28,17 +28,18 @@
28
28
  },
29
29
  "scripts": {
30
30
  "clean": "rimraf build/* *.tsbuildinfo",
31
- "prebuild": "pnpm clean && pnpm build:locales && pnpm prettier:check",
31
+ "prebuild": "pnpm clean && pnpm build:locales && pnpm format",
32
32
  "build": "pnpm intl:compile && pnpm build:types && pnpm build:esm && pnpm build:cjs",
33
- "build:locales": "node ./build-locales.cjs > src/locales/supportedLocales.ts && prettier --write ./src/locales/supportedLocales.ts",
33
+ "build:locales": "node ./build-locales.cjs > src/locales/supportedLocales.ts && biome format --write ./src/locales/supportedLocales.ts",
34
34
  "build:types": "tsc --project .",
35
35
  "build:esm": "babel --config-file=../../babel.esm.json src/ --extensions=.ts --out-dir=build/ --out-file-extension=.mjs",
36
36
  "build:cjs": "babel --config-file=../../babel.cjs.json src/ --extensions=.ts --out-dir=build/ --out-file-extension=.cjs",
37
37
  "watch": "tsc --watch --preserveWatchOutput --project .",
38
- "lint": "eslint ./src/",
38
+ "lint": "biome lint ./src/",
39
+ "lint:fix": "biome lint --write ./src/",
40
+ "format": "biome format ./src/",
41
+ "format:fix": "biome format --write ./src/",
39
42
  "typecheck": "tsc --noEmit --emitDeclarationOnly false --project .",
40
- "prettier:check": "prettier --check './src/**/*.{ts,js}'",
41
- "prettier:fix": "prettier --write './src/**/*.{ts,js}'",
42
43
  "test": "pnpm test:unit && pnpm test:build",
43
44
  "test:unit": "jest",
44
45
  "test:build": "pnpm test:build:i18n && pnpm test:build:i18n:dist && pnpm test:build:cjs && pnpm test:build:esm && pnpm test:build:types",
@@ -73,5 +74,5 @@
73
74
  "publishConfig": {
74
75
  "access": "public"
75
76
  },
76
- "gitHead": "fba05f52e06db45ecab4e82c157be7f59fad04f3"
77
+ "gitHead": "2e48bb44e892cfb7e16b6083a0fdfef506456c73"
77
78
  }