@nlxai/touchpoint-ui 1.0.4 → 1.0.5-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nlxai/touchpoint-ui",
3
- "version": "1.0.4",
3
+ "version": "1.0.5-alpha.0",
4
4
  "description": "Web UI for Touchpoint",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -13,18 +13,18 @@
13
13
  "dev": "vite",
14
14
  "design-system": "vite --mode design-system",
15
15
  "build": "tsc && vite build",
16
- "docs": "echo \"todo\"",
16
+ "docs": "rm -rf docs/ && typedoc && concat-md --decrease-title-levels --dir-name-as-title docs/ > docs/index.md",
17
17
  "lint:check": "eslint src/ --ext .ts,.tsx,.js,.jsx --max-warnings 0",
18
18
  "prepublish": "npm run build",
19
19
  "lint": "eslint src/ --ext .ts,.tsx,.js,.jsx --fix",
20
20
  "format": "git ls-files | grep -E '\\.(js|jsx|ts|tsx|css|html)$' | xargs prettier --write",
21
- "preview-docs": "echo \"todo\"",
22
- "publish-docs": "echo \"todo\"",
23
- "test": "echo \"todo\"",
21
+ "preview-docs": "npm run docs && comrak --unsafe --gfm -o docs/index.html docs/index.md && open docs/index.html",
22
+ "publish-docs": "npm run docs && mv docs/index.md ../website/src/content/touchpoint-ui-api-reference.md",
23
+ "test": "typedoc --emit none",
24
24
  "tsc": "tsc"
25
25
  },
26
26
  "dependencies": {
27
- "@nlxai/chat-core": "^1.0.4",
27
+ "@nlxai/chat-core": "^1.0.5-alpha.0",
28
28
  "@react-hookz/web": "^25.0.1",
29
29
  "@react-input/mask": "^2.0.4",
30
30
  "clsx": "^2.1.1",
@@ -56,5 +56,5 @@
56
56
  "publishConfig": {
57
57
  "access": "public"
58
58
  },
59
- "gitHead": "27ff05880575d5e4656c5d22dd85d29e9490d9d2"
59
+ "gitHead": "97ea824c481708936aae75fb9a051ec0e651ea39"
60
60
  }
package/typedoc.cjs ADDED
@@ -0,0 +1,14 @@
1
+ /** @type { import('typedoc').TypeDocOptions & { hideInPageTOC?: boolean, hideBreadcrumbs?: boolean} } */
2
+ module.exports = {
3
+ excludeExternals: true,
4
+ entryPoints: ["./src/index.tsx"],
5
+ hideBreadcrumbs: true,
6
+ hideInPageTOC: true,
7
+ out: "docs",
8
+ plugin: ["typedoc-plugin-markdown"],
9
+ readme: "none",
10
+ sort: ["source-order", "kind", "instance-first", "alphabetical"],
11
+ treatValidationWarningsAsErrors: true,
12
+ treatWarningsAsErrors: true,
13
+ validation: { notExported: true, invalidLink: true, notDocumented: true },
14
+ };