Skip to content

Commit

Permalink
🚧 Type definitions for original entities (#4)
Browse files Browse the repository at this point in the history
The change takes #1 as a base
and rewrites it to TypeScript by giving more understanding to the
codebase.
  • Loading branch information
satelllte authored Apr 17, 2024
1 parent 94ef741 commit 1aaa3a8
Show file tree
Hide file tree
Showing 133 changed files with 23,207 additions and 21,863 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ jobs:
run: bun install --frozen-lockfile
- name: Test (formatting)
run: bun run test:format
- name: Build
run: bun run build
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
Binary file modified bun.lockb
Binary file not shown.
3 changes: 1 addition & 2 deletions src-raw/index.html → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"
/>
<div id="game" style="display: none"></div>
<script src="howler.core.min.js"></script>
<script src="Rotate.js"></script>
<script type="module" src="./src/Rotate.ts"></script>
</body>
</html>
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
{
"name": "rotate",
"scripts": {
"dev:raw": "serve src-raw",
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"test:format": "prettier . --check",
"format": "prettier . --write"
},
"devDependencies": {
"@types/howler": "2.0.4",
"prettier": "3.2.5",
"serve": "14.2.1"
"typescript": "5.4.4",
"vite": "5.2.8"
},
"dependencies": {
"howler": "2.0.4"
}
}
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions src-raw/README.md

This file was deleted.

Loading

0 comments on commit 1aaa3a8

Please sign in to comment.