Skip to content

Commit 8ed77f3

Browse files
authored
Merge pull request #51 from commandbox-modules/claude/bxmigrations-file-reading-elavbl
feat: Add consolidation to cbmigrations
2 parents a85e70e + a31eb42 commit 8ed77f3

51 files changed

Lines changed: 3936 additions & 262 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.bxlint.json‎

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"diagnostics": {
3+
"duplicateMethod": {
4+
"enabled": true,
5+
"severity": "error"
6+
},
7+
"duplicateProperty": {
8+
"enabled": true,
9+
"severity": "error"
10+
},
11+
"emptyCatchBlock": {
12+
"enabled": true,
13+
"severity": "warning"
14+
},
15+
"invalidExtends": {
16+
"enabled": false,
17+
"severity": "error"
18+
},
19+
"invalidImplements": {
20+
"enabled": false,
21+
"severity": "error"
22+
},
23+
"missingQueryParamCfsqltype": {
24+
"enabled": true,
25+
"severity": "warning"
26+
},
27+
"missingReturnStatement": {
28+
"enabled": true,
29+
"severity": "warning"
30+
},
31+
"shadowedVariable": {
32+
"enabled": true,
33+
"severity": "warning"
34+
},
35+
"unescapedQueryParam": {
36+
"enabled": true,
37+
"severity": "warning"
38+
},
39+
"unreachableCode": {
40+
"enabled": true,
41+
"severity": "warning"
42+
},
43+
"unscopedVariable": {
44+
"enabled": true,
45+
"severity": "warning"
46+
},
47+
"unusedImport": {
48+
"enabled": true,
49+
"severity": "warning"
50+
},
51+
"unusedPrivateMethod": {
52+
"enabled": true,
53+
"severity": "info"
54+
},
55+
"unusedVariable": {
56+
"enabled": true,
57+
"severity": "hint"
58+
}
59+
},
60+
"include": [],
61+
"exclude": [],
62+
"mappings": {},
63+
"formatting": {
64+
"experimental": {
65+
"enabled": false
66+
}
67+
}
68+
}

‎.github/CODE_OF_CONDUCT.MD‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Code of Conduct
2+
3+
Please see it in our [Contributing Guidelines](../CONTRIBUTING.md#code-of-conduct).

‎.github/FUNDING.YML‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
patreon: ortussolutions
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
---
5+
6+
<!-- Thanks for reporting an issue! Please fill out the blanks below. -->
7+
8+
## What are the steps to reproduce this issue?
9+
10+
1. …
11+
2. …
12+
3. …
13+
14+
## What happens?
15+
16+
…
17+
18+
## What were you expecting to happen?
19+
20+
…
21+
22+
## Any logs, error output, etc?
23+
24+
…
25+
26+
## Any other comments?
27+
28+
…
29+
30+
## What versions are you using?
31+
32+
**Operating System:** …
33+
**Package Version:** …
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Feature Request
3+
about: Request a new feature or enhancement
4+
---
5+
6+
<!-- Thanks for taking the time to recommend a feature! Please fill out the form below -->
7+
8+
## Summary
9+
10+
<!-- High level description of what this feature is -->
11+
12+
## Detailed Description
13+
14+
<!-- Lets get into the weeds here -->
15+
16+
## Possible Implementation Ideas
17+
18+
<!-- If you already have some idea of how to implement this, this would be the place to put it -->

‎.github/PULL_REQUEST_TEMPLATE.md‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Description
2+
3+
Please include a summary of the changes and which issue(s) is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
4+
5+
**Please note that all PRs must have tests attached to them**
6+
7+
IMPORTANT: Please review the [CONTRIBUTING.md](../CONTRIBUTING.md) file for detailed contributing guidelines.
8+
9+
## Issues
10+
11+
All PRs must have an accompanied issue. Please make sure you created it and linked it here.
12+
13+
## Type of change
14+
15+
Please delete options that are not relevant.
16+
17+
- [ ] Bug Fix
18+
- [ ] Improvement
19+
- [ ] New Feature
20+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
21+
- [ ] This change requires a documentation update
22+
23+
## Checklist
24+
25+
- [ ] My code follows the style guidelines of this project [cfformat](../.cfformat.json)
26+
- [ ] I have commented my code, particularly in hard-to-understand areas
27+
- [ ] I have made corresponding changes to the documentation
28+
- [ ] I have added tests that prove my fix is effective or that my feature works
29+
- [ ] New and existing unit tests pass locally with my changes

‎.github/SECURITY.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Security Policy
2+
3+
Please see it in our [Contributing Guidelines](../CONTRIBUTING.md#security-vulnerabilities).

‎.github/SUPPORT.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Support & Help
2+
3+
Please see it in our [Contributing Guidelines](../CONTRIBUTING.md#support-questions).

‎.github/dependabot.yml‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: 2
2+
updates:
3+
# GitHub Actions - updates uses: statements in workflows
4+
- package-ecosystem: "github-actions"
5+
directory: "/" # Where your .github/workflows/ folder is
6+
schedule:
7+
interval: "quarterly"
8+
9+
# Gradle - updates dependencies in build.gradle or build.gradle.kts
10+
- package-ecosystem: "gradle"
11+
directory: "/" # Adjust if build.gradle is in a subfolder
12+
schedule:
13+
interval: "quarterly"
14+
15+
# NPM
16+
- package-ecosystem: "npm"
17+
directory: "/" # adjust if needed
18+
schedule:
19+
interval: "quarterly"

‎.github/workflows/tests.yml‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- development
8+
pull_request:
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
test:
16+
name: TestBox Suite
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v6
22+
23+
- name: Setup CommandBox
24+
uses: ortus-boxlang/setup-boxlang@main
25+
with:
26+
with-commandbox: true
27+
28+
- name: Install dependencies
29+
run: box install
30+
31+
- name: Run tests
32+
run: box run-script test

0 commit comments

Comments
 (0)