Commit Graph

2 Commits

Author SHA1 Message Date
Konstantin Pavlov e2d6a6e4d1
site: update npm dependencies (#2062)
## Issue
Node version requirement (20+) is not well documented. `npm audit`
detected 3 vulnerabilities.

## Change
Run `npm audit fix & npm up`

- Updated the Node.js version requirement to 20 in package.json and
introduced a .nvmrc file for Node Version Manager compatibility. Added
instructions in the README for using nvm to manage Node versions.
- Updated `node` version requirement to >=20.0 and updated several
package versions to their latest releases. Removed unused
`fast-url-parser` and `punycode` dependencies from the
`package-lock.json` to clean up the project.
- Update dependencies in package-lock.json for Algolia packages
- Upgraded various Algolia-related dependencies to their respective
latest versions. This includes packages like
`@algolia/autocomplete-core`, `@algolia/client-common`, and several
others to ensure compatibility and new feature integration.
- Now npm audit fix found 0 vulnerabilities

## General checklist
- [x] There are no breaking changes
- [ ] I have added unit and integration tests for my change
- [x] I have manually run all the unit and integration tests in the
module I have added/changed, and they are all green
- [ ] I have manually run all the unit and integration tests in the
[core](https://github.com/langchain4j/langchain4j/tree/main/langchain4j-core)
and
[main](https://github.com/langchain4j/langchain4j/tree/main/langchain4j)
modules, and they are all green
- [ ] I have added/updated the
[documentation](https://github.com/langchain4j/langchain4j/tree/main/docs/docs)
- [ ] I have added an example in the [examples
repo](https://github.com/langchain4j/langchain4j-examples) (only for
"big" features)
- [ ] I have added/updated [Spring Boot
starter(s)](https://github.com/langchain4j/langchain4j-spring) (if
applicable)
2024-11-12 08:17:38 +01:00
Amith Koujalgi a0c63b611e
Added skeleton structure for docs (#458)
Hi @LizeRaes,

In reference to
[this](https://github.com/langchain4j/langchain4j/discussions/429#discussioncomment-8025023),
I've added the skeleton structure for documentation under the `docs`
directory.

I've also updated the `README.md` under the `docs` directory to help in
setting up and running the docs.

It's straightforward to set up and run the docs locally to get a feel
for its appearance.

I've also attached a few screenshots of the pages to get a quick look at
the appearance.

Please have a look and do let me know what you think. Thanks!


**_Sample Images:_**

- Docs: Home/Landing Page

<img width="1792" alt="1"
src="https://github.com/langchain4j/langchain4j/assets/1876165/c2ff1bf3-a412-4d86-be0d-9937936ec533">

- Docs: Inner Page Sample

<img width="1792" alt="2"
src="https://github.com/langchain4j/langchain4j/assets/1876165/9166df41-f16a-4bff-a3ca-145364be475c">

- Docs: Sample Blog

<img width="1792" alt="3"
src="https://github.com/langchain4j/langchain4j/assets/1876165/44dc1e7c-f669-4806-acfe-8fc2c3d2f59b">

Co-authored-by: Amith Koujalgi <amith.koujalgi@razorthink.com>
2024-01-06 04:01:35 +01:00