blockend-cli 1.3.1 → 1.4.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/LICENSE +21 -0
- package/dist/index.js +974 -298
- package/package.json +62 -17
- package/readme.md +53 -10
package/package.json
CHANGED
|
@@ -1,38 +1,83 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "blockend-cli",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "
|
|
5
|
-
"main": "./dist/index.js",
|
|
3
|
+
"version": "1.4.1",
|
|
4
|
+
"description": "CLI for installing production-ready backend blocks into Next.js, Express, Hono, NestJS, and other Node.js applications.",
|
|
6
5
|
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
7
|
"bin": {
|
|
8
8
|
"blockend": "./dist/index.js"
|
|
9
9
|
},
|
|
10
|
+
"exports": {
|
|
11
|
+
".": "./dist/index.js"
|
|
12
|
+
},
|
|
10
13
|
"files": [
|
|
11
14
|
"dist",
|
|
12
|
-
"
|
|
15
|
+
"README.md"
|
|
13
16
|
],
|
|
14
|
-
"scripts": {
|
|
15
|
-
"build": "tsup src/index.ts --format esm --dts --out-dir dist",
|
|
16
|
-
"typecheck": "tsc --noEmit"
|
|
17
|
-
},
|
|
18
17
|
"keywords": [
|
|
19
|
-
"
|
|
18
|
+
"blockend",
|
|
20
19
|
"backend",
|
|
21
|
-
"
|
|
20
|
+
"backend blocks",
|
|
21
|
+
"backend boilerplate",
|
|
22
|
+
"backend starter",
|
|
23
|
+
"backend scaffolding",
|
|
24
|
+
"backend generator",
|
|
25
|
+
"backend cli",
|
|
26
|
+
"nodejs",
|
|
22
27
|
"nextjs",
|
|
23
|
-
"
|
|
28
|
+
"express",
|
|
29
|
+
"nestjs",
|
|
30
|
+
"hono",
|
|
31
|
+
"fastify",
|
|
32
|
+
"authentication",
|
|
33
|
+
"auth",
|
|
34
|
+
"rbac",
|
|
35
|
+
"payments",
|
|
36
|
+
"stripe",
|
|
37
|
+
"resend",
|
|
38
|
+
"drizzle",
|
|
39
|
+
"prisma",
|
|
40
|
+
"postgresql",
|
|
41
|
+
"typescript",
|
|
42
|
+
"developer tools",
|
|
43
|
+
"code generation",
|
|
44
|
+
"scaffolding",
|
|
45
|
+
"productivity",
|
|
46
|
+
"cli"
|
|
24
47
|
],
|
|
48
|
+
"homepage": "https://blockend.noorulhassan.com",
|
|
49
|
+
"repository": {
|
|
50
|
+
"type": "git",
|
|
51
|
+
"url": "git+https://github.com/codewithnuh/blockend.git",
|
|
52
|
+
"directory": "packages/cli"
|
|
53
|
+
},
|
|
54
|
+
"bugs": {
|
|
55
|
+
"url": "https://github.com/codewithnuh/blockend/issues"
|
|
56
|
+
},
|
|
25
57
|
"author": "codewithnuh",
|
|
26
|
-
"license": "
|
|
27
|
-
"
|
|
58
|
+
"license": "MIT",
|
|
59
|
+
"engines": {
|
|
60
|
+
"node": ">=20"
|
|
61
|
+
},
|
|
28
62
|
"dependencies": {
|
|
29
|
-
"@blockend/detector": "workspace:*",
|
|
30
63
|
"@clack/prompts": "^1.5.1",
|
|
64
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
65
|
+
"citty": "^0.2.2",
|
|
31
66
|
"commander": "^15.0.0",
|
|
32
|
-
"
|
|
67
|
+
"execa": "^9.6.1",
|
|
68
|
+
"picocolors": "^1.1.1",
|
|
69
|
+
"zod": "^4.4.3",
|
|
70
|
+
"@blockend/detector": "0.1.0"
|
|
33
71
|
},
|
|
34
72
|
"devDependencies": {
|
|
35
73
|
"@types/node": "^25.9.3",
|
|
36
|
-
"tsup": "^8.5.1"
|
|
74
|
+
"tsup": "^8.5.1",
|
|
75
|
+
"vitest": "^1.6.1"
|
|
76
|
+
},
|
|
77
|
+
"scripts": {
|
|
78
|
+
"build": "tsup src/index.ts --format esm --dts --clean --out-dir dist",
|
|
79
|
+
"typecheck": "tsc --noEmit",
|
|
80
|
+
"test": "vitest run",
|
|
81
|
+
"test:watch": "vitest"
|
|
37
82
|
}
|
|
38
|
-
}
|
|
83
|
+
}
|
package/readme.md
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Blockend CLI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Install production-ready backend blocks into your project directly from the terminal.
|
|
4
|
+
|
|
5
|
+
Blockend CLI helps you scaffold reusable backend features such as authentication, authorization, email, storage, payments, middleware, utilities, and more. It detects your project's framework, generates a `blockend.json` configuration, and installs only the blocks compatible with your stack.
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- Framework detection for supported Node.js frameworks.
|
|
10
|
+
- Generates a `blockend.json` configuration file.
|
|
11
|
+
- Installs only compatible backend blocks.
|
|
12
|
+
- Automatically installs required dependencies.
|
|
13
|
+
- Writes clean, editable source code directly into your project.
|
|
14
|
+
- No runtime lock-in—your code stays yours.
|
|
15
|
+
- Works seamlessly with the Blockend ecosystem.
|
|
4
16
|
|
|
5
17
|
## Quick Start
|
|
6
18
|
|
|
@@ -10,21 +22,52 @@ Initialize Blockend in your project:
|
|
|
10
22
|
npx blockend-cli init
|
|
11
23
|
```
|
|
12
24
|
|
|
13
|
-
|
|
25
|
+
Blockend will:
|
|
26
|
+
|
|
27
|
+
- Detect your framework
|
|
28
|
+
- Create a `blockend.json` file
|
|
29
|
+
- Prepare your project for backend blocks
|
|
30
|
+
|
|
31
|
+
## Add Backend Blocks
|
|
14
32
|
|
|
15
|
-
|
|
33
|
+
Browse and install compatible backend blocks:
|
|
16
34
|
|
|
17
35
|
```bash
|
|
18
36
|
npx blockend-cli add
|
|
19
37
|
```
|
|
20
38
|
|
|
21
|
-
##
|
|
39
|
+
## Example
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
npx blockend-cli init
|
|
43
|
+
npx blockend-cli add
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Supported Frameworks
|
|
47
|
+
|
|
48
|
+
- Next.js
|
|
49
|
+
- Express
|
|
50
|
+
- Hono
|
|
51
|
+
- Fastify
|
|
52
|
+
|
|
53
|
+
More frameworks are coming soon.
|
|
54
|
+
|
|
55
|
+
## Documentation
|
|
56
|
+
|
|
57
|
+
Visit the documentation:
|
|
22
58
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
59
|
+
**https://blockend.noorulhassan.com**
|
|
60
|
+
|
|
61
|
+
## Repository
|
|
62
|
+
|
|
63
|
+
GitHub:
|
|
64
|
+
|
|
65
|
+
**https://github.com/codewithnuh/blockend**
|
|
27
66
|
|
|
28
67
|
## License
|
|
29
68
|
|
|
30
|
-
|
|
69
|
+
MIT © CodeWithNuh
|
|
70
|
+
|
|
71
|
+
See the full license here:
|
|
72
|
+
|
|
73
|
+
https://github.com/codewithnuh/blockend/blob/master/LICENSE
|