Skip to content

Commit

Permalink
Add main readme
Browse files Browse the repository at this point in the history
  • Loading branch information
f-elix committed Apr 24, 2024
1 parent 813629d commit 05a7143
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 20 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 288 Toolkit

[!IMPORTANT] These packages only export typescript and svelte files. It is on the consumer of the
packages to compile those files to javascript.

This is a collection of package that Deux Huit Huit uses to build websites. They are meant to be
used with Svelte, Sveltekit and Craft CMS.

## Packages

- [@288-toolkit/dates](./packages/dates/README.md)
- [@288-toolkit/format](./packages/format/README.md)
- [@288-toolkit/forms](./packages/forms/README.md)
- [@288-toolkit/http](./packages/http/README.md)
- [@288-toolkit/i18n](./packages/i18n/README.md)
- [@288-toolkit/pagination](./packages/pagination/README.md)
- [@288-toolkit/slideshow](./packages/slideshow/README.md)
- [@288-toolkit/timeout](./packages/timeout/README.md)
- [@288-toolkit/typed-context](./packages/typed-context/README.md)
- [@288-toolkit/types](./packages/types/README.md)
- [@288-toolkit/ui](./packages/ui/README.md)
2 changes: 0 additions & 2 deletions packages/dates/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Dates

[!IMPORTANT] This package only exports typescript files.

A collection of functions to manipulate dates.

## `parseLocalDates`
Expand Down
2 changes: 0 additions & 2 deletions packages/format/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Format

[!IMPORTANT] This package only exports typescript files.

A collection of functions to format data.

## `date`
Expand Down
2 changes: 0 additions & 2 deletions packages/forms/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Forms

[!IMPORTANT] This package only exports typescript files.

A collection of functions, actions and stores to build forms.

## `requestSubmit`
Expand Down
2 changes: 1 addition & 1 deletion packages/http/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Http

[!IMPORTANT] This package only exports typescript files.
A collection of functions to work with http.
2 changes: 0 additions & 2 deletions packages/i18n/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# i18n

[!IMPORTANT] This package only exports typescript files.

## i18n handles

You can create three i18n handles with the `createI18nHandles` function:
Expand Down
2 changes: 1 addition & 1 deletion packages/pagination/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Pagination

[!IMPORTANT] This package only exports typescript files.
Svelte components to manage pagination.

## `Pagination.svelte`

Expand Down
2 changes: 0 additions & 2 deletions packages/slideshow/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Slideshow

[!IMPORTANT] This package only exports typescript files.

A slideshow component.

## `Slideshow.svelte`
Expand Down
2 changes: 0 additions & 2 deletions packages/timeout/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Timeout

[!IMPORTANT] This package only exports typescript files.

A collection of function for timeouts.

## `sleep`
Expand Down
2 changes: 0 additions & 2 deletions packages/typed-context/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Typed-context

[!IMPORTANT] This package only exports typescript files.

Wraps typed versions of Svelte's `getContext` and `setContext` functions with the provided type
argument and context key.

Expand Down
2 changes: 0 additions & 2 deletions packages/ui/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Ui

[!IMPORTANT] This package only exports typescript files.

A collection of functions, actions and stores to manipulate ui.

## `$mounted`
Expand Down
2 changes: 0 additions & 2 deletions scripts/make-pkg.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ const PACKAGE_JSON_CONTENT = `

const README_CONTENT = `
# ${capitalize(pkgName)}
[!IMPORTANT] This package only exports typescript files.
`;

const TSCONFIG_CONTENT = `
Expand Down

0 comments on commit 05a7143

Please sign in to comment.