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

Frontend initial commit #1

Merged
merged 11 commits into from
Mar 19, 2024
Merged

Frontend initial commit #1

merged 11 commits into from
Mar 19, 2024

Conversation

lkleuver
Copy link
Contributor

@lkleuver lkleuver commented Mar 8, 2024

First setup of the frontend codebase, based off POC
build, dev, test and lint.

Closes #4

Add boilerplate frontend code
Add unit test setup
Add e2e test setup
Add github frontend test workflow
@lkleuver lkleuver closed this Mar 8, 2024
@lkleuver lkleuver reopened this Mar 8, 2024
@jschuurk-kr
Copy link
Contributor

Is het handig om een .nvmrc toe te voegen? Of op een andere manier vast te leggen welke versie van Node we gebruiken?

@praseodym praseodym changed the title initial commit Frontend initial commit Mar 8, 2024
@lkleuver
Copy link
Contributor Author

lkleuver commented Mar 8, 2024

Is het handig om een .nvmrc toe te voegen? Of op een andere manier vast te leggen welke versie van Node we gebruiken?

Ja, zeker. alleen ben ik er niet over uit welke versie.
in ieder geval 16+

vooral SSL dingen hebben hier volgens mij invloed op.

@praseodym
Copy link
Contributor

Node.js 20 is nu de huidige LTS ("Recommended For Most Users"), dus ik stel voor dat we die gebruiken.

Fix lint warnings
Added build:msw for mocked static site
Tested npm run preview (after build:msw)
Added build:msw for preview of static site
@praseodym
Copy link
Contributor

npm run build gives an error for me:

> urn-uitslag@0.0.1 build
> tsc && vite build

vite.config.ts:24:42 - error TS2532: Object is possibly 'undefined'.

24       (paths) => path.resolve(__dirname, paths[0].replace("/*", ""))
                                            ~~~~~~~~


Found 1 error in vite.config.ts:24

praseodym
praseodym previously approved these changes Mar 15, 2024
@lkleuver lkleuver merged commit 8b1e823 into main Mar 19, 2024
1 check passed
@lkleuver lkleuver deleted the frontend.initial branch March 19, 2024 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Geraamte frontend opzetten
3 participants