Skip to content

Commit d1983e4

Browse files
committed
feat: comprehensive MoroJS CLI toolkit v1.0.0
- Complete project initialization with multi-runtime support - Advanced module generation with middleware integration - Database management for 6 adapter types - Configuration management and validation - Multi-runtime deployment automation - Development tools with hot reload - Professional CI/CD pipeline - Modern Husky + lint-staged setup
1 parent dbb60fe commit d1983e4

File tree

14 files changed

+796
-130
lines changed

14 files changed

+796
-130
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: Bug Report
22
description: Report a bug in @morojs/cli
3-
title: "[Bug]: "
4-
labels: ["bug", "needs-triage"]
3+
title: '[Bug]: '
4+
labels: ['bug', 'needs-triage']
55
body:
66
- type: markdown
77
attributes:
88
value: |
99
Thanks for taking the time to fill out this bug report for @morojs/cli!
10-
10+
1111
- type: textarea
1212
id: what-happened
1313
attributes:
@@ -16,7 +16,7 @@ body:
1616
placeholder: Tell us what you see!
1717
validations:
1818
required: true
19-
19+
2020
- type: textarea
2121
id: reproduction
2222
attributes:
@@ -28,22 +28,22 @@ body:
2828
3. See error
2929
validations:
3030
required: true
31-
31+
3232
- type: textarea
3333
id: expected
3434
attributes:
3535
label: Expected Behavior
3636
description: A clear and concise description of what you expected to happen.
3737
validations:
3838
required: true
39-
39+
4040
- type: textarea
4141
id: command-output
4242
attributes:
4343
label: Command Output
4444
description: Please copy and paste the full command output.
4545
render: shell
46-
46+
4747
- type: dropdown
4848
id: command
4949
attributes:
@@ -63,34 +63,34 @@ body:
6363
- Other (please specify in additional context)
6464
validations:
6565
required: true
66-
66+
6767
- type: input
6868
id: version
6969
attributes:
70-
label: @morojs/cli Version
71-
description: What version of @morojs/cli are you running?
72-
placeholder: "2.0.0"
70+
label: '@morojs/cli Version'
71+
description: 'What version of @morojs/cli are you running?'
72+
placeholder: '1.0.0'
7373
validations:
7474
required: true
75-
75+
7676
- type: input
7777
id: node-version
7878
attributes:
7979
label: Node.js Version
8080
description: What version of Node.js are you running?
81-
placeholder: "20.x.x"
81+
placeholder: '20.x.x'
8282
validations:
8383
required: true
84-
84+
8585
- type: input
8686
id: os
8787
attributes:
8888
label: Operating System
8989
description: What operating system are you using?
90-
placeholder: "macOS 14.0, Windows 11, Ubuntu 22.04"
90+
placeholder: 'macOS 14.0, Windows 11, Ubuntu 22.04'
9191
validations:
9292
required: true
93-
93+
9494
- type: textarea
9595
id: project-info
9696
attributes:
@@ -100,9 +100,9 @@ body:
100100
- Project type: (new project, existing MoroJS project, etc.)
101101
- Runtime target: (node, vercel-edge, aws-lambda, cloudflare-workers)
102102
- Database: (postgresql, mysql, mongodb, etc.)
103-
103+
104104
- type: textarea
105105
id: context
106106
attributes:
107107
label: Additional Context
108-
description: Add any other context about the problem here, including screenshots if applicable.
108+
description: Add any other context about the problem here, including screenshots if applicable.

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: Feature Request
22
description: Suggest a feature for @morojs/cli
3-
title: "[Feature]: "
4-
labels: ["enhancement", "needs-triage"]
3+
title: '[Feature]: '
4+
labels: ['enhancement', 'needs-triage']
55
body:
66
- type: markdown
77
attributes:
88
value: |
99
Thanks for taking the time to suggest a feature for @morojs/cli!
10-
10+
1111
- type: textarea
1212
id: problem
1313
attributes:
@@ -16,7 +16,7 @@ body:
1616
placeholder: I'm frustrated when...
1717
validations:
1818
required: true
19-
19+
2020
- type: textarea
2121
id: solution
2222
attributes:
@@ -25,7 +25,7 @@ body:
2525
placeholder: I would like to see...
2626
validations:
2727
required: true
28-
28+
2929
- type: dropdown
3030
id: category
3131
attributes:
@@ -46,7 +46,7 @@ body:
4646
- Other
4747
validations:
4848
required: true
49-
49+
5050
- type: textarea
5151
id: use-case
5252
attributes:
@@ -57,13 +57,13 @@ body:
5757
So that I can...
5858
validations:
5959
required: true
60-
60+
6161
- type: textarea
6262
id: alternatives
6363
attributes:
6464
label: Alternatives Considered
6565
description: Describe any alternative solutions or features you've considered.
66-
66+
6767
- type: dropdown
6868
id: priority
6969
attributes:
@@ -76,7 +76,7 @@ body:
7676
- Critical - Cannot use CLI without this
7777
validations:
7878
required: true
79-
79+
8080
- type: checkboxes
8181
id: implementation
8282
attributes:
@@ -86,9 +86,9 @@ body:
8686
- label: I'm willing to submit a pull request for this feature
8787
- label: I can help with testing
8888
- label: I can help with documentation
89-
89+
9090
- type: textarea
9191
id: additional-context
9292
attributes:
9393
label: Additional Context
94-
description: Add any other context, screenshots, or examples about the feature request here.
94+
description: Add any other context, screenshots, or examples about the feature request here.

.github/SECURITY.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
## Supported Versions
44

5-
| Version | Supported |
6-
| ------- | ------------------ |
7-
| 1.x.x ||
5+
| Version | Supported |
6+
| ------- | --------- |
7+
| 1.x.x | |
88

99
## Reporting a Vulnerability
1010

@@ -69,18 +69,21 @@ When using @morojs/cli:
6969
## CLI-Specific Security Considerations
7070

7171
### File Generation
72+
7273
- All generated files are created with appropriate permissions
7374
- No overwriting of system files
7475
- Path traversal protection in file operations
7576

7677
### Command Execution
78+
7779
- No arbitrary command execution from user input
7880
- Subprocess execution is limited to known safe operations
7981
- Environment variable handling follows security best practices
8082

8183
### Template Security
84+
8285
- Generated code follows security best practices
8386
- Database connection strings are properly parameterized
8487
- Authentication configurations use secure defaults
8588

86-
For more details about MoroJS framework security, see the [MoroJS Security Documentation](https://morojs.com/docs/security).
89+
For more details about MoroJS framework security, see the [MoroJS Security Documentation](https://morojs.com/docs/security).

0 commit comments

Comments
 (0)