From fb9715c5ffd19a4e03f0c9737395888a0e88d950 Mon Sep 17 00:00:00 2001 From: wackerow <54227730+wackerow@users.noreply.github.com> Date: Fri, 20 Mar 2026 11:16:24 -0700 Subject: [PATCH] fix: docsearch/css dependency issue, initial env Adds @docsearch/css as direct dependency to fix issues on initial repo setup Updates README with explicit instructions for setting up initial .env.local template --- README.md | 6 ++++++ package.json | 1 + pnpm-lock.yaml | 12 ++++++++++-- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0dbe699ef4c..563a4695019 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,12 @@ pnpm install > Note: On Ubuntu or Debian you may need to run `sudo apt update && sudo apt install nodejs npm` before running `corepack enable` or `pnpm install`. +4. Set up environment variables + +```sh +cp .env.example .env.local +``` + #### Migrating from yarn to pnpm If you previously used `yarn` to install dependencies, you can safely migrate to `pnpm` by running the following commands: diff --git a/package.json b/package.json index 3df23e9fe3b..a808c0a7158 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "dependencies": { "@aws-sdk/client-s3": "^3.982.0", "@aws-sdk/client-ses": "^3.859.0", + "@docsearch/css": "^4.6.0", "@docsearch/react": "^3.5.2", "@hookform/resolvers": "^3.8.0", "@netlify/blobs": "^10.4.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c1e3632774b..3110bf6ddb9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,6 +21,9 @@ importers: '@aws-sdk/client-ses': specifier: ^3.859.0 version: 3.859.0 + '@docsearch/css': + specifier: ^4.6.0 + version: 4.6.0 '@docsearch/react': specifier: ^3.5.2 version: 3.9.0(@algolia/client-search@5.25.0)(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(search-insights@2.17.3) @@ -1347,6 +1350,9 @@ packages: '@docsearch/css@3.9.0': resolution: {integrity: sha512-cQbnVbq0rrBwNAKegIac/t6a8nWoUAn8frnkLFW6YARaRmAQr5/Eoe6Ln2fqkUCZ40KpdrKbpSAmgrkviOxuWA==} + '@docsearch/css@4.6.0': + resolution: {integrity: sha512-YlcAimkXclvqta47g47efzCM5CFxDwv2ClkDfEs/fC/Ak0OxPH2b3czwa4o8O1TRBf+ujFF2RiUwszz2fPVNJQ==} + '@docsearch/react@3.9.0': resolution: {integrity: sha512-mb5FOZYZIkRQ6s/NWnM98k879vu5pscWqTLubLFBO87igYYT4VzVazh4h5o/zCvTIZgEt3PvsCOMOswOUo9yHQ==} peerDependencies: @@ -11974,6 +11980,8 @@ snapshots: '@docsearch/css@3.9.0': {} + '@docsearch/css@4.6.0': {} + '@docsearch/react@3.9.0(@algolia/client-search@5.25.0)(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(search-insights@2.17.3)': dependencies: '@algolia/autocomplete-core': 1.17.9(@algolia/client-search@5.25.0)(algoliasearch@5.25.0)(search-insights@2.17.3) @@ -17420,7 +17428,7 @@ snapshots: browserify-rsa@4.1.1: dependencies: - bn.js: 5.2.2 + bn.js: 5.2.3 randombytes: 2.1.0 safe-buffer: 5.2.1 @@ -20358,7 +20366,7 @@ snapshots: miller-rabin@4.0.1: dependencies: - bn.js: 4.12.2 + bn.js: 4.12.3 brorand: 1.1.0 mime-db@1.52.0: {}