refactor(apps): move all apps into apps directory
@@ -48,7 +48,9 @@ jobs:
|
||||
run: pnpm run packages:stub
|
||||
|
||||
- name: Build
|
||||
run: pnpm run packages:build
|
||||
run: |
|
||||
pnpm run packages:build
|
||||
pnpm run apps:build
|
||||
|
||||
typecheck:
|
||||
name: Type Check
|
||||
|
||||
@@ -16,19 +16,19 @@ jobs:
|
||||
lfs: true
|
||||
|
||||
- run: |-
|
||||
git clone https://$HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/moeru-ai/moonshine-web-vue --depth 1 packages/moonshine-web/dist
|
||||
git clone https://$HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/moeru-ai/moonshine-web-vue --depth 1 apps/moonshine-web/dist
|
||||
env:
|
||||
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
||||
HF_USERNAME: ${{ secrets.HF_USERNAME }}
|
||||
|
||||
- run: |-
|
||||
git clone https://$HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/moeru-ai/whisper-webgpu-vue --depth 1 packages/whisper-webgpu/dist
|
||||
git clone https://$HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/moeru-ai/whisper-webgpu-vue --depth 1 apps/whisper-webgpu/dist
|
||||
env:
|
||||
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
||||
HF_USERNAME: ${{ secrets.HF_USERNAME }}
|
||||
|
||||
- run: |-
|
||||
git clone https://$HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/moeru-ai/airi --depth 1 packages/stage-web/dist
|
||||
git clone https://$HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/moeru-ai/airi --depth 1 apps/stage-web/dist
|
||||
env:
|
||||
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
||||
HF_USERNAME: ${{ secrets.HF_USERNAME }}
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
VITE_APP_TARGET_HUGGINGFACE_SPACE: 'true'
|
||||
|
||||
- id: moonshine_web_diff
|
||||
working-directory: ./packages/moonshine-web/dist
|
||||
working-directory: ./apps/moonshine-web/dist
|
||||
run: |-
|
||||
git lfs ls-files --all
|
||||
git add .
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
fi
|
||||
|
||||
- if: steps.moonshine_web_diff.outputs.changes == 'true'
|
||||
working-directory: ./packages/moonshine-web/dist
|
||||
working-directory: ./apps/moonshine-web/dist
|
||||
env:
|
||||
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
||||
HF_USERNAME: ${{ secrets.HF_USERNAME }}
|
||||
@@ -67,7 +67,7 @@ jobs:
|
||||
git push -f
|
||||
|
||||
- id: whisper_webgpu_diff
|
||||
working-directory: ./packages/whisper-webgpu/dist
|
||||
working-directory: ./apps/whisper-webgpu/dist
|
||||
run: |-
|
||||
git lfs ls-files --all
|
||||
git add .
|
||||
@@ -76,7 +76,7 @@ jobs:
|
||||
fi
|
||||
|
||||
- if: steps.whisper_webgpu_diff.outputs.changes == 'true'
|
||||
working-directory: ./packages/whisper-webgpu/dist
|
||||
working-directory: ./apps/whisper-webgpu/dist
|
||||
env:
|
||||
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
||||
HF_USERNAME: ${{ secrets.HF_USERNAME }}
|
||||
@@ -88,7 +88,7 @@ jobs:
|
||||
git push -f
|
||||
|
||||
- id: airi_diff
|
||||
working-directory: ./packages/stage-web/dist
|
||||
working-directory: ./apps/stage-web/dist
|
||||
run: |-
|
||||
git lfs ls-files --all
|
||||
git add .
|
||||
@@ -97,7 +97,7 @@ jobs:
|
||||
fi
|
||||
|
||||
- if: steps.airi_diff.outputs.changes == 'true'
|
||||
working-directory: ./packages/stage-web/dist
|
||||
working-directory: ./apps/stage-web/dist
|
||||
env:
|
||||
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
||||
HF_USERNAME: ${{ secrets.HF_USERNAME }}
|
||||
|
||||
@@ -69,7 +69,7 @@ jobs:
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Build Dependencies
|
||||
run: pnpm run build
|
||||
run: pnpm run packages:build
|
||||
|
||||
- name: Build Application
|
||||
run: pnpm run -F @proj-airi/stage-tamagotchi build:${{ matrix.platform }}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[build]
|
||||
publish = "packages/moonshine-web/dist"
|
||||
command = "pnpm run packages:stub && pnpm run build"
|
||||
publish = "apps/moonshine-web/dist"
|
||||
command = "pnpm run packages:stub && pnpm -F @proj-airi/moonshine-web run build"
|
||||
|
||||
[build.environment]
|
||||
NODE_VERSION = "23"
|
||||
|
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
@@ -16,8 +16,8 @@ export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
'@renderer': resolve(join('src', 'renderer', 'src')),
|
||||
'@proj-airi/stage-ui': resolve(join(import.meta.dirname, '..', 'stage-ui', 'dist')),
|
||||
'@proj-airi/stage-ui/stores': resolve(join(import.meta.dirname, '..', 'stage-ui', 'dist', 'stores')),
|
||||
'@proj-airi/stage-ui': resolve(join(import.meta.dirname, '..', '..', 'packages', 'stage-ui', 'dist')),
|
||||
'@proj-airi/stage-ui/stores': resolve(join(import.meta.dirname, '..', '..', 'packages', 'stage-ui', 'dist', 'stores')),
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
@@ -12,7 +12,7 @@
|
||||
"./src/renderer/src/*"
|
||||
],
|
||||
"@proj-airi/stage-ui/*": [
|
||||
"../stage-ui/src/*"
|
||||
"../../packages/stage-ui/src/*"
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -21,6 +21,6 @@
|
||||
"src/renderer/src/**/*",
|
||||
"src/renderer/src/**/*.vue",
|
||||
"src/preload/*.d.ts",
|
||||
"../stage-ui/src/**/*.ts" // REVIEW: why?
|
||||
"../../packages/stage-ui/src/**/*.ts" // REVIEW: why?
|
||||
]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
[build]
|
||||
publish = "packages/stage-web/dist"
|
||||
command = "pnpm run packages:stub && pnpm run build"
|
||||
publish = "apps/stage-web/dist"
|
||||
command = "pnpm run packages:stub && pnpm -F @proj-airi/stage-web run build"
|
||||
|
||||
[build.environment]
|
||||
NODE_VERSION = "23"
|
||||
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 163 KiB After Width: | Height: | Size: 163 KiB |