-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates the framework repo to newer standards, which make things more clear and organized
- Loading branch information
Showing
14 changed files
with
130 additions
and
238 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Draft | ||
name: Release | ||
|
||
on: | ||
push: | ||
|
@@ -11,88 +11,77 @@ permissions: | |
id-token: write | ||
|
||
jobs: | ||
bump: | ||
name: Bump Versions | ||
changelog: | ||
name: Changelog | ||
runs-on: ubuntu-latest | ||
outputs: | ||
release-body: ${{ steps.update-changelog.outputs.release-notes }} | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: "main" | ||
ref: main | ||
|
||
- name: Update changelog | ||
id: update-changelog | ||
uses: thomaseizinger/[email protected] | ||
with: | ||
tag: ${{ github.ref_name }} | ||
changelogPath: "docs/changelog.md" | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name "github-actions[bot]" | ||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
changelogPath: 'docs/changelog.md' | ||
|
||
- name: Commit and push | ||
run: | | ||
git add docs/changelog.md | ||
git commit --message "Bump version to ${{ github.ref_name }}" | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
message: Bump version to ${{ github.ref_name }} | ||
default_author: github_actions | ||
|
||
publish-build: | ||
name: Publish Assets | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
needs: bump | ||
needs: changelog | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Rokit | ||
uses: CompeyDev/[email protected] | ||
|
||
- name: Install Wally dependencies | ||
run: wally install | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Generate sourcemap | ||
run: rojo sourcemap standalone.project.json --output sourcemap.json | ||
- name: Setup Pesde | ||
uses: 2jammers/[email protected] | ||
with: | ||
cache: true | ||
|
||
- name: Generate package types | ||
run: wally-package-types --sourcemap sourcemap.json Packages | ||
- name: Install dependencies | ||
run: pesde install | ||
|
||
- name: Format code | ||
run: stylua src/ | ||
|
||
- name: Build standalone | ||
- name: Standalone build | ||
run: rojo build standalone.project.json --output ./Standalone.rbxm | ||
|
||
- name: Draft release | ||
uses: softprops/[email protected].8 | ||
- name: Standalone release | ||
uses: softprops/[email protected].9 | ||
with: | ||
tag_name: ${{ github.ref_name }} | ||
name: ${{ github.ref_name }} | ||
prerelease: ${{ contains(github.ref_name, 'rc') }} | ||
generate_release_notes: true | ||
body: | | ||
## Changelog | ||
${{ needs.bump.outputs.release-body }} | ||
${{ needs.changelog.outputs.release-body }} | ||
files: | | ||
./Standalone.rbxm | ||
publish-package: | ||
name: Publish Package | ||
package: | ||
name: Package | ||
runs-on: ubuntu-latest | ||
needs: bump | ||
needs: changelog | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Rokit | ||
uses: CompeyDev/[email protected] | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Log In | ||
run: | | ||
wally login --token "${{secrets.WALLY_AUTH_TOKEN}}" | ||
- name: Setup Pesde | ||
uses: 2jammers/[email protected] | ||
with: | ||
cache: true | ||
token: '${{ secrets.PESDE_TOKEN }}' | ||
|
||
- name: Publish | ||
run: | | ||
wally publish | ||
pesde install | ||
pesde publish -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
# Moonwave | ||
venv | ||
# Pesde | ||
.pesde | ||
roblox_packages | ||
lune_packages | ||
luau_packages | ||
pesde.lock | ||
|
||
# Wally | ||
Packages | ||
DevPackages | ||
wally.lock | ||
|
||
# Argon | ||
# Rojo | ||
sourcemap.json | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,36 @@ | ||
# Framework | ||
# lumin/framework | ||
|
||
[![license](https://img.shields.io/github/license/luminlabsdev/framework)](https://github.com/luminlabsdev/framework/blob/main/LICENSE) | ||
[![release](https://img.shields.io/github/v/release/luminlabsdev/framework)](https://github.com/luminlabsdev/framework/releases/latest) | ||
[![discord](https://img.shields.io/discord/1105688855375511642?logo=discord&logoColor=white&label=discord&color=4d3dff)](https://luminlabsdev.github.io/link/discord) | ||
[![package](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2Flumin-org%2Fframework%2Frefs%2Fheads%2Fmain%2Fpesde.toml&query=version&prefix=lumin%2Fui%40&style=plastic&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI%2BCjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDkuNjAyNSAwTDkyLjkwMzggMjVWNzVMNDkuNjAyNSAxMDBMNi4zMDEyNyA3NVYyNUw0OS42MDI1IDBaTTE0LjMwMTMgMjkuNjE4OEw0OS42MDI1IDkuMjM3Nkw4NC45MDM4IDI5LjYxODhWNzAuMzgxMkw0OS42MDI1IDkwLjc2MjRMMzMuNjE0O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45MzIzIDQ4Ljg2MDkgNDcuNzY4MSA0OC43MDY3QzQ2LjA4NSA0Ny4wNzQ2IDQ0LjA0NDkgNDYuMjU4NSA0MS42NDc4IDQ2LjI1ODVDNDAuMTE3NyA0Ni4yNTg1IDM4LjYxMzEgNDYuNTY0NSAzNy4xMzQgNDcuMTc2NkMzNS44NTk0IDQ3LjY3NzMgMzQuNjg2MyA0OC41NDM4IDMzLjYxNDggNDkuNzc1OVY2MS40N0MzNC42ODYzIDYyLjY2NjQgMzUuODU5NCA2My41Mzc4IDM3LjEzNCA2NC4wODRDMzguNjEzMSA2NC42OTYxIDQwLjExNzcgNjUuMDAyMSA0MS42NDc4IDY1LjAwMjFDNDQuMDQ0OSA2NS4wMDIxIDQ2LjA4NSA2NC4xODYxIDQ3Ljc2ODEgNjIuNTU0QzQ5LjQ1MTIgNjAuOTIxOSA1MC4yOTI4IDU4LjYwMTIgNTAuMjkyOCA1NS41OTIxQzUwLjI5MjggNTQuMDY3OSA1MC4wNzY5IDUyLjcyNyA0OS42NDUxIDUxLjU2OTJaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K&label=pesde&color=F19D1E)](https://pesde.dev/packages/lumin/framework) | ||
[![ci](https://img.shields.io/github/actions/workflow/status/lumin-org/framework/release.yml?style=plastic&logo=github&logoColor=FFFFFF&label=ci)](https://github.com/lumin-org/framework/blob/main/.github/workflows/release.yml) | ||
[![discord](https://img.shields.io/discord/1105688855375511642?logo=discord&logoColor=white&label=chat&color=4d3dff&style=plastic)](https://lumin-org.github.io/to/discord) | ||
|
||
A lightning fast & efficient framework for Roblox. | ||
A featherlight and quick framework for Roblox experiences. | ||
|
||
## Prerequisites | ||
|
||
In order to use **lumin/framework** you must have the following dependencies installed: | ||
|
||
* [`pesde@^0.5.1`](https://github.com/pesde-pkg/pesde) | ||
* [`rojo@^7.4.4`](https://github.com/rojo-rbx/rojo) | ||
|
||
## Usage | ||
|
||
This usage examples creates a new, and basic controller that uses another dependency. | ||
|
||
```luau | ||
local Framework = require(path.to.framework) | ||
local Dependency = require(path.to.dependency) | ||
local function Init() | ||
Dependency.NuclearExplosion() | ||
end | ||
return Framework.New { | ||
Init = Init, | ||
Uses = { Dependency } -- Makes the dependency load first | ||
} | ||
``` | ||
|
||
# License | ||
|
||
This project is licensed under the [MIT](https://github.com/lumin-org/framework/blob/main/LICENSE) license |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.