Skip to content

Commit

Permalink
chore: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
hmbanan666 committed Feb 7, 2025
1 parent aae1c7f commit cc7af40
Show file tree
Hide file tree
Showing 9 changed files with 752 additions and 560 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
APPS=("website" "telegram-game")
CHANGED=()
for app in "${APPS[@]}"; do
folder="apps/${app}"
if git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -q "^${folder}/"; then
CHANGED+=("${app}")
fi
done
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
CHANGED=("${APPS[@]}")
else
for app in "${APPS[@]}"; do
folder="apps/${app}"
if git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -q "^${folder}/"; then
CHANGED+=("${app}")
fi
done
fi
if [ ${#CHANGED[@]} -gt 0 ]; then
echo "matrix=$(printf '%s\n' "${CHANGED[@]}" | jq -R . | jq -s . | tr -d '[:space:]')" >> $GITHUB_OUTPUT
Expand Down
6 changes: 3 additions & 3 deletions apps/telegram-game/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@
"@vue/tsconfig": "^0.7.0",
"@vueuse/core": "^12.5.0",
"eruda": "^3.4.1",
"tailwindcss": "^4.0.1",
"tailwindcss": "^4.0.4",
"typescript": "*",
"unplugin-auto-import": "^19.0.0",
"unplugin-icons": "^22.0.0",
"unplugin-vue-components": "^28.0.0",
"vite": "^6.0.11",
"vite": "^6.1.0",
"vite-plugin-terminal": "^1.2.0",
"vite-plugin-vue-devtools": "^7.7.0",
"vite-plugin-vue-devtools": "^7.7.1",
"vue-tsc": "^2.2.0"
}
}
6 changes: 3 additions & 3 deletions apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@
"@nuxt/icon": "^1.10.3",
"@nuxt/kit": "^3.15.2",
"@nuxtjs/i18n": "^9.1.1",
"@tailwindcss/vite": "^4.0.0",
"@tailwindcss/vite": "^4.0.4",
"@types/howler": "^2.2.12",
"@types/node": "*",
"@vueuse/components": "^12.4.0",
"@vueuse/core": "^12.4.0",
"@vueuse/nuxt": "^12.4.0",
"nuxt": "^3.15.2",
"nuxt": "^3.15.4",
"nuxt-auth-utils": "^0.5.7",
"prisma": "^6.2.1",
"tailwindcss": "^4.0.0",
"tailwindcss": "^4.0.4",
"vue-tsc": "^2.2.0"
}
}
2 changes: 1 addition & 1 deletion docker/telegram-game/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKDIR /app

COPY ./ ./

RUN npm install -g pnpm \
RUN npm install -g pnpm --ignore-scripts \
&& pnpm i --frozen-lockfile --ignore-scripts \
&& pnpm build --filter @chat-game/telegram-game

Expand Down
2 changes: 1 addition & 1 deletion docker/website/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY ./prisma ./prisma
COPY ./packages ./packages
COPY ./apps/website ./apps/website

RUN npm install -g pnpm \
RUN npm install -g pnpm --ignore-scripts \
&& pnpm i --frozen-lockfile --ignore-scripts \
&& pnpm build --filter @chat-game/website

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/node": "^22.10.7",
"@types/node": "^22.13.1",
"dotenv-cli": "^8.0.0",
"husky": "^9.1.7",
"lint-staged": "^15.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/addon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"@chat-game/types": "workspace:*",
"@paralleldrive/cuid2": "^2.2.2",
"pixi.js": "^8.6.6"
"pixi.js": "^8.7.3"
},
"devDependencies": {
"@chat-game/eslint": "workspace:*"
Expand Down
4 changes: 2 additions & 2 deletions packages/game/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"dependencies": {
"@chat-game/types": "workspace:*",
"@paralleldrive/cuid2": "^2.2.2",
"@vueuse/core": "^12.4.0",
"pixi.js": "^8.6.6"
"@vueuse/core": "^12.5.0",
"pixi.js": "^8.7.3"
},
"devDependencies": {
"@chat-game/eslint": "workspace:*"
Expand Down
Loading

0 comments on commit cc7af40

Please sign in to comment.