-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update: migrate to turborepo & feat: tauri
- Loading branch information
Showing
260 changed files
with
25,661 additions
and
22,801 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: Auto Build App Artifacts | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- .github/workflows/build-app.yml | ||
- 'apps/app/**' | ||
- 'packages/commons/**' | ||
- 'packages/configs/**' | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- .github/workflows/build-app.yml | ||
- 'apps/app/**' | ||
- 'packages/commons/**' | ||
- 'packages/configs/**' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
platform: [ macos-latest, windows-latest, ubuntu-22.04 ] | ||
|
||
runs-on: ${{ matrix.platform }} | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: lts/* | ||
|
||
- name: Install PNPM | ||
run: npm i -g pnpm | ||
|
||
- name: Install dependencies | ||
run: pnpm install --no-frozen-lockfile | ||
|
||
- name: Build app | ||
run: pnpm app:build | ||
|
||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ matrix.platform }} | ||
path: | | ||
target/*/release/bundle/*/*.dmg | ||
target/*/release/bundle/*/*.app.tar.gz | ||
target/*/release/bundle/*/*.app.tar.gz.sig | ||
target/release/bundle/*/*.dmg | ||
target/release/bundle/*/*.app.tar.gz | ||
target/release/bundle/*/*.app.tar.gz.sig | ||
target/release/bundle/*/*.AppImage | ||
target/release/bundle/*/*.AppImage.tar.gz | ||
target/release/bundle/*/*.AppImage.tar.gz.sig | ||
target/release/bundle/*/*.deb | ||
target/release/bundle/*/*.rpm | ||
target/release/bundle/msi/*.msi | ||
target/release/bundle/msi/*.msi.zip | ||
target/release/bundle/msi/*.msi.zip.sig | ||
target/release/bundle/nsis/*.exe | ||
target/release/bundle/nsis/*.nsis.zip | ||
target/release/bundle/nsis/*.nsis.zip.sig | ||
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Auto Build Web Artifacts | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- .github/workflows/build-app.yml | ||
- 'apps/web/**' | ||
- 'packages/commons/**' | ||
- 'packages/configs/**' | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- .github/workflows/build-app.yml | ||
- 'apps/web/**' | ||
- 'packages/commons/**' | ||
- 'packages/configs/**' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: lts/* | ||
|
||
- name: Install PNPM | ||
run: npm i -g pnpm | ||
|
||
- name: Install dependencies | ||
run: pnpm install --no-frozen-lockfile | ||
|
||
- name: Build website | ||
run: pnpm web:build | ||
|
||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: MCSL-Future-Web | ||
path: ./apps/web/.output |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,27 +1,50 @@ | ||
# Nuxt dev/build outputs | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# Dependencies | ||
node_modules | ||
.pnp | ||
.pnp.js | ||
|
||
# Local env files | ||
.env | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
# Testing | ||
coverage | ||
|
||
# Turbo | ||
.turbo | ||
|
||
# Build Outputs | ||
out | ||
build | ||
dist | ||
.output | ||
.data | ||
.nuxt | ||
.nitro | ||
.cache | ||
dist | ||
|
||
# Node dependencies | ||
node_modules | ||
|
||
# Logs | ||
logs | ||
*.log | ||
# Debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Misc | ||
.DS_Store | ||
.fleet | ||
*.pem | ||
.vscode/* | ||
!.vscode/extensions.json | ||
!.vscode/settings.json | ||
.idea | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
# Local env files | ||
.env | ||
.env.* | ||
!.env.example | ||
|
||
# MCSL Future Web data | ||
docs | ||
# Cargo | ||
/target |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"Vue.volar", | ||
"tauri-apps.tauri-vscode", | ||
"rust-lang.rust-analyzer" | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"eslint.workingDirectories": [ | ||
{ | ||
"mode": "auto" | ||
} | ||
] | ||
} |
Oops, something went wrong.