@pandacss/compiler-wasm32-wasi 2.0.0-beta.18 → 2.0.0-beta.20
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/compiler.wasi.d.cts +14 -9
- package/compiler.wasm32-wasi.wasm +0 -0
- package/package.json +1 -1
package/compiler.wasi.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ export declare class Compiler {
|
|
|
9
9
|
* # Errors
|
|
10
10
|
* Returns an error if the build info fails to serialize.
|
|
11
11
|
*/
|
|
12
|
-
serializeBuildInfo(panda: string): any
|
|
12
|
+
serializeBuildInfo(panda: string, dependencies?: Array<BuildInfoDesignSystemDependency> | undefined | null): any
|
|
13
13
|
/**
|
|
14
14
|
* Low-level build-info primitive — hydrate a deserialized build info into
|
|
15
15
|
* this project (additive), optionally restricted to imported modules
|
|
@@ -25,12 +25,7 @@ export declare class Compiler {
|
|
|
25
25
|
* `buildInfo.validate` compares an artifact's `schemaVersion` against it.
|
|
26
26
|
*/
|
|
27
27
|
buildInfoSchemaVersion(): number
|
|
28
|
-
/**
|
|
29
|
-
* Generate artifacts and write them under `outdir`.
|
|
30
|
-
*
|
|
31
|
-
* # Errors
|
|
32
|
-
* Returns an error if a file fails to write.
|
|
33
|
-
*/
|
|
28
|
+
/** Generate artifacts and write them under `outdir`. */
|
|
34
29
|
writeArtifacts(options: WriteArtifactsOptions): Array<string>
|
|
35
30
|
generateArtifacts(options?: GenerateArtifactOptions | undefined | null): Array<CodegenArtifact>
|
|
36
31
|
generateArtifact(id: string, options?: GenerateArtifactOptions | undefined | null): CodegenArtifact | null
|
|
@@ -277,6 +272,16 @@ export interface Atom {
|
|
|
277
272
|
conditions: Array<string>
|
|
278
273
|
}
|
|
279
274
|
|
|
275
|
+
/** Package matching data used while recording design-system dependency imports. */
|
|
276
|
+
export interface BuildInfoDesignSystemDependency {
|
|
277
|
+
/** Published package name stored in build info. */
|
|
278
|
+
name: string
|
|
279
|
+
/** Import specifiers that resolve to this dependency. */
|
|
280
|
+
packageRoots: Array<string>
|
|
281
|
+
/** Non-component subpaths ignored by dependency tracking. */
|
|
282
|
+
excludeModules?: Array<string>
|
|
283
|
+
}
|
|
284
|
+
|
|
280
285
|
export interface CodegenArtifact {
|
|
281
286
|
id: string
|
|
282
287
|
files: Array<CodegenFile>
|
|
@@ -718,8 +723,8 @@ export interface TraceOptions {
|
|
|
718
723
|
|
|
719
724
|
export interface TransformSourceHelperFacts {
|
|
720
725
|
needsCx: boolean
|
|
721
|
-
|
|
722
|
-
|
|
726
|
+
needsAttachRecipe: boolean
|
|
727
|
+
needsMemoRecipe: boolean
|
|
723
728
|
}
|
|
724
729
|
|
|
725
730
|
export interface TransformSourceInput {
|
|
Binary file
|