diff --git a/.changeset/thin-rabbits-jump.md b/.changeset/thin-rabbits-jump.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/thin-rabbits-jump.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/apps/docs/package.json b/packages/apps/docs/package.json index 2b95a3f299..45c5c59f1b 100644 --- a/packages/apps/docs/package.json +++ b/packages/apps/docs/package.json @@ -6,9 +6,11 @@ "7d": "npx 7d pinecone-create-index --index kda-docs --environment asia-northeast1-gcp", "7d:clear": "npx 7d pinecone-clear-namespace --namespace kda-docs", "7d:ingest": "npx 7d ingest --files 'src/pages/docs/**/*.md' --files 'src/pages/docs/**/*.mdx' --files 'src/specs/**/*.json' --namespace kda-docs", - "7d:ingest-algolia-dev": "npx 7d ingest --files 'src/pages/docs/**/*.md' --files 'src/pages/docs/**/*.mdx' --files 'src/specs/**/*.json' --db algolia --namespace docs_website_dev --skip-embeddings", - "7d:ingest-algolia-prod": "OPENAI_API_KEY=dummy-key121 npx 7d ingest --files 'src/pages/docs/**/*.md' --files 'src/pages/docs/**/*.mdx' --files 'src/specs/**/*.json' --db algolia --namespace docs_website_prod --skip-embeddings", + "7d:ingest-algolia-dev": "pnpm run build:scripts && pnpm run algolia-dev", + "7d:ingest-algolia-prod": "pnpm run build:scripts && pnpm run algolia-prod", "7d:query": "npx 7d", + "algolia-dev": "ALGOLIA_INDEX_NAME=docs_website_dev OPENAI_API_KEY=dummy-key121 npx 7d ingest --files 'src/pages/docs/**/*.md' --files 'src/pages/docs/**/*.mdx' --files 'src/specs/**/*.json' --db algolia --skip-embeddings --dry-run", + "algolia-prod": "ALGOLIA_INDEX_NAME=docs_website_prod OPENAI_API_KEY=dummy-key121 npx 7d ingest --files 'src/pages/docs/**/*.md' --files 'src/pages/docs/**/*.mdx' --files 'src/specs/**/*.json' --db algolia --skip-embeddings", "build": "pnpm run build:scripts && next build", "build:blogAuthorInfo": "node src/scripts/createBlogAuthors.mjs", "build:brokenLinks": "node src/scripts/detectBrokenLinks.mjs",