Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

dev -> main #20

Closed
wants to merge 43 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
2ac5d3e
Remove roblox/testez
cxmeel Mar 11, 2024
8fb1323
Remove testez tests
cxmeel Mar 11, 2024
87738d2
Move TS to `@types/...`
cxmeel Mar 11, 2024
02c8cea
Convert *.lua to *.luau
cxmeel Mar 11, 2024
922bcdd
Luau rewrite
cxmeel Mar 12, 2024
0672a52
Reimplement sets and array diffs
cxmeel Mar 12, 2024
2cfeb7c
Update .gitattributes
cxmeel Mar 12, 2024
293274c
Update .gitattributes
cxmeel Mar 12, 2024
79d4052
Refactor `Array.includes` and partial Dictionary reimplementation
cxmeel Mar 12, 2024
5d1ecac
Partial Dictionary reimplementations and new Dictionary methods
cxmeel Mar 13, 2024
d29f2bc
Update Array and Dictionary functions
cxmeel Mar 13, 2024
eacb45e
Implement Dictionary equality methods
cxmeel Mar 13, 2024
156e493
Create Dictionary entry point
cxmeel Mar 13, 2024
8bda0cc
Add cartesian function to Array module
cxmeel Mar 13, 2024
a3913c2
Add unique function to Array module
cxmeel Mar 13, 2024
6720bcf
Add permutations function to Array module
cxmeel Mar 13, 2024
d7c2bd6
Add group function to Array module
cxmeel Mar 13, 2024
5702f95
Add pick function to Dictionary module
cxmeel Mar 13, 2024
965b434
Implement Dictionary difference methods
cxmeel Mar 13, 2024
f46c372
Add patchDiff module to Dictionary
cxmeel Mar 13, 2024
e2b26db
Version parity CI script
cxmeel Mar 14, 2024
74768ea
Update code formatting
cxmeel Mar 14, 2024
0d8a693
Add code for formatting files and running stylua
cxmeel Mar 14, 2024
77a310c
Add aliases for array, dictionary, and set methods
cxmeel Mar 14, 2024
5b0b65c
Update code formatting
cxmeel Mar 14, 2024
293f459
Remove broken links from docs/intro.md
cxmeel Mar 14, 2024
b85520d
Update luauspec.toml
cxmeel Mar 14, 2024
e3da0cc
Ensure all files have tests associated
cxmeel Mar 14, 2024
fb0742c
Update lune scripts
cxmeel Mar 14, 2024
a6c49b0
Fix file matching pattern in ensure-tests.luau
cxmeel Mar 14, 2024
6b6d340
Remove unnecessary files and update workflow triggers
cxmeel Mar 14, 2024
0256956
Update PR workflow
cxmeel Mar 14, 2024
c0c0519
Add foreground color logic in Crayon module
cxmeel Mar 14, 2024
30f0058
Update pull-request.yml workflow
cxmeel Mar 14, 2024
1e7e8d7
Update pull request workflow conditions
cxmeel Mar 14, 2024
c33e2fd
Run pull-request workflow on all PR events
cxmeel Mar 14, 2024
f43b9a0
Update pull_request.yml to trigger workflow on additional pull reques…
cxmeel Mar 14, 2024
3d73df5
Add version check in pull-request workflow
cxmeel Mar 14, 2024
352db48
Move version check up
cxmeel Mar 14, 2024
b533be6
Update version retrieval in pull-request.yml
cxmeel Mar 14, 2024
961c890
Refactor version check in pull-request.yml
cxmeel Mar 14, 2024
36e979d
Update pull-request.yml workflow to use check-version action
cxmeel Mar 14, 2024
3fce30b
Create darklua configs
cxmeel Mar 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# Auto detect text files and perform LF normalization
* text=auto

# Highlight Luau as Lua files
*.luau linguist-language=Lua
*.luau.todo linguist-language=Lua
4 changes: 2 additions & 2 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
github: csqrl
github: cxmeel
custom:
- "https://roblox.com/groups/9536808/csqrl#!/store"
- "https://roblox.com/groups/9536808/cxmeel#!/store"
62 changes: 0 additions & 62 deletions .github/workflows/ci.yml

This file was deleted.

15 changes: 7 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Docs
name: deploy-docs

on:
workflow_dispatch:
Expand All @@ -8,8 +8,6 @@ on:
paths:
- "src/**"
- "moonwave.toml"
- "wally.toml"
- "package.json"
- "**/*.md"

jobs:
Expand All @@ -30,12 +28,13 @@ jobs:
- name: Install Moonwave
run: npm install -g moonwave

- name: Publish Docs
- name: Setup Git
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
git config --global user.email "[email protected]"
git config --global user.name "github-actions-bot"

moonwave build --publish
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish Docs
run: moonwave build --publish
58 changes: 0 additions & 58 deletions .github/workflows/publish.yml

This file was deleted.

62 changes: 62 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: pull-request

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true

on:
pull_request:
types:
- opened
- reopened
- ready_for_review
- synchronize
- unlocked

jobs:
perform-checks:
if: |
github.repository == github.event.pull_request.head.repo.full_name
&& github.event.pull_request.draft == false
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v4

- uses: ok-nick/[email protected]
with:
cache: true

- name: Lint
run: selene src

- name: Ensure version parity
run: lune run ensure-version-parity

- uses: kriasoft/check-version@v1

- name: Ensure tests exist
run: lune run ensure-tests src

format:
needs: perform-checks
runs-on: ubuntu-latest
timeout-minutes: 10

permissions:
contents: write

steps:
- uses: actions/checkout@v4

- uses: ok-nick/[email protected]
with:
cache: true

- name: Format files
run: lune run format-files src

- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Auto-format files"
20 changes: 13 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
*.rbx*
*.env
/*.rbx*
.env
.env.*
*.tsbuildinfo
sourcemap.json

packages/
node_modules/
out/
include/
build/
/Packages
/DevPackages
/ServerPackages
/temp
/node_modules
/out
/include
/build
/dist
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

5 changes: 0 additions & 5 deletions .husky/pre-commit

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": {
"Pkg": "Packages",
"DevPkg": "DevPackages",
"Sift": "src"
}
}
14 changes: 0 additions & 14 deletions .prettierrc.json

This file was deleted.

7 changes: 0 additions & 7 deletions .stylua.toml

This file was deleted.

15 changes: 0 additions & 15 deletions .vscode/launch.json

This file was deleted.

8 changes: 0 additions & 8 deletions .vscode/scripts/run-tests.ps1

This file was deleted.

28 changes: 16 additions & 12 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
{
"[lua]": {
"editor.defaultFormatter": "JohnnyMorganz.stylua"
"editor.defaultFormatter": "JohnnyMorganz.stylua",
"editor.formatOnSave": true,
"editor.formatOnPaste": true
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
"[luau]": {
"editor.defaultFormatter": "JohnnyMorganz.stylua",
"editor.formatOnSave": true,
"editor.formatOnPaste": true
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports": true
"luau-lsp.require.directoryAliases": {
"@Pkg": "Packages",
"@DevPkg": "DevPackages",
"@Sift": "src",
"@lune/": "~/.lune/.typedefs/0.8.0/"
},
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.formatOnType": true,
"debug.toolBarLocation": "hidden",
"files.eol": "\n"
}
"luau-lsp.types.roblox": false,
"luau-lsp.require.mode": "relativeToFile",
"luau-lsp.completion.imports.suggestRequires": false
}
Loading