Skip to content

Commit

Permalink
update search package & instruction for updating hugo modules
Browse files Browse the repository at this point in the history
  • Loading branch information
generall committed Jan 4, 2025
1 parent dcd759f commit c95f596
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 9 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
- [npm](https://www.npmjs.com/get-npm)
- [Dart Sass](https://sass-lang.com/install) - Don't use the npm package `sass` as it's a different implementation of Sass

#### Updating npm dependencies via hugo

1. Go to `qdrant-landing/themes/qdrant-2024/package.hugo.json` and configure desired versions of npm packages.
2. Run `hugo mod npm pack` to update the `qdrant-landing/themes/qdrant-2024/package.json` file from `qdrant-landing/themes/qdrant-2024` directory.
3. Go to `qdrant-landing` and run `hugo mod npm pack` again to update global `package.json` file.
4. Run `npm install` to install the updated dependencies.



## Run

```bash
Expand Down
8 changes: 4 additions & 4 deletions qdrant-landing/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion qdrant-landing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"anchor-js": "^5.0.0",
"bootstrap": "^5.3.3",
"clipboard": "^2.0.11",
"qdrant-page-search": "^1.0.10"
"qdrant-page-search": "^1.0.11"
},
"devDependencies": {
"@babel/preset-env": "^7.23.9",
Expand Down
4 changes: 2 additions & 2 deletions qdrant-landing/themes/qdrant-2024/package.hugo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"format:check": "prettier . --check"
},
"dependencies": {
"bootstrap": "^5.3.2",
"qdrant-page-search": "^1.0.10",
"bootstrap": "^5.3.3",
"qdrant-page-search": "^1.0.11",
"@splidejs/splide": "^4.1.4",
"clipboard": "^2.0.11",
"anchor-js": "^5.0.0"
Expand Down
4 changes: 2 additions & 2 deletions qdrant-landing/themes/qdrant-2024/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"dependencies": {
"@splidejs/splide": "^4.1.4",
"anchor-js": "^5.0.0",
"bootstrap": "^5.3.2",
"bootstrap": "^5.3.3",
"clipboard": "^2.0.11",
"qdrant-page-search": "^1.0.10"
"qdrant-page-search": "^1.0.11"
},
"devDependencies": {
"@babel/preset-env": "^7.23.9",
Expand Down

0 comments on commit c95f596

Please sign in to comment.