tidewave 0.1.0 → 0.3.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": "tidewave",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "Tidewave JavaScript CLI for documentation extraction and MCP server",
5
5
  "keywords": [
6
6
  "typescript",
@@ -22,6 +22,24 @@
22
22
  "bin": {
23
23
  "tidewave": "dist/cli/index.js"
24
24
  },
25
+ "types": "dist/index.d.ts",
26
+ "exports": {
27
+ ".": {
28
+ "types": "./dist/index.d.ts",
29
+ "import": "./dist/index.js",
30
+ "require": "./dist/index.js"
31
+ },
32
+ "./vite-plugin": {
33
+ "types": "./dist/vite-plugin.d.ts",
34
+ "import": "./dist/vite-plugin.js",
35
+ "require": "./dist/vite-plugin.js"
36
+ },
37
+ "./next-js": {
38
+ "types": "./dist/next-js.d.ts",
39
+ "import": "./dist/next-js.js",
40
+ "require": "./dist/next-js.js"
41
+ }
42
+ },
25
43
  "files": [
26
44
  "dist/",
27
45
  "README.md",
@@ -29,7 +47,9 @@
29
47
  "CHANGELOG.md"
30
48
  ],
31
49
  "scripts": {
32
- "dist": "bun build --outdir dist --root src --external commander --external chalk --external typescript src/**/*.ts",
50
+ "dist": "bun run clean && bun run build:js && bun run build:types",
51
+ "build:js": "bun build --outdir dist --root src --external commander --external chalk --external typescript src/**/*.ts src/*.ts --target node",
52
+ "build:types": "tsc -p tsconfig.declarations.json",
33
53
  "dev": "bun run src/cli/index.ts",
34
54
  "test": "bun test",
35
55
  "lint": "eslint src/ --ext .ts,.js",
@@ -41,14 +61,18 @@
41
61
  },
42
62
  "dependencies": {
43
63
  "@modelcontextprotocol/sdk": "^1.17.4",
64
+ "body-parser": "^2.2.0",
44
65
  "chalk": "^5.3.0",
45
66
  "commander": "^12.1.0",
67
+ "connect": "^3.7.0",
46
68
  "typescript": "^5",
47
69
  "zod": "3.25.76"
48
70
  },
49
71
  "devDependencies": {
50
72
  "@eslint/js": "^9.16.0",
73
+ "@types/body-parser": "^1.19.6",
51
74
  "@types/bun": "latest",
75
+ "@types/connect": "^3.4.38",
52
76
  "@types/node": "^22.10.1",
53
77
  "@typescript-eslint/eslint-plugin": "^8.18.0",
54
78
  "@typescript-eslint/parser": "^8.18.0",
@@ -56,7 +80,9 @@
56
80
  "bun-types": "latest",
57
81
  "eslint": "^9.16.0",
58
82
  "globals": "^15.14.0",
83
+ "next": "^15.5.3",
59
84
  "prettier": "^3.4.2",
85
+ "vite": "^7.1.5",
60
86
  "vitest": "^3.2.4"
61
87
  },
62
88
  "peerDependencies": {