0.29.0 • Published 5 months ago
@date-fns/docs v0.29.0
date-fns documentation utilities & types
This library is used to load docs into the database and provide a schema for the website.
Usage
The package is integrated into the date-fns build and release scripts, but if you need to run it manually, use the following instructions:
- To generate the date-fns docs, start by installing the latest version:
npm i -D @date-fns/docs@latest
- Then generate TypeDoc JSON file (
tmp/docs.json
):
npx typedoc
- Then, upload the docs to the Firebase with the path to the service key:
env GOOGLE_APPLICATION_CREDENTIALS="secrets/$APP_ENV/key.json" npx date-fns-docs docs/config.js
Replace $APP_ENV
with either staging
or production
.
Contributing
When working locally, to upload the docs follow the instructions:
- In the date-fns library source directory generate TypeDoc JSON file (
tmp/docs.json
):
npx typedoc
- Rollback the docs for the current version for 1+n run to avoid having duplicates:
env GOOGLE_APPLICATION_CREDENTIALS="../date-fns/secrets/staging/key.json" npx tsx ./src/bin.ts ../date-fns/docs/config.js --rollback
- Then upload the docs to the Firebase:
env GOOGLE_APPLICATION_CREDENTIALS="../date-fns/secrets/staging/key.json" npx tsx ./src/bin.ts ../date-fns/docs/config.js
License
0.29.0
5 months ago
0.28.0
5 months ago
0.27.0
5 months ago
0.26.0
6 months ago
0.25.0
1 year ago
0.21.0
1 year ago
0.20.0
1 year ago
0.19.0
1 year ago
0.13.0
1 year ago
0.14.0
1 year ago
0.13.1
1 year ago
0.15.0
1 year ago
0.16.0
1 year ago
0.17.0
1 year ago
0.18.0
1 year ago
0.24.0
1 year ago
0.23.0
1 year ago
0.22.0
1 year ago
0.21.1
1 year ago
0.12.1
1 year ago
0.12.0
1 year ago
0.11.1
1 year ago
0.11.0
1 year ago
0.10.0
1 year ago
0.9.4
1 year ago
0.9.3
1 year ago
0.9.2
1 year ago
0.9.1
1 year ago
0.9.0
1 year ago
0.8.1
1 year ago
0.8.0
1 year ago
0.7.1
1 year ago
0.7.0
1 year ago
0.6.0
1 year ago
0.5.0
1 year ago
0.4.0
1 year ago
0.3.0
1 year ago
0.2.0
1 year ago
0.1.0
1 year ago