fontfetch 1.2.1 → 1.3.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,7 +1,7 @@
1
1
  {
2
2
  "name": "fontfetch",
3
- "version": "1.2.1",
4
- "description": "Download every web font from any site into a project-ready folder — with CSS, manifest, framework configs, terminal-native font inspection, zero-CLS fallback metrics, and DOM-driven subsetting.",
3
+ "version": "1.3.1",
4
+ "description": "Download every web font from any site into a project-ready folder — with CSS, manifest, framework configs, terminal-native font inspection, zero-CLS fallback metrics, DOM-driven subsetting, per-language unicode-range splitting, and modern-format-only emit.",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "fontfetch": "dist/cli.js"
@@ -13,6 +13,16 @@
13
13
  "LICENSE",
14
14
  "CHANGELOG.md"
15
15
  ],
16
+ "scripts": {
17
+ "build": "tsup",
18
+ "dev": "tsup --watch",
19
+ "start": "node ./dist/cli.js",
20
+ "typecheck": "tsc --noEmit",
21
+ "clean": "rm -rf dist .tsbuildinfo README.md LICENSE CHANGELOG.md",
22
+ "prepack": "cp ../../README.md ../../LICENSE ../../CHANGELOG.md ./",
23
+ "postpack": "rm -f README.md LICENSE CHANGELOG.md",
24
+ "prepublishOnly": "pnpm --filter @fontfetch/core run build && pnpm run build"
25
+ },
16
26
  "engines": {
17
27
  "node": ">=18"
18
28
  },
@@ -52,7 +62,7 @@
52
62
  },
53
63
  "homepage": "https://github.com/niyamvora/fontfetch#readme",
54
64
  "devDependencies": {
55
- "@fontfetch/core": "1.2.1"
65
+ "@fontfetch/core": "workspace:*"
56
66
  },
57
67
  "peerDependencies": {
58
68
  "playwright": "^1.49.0",
@@ -65,12 +75,5 @@
65
75
  "subset-font": {
66
76
  "optional": true
67
77
  }
68
- },
69
- "scripts": {
70
- "build": "tsup",
71
- "dev": "tsup --watch",
72
- "start": "node ./dist/cli.js",
73
- "typecheck": "tsc --noEmit",
74
- "clean": "rm -rf dist .tsbuildinfo README.md LICENSE CHANGELOG.md"
75
78
  }
76
- }
79
+ }