Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test-build-action #4

Merged
merged 12 commits into from
Dec 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build/release

on: push

permissions: write-all

jobs:
release:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [macos-latest]

steps:
- name: Check out Git repository
uses: actions/checkout@v4

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v4
with:
node-version: 20

- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
with:
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
github_token: ${{ secrets.github_token }}

# Always release the app after building
release: true
10 changes: 8 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"files": {
"ignore": ["dist/**/*", "node_modules/**/*", "public/**/*", "**/*.css"]
"ignore": [
"dist/**/*",
"node_modules/**/*",
"public/**/*",
"**/*.css",
".github/**/*"
]
},
"linter": {
"enabled": true,
Expand All @@ -14,7 +20,7 @@
"noCommaOperator": "off"
}
},
"ignore": ["**/*.md", "**/*.css"]
"ignore": ["**/*.md", "**/*.css", ".github/**/*"]
},
"formatter": {
"enabled": true,
Expand Down
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
{
"name": "mcp-manager",
"private": true,
"version": "0.0.0",
"version": "0.1.6",
"main": "./dist-electron/main.js",
"scripts": {
"dev": "bun check && vite --port 7777",
"build": "bun check && vite build",
"dev": "npm run check && vite --port 7777",
"build": "npm run check && vite build",
"lint": "eslint .",
"preview": "vite preview",
"check": "tsc --noEmit && biome check --write .",
"electron:dev": "tsc -p electron/tsconfig.json && vite",
"electron:build": "vite build && tsc -p electron/tsconfig.json && electron-builder --mac"
"electron:build": "vite build && tsc -p electron/tsconfig.json && electron-builder --mac",
"app:dir": "electron-builder --dir",
"app:dist": "electron-builder"
},
"dependencies": {
"lucide-react": "^0.468.0",
Expand Down
2 changes: 1 addition & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {}
Expand Down
Binary file modified public/app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 14 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,17 +229,29 @@ function App() {
</div>
<div className="flex justify-center my-8 flex-col">
<span className="text-md text-center">
Made with ❤️ by zue. You can view the{" "}
Made with ❤️ by zue and some incredible{" "}
<a
href="https://github.com/zueai/mcp-manager/graphs/contributors"
className="link"
target="_blank"
rel="noreferrer"
>
contributors
</a>
.
<br />
You can view the source code on{" "}
<a
href="https://github.com/zueai/mcp-manager"
className="link"
target="_blank"
rel="noreferrer"
>
source code on GitHub
GitHub
</a>
.
<br />
<br />
<a
href="https://zue.ai/talk-to-us"
className="link"
Expand Down
Loading