pdfx-cli 0.0.1 → 0.4.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,17 +1,65 @@
1
1
  {
2
2
  "name": "pdfx-cli",
3
- "version": "0.0.1",
4
- "description": "The PDF component library React was missing. shadcn/ui model for React PDF generation.",
5
- "main": "index.js",
3
+ "version": "0.4.0",
4
+ "description": "CLI for PDFx components",
5
+ "type": "module",
6
6
  "bin": {
7
- "pdfx": "./index.js"
7
+ "pdfx": "./dist/index.js",
8
+ "pdfx-cli": "./dist/index.js"
8
9
  },
9
- "keywords": ["pdf", "react", "shadcn", "pdfx", "react-pdf"],
10
- "author": "Akash Pise",
11
- "license": "MIT",
12
- "homepage": "https://pdfx.akashpise.dev",
13
- "repository": {
14
- "type": "git",
15
- "url": "https://github.com/akii09/pdfx"
10
+ "main": "./dist/index.js",
11
+ "types": "./dist/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.js"
16
+ },
17
+ "./mcp": {
18
+ "types": "./dist/mcp/index.d.ts",
19
+ "import": "./dist/mcp/index.js"
20
+ }
21
+ },
22
+ "files": [
23
+ "dist",
24
+ "README.md"
25
+ ],
26
+ "dependencies": {
27
+ "commander": "^12.1.0",
28
+ "chalk": "^5.3.0",
29
+ "ora": "^8.1.1",
30
+ "prompts": "^2.4.2",
31
+ "semver": "^7.6.3",
32
+ "execa": "^9.5.2",
33
+ "typescript": "^5.9.3",
34
+ "@modelcontextprotocol/sdk": "^1.12.0",
35
+ "dedent": "^1.6.0",
36
+ "zod": "^3.24.0",
37
+ "zod-to-json-schema": "^3.24.6"
38
+ },
39
+ "devDependencies": {
40
+ "@types/node": "^22.15.21",
41
+ "@types/prompts": "^2.4.9",
42
+ "@types/semver": "^7.5.8",
43
+ "tsup": "^8.5.1",
44
+ "vitest": "^2.1.8",
45
+ "rimraf": "^6.0.1",
46
+ "@pdfx/shared": "0.1.0"
47
+ },
48
+ "engines": {
49
+ "node": ">=20.0.0"
50
+ },
51
+ "publishConfig": {
52
+ "access": "public",
53
+ "registry": "https://registry.npmjs.org/",
54
+ "provenance": false
55
+ },
56
+ "scripts": {
57
+ "build": "tsup",
58
+ "dev": "tsup --watch",
59
+ "clean": "rimraf dist",
60
+ "test": "vitest run --passWithNoTests",
61
+ "lint": "biome check src/",
62
+ "typecheck": "tsc --noEmit",
63
+ "mcp:inspect": "pnpm dlx @modelcontextprotocol/inspector node dist/index.js mcp"
16
64
  }
17
- }
65
+ }
package/README.md DELETED
@@ -1,10 +0,0 @@
1
- # pdfx-cli
2
-
3
- shadcn/ui model for React PDF generation.
4
-
5
- > This package is being migrated here from @akii09/pdfx-cli.
6
- > Full release coming soon.
7
-
8
- ## Links
9
- - Docs: https://pdfx.akashpise.dev
10
- - GitHub: https://github.com/akii09/pdfx
package/index.js DELETED
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env node
2
- console.log("PDFx CLI — shadcn/ui model for React PDF generation")
3
- console.log("Install the full CLI: npx @akii09/pdfx-cli init")
4
- console.log("Docs: https://pdfx.akashpise.dev")