Skip to content

Commit

Permalink
use workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
hallipr committed May 2, 2024
1 parent d5e1408 commit 0c6cb88
Show file tree
Hide file tree
Showing 44 changed files with 171 additions and 143 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
run: npm ci
- name: npm run build
shell: bash
run: npm run build
run: npm -ws run build
- name: upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./dist
path: ./packages/app/dist
- name: deploy to github pages
id: deployment
uses: actions/deploy-pages@v1
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Rust cache
uses: swatinem/rust-cache@v2
with:
workspaces: './src-tauri -> target'
workspaces: './packages/app/src-tauri -> target'

- name: install frontend dependencies
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
Expand Down
242 changes: 127 additions & 115 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 5 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,15 @@
{
"name": "vite-vue-typescript-starter",
"name": "vite-vue-tauri-test",
"private": true,
"version": "0.0.0",
"type": "module",
"main": "dist/index.html",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"tauri": "tauri",
"test": "jest"
},
"dependencies": {
"@tauri-apps/api": "^1",
"luxon": "^3.4.2",
"vue": "^3.4.21"
},
"devDependencies": {
"@tauri-apps/cli": "^1",
"@types/jest": "^29.5.12",
"@types/luxon": "^3.4.2",
"@vitejs/plugin-vue": "^5.0.4",
"autoprefixer": "^10.4.19",
"jest": "^29.7.0",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.3",
"ts-jest": "^29.1.2",
"typescript": "^5.4.4",
"vite": "^5.2.6",
"vue-tsc": "^2.0.7"
}
},
"workspaces": [
"packages/*"
]
}
File renamed without changes.
Loading

0 comments on commit 0c6cb88

Please sign in to comment.