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

Port almond-server to TypeScript #215

Merged
merged 10 commits into from
Jun 9, 2021
Merged

Port almond-server to TypeScript #215

merged 10 commits into from
Jun 9, 2021

Conversation

gcampax
Copy link
Contributor

@gcampax gcampax commented Jun 6, 2021

A complete port, suprisingly quick.

gcampax added 10 commits June 5, 2021 17:59
In preparation for adding support for TypeScript, which will require
a build step, move all sources to a subdirectory, so relative paths
to assets and data files remain the same from the source or build
directory.
And convert the main entrypoint to typescript
As required by TypeScript
Suprisingly painless.

The biggest change is avoiding "app.engine" because "engine" is
already a method in express. This is a preexisting bug that happened
to work by chance, and TypeScript caught.
With this, all server side code is now TypeScript!
We updated genie-toolkit to master, so we need to update the tests
a bit.
@gcampax gcampax merged commit 6692274 into master Jun 9, 2021
@gcampax gcampax deleted the wip/typescript branch June 9, 2021 22:23
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.

None yet

1 participant