discovery-media-player 0.1.68 → 0.1.69

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": "discovery-media-player",
3
- "version": "0.1.68",
3
+ "version": "0.1.69",
4
4
  "description": "Self-hosted document viewer: per-recipient tracked links, reading analytics, live presentation. The core knows nothing about the application hosting it — everything it borrows arrives through an injected context.",
5
5
  "keywords": [
6
6
  "pdf-viewer",
@@ -56,14 +56,14 @@
56
56
  "prepare": "node tools/install-hooks.mjs",
57
57
  "start": "node bin/serve.js",
58
58
  "build": "node build/bundle.mjs && tsc -p tsconfig.build.json && node -e \"import('./build/bundle.mjs').then(m=>m.marquerDistEsm())\"",
59
- "test": "vitest run",
59
+ "test": "node -e \"require('fs').existsSync('server/__tests__')||(console.error('Ce banc ne vit pas dans le paquet publié - le champ scripts annonce plus que le tarball ne contient. Clonez le depot puis npm ci : https://github.com/Juli1artha/discovery-media-player'),process.exit(1))\" && vitest run",
60
60
  "test:watch": "vitest",
61
61
  "lint": "eslint bin context server src build",
62
62
  "lint:fix": "eslint bin context server src build --fix",
63
63
  "typecheck": "tsc --noEmit",
64
64
  "prepublishOnly": "npm run build && npm test",
65
- "test:e2e": "vitest run --config vitest.e2e.config.mjs",
66
- "test:base": "vitest run --config vitest.base.config.mjs"
65
+ "test:e2e": "node -e \"require('fs').existsSync('vitest.e2e.config.mjs')||(console.error('Ce banc ne vit pas dans le paquet publié - le champ scripts annonce plus que le tarball ne contient. Clonez le depot puis npm ci : https://github.com/Juli1artha/discovery-media-player'),process.exit(1))\" && vitest run --config vitest.e2e.config.mjs",
66
+ "test:base": "node -e \"require('fs').existsSync('vitest.base.config.mjs')||(console.error('Ce banc ne vit pas dans le paquet publié - le champ scripts annonce plus que le tarball ne contient. Clonez le depot puis npm ci : https://github.com/Juli1artha/discovery-media-player'),process.exit(1))\" && vitest run --config vitest.base.config.mjs"
67
67
  },
68
68
  "engines": {
69
69
  "node": ">=22"
package/server/handler.js CHANGED
@@ -2120,7 +2120,7 @@ ${LEGAL_CSS}
2120
2120
  /* balayage « tech » tant qu'on ne connaît pas encore le total */
2121
2121
  .lbar.idle i{width:36%;animation:lsweep 1.1s ease-in-out infinite}
2122
2122
  @keyframes lsweep{0%{left:-36%}100%{left:100%}}
2123
- .lpct{font-size:11px;color:#8a857c;letter-spacing:.04em;text-transform:uppercase;font-weight:600}
2123
+ .lpct{font-size:11px;color:#6e695f;letter-spacing:.04em;text-transform:uppercase;font-weight:600}
2124
2124
  .lerr{color:#c0392b;font-size:13px}
2125
2125
  /* Filigrane discret (libère la barre du bas) — masqué sur mobile (chevauche le FAB/teaser, sans valeur). */
2126
2126
  .brand{position:fixed;right:13px;bottom:10px;font-size:10px;color:#fff;opacity:.42;pointer-events:none;letter-spacing:.02em;z-index:3}