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

Preview/angular #15

Merged
merged 69 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
0639041
refactor(app): WIP add angular18
Nov 1, 2024
2bc4e52
feat(app): WIP implementing new angular app
Nov 2, 2024
3329ee5
feat(learning): WIP implements documentation
Nov 2, 2024
bf3bcbc
feat(settings): add settings on angular app
Nov 3, 2024
db3a1fb
feat(ride-local): implement new screen to ride-local
Nov 5, 2024
9a7646f
refactor(game): move game content to a specific folder
Nov 5, 2024
dded813
core(angular.json): update default schematics config
Nov 7, 2024
3b91623
feat(race): add race component
Nov 7, 2024
e318683
refactor(game): WIP initialize the game from the angular app
Nov 7, 2024
99e1a74
refactor(game): WIP rework game integration in the app
Nov 7, 2024
a59e6e6
refactor(particles): improve particles design
Nov 7, 2024
817d720
feat(app): WIP update implementation and new db management
Nov 9, 2024
7ff8808
core(biome): WIP add biome
Nov 10, 2024
4d5ba42
core(biome): add biome linter and formatter
Nov 10, 2024
dd6b3e6
fix(local-event): use time difference for ranking
Nov 10, 2024
a145cd4
feat(localStorage): add event setup to local storage
Nov 13, 2024
493bce9
fix(rider-local): fix value selection when selecting a track
Nov 13, 2024
0e20e1b
refactor(game): remove old files and class not used anymore
Nov 13, 2024
3b4d4c1
refactor(trackService): remove useless livequery
Nov 13, 2024
9279b49
refactor(app): improve spectator, add particles settings integration
Nov 13, 2024
78b5dca
update preview actions
Nov 13, 2024
edb986c
update yarn.lock
Nov 13, 2024
c527d96
update action
Nov 13, 2024
eaf7d75
remove useless file
Nov 13, 2024
2d9daf8
update build
Nov 14, 2024
c705895
update baseHref
Nov 14, 2024
f358a33
wip angular.json
Nov 14, 2024
2ce362e
wip deployment
Nov 14, 2024
5e8f222
update deployment
Nov 14, 2024
0d54e7f
wip angular.json
Nov 14, 2024
14c0ad0
update build + remove point-event on ui to allow touch
Nov 14, 2024
7aa3580
update preview.yml
Nov 14, 2024
2fb3160
update assets relative path
Nov 14, 2024
b06d35f
test build folder
Nov 14, 2024
bb64e31
test deployment
Nov 14, 2024
40ad2fe
add favicon
Nov 14, 2024
d9216d8
help cleaning race when leaving
Nov 14, 2024
9778f98
fix(toolbar): fix logo path
Nov 14, 2024
ef09f4b
avoid context menu and improve css for touch device
Nov 14, 2024
27d7b6e
fix(app): avoid user selecting text on the app
Nov 14, 2024
2f0f605
refactor(game): improve cleaning game when leaving
Nov 14, 2024
af72b5c
fix(screen): improve responsive for landscape and add update text
Nov 14, 2024
85e22ea
feat(app): update design to inform user of smaller screen about compa…
Nov 14, 2024
08c256d
refactor(app): remove useless + fix compatibility notification positi…
Nov 14, 2024
767b2dd
refactor(app): add a darker background to the page
Nov 14, 2024
75a6a9a
core(app): add .htacces config to deployment
Nov 14, 2024
0f5d947
fix(.htaccess): avoid formatting htaccess
Nov 14, 2024
15d86f5
refactor(local-event): use english instead of french for the button
Nov 14, 2024
850ddaf
update readme and roadmap
Nov 14, 2024
ff617ea
refactor(create-track): auto navigate back after creating a track
Nov 14, 2024
3d466f6
fix(ride-local): fix rider selection
Nov 14, 2024
37a43bf
update readme
Nov 14, 2024
4b024e7
update readme
Nov 14, 2024
83faa34
lint
Nov 14, 2024
93c486f
format code
Nov 14, 2024
535b4de
feat(learnings): add a back button on the last step
Nov 14, 2024
e9d5c0e
feat(learnings): update learnings with keymap and updat readme and r…
Nov 14, 2024
5986101
fix learning keymap name for touch device
Nov 14, 2024
f83f2c5
refactor(ghosts): update ghost naming
Nov 16, 2024
4637d85
core(app): WIP upgrade excaliburjs to latest release
Nov 16, 2024
91b95d0
refactor(particles): improve particles design and style
Nov 16, 2024
bdd2423
core(app): udpate erorr budget size
Nov 16, 2024
4b11ad0
fix(race): replace broken onInitialize after update
Nov 18, 2024
84a84ed
refactor(route): lazy load all routes + fix result button positioning
Dec 5, 2024
9470ec6
fix(game): fix ghost cloning issue + fix pole checkmark display + upd…
Dec 5, 2024
e1bc95c
refactor(app): lint + format
Dec 5, 2024
6327bff
fix(spectator): fix collider on spectators to improve hitbox
Dec 5, 2024
2c66fd8
fix(track): avoid building a ghost object when no ghost is found
Dec 5, 2024
3b10eaa
refactor(game): update readme, roadmap, clean code for release
Dec 5, 2024
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
6 changes: 3 additions & 3 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
- name: Use Node.js 20
uses: actions/setup-node@v2
with:
node-version: '20.10'
node-version: '20.11.1'

