Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
b7c03e3
refactor(codebase): refactor codebase structure
4x8Matrix Jun 15, 2025
a8b04b6
feat(camera-profiler): implement refactored version of camera profiler
4x8Matrix Jun 15, 2025
4a3297c
feat(console): implement refactored console library
4x8Matrix Jun 15, 2025
5765615
chore(structure): refactor structure to account for deprecation + ext…
4x8Matrix Jun 15, 2025
b5bdbbc
chore(structure): change name to reuploads folder
4x8Matrix Jun 15, 2025
72fdac7
chore(documentation): add deprecation messages to the libraries depre…
4x8Matrix Jun 15, 2025
df11f0b
bugfix(console): use debug.getmemorycategory to source the name of a …
4x8Matrix Jun 16, 2025
0eaf26d
refactor(console): refactor console to support objects
4x8Matrix Jun 19, 2025
f498363
refactor(ci/cd): add support for JEST test suite + add in old pipelines
4x8Matrix Jul 24, 2025
ec31137
fix(ci/cd): fix naming of jest script in Test lune file
4x8Matrix Jul 24, 2025
ce98533
fix(ci/cd): add missing secret to pipelines
4x8Matrix Jul 24, 2025
0880400
fix(ci/cd): attempt #1 at fixing borked secret
4x8Matrix Jul 24, 2025
87d77ce
fix(ci/cd): attempt #2 at fixing borked secret
4x8Matrix Jul 24, 2025
515a594
fix(ci/cd): attempt #3 at fixing borked secret
4x8Matrix Jul 24, 2025
ee45526
fix(ci/cd): attempt #4 at fixing borked secret
4x8Matrix Jul 24, 2025
4a640b4
fix(ci/cd): refactor pipelines to add support for the pest package ma…
4x8Matrix Jul 24, 2025
4887c66
fix(ci/cd): update pesde version
4x8Matrix Jul 24, 2025
6e0edd2
tests(camera_profile): write tests for the camera profiler package
4x8Matrix Jul 26, 2025
def8c23
tests(console): write tests for console package
4x8Matrix Jul 26, 2025
8c038cf
tests(console): fix tests for CI and console
4x8Matrix Jul 26, 2025
ab158b5
fix(ci/cd): fix missing deps in type checker
4x8Matrix Jul 26, 2025
5cfebde
fix(ci/cd): use test.project.json over each development.project.jsons
4x8Matrix Jul 26, 2025
e808e87
fix(ci/cd): pesde install dependencies before testing them
4x8Matrix Jul 26, 2025
e4d437b
fix(ci/cd): shift pesde install code upwards
4x8Matrix Jul 26, 2025
7b26093
chore(ci/cd): add documentation workflow
4x8Matrix Jul 26, 2025
6c28709
chore(ci/cd): update branches that workflow can execute on
4x8Matrix Jul 26, 2025
0d3bec3
fix(documentation): fix minor moonwave documentation errors
4x8Matrix Jul 26, 2025
245476a
Merge pull request #24 from 4x8Matrix/refactor/project-structure-2
4x8Matrix Jul 26, 2025
a0c2eb6
fix(documentation): refactor documentation approach
4x8Matrix Jul 26, 2025
63813a9
Merge pull request #25 from 4x8Matrix/refactor/project-structure-2
4x8Matrix Jul 26, 2025
c06890f
chore(readme): update project readme
4x8Matrix Jul 26, 2025
24ae461
chore(workflow): update workflow name
4x8Matrix Jul 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitattributes

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Aftman
uses: ok-nick/setup-aftman@v0.4.2
- name: Setup Rokit
uses: CompeyDev/setup-rokit@v0.1.2

- name: Update Binaries
run: lune update-binaries
run: lune run build

- name: Commit changes
run: |
git config --global user.name 'Git bot'
git config --global user.email 'bot@noreply.github.com'
git add .
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
git commit -m "Auto-update package 'Binaries'" && git push || echo "No changes to commit"
git commit -m "Auto-update package 'Binaries'" && git push || echo "No changes to commit"
45 changes: 33 additions & 12 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: Lint, Typecheck & Test

on:
workflow_dispatch:

Expand All @@ -12,23 +14,42 @@ jobs:
lint-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Aftman
uses: ok-nick/setup-aftman@v0.4.2
- uses: actions/checkout@v4
- uses: CompeyDev/setup-rokit@v0.1.2

- name: Run Linter
run: lune lint-check
run: lune run lint

