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

Introduce Typescript #187

Merged
merged 3 commits into from
Oct 15, 2024
Merged

Introduce Typescript #187

merged 3 commits into from
Oct 15, 2024

Conversation

mman
Copy link
Collaborator

@mman mman commented Oct 15, 2024

Move npx executable sources over to src/bin and setup tsc to compile the src/server and webpack to compile src/client.

Update package.json watch commands to support live-hot-reload

@mman mman merged commit 44ce7ec into main Oct 15, 2024
@mman mman deleted the typescript branch October 15, 2024 09:46
mman pushed a commit that referenced this pull request Nov 12, 2024
# [1.3.0](1.2.1...1.3.0) (2024-11-12)

### Bug Fixes

* Add types to support VRM manual config ([5d8ee03](5d8ee03))
* Adjust usage of vrm.hasToken ([a964f83](a964f83))
* build ESM ([e57f48d](e57f48d))
* Clean stop on SIGTERM and SIGNINT (closes [#201](#201)) ([95eb13c](95eb13c))
* cleanup bin source code ([fd97815](fd97815))
* Cleanup LOADER_CONFIG/UI_CONFIG state handling ([94a22ed](94a22ed))
* compile ts into cjs ([cc9bfa8](cc9bfa8))
* Correct setup of /discovery-api ([1f79718](1f79718))
* Correctly handle expiry disabled ([f9a2aa7](f9a2aa7))
* Correctly mix discovered/configured VRM devices expiry ([4d0f730](4d0f730))
* Delete manually configured Portal IDs on VRM logout ([a961841](a961841))
* Do not flatten built hierarchy ([1e44422](1e44422))
* Enable Save button only when dirty, reload config when new version vailable ([442ba7f](442ba7f))
* eslint.config.mjs ([1641f75](1641f75))
* Forget expiry on VRM logout ([8601188](8601188))
* generateBuildInfo.sh should produce .cjs ([d6977ab](d6977ab))
* Handle VRM disabled in better way ([4246b2b](4246b2b))
* Hide device panes when not logged in ([b4b1306](b4b1306))
* Improve wording in the UI ([2816de7](2816de7))
* lint ([1e94002](1e94002))
* lint ([87eaff4](87eaff4))
* lint ([c6f98d5](c6f98d5))
* Load VRM portals on start ([ff4eaaf](ff4eaaf))
* Make Editable Device List more generic ([5eea6a4](5eea6a4))
* Make sure VRM logout suceeds with invalid token ([69dbb1e](69dbb1e))
* Master enable UPNP, Manual, VRM by default ([12acee5](12acee5))
* Pass custom command line args to ./run-dev-image.sh underlying docker run ([49425ec](49425ec))
* Prevent NaN (division by zero) on Dashboard ([6a3402d](6a3402d))
* properly handle invalid VRM token ([b5a67e6](b5a67e6))
* Refactor WebSocketStatus out to reuse ([ab12a0c](ab12a0c))
* Remember associated row for expiry option list ([c39163f](c39163f))
* Remember expiry settings by row index ([fda9122](fda9122))
* Set retention properly ([277f685](277f685))
* simplify babel config ([7d33281](7d33281))
* Sort devices on Dashboard ([74af188](74af188))
* Track expiry settings by row index to avoid conflicts ([b9dc12d](b9dc12d))
* Try to force-reload browser on Grafana link ([cfbc3ed](cfbc3ed))
* Try to force-reload browser on Grafana link ([b16735f](b16735f))
* Unify device discovery across VRM and UPNP ([a123894](a123894))
* Update types shared between server/client ([3c9d661](3c9d661))
* Use correct hook URL for vrm login ([0e9cac7](0e9cac7))
* Use correct path to serve built react app ([e98fb61](e98fb61))
* use EditableDeviceList ([80ace98](80ace98))
* Use VRM email for MQTT login ([4f37f93](4f37f93))

### Features

* .js -> ignoredMeasurements.ts ([d9dd637](d9dd637))
* .js -> influxdb.ts ([1de4cac](1de4cac))
* .js -> loader.ts, cleanup loader logic ([97dd460](97dd460))
* .js -> logger.ts ([0aa0750](0aa0750))
* .js -> upnp.ts ([bb95d4e](bb95d4e))
* .js -> vrm.ts, cleanup vrm logic ([c400e73](c400e73))
* .js -> websocket.ts ([429d077](429d077))
* add --disable-admin-api-auth command line option ([aa8adf4](aa8adf4))
* Add --grafana-url option, closes [#186](#186) ([0b07bc3](0b07bc3))
* add --hide-settings-* options to tweak UI ([a75990c](a75990c))
* Add ability to configure manual VRM portals ([be391d8](be391d8))
* Admin UI VRM Login by Token ([85a8da5](85a8da5))
* Allow client side config of expiry ([a5b19a0](a5b19a0))
* Annotate custom hooks with TS types ([5c1b2f0](5c1b2f0))
* Annotate redux store with TS types ([f1bc4fd](f1bc4fd))
* Connect to manually configured VRM portals ([e5acd91](e5acd91))
* display app version in the UI ([f48fd3f](f48fd3f))
* Display connection type + unconnected devices on the dashboard ([ff905ba](ff905ba))
* Display expiry selection when --enable-auto-expiry used ([e811873](e811873))
* Extract shared types, api, app state ([e36ecc7](e36ecc7))
* Implement Loader data collection expiry ([2ff39fe](2ff39fe))
* Implement VRM Token login ([9149b64](9149b64))
* Introduce Typescript ([#187](#187)) ([44ce7ec](44ce7ec))
* Move Dashboard to TS ([ecb299c](ecb299c))
* Move DeviceList to TS ([13b1507](13b1507))
* Move Discovery to TS ([b5f9f0e](b5f9f0e))
* Move EditableDeviceList to TS ([99ae759](99ae759))
* move express API to .ts, cleanup ([6de8ede](6de8ede))
* Move InfluxDB to TS ([1ec3aa2](1ec3aa2))
* Move Manual to TS ([a8dcb02](a8dcb02))
* Move React App skeleton to TS ([41a9b8b](41a9b8b))
* Move Security to TS ([7778e87](7778e87))
* Move Troubleshooting to TS ([8e512c7](8e512c7))
* Move VRM to TS ([77ef247](77ef247))
* Parse '--enable-auto-expiry [duration]' and pass to UI ([822cc1f](822cc1f))
* send reasonable initial statistics ([bcf4929](bcf4929))
* Show warning when not connected to Influx Loader ([80e3301](80e3301))
* Specify types to store expiry config ([9bfb9d5](9bfb9d5))
@mman
Copy link
Collaborator Author

mman commented Nov 12, 2024

🎉 This PR is included in version 1.3.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@mman mman added the released label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant