Skip to content

Commit

Permalink
feat(eleventy-plugin-text-to-speech): allow hosting audio files on Cl…
Browse files Browse the repository at this point in the history
…oud Storage
  • Loading branch information
jackdbd committed Jul 7, 2022
1 parent f394317 commit b11878a
Show file tree
Hide file tree
Showing 17 changed files with 1,174 additions and 100 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.3.0
74 changes: 73 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,79 @@
# undici

Build all libraries and the demo 11ty site in watch mode:
![CI workflow](https://github.com/jackdbd/undici/actions/workflows/ci.yaml/badge.svg)
![release workflow](https://github.com/jackdbd/undici/actions/workflows/release.yaml/badge.svg)

Monorepo for my [Eleventy](https://www.11ty.dev/) plugins.

> 📦 **CJS only:**
>
> All libraries of this monorepo are published to npmjs as CommonJS.
>
> At the moment no one of these packages has a ESM build.
>
> - [Eleventy issue #836](https://github.com/11ty/eleventy/issues/836)
## Installation

Clone the repo:

```shell
git clone [email protected]:jackdbd/undici.git

cd undici
```

Install all dependencies from npm.js and setup git hooks with [husky](https://typicode.github.io/husky/):

```sh
npm install
```

## Development

This monorepo uses [Typescript project references](https://www.typescriptlang.org/docs/handbook/project-references.html) to build all of its libraries.

Build all libraries (i.e. 11ty plugins):

```sh
npm run build:libs
```

Build the demo 11ty site:


```sh
npm run build:site
```

Build all libraries and the demo site:


```sh
npm run build
```

Serve the demo site:

```sh
npm run serve:site
```

Build all libraries and the demo site, both in watch mode, and serve the demo site:

```sh
npm run dev
```
Note: you will still need to refresh the browser.

## Test

Run all tests on all packages:

```sh
npm run test
```

## Monorepo management

See [scripts](./scripts/README.md).
Loading

0 comments on commit b11878a

Please sign in to comment.