From 98799f810d44f4fb4747cf7d211a457d0ea0906c Mon Sep 17 00:00:00 2001 From: zbeyens Date: Fri, 8 Dec 2023 22:48:13 +0100 Subject: [PATCH] init --- .gitignore | 2 ++ .nvmrc | 1 - package.json | 2 ++ scripts/typedoc.json | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 6499ec3..643eba0 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,8 @@ packages/cli/components !.yarn/sdks !.yarn/versions +typedoc + **/.netrc # Generated files diff --git a/.nvmrc b/.nvmrc index a1390e3..1a2f5bd 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1,2 +1 @@ -# latest lts version lts/* \ No newline at end of file diff --git a/package.json b/package.json index 31b8328..76d710a 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "lint:fix": "yarn g:lint:fix", "test": "yarn g:test", "typecheck": "yarn g:typecheck", + "typedoc": "npx typedoc --options scripts/typedoc.json", "release": "yarn build && yarn changeset publish", "g:brl": "turbo --filter \"./packages/**\" brl --no-daemon", "g:build": "turbo --filter \"./packages/**\" build --no-daemon", @@ -100,6 +101,7 @@ "tsup": "8.0.1", "turbo": "^1.11.0", "turbowatch": "2.29.4", + "typedoc": "^0.25.4", "typescript": "5.3.3" }, "packageManager": "yarn@4.0.2", diff --git a/scripts/typedoc.json b/scripts/typedoc.json index 1b78560..520da64 100644 --- a/scripts/typedoc.json +++ b/scripts/typedoc.json @@ -11,5 +11,5 @@ "entryPoints": ["../packages/jotai-x/src/index.ts"], "out": "../typedoc", "tsconfig": "../packages/jotai-x/tsconfig.json", - "readme": "./README.md" + "readme": "../README.md" }