Skip to content

Commit 28d6857

Browse files
authored
Merge pull request #264 from objectstack-ai/copilot/fix-build-and-test-another-one
2 parents b2fffba + 256443f commit 28d6857

File tree

578 files changed

+39868
-48546
lines changed

Some content is hidden

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

578 files changed

+39868
-48546
lines changed

.github/copilot-instructions.md

Lines changed: 92 additions & 94 deletions
Large diffs are not rendered by default.

.github/dependabot.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
11
version: 2
22
updates:
33
# Enable version updates for npm packages
4-
- package-ecosystem: "npm"
5-
directory: "/"
4+
- package-ecosystem: 'npm'
5+
directory: '/'
66
schedule:
7-
interval: "weekly"
8-
day: "monday"
9-
time: "02:00"
7+
interval: 'weekly'
8+
day: 'monday'
9+
time: '02:00'
1010
open-pull-requests-limit: 10
1111
labels:
12-
- "dependencies"
13-
- "automated"
12+
- 'dependencies'
13+
- 'automated'
1414
commit-message:
15-
prefix: "chore"
16-
prefix-development: "chore"
17-
include: "scope"
15+
prefix: 'chore'
16+
prefix-development: 'chore'
17+
include: 'scope'
1818
# Group all patch updates together
1919
groups:
2020
patch-updates:
2121
patterns:
22-
- "*"
22+
- '*'
2323
update-types:
24-
- "patch"
24+
- 'patch'
2525
minor-updates:
2626
patterns:
27-
- "*"
27+
- '*'
2828
update-types:
29-
- "minor"
29+
- 'minor'
3030

3131
# Enable version updates for GitHub Actions
32-
- package-ecosystem: "github-actions"
33-
directory: "/"
32+
- package-ecosystem: 'github-actions'
33+
directory: '/'
3434
schedule:
35-
interval: "weekly"
36-
day: "monday"
37-
time: "02:00"
35+
interval: 'weekly'
36+
day: 'monday'
37+
time: '02:00'
3838
labels:
39-
- "dependencies"
40-
- "github-actions"
39+
- 'dependencies'
40+
- 'github-actions'
4141
commit-message:
42-
prefix: "chore"
43-
include: "scope"
42+
prefix: 'chore'
43+
include: 'scope'

.github/labeler.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,47 @@
44
# Package-specific labels
55
'kernel':
66
- changed-files:
7-
- any-glob-to-any-file: 'packages/kernel/**/*'
7+
- any-glob-to-any-file: 'packages/kernel/**/*'
88

99
'server':
1010
- changed-files:
11-
- any-glob-to-any-file: 'packages/server/**/*'
11+
- any-glob-to-any-file: 'packages/server/**/*'
1212

1313
'presets':
1414
- changed-files:
15-
- any-glob-to-any-file: 'packages/presets/**/*'
15+
- any-glob-to-any-file: 'packages/presets/**/*'
1616

1717
# Type-specific labels
1818
'documentation':
1919
- changed-files:
20-
- any-glob-to-any-file:
21-
- 'docs/**/*'
22-
- '**/*.md'
20+
- any-glob-to-any-file:
21+
- 'docs/**/*'
22+
- '**/*.md'
2323

2424
'workflows':
2525
- changed-files:
26-
- any-glob-to-any-file: '.github/**/*'
26+
- any-glob-to-any-file: '.github/**/*'
2727

2828
'dependencies':
2929
- changed-files:
30-
- any-glob-to-any-file:
31-
- 'package.json'
32-
- 'pnpm-lock.yaml'
33-
- '**/package.json'
30+
- any-glob-to-any-file:
31+
- 'package.json'
32+
- 'pnpm-lock.yaml'
33+
- '**/package.json'
3434

3535
'tests':
3636
- changed-files:
37-
- any-glob-to-any-file:
38-
- '**/*.test.ts'
39-
- '**/*.spec.ts'
40-
- '**/__tests__/**/*'
41-
- '**/test/**/*'
37+
- any-glob-to-any-file:
38+
- '**/*.test.ts'
39+
- '**/*.spec.ts'
40+
- '**/__tests__/**/*'
41+
- '**/test/**/*'
4242

4343
'configuration':
4444
- changed-files:
45-
- any-glob-to-any-file:
46-
- 'tsconfig*.json'
47-
- '.eslintrc*'
48-
- '.prettierrc*'
49-
- 'jest.config.*'
50-
- '*.config.*'
45+
- any-glob-to-any-file:
46+
- 'tsconfig*.json'
47+
- '.eslintrc*'
48+
- '.prettierrc*'
49+
- 'jest.config.*'
50+
- '*.config.*'

