Skip to content

Commit

Permalink
Turn this repo into a turbo mono repo with pnpm, enable CI
Browse files Browse the repository at this point in the history
  • Loading branch information
HuakunShen committed May 23, 2024
1 parent 15660a9 commit cdb4349
Show file tree
Hide file tree
Showing 6 changed files with 12,378 additions and 11 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: CI Build & Test
# This will build the following packages
# - docs
# - packages/*
# - packages/extensions/*
# - apps/desktop

on:
push:
branches: []
branches: ["main", "dev"]
pull_request:
branches: ["main"]
workflow_dispatch:
Expand All @@ -30,10 +26,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
# - name: Move Package Template
# run: |
# mv ./ci/package.json ./package.json
# mv ./ci/pnpm-workspace.yaml ./pnpm-workspace.yaml
- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.1.7
Expand Down
1 change: 0 additions & 1 deletion extensions/myip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
"postcss": "^8.4.38",
"run-p": "^0.0.0",
"tailwindcss": "^3.4.3",
"tauri-plugin-clipboard-api": "^0.7.0-beta.0",
"typescript": "~5.4.0",
"vite": "^5.2.8",
"vue-tsc": "^2.0.11"
Expand Down
33 changes: 33 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "jarvis-extensions",
"version": "1.0.0",
"description": "Public repo containing all jarvis extensions",
"main": "index.js",
"scripts": {
"build": "turbo build",
"dev": "turbo dev",
"lint": "turbo lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/HuakunTech/JarvisExtensions.git"
},
"author": "Huakun",
"bugs": {
"url": "https://github.com/HuakunTech/JarvisExtensions/issues"
},
"homepage": "https://github.com/HuakunTech/JarvisExtensions#readme",
"devDependencies": {
"prettier": "^3.2.5",
"turbo": "latest"
},
"packageManager": "pnpm@8.9.0",
"engines": {
"node": ">=18"
},
"workspaces": [
"extensions/*",
"extension-templates/*"
]
}
Loading

0 comments on commit cdb4349

Please sign in to comment.