Skip to content

Commit 68a309c

Browse files
Initial commit: Team Workspace & RBAC
0 parents  commit 68a309c

68 files changed

Lines changed: 16675 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Build and Release
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
tags:
8+
- 'v*'
9+
10+
jobs:
11+
build:
12+
runs-on: ${{ matrix.os }}
13+
14+
strategy:
15+
matrix:
16+
os: [windows-latest, macos-latest, ubuntu-latest]
17+
18+
steps:
19+
- name: Checkout Code
20+
uses: actions/checkout@v4
21+
22+
- name: Setup Node.js
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: 20
26+
cache: 'npm'
27+
28+
- name: Install Dependencies
29+
run: npm install --legacy-peer-deps
30+
31+
- name: Build Assets
32+
run: npm run build
33+
34+
- name: Build and Publish Electron App
35+
uses: samuelmeuli/action-electron-builder@v1
36+
with:
37+
github_token: ${{ secrets.GITHUB_TOKEN }}
38+
publish: always
39+
# On macOS, code signing is required for auto-updates.
40+
# For Windows, it's highly recommended.
41+
# Set these secrets in GitHub if you have certificates:
42+
# macos_certs: ${{ secrets.MACOS_CERTS }}
43+
# macos_certs_password: ${{ secrets.MACOS_CERTS_PASSWORD }}

.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
node_modules
2+
out
3+
dist
4+
*.log
5+
.DS_Store
6+
Thumbs.db
7+
.env*
8+
.vercel
9+
.vscode
10+
.idea
11+
.agent
12+
.agents
13+
_agent
14+
_agents

build/icon.jpg

236 KB
Loading

build_log.txt

3.45 KB
Binary file not shown.

electron.vite.config.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import { resolve } from 'path'
2+
import { defineConfig, externalizeDepsPlugin } from 'electron-vite'
3+
import react from '@vitejs/plugin-react'
4+
import tailwindcss from '@tailwindcss/vite'
5+
6+
export default defineConfig({
7+
main: {
8+
plugins: [externalizeDepsPlugin()]
9+
},
10+
preload: {
11+
plugins: [externalizeDepsPlugin()]
12+
},
13+
renderer: {
14+
resolve: {
15+
alias: {
16+
'@': resolve('src/renderer/src')
17+
}
18+
},
19+
plugins: [react(), tailwindcss()],
20+
// server: {
21+
// port: 4174
22+
// }
23+
}
24+
})

0 commit comments

Comments
 (0)