@animus-ui/next-plugin 0.1.35 → 0.1.38
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/README.md +14 -0
- package/dist/font-preloads.cjs +4 -22
- package/dist/font-preloads.d.ts.map +1 -1
- package/dist/font-preloads.mjs +5 -23
- package/dist/turbopack-loader.cjs +3 -3
- package/dist/turbopack-loader.d.ts +1 -1
- package/dist/turbopack-loader.d.ts.map +1 -1
- package/dist/turbopack-loader.mjs +4 -4
- package/dist/types.d.ts +6 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -176,6 +176,14 @@ stylesheet's `@font-face` applies. The plugin injects nothing into the
|
|
|
176
176
|
document, so render the component that delivers it. It renders nothing when
|
|
177
177
|
no face preloads.
|
|
178
178
|
|
|
179
|
+
`fontPreloads` in `withAnimus`'s options selects the faces that preload in
|
|
180
|
+
place of their `preload` flags, for an app that renders only some of a
|
|
181
|
+
system's faces: a family name selects every face of the family, and
|
|
182
|
+
`{ family, weight?, style? }` the faces whose declared weight contains
|
|
183
|
+
`weight` and whose style is `style` (`'normal'` when omitted). `[]` preloads
|
|
184
|
+
none. An entry no face matches reports `animus.style.font-preload-unmatched`;
|
|
185
|
+
a malformed one, such as a weight range, `animus.style.font-preload-invalid`.
|
|
186
|
+
|
|
179
187
|
**App Router:** render `AnimusFontPreloads` in the root layout. React hoists
|
|
180
188
|
each preload into `<head>` ahead of the stylesheets, and dedupes it by href,
|
|
181
189
|
against `next/font` too.
|
|
@@ -212,6 +220,12 @@ the module it reads. Nothing detects a layout that never renders the
|
|
|
212
220
|
component: the faces then load when the stylesheet applies, as without
|
|
213
221
|
`preload`.
|
|
214
222
|
|
|
223
|
+
A preload competes with the critical CSS and JavaScript for first paint, so
|
|
224
|
+
preload WOFF2 and only the faces the first screen needs: a large TrueType
|
|
225
|
+
file can delay first paint by seconds on a slow link. A preloaded file that
|
|
226
|
+
is not WOFF2 or WOFF, or an `asset()` file over 150 KB, reports
|
|
227
|
+
`animus.style.font-face-preload-costly`.
|
|
228
|
+
|
|
215
229
|
## MDX
|
|
216
230
|
|
|
217
231
|
Animus reads each `.mdx` file as the JSX it renders: its imports, exports,
|
package/dist/font-preloads.cjs
CHANGED
|
@@ -6,29 +6,16 @@ let virtual_animus_font_preloads = require("virtual:animus/font-preloads");
|
|
|
6
6
|
virtual_animus_font_preloads = require_rolldown_runtime.__toESM(virtual_animus_font_preloads);
|
|
7
7
|
//#region src/font-preloads.ts
|
|
8
8
|
/**
|
|
9
|
-
* The font preloads the system's faces ask for (`preload: true
|
|
10
|
-
* into the document. Server-only; it
|
|
9
|
+
* The font preloads the system's faces ask for (`preload: true`, or the
|
|
10
|
+
* `fontPreloads` option), rendered into the document. Server-only; it
|
|
11
|
+
* imports neither the engine nor Node.
|
|
11
12
|
*/
|
|
12
|
-
/** The origins of the absolute hrefs, once each: an asset prefix on
|
|
13
|
-
* another host makes the bundler's URLs absolute. `fontPreloadOrigins`'s
|
|
14
|
-
* rule, restated: its module would bring the engine into the bundle. A
|
|
15
|
-
* malformed href warms no origin, and never fails the render. */
|
|
16
|
-
const ORIGINS = [...new Set(virtual_animus_font_preloads.default.flatMap(({ href }) => {
|
|
17
|
-
if (!/^(?:https?:)?\/\//i.test(href)) return [];
|
|
18
|
-
try {
|
|
19
|
-
const { origin } = new URL(href, "https://animus.invalid");
|
|
20
|
-
return [href.startsWith("//") ? `//${href.slice(2).split(/[/?#]/)[0]}` : origin];
|
|
21
|
-
} catch {
|
|
22
|
-
return [];
|
|
23
|
-
}
|
|
24
|
-
}))];
|
|
25
13
|
/**
|
|
26
14
|
* App Router: render it in the root layout. React hoists each preload into
|
|
27
15
|
* `<head>` ahead of the stylesheets and dedupes it by href, against
|
|
28
16
|
* `next/font` too. Renders nothing; a no-op when no face preloads.
|
|
29
17
|
*/
|
|
30
18
|
function AnimusFontPreloads() {
|
|
31
|
-
for (const origin of ORIGINS) (0, react_dom.preconnect)(origin, { crossOrigin: "" });
|
|
32
19
|
for (const { href, type } of virtual_animus_font_preloads.default) (0, react_dom.preload)(href, {
|
|
33
20
|
as: "font",
|
|
34
21
|
type,
|
|
@@ -41,12 +28,7 @@ function AnimusFontPreloads() {
|
|
|
41
28
|
* `<link>` tags any React version renders. Empty when no face preloads.
|
|
42
29
|
*/
|
|
43
30
|
function AnimusFontPreloadLinks() {
|
|
44
|
-
return (0, react.createElement)(react.Fragment, null, ...
|
|
45
|
-
key: origin,
|
|
46
|
-
rel: "preconnect",
|
|
47
|
-
href: origin,
|
|
48
|
-
crossOrigin: ""
|
|
49
|
-
})), ...virtual_animus_font_preloads.default.map(({ href, type }) => (0, react.createElement)("link", {
|
|
31
|
+
return (0, react.createElement)(react.Fragment, null, ...virtual_animus_font_preloads.default.map(({ href, type }) => (0, react.createElement)("link", {
|
|
50
32
|
key: href,
|
|
51
33
|
rel: "preload",
|
|
52
34
|
href,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"font-preloads.d.ts","sourceRoot":"","sources":["../src/font-preloads.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"font-preloads.d.ts","sourceRoot":"","sources":["../src/font-preloads.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAK1C;;;;GAIG;AACH,wBAAgB,kBAAkB,IAAI,IAAI,CAKzC;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,IAAI,YAAY,CAerD"}
|
package/dist/font-preloads.mjs
CHANGED
|
@@ -1,31 +1,18 @@
|
|
|
1
1
|
import { Fragment, createElement } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { preload } from "react-dom";
|
|
3
3
|
import preloads from "virtual:animus/font-preloads";
|
|
4
4
|
//#region src/font-preloads.ts
|
|
5
5
|
/**
|
|
6
|
-
* The font preloads the system's faces ask for (`preload: true
|
|
7
|
-
* into the document. Server-only; it
|
|
6
|
+
* The font preloads the system's faces ask for (`preload: true`, or the
|
|
7
|
+
* `fontPreloads` option), rendered into the document. Server-only; it
|
|
8
|
+
* imports neither the engine nor Node.
|
|
8
9
|
*/
|
|
9
|
-
/** The origins of the absolute hrefs, once each: an asset prefix on
|
|
10
|
-
* another host makes the bundler's URLs absolute. `fontPreloadOrigins`'s
|
|
11
|
-
* rule, restated: its module would bring the engine into the bundle. A
|
|
12
|
-
* malformed href warms no origin, and never fails the render. */
|
|
13
|
-
const ORIGINS = [...new Set(preloads.flatMap(({ href }) => {
|
|
14
|
-
if (!/^(?:https?:)?\/\//i.test(href)) return [];
|
|
15
|
-
try {
|
|
16
|
-
const { origin } = new URL(href, "https://animus.invalid");
|
|
17
|
-
return [href.startsWith("//") ? `//${href.slice(2).split(/[/?#]/)[0]}` : origin];
|
|
18
|
-
} catch {
|
|
19
|
-
return [];
|
|
20
|
-
}
|
|
21
|
-
}))];
|
|
22
10
|
/**
|
|
23
11
|
* App Router: render it in the root layout. React hoists each preload into
|
|
24
12
|
* `<head>` ahead of the stylesheets and dedupes it by href, against
|
|
25
13
|
* `next/font` too. Renders nothing; a no-op when no face preloads.
|
|
26
14
|
*/
|
|
27
15
|
function AnimusFontPreloads() {
|
|
28
|
-
for (const origin of ORIGINS) preconnect(origin, { crossOrigin: "" });
|
|
29
16
|
for (const { href, type } of preloads) preload(href, {
|
|
30
17
|
as: "font",
|
|
31
18
|
type,
|
|
@@ -38,12 +25,7 @@ function AnimusFontPreloads() {
|
|
|
38
25
|
* `<link>` tags any React version renders. Empty when no face preloads.
|
|
39
26
|
*/
|
|
40
27
|
function AnimusFontPreloadLinks() {
|
|
41
|
-
return createElement(Fragment, null, ...
|
|
42
|
-
key: origin,
|
|
43
|
-
rel: "preconnect",
|
|
44
|
-
href: origin,
|
|
45
|
-
crossOrigin: ""
|
|
46
|
-
})), ...preloads.map(({ href, type }) => createElement("link", {
|
|
28
|
+
return createElement(Fragment, null, ...preloads.map(({ href, type }) => createElement("link", {
|
|
47
29
|
key: href,
|
|
48
30
|
rel: "preload",
|
|
49
31
|
href,
|
|
@@ -85,7 +85,8 @@ function hydrateSession(key, sessionDir, sessionId) {
|
|
|
85
85
|
const manifestRaw = readFileOrNull((0, _animus_ui_extract_session.manifestPath)(sessionDir));
|
|
86
86
|
const inputsRaw = readFileOrNull((0, _animus_ui_extract_session.analysisInputsPath)(sessionDir));
|
|
87
87
|
if (manifestRaw === null || inputsRaw === null) continue;
|
|
88
|
-
|
|
88
|
+
const engine = engineApiFor(key)();
|
|
89
|
+
if ((0, _animus_ui_extract_session.artifactHash)(engine, manifestRaw) !== c0.manifestHash || (0, _animus_ui_extract_session.artifactHash)(engine, inputsRaw) !== c0.inputsHash) continue;
|
|
89
90
|
if (readFileOrNull(commitPath) !== c0raw) continue;
|
|
90
91
|
let inputs;
|
|
91
92
|
let fileHashes;
|
|
@@ -101,8 +102,7 @@ function hydrateSession(key, sessionDir, sessionId) {
|
|
|
101
102
|
} catch {
|
|
102
103
|
return { kind: "torn" };
|
|
103
104
|
}
|
|
104
|
-
const
|
|
105
|
-
const manifestJson = analyzeProject(...(0, _animus_ui_extract_pipeline.buildAnalyzeProjectArgs)(inputs));
|
|
105
|
+
const manifestJson = engine.analyzeProject(...(0, _animus_ui_extract_pipeline.buildAnalyzeProjectArgs)(inputs));
|
|
106
106
|
hydrations.set(buildId, {
|
|
107
107
|
commitKey,
|
|
108
108
|
manifestJson,
|
|
@@ -18,7 +18,7 @@ type LoaderCallback = (err: Error | null, content?: string) => void;
|
|
|
18
18
|
type LoaderContext = LoaderContextBase<TurbopackLoaderOptions> & {
|
|
19
19
|
async?: () => LoaderCallback;
|
|
20
20
|
};
|
|
21
|
-
type LoaderEngineApi = () => Pick<EngineApi, 'analyzeProject' | 'transformFile'>;
|
|
21
|
+
type LoaderEngineApi = () => Pick<EngineApi, 'analyzeProject' | 'transformFile' | 'fingerprintBytes'>;
|
|
22
22
|
/** @internal test seam. */
|
|
23
23
|
export declare function __setTurbopackLoaderEngineApiForTests(api: LoaderEngineApi | null): void;
|
|
24
24
|
type LoaderFs = Pick<typeof nodeFs, 'readFileSync' | 'existsSync'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"turbopack-loader.d.ts","sourceRoot":"","sources":["../src/turbopack-loader.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"turbopack-loader.d.ts","sourceRoot":"","sources":["../src/turbopack-loader.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,MAAM,MAAM,IAAI,CAAC;AAU7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAC5E,OAAO,KAAK,EAEV,SAAS,EACV,MAAM,6BAA6B,CAAC;AAWrC;;;yEAGyE;AACzE,MAAM,WAAW,sBAAuB,SAAQ,mBAAmB;IACjE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;mBAEe;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,KAAK,cAAc,GAAG,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;AAEpE,KAAK,aAAa,GAAG,iBAAiB,CAAC,sBAAsB,CAAC,GAAG;IAC/D,KAAK,CAAC,EAAE,MAAM,cAAc,CAAC;CAC9B,CAAC;AASF,KAAK,eAAe,GAAG,MAAM,IAAI,CAC/B,SAAS,EACT,gBAAgB,GAAG,eAAe,GAAG,kBAAkB,CACxD,CAAC;AAGF,2BAA2B;AAC3B,wBAAgB,qCAAqC,CACnD,GAAG,EAAE,eAAe,GAAG,IAAI,GAC1B,IAAI,CAEN;AAaD,KAAK,QAAQ,GAAG,IAAI,CAAC,OAAO,MAAM,EAAE,cAAc,GAAG,YAAY,CAAC,CAAC;AAGnE,2BAA2B;AAC3B,wBAAgB,8BAA8B,CAAC,EAAE,EAAE,QAAQ,GAAG,IAAI,GAAG,IAAI,CAExE;AAcD;oBACoB;AACpB,wBAAgB,mCAAmC,IAAI,IAAI,CAI1D;AAwJD,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAC3C,IAAI,EAAE,aAAa,EACnB,MAAM,EAAE,MAAM,GACb,IAAI,CAYN"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as isTurbopackDevelopment } from "./turbopack-config-BOUPGkmi.mjs";
|
|
2
2
|
import { n as extensionLineage, r as transformWithManifest, t as extendedFiles } from "./loader-core-DU2uZEMQ.mjs";
|
|
3
3
|
import { AnimusConfigError, assertSupportedEngine, buildAnalyzeProjectArgs, contentHash, parseFilesJson } from "@animus-ui/extract/pipeline";
|
|
4
|
-
import { analysisCommitPath, analysisInputsPath, analysisStatusPath, engineHandle, manifestPath, readJsonEnvelope, replacementEpochPath, sessionArtifactDir, sessionKey } from "@animus-ui/extract/session";
|
|
4
|
+
import { analysisCommitPath, analysisInputsPath, analysisStatusPath, artifactHash, engineHandle, manifestPath, readJsonEnvelope, replacementEpochPath, sessionArtifactDir, sessionKey } from "@animus-ui/extract/session";
|
|
5
5
|
import * as nodeFs from "fs";
|
|
6
6
|
import { join, relative } from "path";
|
|
7
7
|
//#region src/turbopack-loader.ts
|
|
@@ -79,7 +79,8 @@ function hydrateSession(key, sessionDir, sessionId) {
|
|
|
79
79
|
const manifestRaw = readFileOrNull(manifestPath(sessionDir));
|
|
80
80
|
const inputsRaw = readFileOrNull(analysisInputsPath(sessionDir));
|
|
81
81
|
if (manifestRaw === null || inputsRaw === null) continue;
|
|
82
|
-
|
|
82
|
+
const engine = engineApiFor(key)();
|
|
83
|
+
if (artifactHash(engine, manifestRaw) !== c0.manifestHash || artifactHash(engine, inputsRaw) !== c0.inputsHash) continue;
|
|
83
84
|
if (readFileOrNull(commitPath) !== c0raw) continue;
|
|
84
85
|
let inputs;
|
|
85
86
|
let fileHashes;
|
|
@@ -95,8 +96,7 @@ function hydrateSession(key, sessionDir, sessionId) {
|
|
|
95
96
|
} catch {
|
|
96
97
|
return { kind: "torn" };
|
|
97
98
|
}
|
|
98
|
-
const
|
|
99
|
-
const manifestJson = analyzeProject(...buildAnalyzeProjectArgs(inputs));
|
|
99
|
+
const manifestJson = engine.analyzeProject(...buildAnalyzeProjectArgs(inputs));
|
|
100
100
|
hydrations.set(buildId, {
|
|
101
101
|
commitKey,
|
|
102
102
|
manifestJson,
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnimusQuarantineOptions, ClosedDynamicImport, DiagnosticLevels, StaticCssConfig } from '@animus-ui/extract/pipeline';
|
|
1
|
+
import type { AnimusQuarantineOptions, ClosedDynamicImport, FontPreloadEntry, DiagnosticLevels, StaticCssConfig } from '@animus-ui/extract/pipeline';
|
|
2
2
|
export interface AnimusNextOptions {
|
|
3
3
|
/** Path to a module exporting a SystemInstance from `@animus-ui/system`. */
|
|
4
4
|
system: string;
|
|
@@ -94,6 +94,11 @@ export interface AnimusNextOptions {
|
|
|
94
94
|
* the root, and `enclosingFunction`): each loads only what the build's
|
|
95
95
|
* own literal `import()`s load, an assumption the analysis records. */
|
|
96
96
|
closedDynamicImports?: ClosedDynamicImport[];
|
|
97
|
+
/** The font faces this app preloads, in place of each typed face's own
|
|
98
|
+
* `preload` flag, so a face declared once for every product preloads only
|
|
99
|
+
* where the app renders it: family names, or `{ family, weight?, style? }`
|
|
100
|
+
* (see `FontPreloadEntry`). `[]` preloads none. */
|
|
101
|
+
fontPreloads?: FontPreloadEntry[];
|
|
97
102
|
/**
|
|
98
103
|
* Load third-party stylesheets into `anm-vendor`, a layer below every
|
|
99
104
|
* Animus layer, so their normal rules never beat Animus's. Needs
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,mBAAmB,EACnB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E,OAAO,CAAC;IACjB;yEACqE;IACrE,IAAI,CAAC,EAAE,aAAa,GAAG,YAAY,CAAC;IACpC;gFAC4E;IAC5E,MAAM,CAAC,EAAE,IAAI,CAAC;IACd;qEACiE;IACjE,SAAS,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,KAAK,CAAA;KAAE,CAAC;IAC7C;;;;sBAIkB;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;sCACkC;IAClC,kBAAkB,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC;IACtD;qEACiE;IACjE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;+EAC2E;IAC3E,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;sEAEkE;IAClE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;4EAEwE;IACxE,oBAAoB,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC7C;;;wDAGoD;IACpD,YAAY,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAClC;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAE,uBAAuB,CAAC;CACtC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@animus-ui/next-plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.38",
|
|
4
4
|
"description": "Animus static CSS extraction for Next.js (webpack)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"animus",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"compile": "bun check"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@animus-ui/extract": "0.1.
|
|
47
|
+
"@animus-ui/extract": "0.1.38"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@animus-ui/assertions": "0.1.
|
|
51
|
-
"@animus-ui/layergate": "0.1.
|
|
50
|
+
"@animus-ui/assertions": "0.1.38",
|
|
51
|
+
"@animus-ui/layergate": "0.1.38"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@animus-ui/layergate": "0.1.
|
|
54
|
+
"@animus-ui/layergate": "0.1.38",
|
|
55
55
|
"next": ">=15 <17",
|
|
56
56
|
"webpack": ">=5 <6"
|
|
57
57
|
},
|