-
Notifications
You must be signed in to change notification settings - Fork 1
feat: add wip "game" #127
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
Merged
feat: add wip "game" #127
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
be737ca
ci: enforce timeout for github actions jobs
shanedg fa04c31
feat(typescript): add shared base tsconfig
shanedg 95df8e8
build(client): use shared tsconfig
shanedg c29b246
build(client): support transforming more files and add compilation ta…
shanedg ece896d
feat(eslint-config): enforce type-only import ordering
shanedg a50a8c9
feat(client): use shared nav component
shanedg d475ce8
feat(components): add shared components package with flex helper
shanedg 42e108f
feat(client): add wip game
shanedg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,7 @@ on: | |
| jobs: | ||
| install: | ||
| runs-on: ubuntu-22.04 | ||
| timeout-minutes: 5 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,26 +1,18 @@ | ||
| export default { | ||
| rootDir: './', | ||
| transform: { | ||
| // Only files in src/ are built & transpiled by Babel, so only these should be transformed. | ||
| // Note that the transform pattern is matched against the full path. | ||
| // This creates some trouble in CI because Drone's default workspace already includes src/ (/drone/src). | ||
| // To workaround this, include the package directory in the transform pattern (/client/src) | ||
| // as a defense against transforming unintended files. | ||
| // Unfortunately, we can't use <rootDir> in this pattern. | ||
| '\\/client\\/src\\/.+\\.[t|j]sx?$': [ | ||
| 'babel-jest', | ||
| ], | ||
| // jest-setup.ts needs to be .ts to include types for | ||
| // extended Jest matchers from @testing-library/jest-dom | ||
| '\\/client\\/jest-setup\\.ts$': [ | ||
| 'babel-jest', | ||
| ], | ||
| }, | ||
| collectCoverage: true, | ||
| testEnvironment: 'jsdom', | ||
| setupFilesAfterEnv: ['<rootDir>/jest-setup.ts'], | ||
| moduleNameMapper: { | ||
| // See https://jestjs.io/docs/webpack#handling-static-assets | ||
| '\\.(css|less)$': '<rootDir>/__mocks__/styleMock.cjs', | ||
| }, | ||
| setupFilesAfterEnv: ['<rootDir>/jest-setup.ts'], | ||
| testEnvironment: 'jsdom', | ||
| /** | ||
| * Most files built & transpiled by Babel are just in src/ | ||
| * but other local projects and some config file extensions may also need processing: | ||
| * i.e. @trshcmpctr/components, jest-setup.ts | ||
| */ | ||
| transformIgnorePatterns: [ | ||
| 'common/temp/node_modules/.pnpm', | ||
| 'node_modules', | ||
| ], | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very old!