_Bastler
9e86e95135
merge latest dev
2022-02-27 14:19:39 +01:00
_Bastler
2622041740
orig. formatting
2022-02-27 13:59:05 +01:00
Lukas Hass
b6b7d1e66c
tsconfig exclude build artifacts
2022-02-03 18:45:26 +01:00
Lukas Hass
bd72022b13
remove webpack
2022-02-03 02:23:58 +01:00
Lukas Hass
bd8623cbf9
allow mixed value and type imports
2022-02-01 00:36:05 +01:00
David Négrier
5cb58d98a0
Adding correct SCSS file integration with Svelte
2021-05-17 16:41:09 +02:00
David Négrier
9bc79c3ed3
Adding Svelte to the project
2021-05-17 16:39:55 +02:00
David Négrier
fe573893a1
Merge pull request #1039 from thecodingmachine/importsNotUsedAsValues
...
Setting "importsNotUsedAsValues": "error"
2021-05-13 19:43:34 +02:00
David Négrier
06058cfc24
Upgrading Typescript target from ES2015 to ES2017.
2021-05-12 11:45:01 +02:00
David Négrier
4d4f845b9e
Setting "importsNotUsedAsValues": "error"
...
Turning the "importsNotUsedAsValues" TS config value to "error".
This will require us to use `import type` instead of `import` when we are importing a value that is only used as a type (and therefore that is dropped by the Typescript compiler).
Why this change?
This is a requirement to be able to use Svelte in the future. See https://github.com/sveltejs/svelte-preprocess/issues/206#issuecomment-663193798
2021-05-12 09:13:25 +02:00
PizZaKatZe
c3230bc2b3
Integrate virtual joystick
2021-04-13 02:00:03 +02:00
David Négrier
728fd4779c
Dynamically fetching correct version and generating declarations only for npm lib
2021-04-11 11:32:56 +02:00
David Négrier
6acf0ff047
Creating a dedicated package for iframe API typings
...
If users are willing to use Typescript to develop scripts for maps, they will need typings for the `WA` object.
This commit creates a new package (@workadventure/iframe-api-typings) that contains only the `iframe_api.d.ts` file.
The file is generated from the build of the front and isolated in this package.
This is necessary because the iframe_api.js file is supposed to always be loaded from WorkAdventure directly (and there is no @workadventure/iframe-api package and there will never be one)
2021-04-10 18:50:46 +02:00
David Négrier
6b970adc6c
Merge branch 'develop' of github.com:thecodingmachine/workadventure into outline
...
# Conflicts:
# front/src/Phaser/Game/GameScene.ts
# front/src/Phaser/Player/Player.ts
# front/src/index.ts
# front/yarn.lock
2020-08-17 22:51:37 +02:00
David Négrier
24fb605f50
Switching to definitely assigned parameters
...
This allows us to go in "full strict mode" (yeah!)
See https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#strict-class-initialization
2020-08-07 23:39:06 +02:00
David Négrier
2d818ec79d
Fixing broken Jasmine test due to module config
2020-07-27 22:48:04 +02:00
David Négrier
ed146226cf
Adding Outline capabilities and a ActionableItem notion.
2020-07-23 18:09:24 +02:00
David Négrier
f88f28db3f
Refactoring reconnection: putting it into the GameScene directly.
2020-06-22 15:00:23 +02:00
David Négrier
082a11b0cd
Allowing ill defined initializers (because of the way Phaser 3 is designed)
2020-06-04 18:56:59 +02:00
David Négrier
a3ac782f17
Enabling Typescript strict mode on the front
...
This is very important otherwise, a number of useful checks (like nullable objects not propertly checked) are not performed.
See https://dev.to/briwa/how-strict-is-typescript-s-strict-mode-311a
2020-06-04 18:56:22 +02:00
David Négrier
d69ce8a6a6
Adding PlayerMovement class to interpolate/extrapolate position along tests (installing Jasmine)
2020-06-02 10:48:04 +02:00
David Négrier
26b8412f3c
Initial commit
2020-04-03 14:56:21 +02:00