Skip to content
This repository was archived by the owner on Jan 2, 2022. It is now read-only.

Commit 9337ebc

Browse files
committed
docs(readme): add npm info
Signed-off-by: Jonah Snider <[email protected]>
1 parent daa6e71 commit 9337ebc

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

readme.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
11
# Netlify Next.js cache
22

3+
[![npm](https://img.shields.io/npm/v/netlify-plugin-cache-nextjs)](https://www.npmjs.com/package/netlify-plugin-cache-nextjs)
34
[![Build Status](https://github.com/pizzafox/netlify-cache-nextjs/workflows/CI/badge.svg)](https://github.com/pizzafox/netlify-cache-nextjs/actions)
45
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)
56

67
Cache the `.next` folder in Netlify builds.
7-
A [Netlify plugin](https://www.netlify.com/build/plugins-beta/).
8+
A [Netlify plugin](https://www.netlify.com/build/plugins-beta/) [published on npm](https://www.npmjs.com/package/netlify-plugin-cache-nextjs).
89

910
## Usage
1011

1112
This is a Netlify plugin, which will run during your Netlify builds.
1213
As of now, Netlify plugins are in closed beta.
1314
You can learn more about them, and apply for the beta [here](https://www.netlify.com/build/plugins-beta/).
1415

16+
The npm package name is [`netlify-plugin-cache-nextjs`](https://www.npmjs.com/package/netlify-plugin-cache-nextjs).
17+
18+
```yaml
19+
plugins:
20+
- type: netlify-plugin-cache-nextjs
21+
```
22+
1523
## Contributing
1624
1725
### Prequisites

0 commit comments

Comments
 (0)