Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

Commit 3bd9d8a

Browse files
fix missing package.json
1 parent 166d134 commit 3bd9d8a

2 files changed

Lines changed: 56 additions & 1 deletion

File tree

dist/package.json

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"name": "moodle-openapi-server",
3+
"version": "1.0.3",
4+
"description": "Moddle OpenAPI server",
5+
"private": true,
6+
"type": "module",
7+
"bin": {
8+
"moodle-openapi-server": "./dist/index.js"
9+
},
10+
"files": ["dist"],
11+
"scripts": {
12+
"build": "tsgo && ts-add-js-extension --dir=dist && cp package.json dist/package.json",
13+
"bundle": "bun build src/server.ts --outfile=dist/server.bundle.js",
14+
"build:binary": "bun build src/server.ts --compile --outfile=dist/server",
15+
"build:docker": "docker build --build-arg GITHUB_TOKEN=${GITHUB_TOKEN} -t moodle-openapi-server .",
16+
"typecheck": "tsgo --noEmit",
17+
"dev": "bun --watch src/server.ts",
18+
"dev:mcp": "bun --watch src/index.ts",
19+
"dev:all": "concurrently \"pnpm dev\" \"pnpm dev:mcp\"",
20+
"start:all": "concurrently \"bun dist/src/server.js\" \"bun dist/src/index.js\"",
21+
"start": "bun dist/server.bundle.js",
22+
"inspect": "fastmcp inspect src/index.ts"
23+
},
24+
"peerDependencies": {
25+
"@toptiertools/moodle-client": "^1.0.8",
26+
"zod": "^3.24.4"
27+
},
28+
"dependencies": {
29+
"@dotenvx/dotenvx": "^1.44.1",
30+
"@total-typescript/ts-reset": "^0.6.1",
31+
"concurrently": "^8.2.2",
32+
"es-toolkit": "^1.39.1",
33+
"fastmcp": "^1.27.7",
34+
"hono": "^4.7.11"
35+
},
36+
"devDependencies": {
37+
"@apiture/openapi-down-convert": "^0.14.1",
38+
"@biomejs/biome": "^1.9.4",
39+
"@kubb/cli": "^3.10.12",
40+
"@kubb/core": "^3.10.12",
41+
"@kubb/plugin-oas": "^3.10.12",
42+
"@kubb/plugin-zod": "^3.10.12",
43+
"@types/bun": "^1.2.15",
44+
"@types/node": "^20.19.0",
45+
"@typescript/native-preview": "7.0.0-dev.20250606.1",
46+
"api-spec-converter": "^2.12.0",
47+
"esbuild": "^0.25.5",
48+
"openapi-types": "^12.1.3",
49+
"ts-add-js-extension": "^1.6.6",
50+
"tsx": "^4.19.4",
51+
"typescript": "^5.8.3",
52+
"yaml": "^2.8.0",
53+
"zx": "^8.5.5"
54+
}
55+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"files": ["dist"],
1111
"scripts": {
12-
"build": "tsgo && ts-add-js-extension --dir=dist",
12+
"build": "tsgo && ts-add-js-extension --dir=dist && cp package.json dist/package.json",
1313
"bundle": "bun build src/server.ts --outfile=dist/server.bundle.js",
1414
"build:binary": "bun build src/server.ts --compile --outfile=dist/server",
1515
"build:docker": "docker build --build-arg GITHUB_TOKEN=${GITHUB_TOKEN} -t moodle-openapi-server .",

0 commit comments

Comments
 (0)