refactor!: migrate to monorepo (#23)

* refactor!: create monorepo

* chore: prepare release, set up workflows

* refactor: rename `modules` to `src`

* docs: add docs for all packages

* refactor: rename root project file

* chore: bump deps

* build: rename `lint`, add `pack` script

* revert: delete pack script

This will not be useful for development.
This commit is contained in:
richard 2024-10-12 18:29:15 -07:00 • committed by GitHub
parent b038bf1f70
commit 08c7e690d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
81 changed files with 917 additions and 570 deletions

View file

@ -22,15 +22,10 @@ jobs:
uses: CompeyDev/setup-rokit@v0.1.2
- name: Install dependencies
run: |
pnpm install
pnpm wally
run: pnpm install
- name: Check code quality
run: pnpm lint
run: pnpm check
- name: Run ESLint
run: pnpm eslint
- name: Build model
run: rojo build -o charm.rbxm
- name: Build models
run: pnpm build

View file

@ -16,10 +16,17 @@ jobs:
- name: Install dependencies
run: wally install
- name: Build model
run: rojo build -o charm.rbxm
- name: Build models
run: pnpm build
- uses: AButler/upload-release-assets@v3.0
- name: Upload release assets
uses: AButler/upload-release-assets@v3.0
with:
files: "charm.rbxm"
files: "build/*"
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to NPM
run: pnpm --recursive publish --access public
- name: Publish to Wally
run: pnpm --recursive publish:wally