Minor Changes
-
aad2017: Add
--outdirtopanda cssgen, so--splittingcan write its files somewhere you publish instead of only
the configuredoutdir. Passing--outfilealongside--splittingnow says it's ignored rather than dropping it
silently. -
048c70c:
panda codegenno longer writesstyled-system/specs/design-system.json. Pass--specto get it. Nothing
else in the build reads the file, and on a config with a few hundred semantic tokens it was about half of codegen
time.--specworks oncodegen,buildandlib. Add a path to put it somewhere else:panda codegen --spec=meta.json.
panda lib --specwrites it besidepreset.mjsso you can ship it with a design system. -
4db4f75:
panda lib --specnow records the spec inpanda/lib.jsonasspec, relative to the manifest likepreset
andbuildInfo. Tooling that reads the manifest can tell whether a package shipped one instead of trying the path.A
--specpath that package.jsonfileswould not publish is left out with adesign_system_spec_not_publishable
warning, so the manifest never points at a file that did not ship. -
c014979: The design system spec now says where each token came from.
--specgives every token asourceindex into
a newsources.entrieslist of the presets and configs that contributed.This answers "is this token ours or the parent design system's" without reproducing Panda's merge order — useful when
a product package builds on a shared one.
Patch Changes
- 4466ac3: Pin the presets
panda initinstalls to the CLI's own version. An unpinned install resolved thelatest
tag, so a v2 prerelease project got v1 presets. - c5c4e2b: Keep the
node:prefix on built-in imports in the published output. tsup was stripping it, so Deno refused
to load Panda's files directly withImport "child_process" not a dependency. - Updated dependencies [c9dd0f0]
- Updated dependencies [7e328bd]
- Updated dependencies [c9dd0f0]
- Updated dependencies [c5c4e2b]
- Updated dependencies [006e5c0]
- Updated dependencies [048c70c]
- Updated dependencies [4db4f75]
- Updated dependencies [8bbb6bb]
- Updated dependencies [c014979]
- Updated dependencies [c09573a]
- Updated dependencies [c9dd0f0]
- @pandacss/compiler@2.0.0-beta.18
- @pandacss/compiler-shared@2.0.0-beta.18
- @pandacss/config@2.0.0-beta.18
- @pandacss/types@2.0.0-beta.18