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

Migrate to vite.js and Typescript (fully typed) #204

Merged
merged 1 commit into from
Mar 16, 2023
Merged

Migrate to vite.js and Typescript (fully typed) #204

merged 1 commit into from
Mar 16, 2023

Conversation

spaenleh
Copy link
Member

@spaenleh spaenleh commented Mar 6, 2023

This PR adds vite as the bundler (instead of Create React App) and moves all files to typescript.

The code organisation is inspired by bullet proof react with the modules folder and then repartition by "feature".

Imports are absolute with path aliases:

  • @/ points to /src

closes #133

@spaenleh spaenleh self-assigned this Mar 6, 2023
@spaenleh spaenleh added build Build and developer operations feature New feature or request labels Mar 6, 2023
@spaenleh spaenleh force-pushed the ts-vite branch 2 times, most recently from 7b4896a to 71a7456 Compare March 6, 2023 21:04
@spaenleh spaenleh temporarily deployed to development March 7, 2023 09:39 — with GitHub Actions Inactive
@spaenleh spaenleh temporarily deployed to development March 7, 2023 10:27 — with GitHub Actions Inactive
@spaenleh spaenleh temporarily deployed to development March 7, 2023 10:47 — with GitHub Actions Inactive
@spaenleh spaenleh temporarily deployed to development March 7, 2023 12:09 — with GitHub Actions Inactive
@spaenleh spaenleh temporarily deployed to development March 7, 2023 12:37 — with GitHub Actions Inactive
@spaenleh spaenleh temporarily deployed to development March 7, 2023 12:57 — with GitHub Actions Inactive
Copy link
Contributor

@pyphilia pyphilia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, can't wait to see the improvement while working on player 😮

.github/workflows/cintegration-s3-caller.yml Outdated Show resolved Hide resolved
.github/workflows/deploy-dev-template.yml Outdated Show resolved Hide resolved
.yarn/sdks/eslint/bin/eslint.js Outdated Show resolved Hide resolved
cypress/e2e/header.cy.ts Outdated Show resolved Hide resolved
cypress/e2e/header.cy.ts Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
src/config/constants.ts Outdated Show resolved Hide resolved
src/config/env.ts Outdated Show resolved Hide resolved
src/modules/item/Item.tsx Show resolved Hide resolved
src/modules/item/ItemScreen.tsx Show resolved Hide resolved
Copy link

@swouf swouf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

I guess that all files in .yarn/sdks/ are automatically generated so I didn't review them (I guess they can be trusted).

.github/workflows/cintegration-s3-caller.yml Outdated Show resolved Hide resolved
.github/workflows/deploy-dev-template.yml Outdated Show resolved Hide resolved
.github/workflows/deploy-dev-template.yml Outdated Show resolved Hide resolved
.vscode/extensions.json Outdated Show resolved Hide resolved
cypress/e2e/header.cy.ts Outdated Show resolved Hide resolved
cypress/e2e/header.cy.ts Outdated Show resolved Hide resolved
cypress/e2e/pinned.cy.ts Outdated Show resolved Hide resolved
cypress/e2e/pinned.cy.ts Outdated Show resolved Hide resolved
@swouf swouf removed their assignment Mar 9, 2023
@spaenleh spaenleh temporarily deployed to development March 15, 2023 14:11 — with GitHub Actions Inactive
@spaenleh spaenleh requested a review from pyphilia March 16, 2023 12:24
Copy link
Contributor

@pyphilia pyphilia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐪

.github/workflows/cypress.yml Outdated Show resolved Hide resolved
cypress/fixtures/files.ts Outdated Show resolved Hide resolved
cypress/fixtures/files.ts Outdated Show resolved Hide resolved
cypress/fixtures/files.ts Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
src/modules/item/Item.tsx Outdated Show resolved Hide resolved
src/modules/item/Item.tsx Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build and developer operations feature New feature or request v0.6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move to TypeScript
3 participants