panda-monorepo-setup icon indicating copy to clipboard operation
panda-monorepo-setup copied to clipboard

Panda monorepo setup examples

Panda monorepo examples

  • module-resolution: with-emit-package

  • module-resolution: with-import-map

  • module-resolution: with-import-map-package

  • module-resolution: with-outdir

  • shipping: with-build-infos

  • shipping: with-preset

  • shipping: with-src-files

  • shipping: with-static-css

module-resolution

with-emit-package

This example shows how to use the config.emitPackage option to generate the outdir (styled-system by default) in the local node_modules.

Read more

Tags: emitPackage, node_modules


with-import-map

This example shows how to use the config.importMap option to indicate where each of the outdir (styled-system by default) entrypoints should be imported from.

Read more

Tags: importMap, package.json, #imports, #exports, tsconfig, paths aliases, baseUrl


with-import-map-package

This example shows how to use the config.importMap option to indicate where each of the outdir (styled-system by default) entrypoints should be imported from.

Read more

Tags: importMap, package.json, custom entrypoints


with-outdir

This example is a very basic example showing how to ship a Panda preset

This is the same example as shipping/with-preset

Read more

Tags: simple, default, styled-system


shipping

with-build-infos

This example shows how to use the panda ship command to easily ship your library styles without having to expose your library source code.

Read more

Tags: panda.buildinfo.json, panda ship, include, src, files, dist, publish, expose


with-preset

This example is a very basic example showing how to ship a Panda preset

This is the same example as module-resolution/with-outdir

Read more

Tags: simple, default, styled-system, design-system


with-src-files

This example shows how to use the to easily ship your library specific styles

Read more

Tags: include, src, files, dist, publish, expose


with-static-css

This example shows how to use the config.staticCss to generate a static CSS file from your config, so that even non-Panda users can use your library.

Read more

Tags: static, staticCss, css, dist, publish, expose, without, no build-step, dynamic