satori 0.28.1 → 0.29.0

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": "satori",
3
- "version": "0.28.1",
3
+ "version": "0.29.0",
4
4
  "description": "Enlightened library to convert HTML and CSS to SVG.",
5
5
  "module": "./dist/index.js",
6
6
  "main": "./dist/index.js",
@@ -60,10 +60,11 @@
60
60
  "dev": "pnpm run dev:default",
61
61
  "dev:default": "NODE_ENV=development tsup src/index.ts --watch --ignore-watch playground",
62
62
  "dev:playground": "turbo dev --filter=satori-playground...",
63
- "build": "pnpm run build:default && pnpm run build:standalone",
63
+ "build": "pnpm run build:default && pnpm run build:standalone && pnpm run test:browser-build",
64
64
  "build:default": "NODE_ENV=production tsup",
65
65
  "build:standalone": "NODE_ENV=production SATORI_STANDALONE=1 tsup",
66
66
  "test": "NODE_ENV=test vitest run",
67
+ "test:browser-build": "node test/browser-build.mjs",
67
68
  "test:ui": "NODE_ENV=test vitest --ui --coverage.enabled",
68
69
  "test-type": "tsc -p tsconfig.json --noEmit && tsc -p playground/tsconfig.json --noEmit",
69
70
  "dev:test": "NODE_ENV=test vitest --update",