Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -190,3 +190,4 @@ dist
!.yarn/sdks
!.yarn/versions
./website/build
.cursor/hooks/state
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist
1 change: 1 addition & 0 deletions documentation/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist
9 changes: 8 additions & 1 deletion documentation/src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@ const operators = defineCollection({
title: z.string(),
description: z.string().optional(),
slug: z.string(),
group: z.enum(['predicate', 'effect', 'timeouts', 'combination', 'debug']),
group: z.enum([
'predicate',
'control',
'effect',
'timeouts',
'combination',
'debug',
]),
badge: z
.object({
variant: z
Expand Down
2 changes: 1 addition & 1 deletion documentation/src/content/docs/guides/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: A guide how to use effector with patronum.

import { PackageManagers } from 'starlight-package-managers';

<PackageManagers pkg='patronum' frame='none' />
<PackageManagers pkg="patronum" frame="none" />

## Usage

Expand Down
23 changes: 12 additions & 11 deletions documentation/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,20 @@ import { Card, CardGrid } from '@astrojs/starlight/components';
## Next steps

<CardGrid>
<Card title='Powerful' icon='rocket'>
Patronum enhances your workflows with powerful, reusable operators that streamline complex state management tasks.
<Card title="Powerful" icon="rocket">
Patronum enhances your workflows with powerful, reusable operators that streamline
complex state management tasks.
</Card>
<Card title='Type-Safe' icon='seti:typescript'>
Leverage fully type-safe functions with effector patronum to ensure robustness and prevent runtime errors in your
application.
<Card title="Type-Safe" icon="seti:typescript">
Leverage fully type-safe functions with effector patronum to ensure robustness and
prevent runtime errors in your application.
</Card>
<Card title='Seamless Integration' icon='setting'>
Patronum integrates effortlessly with your existing effector logic, adding modularity without the need for extensive
refactoring.
<Card title="Seamless Integration" icon="setting">
Patronum integrates effortlessly with your existing effector logic, adding
modularity without the need for extensive refactoring.
</Card>
<Card title='Tree Shaking Friendly' icon='heart'>
Patronum is designed with tree shaking in mind, ensuring that your bundle size remains minimal by including only the
code you actually use.
<Card title="Tree Shaking Friendly" icon="heart">
Patronum is designed with tree shaking in mind, ensuring that your bundle size
remains minimal by including only the code you actually use.
</Card>
</CardGrid>
Loading
Loading