- name: 🔨 Build Project
run: |
npm install
npm run build
yarn install
yarn run build

- name: 📂 Sync files
uses: SamKirkland/[email protected]
Expand Down
49 changes: 41 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,42 @@
.vscode
node_modules
# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files.

# Compiled output
/dist
/tmp
/out-tsc
/bazel-out

# Node
/node_modules
npm-debug.log
yarn-error.log

# IDEs and editors
.idea/
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*

# Miscellaneous
/.angular/cache
.sass-cache/
/connect.lock
/coverage
/libpeerconnection.log
testem.log
/typings

# System files
.DS_Store
dist
dist-ssr
*.local
test/images/actual.png
test/images/diff-*.png
yarn.lock
Thumbs.db
28 changes: 0 additions & 28 deletions LICENSE

This file was deleted.

125 changes: 125 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"RetroSki": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss",
"changeDetection": "OnPush",
"skipTests": true
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": [
"zone.js"
],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/assets",
{
"glob": "**/*",
"input": "src/app/game/images",
"output": "assets/images"
},
{
"glob": "**/*",
"input": "src/app/game/sounds",
"output": "assets/sounds"
},
{
"glob": "**/*",
"input": "src/app/game/ghosts",
"output": "assets/ghosts"
},
{
"glob": "**/*",
"input": "src/app/game/tracks",
"output": "assets/tracks"
},
{
"glob": "**/*",
"input": "public"
}
],
"styles": [
"src/styles.scss"
],
"scripts": []
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kB",
"maximumError": "2MB"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kB",
"maximumError": "4kB"
}
],
"outputHashing": "all"
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"buildTarget": "RetroSki:build:production"
},
"development": {
"buildTarget": "RetroSki:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json",
"inlineStyleLanguage": "scss",
"assets": [
{
"glob": "**/*",
"input": "public"
}
],
"styles": [
"src/styles.scss"
],
"scripts": []
}
}
}
}
}
}
25 changes: 18 additions & 7 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": false,
"ignore": []
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 4,
"lineWidth": 120
},
"organizeImports": {
"enabled": true
},
Expand All @@ -15,15 +30,11 @@
}
}
},
"formatter": {
"enabled": true,
"indentWidth": 4,
"lineWidth": 110
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"arrowParentheses": "asNeeded"
"arrowParentheses": "asNeeded",
"trailingCommas": "none"
}
}
}
Loading
Loading