Skip to content

Commit

Permalink
Merge branch 'main' into docs/next
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxuum committed Jul 7, 2024
2 parents 3153333 + 327db77 commit 5fb4d2f
Show file tree
Hide file tree
Showing 132 changed files with 9,121 additions and 6,712 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
version: 9
- name: Enable Corepack
run: corepack enable

- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
cache-dependency-path: ./docs/pnpm-lock.yaml
cache: "yarn"

- name: Install dependencies
working-directory: ./docs
run: pnpm install
run: yarn install

- name: Test build website
working-directory: ./docs
run: pnpm build
- name: Build website
run: yarn workspace docs build
16 changes: 7 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
version: 9
- name: Enable Corepack
run: corepack enable

- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
cache-dependency-path: ./pnpm-lock.yaml
cache: "yarn"

- name: Install dependencies
run: pnpm install
run: yarn install

- name: Run Biome
run: pnpm biome ci .
run: yarn biome ci

- name: Compile
run: pnpm compile --verbose
- name: Build project
run: yarn packages:build
54 changes: 0 additions & 54 deletions .github/workflows/deploy-docs.yml

This file was deleted.

4 changes: 1 addition & 3 deletions .github/workflows/publish-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ jobs:
uses: actions/checkout@v4

- name: Set version
run: |
CURRENT=$(cat package.json | jq -r .version)
echo "VERSION="${CURRENT::-1}$((${CURRENT: -1} + 1))"-dev.$(git rev-parse --short HEAD)" >> $GITHUB_ENV
run: echo "VERSION=$(cat package.json | jq -r .version)-dev-$(git rev-parse --short HEAD)" >> $GITHUB_ENV

- name: Check version
run: |
Expand Down
28 changes: 23 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
/node_modules
/out
/include
/test/out
/test/include
node_modules/

# roblox-ts
out/
include/
*.tsbuildinfo

# docs
dist/
.astro/

# Yarn
.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
yarn-debug.log*
yarn-error.log*

# macOS-specific files
.DS_Store
894 changes: 894 additions & 0 deletions .yarn/releases/yarn-4.3.1.cjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
yarnPath: .yarn/releases/yarn-4.3.1.cjs
nodeLinker: node-modules
nmHoistingLimits: workspaces
23 changes: 16 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,34 @@
<div align="center">
<a href="https://paradoxuum.github.io/commander/" target="_blank">
<img src="docs/src/assets/logo.webp" width="150" />
<a href="https://commander.paradoxum.dev/" target="_blank">
<img src="docs/src/assets/logo.webp" width="150" />
</a>

<h1>Commander</h1>
<h1>Centurion</h1>

<p>
<strong>A flexible and extensible command framework for roblox-ts</strong>
</p>

<h4>
<a href="https://paradoxuum.github.io/commander/">Documentation</a>
</h4>
[![CI status][ci-badge]][ci-url]
[![npm latest version][npm-latest-badge]][npm-latest-url]
[![npm dev version][npm-next-badge]][npm-next-url]

[npm-latest-badge]: https://img.shields.io/npm/v/%40rbxts%2Fcommander?logo=npm&label=latest&color=green
[npm-latest-url]: https://www.npmjs.com/package/@rbxts/commander/v/latest
[npm-next-badge]: https://img.shields.io/npm/v/%40rbxts%2Fcommander%2Fnext?logo=npm&label=next
[npm-next-url]: https://www.npmjs.com/package/@rbxts/commander/v/next
[ci-badge]: https://github.com/paradoxuum/commander/actions/workflows/ci.yml/badge.svg?branch=main
[ci-url]: https://github.com/paradoxuum/commander/actions/workflows/ci.yml

<a href="https://commander.paradoxum.dev/">📖 Documentation</a>
</div>


<img src="public/banner.png" />

## About

Commander is a command framework built for roblox-ts.
Centurion is a command framework built for roblox-ts.

- Commands are defined using decorators in an easy and readable manner.
- Custom argument types can be created, allowing for a great deal of flexibility for your commands.
Expand Down
15 changes: 8 additions & 7 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@
},
"dependencies": {
"@astrojs/check": "^0.7.0",
"@astrojs/starlight": "^0.24.0",
"@astrojs/starlight": "^0.25.0",
"@astrojs/starlight-tailwind": "^2.0.3",
"@astrojs/tailwind": "^5.1.0",
"@fontsource-variable/jetbrains-mono": "^5.0.21",
"@lorenzo_lewis/starlight-utils": "^0.1.1",
"astro": "^4.10.0",
"astro": "^4.11.5",
"sharp": "^0.33.4",
"starlight-links-validator": "^0.9.0",
"typescript": "^5.4.5"
"tailwindcss": "^3.4.4",
"typescript": "^5.5.3"
},
"devDependencies": {
"sass": "^1.77.4"
"sass": "^1.77.6"
}
}
}
Loading

0 comments on commit 5fb4d2f

Please sign in to comment.