type-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: CompeyDev/setup-rokit@v0.1.2
- uses: lumin-org/setup-pesde@v0.4.1
with:
cache: true
version: v0.7.0-rc.6+registry.0.2.3-rc.3

- name: Setup Aftman
uses: ok-nick/setup-aftman@v0.4.2
- name: Run Type Checker
run: lune run type

- name: Run Linter
run: lune type-check
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: CompeyDev/setup-rokit@v0.1.2
- uses: lumin-org/setup-pesde@v0.4.1
with:
cache: true
version: v0.7.0-rc.6+registry.0.2.3-rc.3

- name: Install binary dependencies
run: rokit install --no-trust-check

- name: Install project dependencies
run: pesde install --locked

- name: Run Tests
run: lune run test
env:
ROBLOX_OC_KEY: ${{ secrets.ROBLOX_OC_KEY }}
5 changes: 3 additions & 2 deletions .github/workflows/update-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:

push:
branches:
- Master
- master
- refactor/project-structure

permissions:
contents: write
Expand All @@ -20,4 +21,4 @@ jobs:
token: ${{ secrets.PAT }}
repository: 4x8Matrix/Package-Index-Site
event-type: update-documentation
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
15 changes: 8 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
*.rbxl
*.lock

**/Packages/**
**/ServerPackages/**
**/DevPackages/**
Packages
ServerPackages
DevPackages

sourcemap.json
luau_packages
lune_packages
roblox_packages

node_modules
roblox.d.lua

.next
sourcemap.json
112 changes: 0 additions & 112 deletions .justfile

This file was deleted.

9 changes: 9 additions & 0 deletions .luaurc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"languageMode": "strict",
"lint": {
"*": false
},
"aliases": {
"lune": "~/.lune/.typedefs/0.10.1/"
}
}
31 changes: 31 additions & 0 deletions .lune/build.luau
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
--# selene: allow(incorrect_standard_library_use)

local process = require("@lune/process")
local fs = require("@lune/fs")

local function execute(application, arguments, spawnOptions): string
local result = process.exec(application, arguments, spawnOptions)

if not result.ok then
print(`Executing application '{application}' failed: '{result.stderr}'`)

return process.exit(result.code)
end

return result.stdout
end

local function main()
if not fs.isDir("binaries") then
fs.writeDir("binaries")
end

for _, packageName in fs.readDir("packages") do
execute("wally", { "install" }, { cwd = `packages/{packageName}` })
execute("rojo", { "build", "-o", `../../binaries/{packageName}.rbxm` }, { cwd = `packages/{packageName}` })

print(`[Build-Projects]: project '{packageName}' built OK`)
end
end

return main()
21 changes: 0 additions & 21 deletions .lune/install-packages.luau

This file was deleted.

10 changes: 5 additions & 5 deletions .lune/lint-check.luau → .lune/lint.luau
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
--# selene: allow(incorrect_standard_library_use)

local process = require("@lune/process")
local fileSystem = require("@lune/fs")
local fs = require("@lune/fs")

local function main()
for _, packageName in fileSystem.readDir("Modules") do
local result = process.spawn(`selene`, {
for _, packageName in fs.readDir("packages") do
local result = process.exec(`selene`, {
`.`,
}, {
cwd = `{process.cwd}Modules/{packageName}`,
cwd = `{process.cwd}packages/{packageName}`,
})

if result.ok then
Expand All @@ -23,4 +23,4 @@ local function main()
end
end

return main()
return main()
32 changes: 32 additions & 0 deletions .lune/test/bin/run-tests-in-cloud.server.luau
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
local ReplicatedStorage = game:GetService("ReplicatedStorage")

local Jest = require(ReplicatedStorage.Packages.Jest)

local processServiceExists, ProcessService = pcall(function()
-- selene: allow(incorrect_standard_library_use)
return game:GetService("ProcessService")
end)

local status, result = Jest.runCLI(ReplicatedStorage.Packages, {
ci = true,
verbose = false,

testMatch = { "**/*.spec" },
}, {
ReplicatedStorage.Packages.Console,
ReplicatedStorage.Packages.CameraProfiler,
}):awaitStatus()

if status == "Rejected" then
print(result)

ProcessService:ExitAsync(1)
end

if status == "Resolved" and result.results.numFailedTestSuites == 0 and result.results.numFailedTests == 0 then
if processServiceExists then
ProcessService:ExitAsync(0)
end
end

return nil
Loading