@vellora/cli 0.1.0-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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Diego Malta
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,22 @@
1
+ # @vellora/cli
2
+
3
+ The `vellora` command line: `render` / `lint` / `fix` for the
4
+ [vellora](https://github.com/diomalta/vellora) HTML→PDF renderer.
5
+
6
+ > **Pre-release (alpha), stub** — the commands arrive in a later release.
7
+
8
+ ## Install
9
+
10
+ ```bash
11
+ npm install -g @vellora/cli
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ ```bash
17
+ vellora --help
18
+ ```
19
+
20
+ ## License
21
+
22
+ MIT — see [LICENSE](./LICENSE).
package/dist/cli.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * @vellora/cli executable (stub). Prints a banner; real `render`/`lint`/`fix` subcommands
4
+ * arrive with later changes.
5
+ */
6
+ export declare const banner = "vellora cli (stub) \u2014 render / lint / fix arrive in later phases";
package/dist/cli.js ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * @vellora/cli executable (stub). Prints a banner; real `render`/`lint`/`fix` subcommands
4
+ * arrive with later changes.
5
+ */
6
+ export const banner = "vellora cli (stub) — render / lint / fix arrive in later phases";
7
+ if (process.argv[1] && import.meta.url === new URL(`file://${process.argv[1]}`).href) {
8
+ process.stdout.write(`${banner}\n`);
9
+ }
10
+ //# sourceMappingURL=cli.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA;;;GAGG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,iEAAiE,CAAC;AAExF,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,KAAK,IAAI,GAAG,CAAC,UAAU,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IACrF,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,IAAI,CAAC,CAAC;AACtC,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @vellora/cli — stub.
3
+ *
4
+ * The `render` / `lint` / `fix --write` commands arrive with later changes. This entry exists so
5
+ * the package builds, types, and tests cleanly; `cli.ts` is the executable bin.
6
+ */
7
+ export declare const name = "@vellora/cli";
package/dist/index.js ADDED
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @vellora/cli — stub.
3
+ *
4
+ * The `render` / `lint` / `fix --write` commands arrive with later changes. This entry exists so
5
+ * the package builds, types, and tests cleanly; `cli.ts` is the executable bin.
6
+ */
7
+ export const name = "@vellora/cli";
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,cAAc,CAAC"}
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "@vellora/cli",
3
+ "version": "0.1.0-alpha.0",
4
+ "description": "vellora render / lint / fix commands — alpha, not yet functional.",
5
+ "keywords": [
6
+ "html-to-pdf",
7
+ "pdf",
8
+ "pdf-generation",
9
+ "invoice",
10
+ "boleto",
11
+ "receipt",
12
+ "pdfa",
13
+ "pdfua",
14
+ "tagged-pdf",
15
+ "no-puppeteer",
16
+ "no-chromium",
17
+ "serverless",
18
+ "wkhtmltopdf-alternative",
19
+ "napi-rs",
20
+ "nodejs"
21
+ ],
22
+ "homepage": "https://github.com/diomalta/vellora#readme",
23
+ "bugs": "https://github.com/diomalta/vellora/issues",
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "git+https://github.com/diomalta/vellora.git",
27
+ "directory": "packages/cli"
28
+ },
29
+ "license": "MIT",
30
+ "author": "Diego Malta <diohmalta@gmail.com>",
31
+ "type": "module",
32
+ "main": "dist/index.js",
33
+ "types": "dist/index.d.ts",
34
+ "exports": {
35
+ ".": {
36
+ "types": "./dist/index.d.ts",
37
+ "import": "./dist/index.js"
38
+ }
39
+ },
40
+ "sideEffects": false,
41
+ "engines": {
42
+ "node": ">=20"
43
+ },
44
+ "bin": {
45
+ "vellora": "dist/cli.js"
46
+ },
47
+ "files": ["dist", "README.md", "LICENSE"],
48
+ "scripts": {
49
+ "build": "tsc"
50
+ },
51
+ "publishConfig": {
52
+ "access": "public",
53
+ "provenance": true
54
+ }
55
+ }