Releases: drewdecarme/buttery-tools
@buttery/[email protected]
Minor Changes
-
61f5b2e: Re-architects the repository to become a modular focused repo
This changeset does a good deal of architecting to break the modules back out into their own packages. This ensures that all functionality associated with that particular tool is kept local to that package. A new package called
@buttery/core
has been added to easily distribute core modules to each of the@buttery/tools
. These tools then use the core module to transpile, build, and distribute the local scripts externally.Another package called
@buttery/cli
has been created that should be installed alongside of whatever tool is desired to use. This ensures that we're not downloading too many dependencies and makes the CLI modules opt-in rather than a "nuts and bolts" approach.
Patch Changes
- Updated dependencies [61f5b2e]
- @buttery/[email protected]
@buttery/[email protected]
Minor Changes
-
61f5b2e: Re-architects the repository to become a modular focused repo
This changeset does a good deal of architecting to break the modules back out into their own packages. This ensures that all functionality associated with that particular tool is kept local to that package. A new package called
@buttery/core
has been added to easily distribute core modules to each of the@buttery/tools
. These tools then use the core module to transpile, build, and distribute the local scripts externally.Another package called
@buttery/cli
has been created that should be installed alongside of whatever tool is desired to use. This ensures that we're not downloading too many dependencies and makes the CLI modules opt-in rather than a "nuts and bolts" approach.
Patch Changes
- Updated dependencies [61f5b2e]
- @buttery/[email protected]
- @buttery/[email protected]
@buttery/[email protected]
Minor Changes
-
61f5b2e: Re-architects the repository to become a modular focused repo
This changeset does a good deal of architecting to break the modules back out into their own packages. This ensures that all functionality associated with that particular tool is kept local to that package. A new package called
@buttery/core
has been added to easily distribute core modules to each of the@buttery/tools
. These tools then use the core module to transpile, build, and distribute the local scripts externally.Another package called
@buttery/cli
has been created that should be installed alongside of whatever tool is desired to use. This ensures that we're not downloading too many dependencies and makes the CLI modules opt-in rather than a "nuts and bolts" approach.
@buttery/[email protected]
Minor Changes
-
61f5b2e: Re-architects the repository to become a modular focused repo
This changeset does a good deal of architecting to break the modules back out into their own packages. This ensures that all functionality associated with that particular tool is kept local to that package. A new package called
@buttery/core
has been added to easily distribute core modules to each of the@buttery/tools
. These tools then use the core module to transpile, build, and distribute the local scripts externally.Another package called
@buttery/cli
has been created that should be installed alongside of whatever tool is desired to use. This ensures that we're not downloading too many dependencies and makes the CLI modules opt-in rather than a "nuts and bolts" approach.
Patch Changes
- Updated dependencies [61f5b2e]
- @buttery/[email protected]
- @buttery/[email protected]
@buttery/[email protected]
Patch Changes
-
fa36ab7: Pattern matches the route against the manifest to serve the correct static assets
This changeset adjusts the ordering of how the production request is handled in the cloudflare functions directory when you deploy a
@buttery/docs
application to Cloudflare Pages. Previously, the handler was searching for a specific namespace which led to the exclusion of specific assets (in the bugs case images). Instead, the handler now attempts to match the pathname against the buttery manifest which in turns tries to render the SSR app first instead of the other way round.// Get only the route paths const routes = Object.values(bManifest).map( (manifestEntry) => manifestEntry.routePath ); // try the route first if (routes.includes(pathname)) { try { } catch {} } // try the asset fetcher last try { const asset = await context.env.ASSETS.fetch(context.request); return asset; } catch (error) { console.error(`Error serving static file: ${pathname}`, error); return new Response("Not Found", { status: 404 }); }
If the path doesn't match anything in the buttery manifest we fallback to trying to render any static assets that we're included in the client build. Eventually we throw a 404 if we can't find anything and a 500 of the route doesn't render correctly.
@buttery/[email protected]
Minor Changes
-
61f5b2e: Re-architects the repository to become a modular focused repo
This changeset does a good deal of architecting to break the modules back out into their own packages. This ensures that all functionality associated with that particular tool is kept local to that package. A new package called
@buttery/core
has been added to easily distribute core modules to each of the@buttery/tools
. These tools then use the core module to transpile, build, and distribute the local scripts externally.Another package called
@buttery/cli
has been created that should be installed alongside of whatever tool is desired to use. This ensures that we're not downloading too many dependencies and makes the CLI modules opt-in rather than a "nuts and bolts" approach.
Patch Changes
- Updated dependencies [61f5b2e]
- @buttery/[email protected]
@buttery/[email protected]
Minor Changes
-
61f5b2e: Re-architects the repository to become a modular focused repo
This changeset does a good deal of architecting to break the modules back out into their own packages. This ensures that all functionality associated with that particular tool is kept local to that package. A new package called
@buttery/core
has been added to easily distribute core modules to each of the@buttery/tools
. These tools then use the core module to transpile, build, and distribute the local scripts externally.Another package called
@buttery/cli
has been created that should be installed alongside of whatever tool is desired to use. This ensures that we're not downloading too many dependencies and makes the CLI modules opt-in rather than a "nuts and bolts" approach.
Patch Changes
- Updated dependencies [61f5b2e]
- @buttery/[email protected]
@buttery/[email protected]
Minor Changes
-
e97b428: Adds a
components.export
script to select exports to copy into a directory of the user's choosingThis changeset adds a new CLI command that allows the user to export any components inside of the
@buttery/components
package and output them to a directory of their choosing. This allows for the user to easily export the components that they see in the documentation and use in their own project and update as needed.This changeset also addresses some issues when trying to publish the packages to the NPM registry.