@cellajs/cli 0.0.1

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/index.js ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+
3
+ import './dist/index.js';
package/package.json ADDED
@@ -0,0 +1,122 @@
1
+ {
2
+ "name": "@cellajs/cli",
3
+ "version": "0.0.1",
4
+ "private": false,
5
+ "license": "MIT",
6
+ "description": "CLI for syncing and managing apps with upstream Cella.",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/cellajs/cella-cli"
10
+ },
11
+ "homepage": "https://cellajs.com",
12
+ "author": "CellaJS <info@cellajs.com>",
13
+ "engines": {
14
+ "node": "24.x"
15
+ },
16
+ "type": "module",
17
+ "main": "./dist/index.js",
18
+ "exports": {
19
+ ".": "./dist/index.js",
20
+ "./config": {
21
+ "types": "./dist/config.d.ts",
22
+ "import": "./dist/config.js"
23
+ },
24
+ "./package.json": "./package.json"
25
+ },
26
+ "files": [
27
+ "dist",
28
+ "index.js",
29
+ "README.md"
30
+ ],
31
+ "bin": {
32
+ "cella": "index.js"
33
+ },
34
+ "imports": {
35
+ "#/*": "./src/*"
36
+ },
37
+ "scripts": {
38
+ "start": "tsx index.ts",
39
+ "clean": "rimraf ./dist",
40
+ "build": "tsup",
41
+ "test-build": "pnpm run build && node index.js --help",
42
+ "prepublishOnly": "pnpm run test:release",
43
+ "check": "pnpm ts && pnpm biome check --write .",
44
+ "ts": "tsgo --pretty",
45
+ "lint": "biome check .",
46
+ "lint:fix": "biome check --write .",
47
+ "test": "vitest run",
48
+ "test:release": "pnpm run build && vitest run --config vitest.release.config.ts",
49
+ "test:watch": "vitest",
50
+ "prepare": "lefthook install"
51
+ },
52
+ "dependencies": {
53
+ "@inquirer/core": "^11.2.1",
54
+ "@inquirer/prompts": "^8.5.2",
55
+ "commander": "^15.0.0",
56
+ "ts-morph": "^28.0.0",
57
+ "zod": "^4.4.3"
58
+ },
59
+ "devDependencies": {
60
+ "@biomejs/biome": "^2.5.2",
61
+ "@commitlint/cli": "^21.2.0",
62
+ "@commitlint/config-conventional": "^21.2.0",
63
+ "@evilmartians/lefthook": "^2.1.9",
64
+ "@types/node": "24.10.13",
65
+ "@typescript/native-preview": "7.0.0-dev.20260702.3",
66
+ "rimraf": "^6.1.3",
67
+ "tsup": "^8.5.1",
68
+ "tsx": "^4.22.4",
69
+ "typescript": "^6.0.3",
70
+ "vitest": "^4.1.9"
71
+ },
72
+ "publishConfig": {
73
+ "access": "public"
74
+ },
75
+ "keywords": [
76
+ "cella",
77
+ "cellajs",
78
+ "cli",
79
+ "sync",
80
+ "template"
81
+ ],
82
+ "packageManager": "pnpm@11.8.0",
83
+ "commitlint": {
84
+ "extends": [
85
+ "@commitlint/config-conventional"
86
+ ],
87
+ "rules": {
88
+ "type-enum": [
89
+ 2,
90
+ "always",
91
+ [
92
+ "feat",
93
+ "fix",
94
+ "perf",
95
+ "refactor",
96
+ "revert",
97
+ "docs",
98
+ "chore",
99
+ "build",
100
+ "ci",
101
+ "style",
102
+ "test"
103
+ ]
104
+ ],
105
+ "header-max-length": [
106
+ 2,
107
+ "always",
108
+ 120
109
+ ],
110
+ "body-max-line-length": [
111
+ 0,
112
+ "always",
113
+ 200
114
+ ],
115
+ "footer-max-line-length": [
116
+ 0,
117
+ "always",
118
+ 200
119
+ ]
120
+ }
121
+ }
122
+ }