@animus-ui/next-plugin 0.1.25 → 0.1.26
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/dist/index.cjs +182 -64
- package/dist/index.mjs +184 -66
- package/dist/{loader-core-CAr8opFH.cjs → loader-core-Bz52QNm3.cjs} +15 -4
- package/dist/{loader-core-pACpByOT.mjs → loader-core-DU2uZEMQ.mjs} +16 -5
- package/dist/loader-core.d.ts +8 -3
- package/dist/loader-core.d.ts.map +1 -1
- package/dist/loader.cjs +13 -10
- package/dist/loader.d.ts.map +1 -1
- package/dist/loader.mjs +15 -12
- package/dist/plugin.d.ts +39 -4
- package/dist/plugin.d.ts.map +1 -1
- package/dist/same-directory.d.ts +5 -0
- package/dist/same-directory.d.ts.map +1 -0
- package/dist/{turbopack-config-BdfqxwT0.mjs → turbopack-config-3jtLDAIM.mjs} +0 -1
- package/dist/{turbopack-config-D-6BRBYi.cjs → turbopack-config-BoNfzhNu.cjs} +0 -1
- package/dist/turbopack-config.d.ts.map +1 -1
- package/dist/turbopack-loader.cjs +55 -55
- package/dist/turbopack-loader.d.ts +2 -1
- package/dist/turbopack-loader.d.ts.map +1 -1
- package/dist/turbopack-loader.mjs +57 -61
- package/dist/types.d.ts +7 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/with-animus.d.ts +7 -0
- package/dist/with-animus.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1,45 +1,24 @@
|
|
|
1
|
-
import { r as isTurbopackDevelopment } from "./turbopack-config-
|
|
2
|
-
import { n as extensionLineage, r as transformWithManifest, t as extendedFiles } from "./loader-core-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { analysisCommitPath, analysisInputsPath, analysisStatusPath, manifestPath, readJsonEnvelope, replacementEpochPath, sessionArtifactDir } from "@animus-ui/extract/session";
|
|
1
|
+
import { r as isTurbopackDevelopment } from "./turbopack-config-3jtLDAIM.mjs";
|
|
2
|
+
import { n as extensionLineage, r as transformWithManifest, t as extendedFiles } from "./loader-core-DU2uZEMQ.mjs";
|
|
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";
|
|
6
5
|
import * as nodeFs from "fs";
|
|
7
6
|
import { join, relative } from "path";
|
|
8
|
-
//#region \0rolldown/runtime.js
|
|
9
|
-
var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
|
|
10
|
-
//#endregion
|
|
11
7
|
//#region src/turbopack-loader.ts
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
let
|
|
16
|
-
let hydratedManifestJson = null;
|
|
17
|
-
let hydratedFileHashes = null;
|
|
18
|
-
const engineModuleId = "@animus-ui/extract";
|
|
19
|
-
const engineApi$1 = createV2EngineApi({
|
|
20
|
-
label: "animus-next-turbopack",
|
|
21
|
-
isV2: () => true,
|
|
22
|
-
loadNativeEngine: () => __require(engineModuleId),
|
|
23
|
-
passThroughUnknownPaths: true,
|
|
24
|
-
store: {
|
|
25
|
-
getEngine: () => engine,
|
|
26
|
-
setEngine: (next) => {
|
|
27
|
-
engine = next;
|
|
28
|
-
},
|
|
29
|
-
getSentSources: () => sentSources,
|
|
30
|
-
setSentSources: (sources) => {
|
|
31
|
-
sentSources = sources;
|
|
32
|
-
},
|
|
33
|
-
getDriftWarned: () => driftWarned,
|
|
34
|
-
setDriftWarned: (value) => {
|
|
35
|
-
driftWarned = value;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
let engineApiImpl = engineApi$1;
|
|
8
|
+
/** Each build's last hydration in this worker, so a worker serving two
|
|
9
|
+
* builds hydrates each once. */
|
|
10
|
+
const hydrations = /* @__PURE__ */ new Map();
|
|
11
|
+
let engineApiOverride = null;
|
|
40
12
|
/** @internal test seam. */
|
|
41
13
|
function __setTurbopackLoaderEngineApiForTests(api) {
|
|
42
|
-
|
|
14
|
+
engineApiOverride = api;
|
|
15
|
+
}
|
|
16
|
+
/** The build's engine API, from the one engine-handle store. */
|
|
17
|
+
function engineApiFor(key) {
|
|
18
|
+
return engineApiOverride ?? engineHandle(key, {
|
|
19
|
+
label: "animus-next-turbopack",
|
|
20
|
+
passThroughUnknownPaths: true
|
|
21
|
+
});
|
|
43
22
|
}
|
|
44
23
|
let fsImpl = nodeFs;
|
|
45
24
|
/** @internal test seam. */
|
|
@@ -47,11 +26,20 @@ function __setTurbopackLoaderFsForTests(fs) {
|
|
|
47
26
|
fsImpl = fs ?? nodeFs;
|
|
48
27
|
}
|
|
49
28
|
const epochSeenPaths = /* @__PURE__ */ new Set();
|
|
50
|
-
/**
|
|
29
|
+
/** The worker's startup inputs, captured once when it starts (SA2, SA3):
|
|
30
|
+
* no later call reads `ANIMUS_ENGINE` or `NODE_ENV`. */
|
|
31
|
+
function captureWorkerStartup() {
|
|
32
|
+
return {
|
|
33
|
+
engine: process.env.ANIMUS_ENGINE,
|
|
34
|
+
development: isTurbopackDevelopment()
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
let workerStartup = captureWorkerStartup();
|
|
38
|
+
/** @internal test seam: also captures the startup inputs again, as a new
|
|
39
|
+
* worker would. */
|
|
51
40
|
function __resetTurbopackLoaderStateForTests() {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
hydratedFileHashes = null;
|
|
41
|
+
workerStartup = captureWorkerStartup();
|
|
42
|
+
hydrations.clear();
|
|
55
43
|
epochSeenPaths.clear();
|
|
56
44
|
}
|
|
57
45
|
function readFileOrNull(path) {
|
|
@@ -62,7 +50,8 @@ function readFileOrNull(path) {
|
|
|
62
50
|
}
|
|
63
51
|
}
|
|
64
52
|
const ARTIFACT_READ_RETRIES = 5;
|
|
65
|
-
function hydrateSession(sessionDir, sessionId) {
|
|
53
|
+
function hydrateSession(key, sessionDir, sessionId) {
|
|
54
|
+
const buildId = JSON.stringify([key.build, key.root]);
|
|
66
55
|
const commitPath = analysisCommitPath(sessionDir);
|
|
67
56
|
for (let attempt = 0; attempt < ARTIFACT_READ_RETRIES; attempt++) {
|
|
68
57
|
const c0raw = readFileOrNull(commitPath);
|
|
@@ -77,12 +66,13 @@ function hydrateSession(sessionDir, sessionId) {
|
|
|
77
66
|
kind: "foreign",
|
|
78
67
|
artifactSessionId: String(c0.sessionId)
|
|
79
68
|
};
|
|
80
|
-
const
|
|
81
|
-
|
|
69
|
+
const commitKey = `${commitPath}:${contentHash(c0raw)}`;
|
|
70
|
+
const hydrated = hydrations.get(buildId);
|
|
71
|
+
if (hydrated?.commitKey === commitKey) return {
|
|
82
72
|
kind: "ok",
|
|
83
73
|
hydration: {
|
|
84
|
-
manifestJson:
|
|
85
|
-
fileHashes:
|
|
74
|
+
manifestJson: hydrated.manifestJson,
|
|
75
|
+
fileHashes: hydrated.fileHashes,
|
|
86
76
|
commitRaw: c0raw
|
|
87
77
|
}
|
|
88
78
|
};
|
|
@@ -105,14 +95,17 @@ function hydrateSession(sessionDir, sessionId) {
|
|
|
105
95
|
} catch {
|
|
106
96
|
return { kind: "torn" };
|
|
107
97
|
}
|
|
108
|
-
const { analyzeProject } =
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
98
|
+
const { analyzeProject } = engineApiFor(key)();
|
|
99
|
+
const manifestJson = analyzeProject(...buildAnalyzeProjectArgs(inputs));
|
|
100
|
+
hydrations.set(buildId, {
|
|
101
|
+
commitKey,
|
|
102
|
+
manifestJson,
|
|
103
|
+
fileHashes
|
|
104
|
+
});
|
|
112
105
|
return {
|
|
113
106
|
kind: "ok",
|
|
114
107
|
hydration: {
|
|
115
|
-
manifestJson
|
|
108
|
+
manifestJson,
|
|
116
109
|
fileHashes,
|
|
117
110
|
commitRaw: c0raw
|
|
118
111
|
}
|
|
@@ -159,7 +152,9 @@ async function runLoader(ctx, source) {
|
|
|
159
152
|
const rootDir = opts.rootDir ?? ctx.rootContext;
|
|
160
153
|
const sessionId = opts.sessionId;
|
|
161
154
|
const sessionDir = opts.sessionDir ?? (sessionId !== void 0 ? sessionArtifactDir(rootDir, sessionId) : void 0);
|
|
162
|
-
|
|
155
|
+
assertSupportedEngine(void 0, workerStartup.engine);
|
|
156
|
+
if (sessionId === void 0 || sessionDir === void 0) throw new AnimusConfigError(`[animus-extract] the Turbopack loader for ${relative(rootDir, ctx.resourcePath)} names no Animus session; it runs only as withAnimus() configures it.`);
|
|
157
|
+
const key = sessionKey(sessionId, rootDir);
|
|
163
158
|
const commitPath = analysisCommitPath(sessionDir);
|
|
164
159
|
const statusPath = analysisStatusPath(sessionDir);
|
|
165
160
|
const epochPath = replacementEpochPath(sessionDir);
|
|
@@ -184,10 +179,10 @@ async function runLoader(ctx, source) {
|
|
|
184
179
|
source,
|
|
185
180
|
filename,
|
|
186
181
|
manifestJson,
|
|
187
|
-
engineApi:
|
|
182
|
+
engineApi: engineApiFor(key),
|
|
188
183
|
opts
|
|
189
184
|
});
|
|
190
|
-
const development = opts.development ??
|
|
185
|
+
const development = opts.development ?? workerStartup.development;
|
|
191
186
|
const deliver = async (covering) => {
|
|
192
187
|
if (!development) return transform(covering.manifestJson);
|
|
193
188
|
const extended = extendedFiles(covering.manifestJson, filename);
|
|
@@ -196,6 +191,7 @@ async function runLoader(ctx, source) {
|
|
|
196
191
|
extended,
|
|
197
192
|
filename,
|
|
198
193
|
rootDir,
|
|
194
|
+
key,
|
|
199
195
|
sessionDir,
|
|
200
196
|
sessionId,
|
|
201
197
|
awaitNextCommit
|
|
@@ -204,7 +200,7 @@ async function runLoader(ctx, source) {
|
|
|
204
200
|
for (const file of lineage) ctx.addDependency?.(join(rootDir, file));
|
|
205
201
|
return transform(generation.manifestJson) + extensionLineage(lineage, generation.fileHashes);
|
|
206
202
|
};
|
|
207
|
-
const outcome = hydrateSession(sessionDir, sessionId);
|
|
203
|
+
const outcome = hydrateSession(key, sessionDir, sessionId);
|
|
208
204
|
if (outcome.kind === "foreign") throw coverageFailure(`ANIMUS_FOREIGN_SESSION: artifacts under ${sessionDir} belong to session ${outcome.artifactSessionId}, not ${sessionId} — refusing to transform from a foreign generation`);
|
|
209
205
|
if (outcome.kind === "torn") throw coverageFailure(`ANIMUS_ARTIFACT_READ_TORN: could not obtain a consistent committed artifact set for ${filename} after ${ARTIFACT_READ_RETRIES} attempts`);
|
|
210
206
|
let sourceHash = null;
|
|
@@ -215,9 +211,9 @@ async function runLoader(ctx, source) {
|
|
|
215
211
|
if (analyzedHash === sourceHash) return deliver(outcome.hydration);
|
|
216
212
|
}
|
|
217
213
|
return awaitCoverage({
|
|
218
|
-
source,
|
|
219
214
|
sourceHash: sourceHash ?? contentHash(source),
|
|
220
215
|
filename,
|
|
216
|
+
key,
|
|
221
217
|
sessionId,
|
|
222
218
|
sessionDir,
|
|
223
219
|
coverageFailure,
|
|
@@ -225,11 +221,11 @@ async function runLoader(ctx, source) {
|
|
|
225
221
|
});
|
|
226
222
|
}
|
|
227
223
|
async function awaitCoverage(args) {
|
|
228
|
-
const {
|
|
224
|
+
const { sourceHash, filename, key, sessionId, sessionDir, coverageFailure, deliver } = args;
|
|
229
225
|
const noDeadlineCap = Date.now() + CATCHUP_NO_DEADLINE_CAP_MS + CATCHUP_WAIT_MARGIN_MS;
|
|
230
226
|
let poll = CATCHUP_POLL_INITIAL_MS;
|
|
231
227
|
for (;;) {
|
|
232
|
-
const outcome = hydrateSession(sessionDir, sessionId);
|
|
228
|
+
const outcome = hydrateSession(key, sessionDir, sessionId);
|
|
233
229
|
if (outcome.kind === "foreign") throw coverageFailure(`ANIMUS_FOREIGN_SESSION: artifacts under ${sessionDir} belong to session ${outcome.artifactSessionId}, not ${sessionId}`);
|
|
234
230
|
if (outcome.kind === "ok") {
|
|
235
231
|
const analyzedHash = outcome.hydration.fileHashes.get(filename);
|
|
@@ -238,7 +234,7 @@ async function awaitCoverage(args) {
|
|
|
238
234
|
const commitPresent = outcome.kind === "ok";
|
|
239
235
|
const status = readStatus(sessionDir);
|
|
240
236
|
if (status === null) {
|
|
241
|
-
if (!commitPresent)
|
|
237
|
+
if (!commitPresent) throw coverageFailure(`ANIMUS_ANALYSIS_MISSING: no analysis exists for ${filename} in session ${sessionId}: neither a committed analysis nor an analysis status is present. Is the animus orchestrator running?`);
|
|
242
238
|
throw coverageFailure(`ANIMUS_ANALYSIS_CATCHING_UP: ${filename} is not covered by the committed analysis and no analysis-status exists for session ${sessionId} — is the animus orchestrator running?`);
|
|
243
239
|
}
|
|
244
240
|
if (status.sessionId !== sessionId) throw coverageFailure(`ANIMUS_FOREIGN_SESSION: analysis-status belongs to session ${status.sessionId}, not ${sessionId}`);
|
|
@@ -263,7 +259,7 @@ async function awaitCoverage(args) {
|
|
|
263
259
|
* its own module.
|
|
264
260
|
*/
|
|
265
261
|
async function coverExtendedFiles(args) {
|
|
266
|
-
const { covering, extended, filename, rootDir, sessionDir, sessionId } = args;
|
|
262
|
+
const { covering, extended, filename, rootDir, key, sessionDir, sessionId } = args;
|
|
267
263
|
const current = [];
|
|
268
264
|
for (const file of extended) {
|
|
269
265
|
const text = readFileOrNull(join(rootDir, file));
|
|
@@ -275,7 +271,7 @@ async function coverExtendedFiles(args) {
|
|
|
275
271
|
const noDeadlineCap = Date.now() + CATCHUP_NO_DEADLINE_CAP_MS + CATCHUP_WAIT_MARGIN_MS;
|
|
276
272
|
let poll = CATCHUP_POLL_INITIAL_MS;
|
|
277
273
|
for (;;) {
|
|
278
|
-
const outcome = hydrateSession(sessionDir, sessionId);
|
|
274
|
+
const outcome = hydrateSession(key, sessionDir, sessionId);
|
|
279
275
|
const latest = outcome.kind === "ok" ? outcome.hydration : covering;
|
|
280
276
|
if (covers(latest)) return latest;
|
|
281
277
|
const status = readStatus(sessionDir);
|
package/dist/types.d.ts
CHANGED
|
@@ -2,6 +2,13 @@ import type { DiagnosticLevels, StaticCssConfig } from '@animus-ui/extract/pipel
|
|
|
2
2
|
export interface AnimusNextOptions {
|
|
3
3
|
/** Path to a module exporting a SystemInstance from `@animus-ui/system`. */
|
|
4
4
|
system: string;
|
|
5
|
+
/** The app's directory, for a `next` run from another directory. Next
|
|
6
|
+
* passes no dir to a config module, so the app's root is the current
|
|
7
|
+
* directory without it. Its source kits and analysis read this root; under
|
|
8
|
+
* webpack, a root that is not Next's dir fails. A relative root resolves
|
|
9
|
+
* against the current directory when `withAnimus()` is called, not
|
|
10
|
+
* against `next.config`'s directory. */
|
|
11
|
+
root?: string;
|
|
5
12
|
/** Substrings, or globs when `*`/`?` present. Replaces `dist`/`.test.`/
|
|
6
13
|
* `.spec.`; `node_modules`, `.next` and `.animus` are always excluded. */
|
|
7
14
|
exclude?: string[];
|
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,gBAAgB,EAChB,eAAe,EAChB,MAAM,6BAA6B,CAAC;AAErC,MAAM,WAAW,iBAAiB;IAChC,4EAA4E;IAC5E,MAAM,EAAE,MAAM,CAAC;IACf;+EAC2E;IAC3E,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;4EACwE;IACxE,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB;;;;mDAI+C;IAC/C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B;0EACsE;IACtE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC5B;;sDAEkD;IAClD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;gBAEY;IACZ,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;yEACqE;IACrE,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B;mDAC+C;IAC/C,OAAO,CA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AAC;IAChB;;gBAEY;IACZ,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;yEACqE;IACrE,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B;mDAC+C;IAC/C,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC5B;wDACoD;IACpD,MAAM,CAAC,EAAE,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;CACnB"}
|
package/dist/with-animus.d.ts
CHANGED
|
@@ -33,6 +33,13 @@ type NextWebpackHook = (config: WebpackConfig, context: NextWebpackContext) => W
|
|
|
33
33
|
interface NextConfigBoundary {
|
|
34
34
|
webpack?: NextWebpackHook | null;
|
|
35
35
|
turbopack?: TurbopackOptions;
|
|
36
|
+
/** The legacy home of Turbopack's options, which Next still merges into
|
|
37
|
+
* `turbopack` for a config written before the key moved. */
|
|
38
|
+
experimental?: {
|
|
39
|
+
turbo?: {
|
|
40
|
+
resolveExtensions?: string[];
|
|
41
|
+
};
|
|
42
|
+
};
|
|
36
43
|
}
|
|
37
44
|
type CallableNextConfig = (...args: never[]) => NextOwnedConfig | Promise<NextOwnedConfig>;
|
|
38
45
|
export type { NextConfigBoundary as AnimusNextConfigBoundary };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-animus.d.ts","sourceRoot":"","sources":["../src/with-animus.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"with-animus.d.ts","sourceRoot":"","sources":["../src/with-animus.ts"],"names":[],"mappings":"AAwCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,KAAK,EAEV,qBAAqB,EACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EACV,UAAU,IAAI,eAAe,EAC7B,gBAAgB,EACjB,MAAM,gCAAgC,CAAC;AAKxC,KAAK,kBAAkB,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;AAE5D,UAAU,gBAAgB;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC3B;AAED,UAAU,WAAW;IACnB,IAAI,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC;IAC5C,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC;IAC/C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC1B;AAED,UAAU,aAAa;IACrB,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC/B,OAAO,CAAC,EAAE;QACR,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KAChC,CAAC;IACF,MAAM,CAAC,EAAE;QACP,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC;KACvB,CAAC;CACH;AAED,KAAK,uBAAuB,GAAG,KAC7B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAChC,MAAM,CAAC;AAEZ,UAAU,kBAAkB;IAC1B,GAAG,CAAC,EAAE,MAAM,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CAAC,CAAC;AAUjD,wBAAgB,UAAU,CACxB,OAAO,EAAE,iBAAiB,GACzB,CAAC,MAAM,SAAS,eAAe,EAChC,UAAU,EAAE,eAAe,CAAC,MAAM,CAAC,KAChC,iBAAiB,CAAC,MAAM,CAAC,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAqR3D;AASD,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,qBAAqB,EAC9B,OAAO,EAAE,MAAM,GACd,IAAI,CASN"}
|
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.26",
|
|
4
4
|
"description": "Animus static CSS extraction for Next.js (webpack)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"animus",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"compile": "tsc --noEmit"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@animus-ui/extract": "0.1.
|
|
43
|
+
"@animus-ui/extract": "0.1.26"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@animus-ui/assertions": "0.1.
|
|
46
|
+
"@animus-ui/assertions": "0.1.26"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@mdx-js/mdx": "^3.0.0",
|