Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: publish v0.0.5 #24

Merged
merged 1 commit into from
Feb 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions docs/.stylelintrc.js

This file was deleted.

27 changes: 12 additions & 15 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,18 @@ const config = {
...args
}) {
const allInternal = [];
const filterInternal = (items) => {
return items.filter(item => {
const isInternal = item.label?.includes("internal");
if (isInternal) {
allInternal.push(item);
}
return !isInternal;
}).map((item) => {
const { items, ...rest } = item;
if (items && Array.isArray(items)) {
return { ...item, items: filterInternal(item.items) }
}
return item;
});
}
const filterInternal = (items) => items.filter(item => {
const isInternal = item.label?.includes("internal");
if (isInternal) {
allInternal.push(item);
}
return !isInternal;
}).map((item) => {
if (item.items && Array.isArray(item.items)) {
return { ...item, items: filterInternal(item.items) }
}
return item;
});
const sidebarItems = await defaultSidebarItemsGenerator(args);
const filtered = filterInternal(sidebarItems)
if (allInternal.length > 0) {
Expand Down
3 changes: 1 addition & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"ci": "yarn lint && yarn format:diff",
"lint": "eslint --cache \"**/*.js\" && stylelint \"**/*.css\"",
"lint": "eslint --cache \"**/*.js\"",
"format": "prettier --config .prettierrc --write \"**/*.{js,jsx,ts,tsx,md,mdx}\"",
"format:diff": "prettier --config .prettierrc --list-different \"**/*.{js,jsx,ts,tsx,md,mdx}\""
},
Expand All @@ -39,7 +39,6 @@
"openai": "^3.1.0",
"prettier": "^2.7.1",
"serpapi": "^1.1.1",
"stylelint": "^14.9.1",
"typedoc": "^0.23.25",
"typedoc-plugin-markdown": "^3.14.0",
"typedoc-plugin-missing-exports": "^1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion langchain/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "langchain",
"version": "0.0.4",
"version": "0.0.5",
"description": "Typescript bindings for langchain",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
Expand Down
Loading