.github/workflows/check-links.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
name: "Check Links"
1+
name: 'Check Links'
22

33
on:
4-
54
schedule:
65
# Run weekly on Sundays at 00:00 UTC
76
- cron: '0 0 * * 0'

.github/workflows/greetings.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Greetings"
1+
name: 'Greetings'
22

33
on:
44
issues:
@@ -19,19 +19,19 @@ jobs:
1919
repo-token: ${{ secrets.GITHUB_TOKEN }}
2020
issue-message: >
2121
👋 Thanks for opening your first issue! We appreciate your contribution to ObjectOS.
22-
22+
2323
Please make sure you've provided all the necessary information and context.
2424
Our team will review this as soon as possible.
25-
25+
2626
In the meantime, you might want to check out our [Contributing Guide](https://github.com/${{ github.repository }}/blob/main/CONTRIBUTING.md)
2727
and [Documentation](https://objectos.org/docs).
2828
pr-message: >
2929
🎉 Thanks for opening your first pull request! We're excited to review your contribution.
30-
30+
3131
Please make sure:
3232
- [ ] Your code follows our [coding standards](https://github.com/${{ github.repository }}/blob/main/CONTRIBUTING.md)
3333
- [ ] All tests pass
3434
- [ ] You've added tests for new features
3535
- [ ] Documentation is updated (if needed)
36-
36+
3737
A maintainer will review your PR soon. Thanks for contributing to ObjectOS! 🚀

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Lint"
1+
name: 'Lint'
22

33
on:
44
push:

.github/workflows/pr-labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "PR Auto Label"
1+
name: 'PR Auto Label'
22

33
on:
44
pull_request:

.github/workflows/pr-size.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "PR Size Labeler"
1+
name: 'PR Size Labeler'
22

33
on:
44
pull_request:
@@ -22,25 +22,25 @@ jobs:
2222
repo: context.repo.repo,
2323
pull_number: context.issue.number
2424
});
25-
25+
2626
const additions = pr.data.additions;
2727
const deletions = pr.data.deletions;
2828
const totalChanges = additions + deletions;
29-
29+
3030
let sizeLabel = '';
3131
if (totalChanges <= 10) sizeLabel = 'size/xs';
3232
else if (totalChanges <= 100) sizeLabel = 'size/s';
3333
else if (totalChanges <= 500) sizeLabel = 'size/m';
3434
else if (totalChanges <= 1000) sizeLabel = 'size/l';
3535
else sizeLabel = 'size/xl';
36-
36+
3737
// Remove existing size labels
3838
const labels = await github.rest.issues.listLabelsOnIssue({
3939
owner: context.repo.owner,
4040
repo: context.repo.repo,
4141
issue_number: context.issue.number
4242
});
43-
43+
4444
for (const label of labels.data) {
4545
if (label.name.startsWith('size/')) {
4646
await github.rest.issues.removeLabel({
@@ -51,15 +51,15 @@ jobs:
5151
});
5252
}
5353
}
54-
54+
5555
// Add new size label
5656
await github.rest.issues.addLabels({
5757
owner: context.repo.owner,
5858
repo: context.repo.repo,
5959
issue_number: context.issue.number,
6060
labels: [sizeLabel]
6161
});
62-
62+
6363
// Comment if XL
6464
if (sizeLabel === 'size/xl') {
6565
await github.rest.issues.createComment({

.github/workflows/stale.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Stale Issues and PRs"
1+
name: 'Stale Issues and PRs'
22

33
on:
44
schedule:
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/stale@v10
1818
with:
1919
repo-token: ${{ secrets.GITHUB_TOKEN }}
20-
20+
2121
# Issue settings
2222
stale-issue-message: >
2323
This issue has been automatically marked as stale because it has not had
@@ -32,7 +32,7 @@ jobs:
3232
days-before-close: 7
3333
stale-issue-label: 'stale'
3434
exempt-issue-labels: 'pinned,security,bug,enhancement,good first issue'
35-
35+
3636
# PR settings
3737
stale-pr-message: >
3838
This pull request has been automatically marked as stale because it has not had
@@ -47,7 +47,7 @@ jobs:
4747
days-before-pr-close: 7
4848
stale-pr-label: 'stale'
4949
exempt-pr-labels: 'pinned,security,in-progress,blocked'
50-
50+
5151
# Operation limits
5252
operations-per-run: 100
5353
remove-stale-when-updated: true

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
test:
1212
name: Test (Node ${{ matrix.node-version }})
1313
runs-on: ubuntu-latest
14-
14+
1515
strategy:
1616
matrix:
1717
node-version: [20.x, 22.x]

0 commit comments

Comments
 (0)