Commit Graph

67 Commits

Author SHA1 Message Date
Brian May
2b5cdbdffd Add nix flake (#3485)
This will add support for nix flakes. Which really helps with my
development on nixos. This has two basic parts:

1. DEVELOPMENT

After this you can use the following commands on computer with nix and a
patched version of direnv:

direnv allow
devenv up

And it will automatically start and instance of postgresql and mosquitto
for development.

And the environment variables are already configured for teslamate.

So then can start teslamate with:

npm install --prefix ./assets && npm run deploy --prefix ./assets
iex -S mix phx.server

This part is all working as designed. And pretty simple and straight
forward.

2. NIX PACKAGE OF TESLA

This is 99% complete, but some pain points I haven't addressed yet.
Because I don't yet know of good solutions.

* There are two checksums in flake.nix that needs to be updated whenever
  mix.lock or package-lock.json changes.
2024-03-19 09:37:17 +01:00
Phillip Thurston
69e648a745 updated esbuild to resolve properly with esbuild-sass-plugin, and updated to nodejs 20 (#3477) 2023-11-22 09:11:05 +01:00
Adrian Kumpf
cc303cfdbc Update JS dependencies 2023-06-10 19:35:33 +02:00
Adrian Kumpf
e376402838 Update frontend dependencies 2023-01-13 11:54:47 +01:00
Adrian Kumpf
2405945d51 Bump dependencies 2022-07-15 11:18:01 +02:00
Adrian Kumpf
5e1ddce7af Bump dependencies 2022-06-24 11:07:03 +02:00
Adrian Kumpf
f51d651afe Upgrade dependencies 2022-05-20 12:19:43 +02:00
Adrian Kumpf
7d2a841f1f Bump deps 2022-04-04 14:24:04 +02:00
Adrian Kumpf
d461292bc4 Update frontend deps 2022-02-18 16:57:09 +01:00
Adrian Kumpf
714529ff64 Update FE deps 2022-02-01 15:16:03 +01:00
Adrian Kumpf
91316f0e8c Update FE deps 2022-01-01 16:29:44 +01:00
Adrian Kumpf
0e28af4581 Bump esbuild-sass-plugin 2021-12-13 16:16:48 +00:00
dependabot[bot]
e2f4fad422 Bump esbuild from 0.13.15 to 0.14.3 in /assets
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.13.15 to 0.14.3.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.13.15...v0.14.3)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 16:16:48 +00:00
dependabot[bot]
0ce133f0a0 Bump @mdi/font from 6.4.95 to 6.5.95 in /assets
Bumps [@mdi/font](https://github.com/Templarian/MaterialDesign-Webfont) from 6.4.95 to 6.5.95.
- [Release notes](https://github.com/Templarian/MaterialDesign-Webfont/releases)
- [Commits](https://github.com/Templarian/MaterialDesign-Webfont/compare/v6.4.95...v6.5.95)

---
updated-dependencies:
- dependency-name: "@mdi/font"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 15:50:24 +00:00
dependabot[bot]
ea592b2667 Bump sass from 1.44.0 to 1.45.0 in /assets
Bumps [sass](https://github.com/sass/dart-sass) from 1.44.0 to 1.45.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.44.0...1.45.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 15:50:02 +00:00
dependabot[bot]
1300e1c34f Bump esbuild-sass-plugin from 1.7.0 to 1.7.1 in /assets
Bumps [esbuild-sass-plugin](https://github.com/glromeo/esbuild-sass-plugin) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/glromeo/esbuild-sass-plugin/releases)
- [Commits](https://github.com/glromeo/esbuild-sass-plugin/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: esbuild-sass-plugin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 15:42:55 +00:00
Adrian Kumpf
1425f82b49 Update dependencies 2021-10-31 16:18:23 +01:00
Adrian Kumpf
9e4c443dd4 Update package-lock.json 2021-09-29 19:41:10 +02:00
Adrian Kumpf
48c25c29db Update package-lock.json 2021-09-24 23:56:22 +02:00
Adrian Kumpf
bf89e10b69 Update package-lock.json 2021-09-24 23:40:12 +02:00
Adrian Kumpf
a2ef4131ee Update esbuild to 0.13.1 2021-09-23 12:35:24 +02:00
Adrian Kumpf
70468ea762 Migrate from webpack to esbuild 2021-09-22 22:07:14 +02:00
Adrian Kumpf
f998ccca5b Update js dependencies 2021-06-30 16:10:55 +02:00
Adrian Kumpf
f66f397549 Update FE dependencies 2021-06-04 12:13:13 +02:00
Adrian Kumpf
827f5aa33d Support Tesla's captcha verification 2021-06-01 00:53:32 +02:00
Adrian Kumpf
ba254e84b8 Update FE dependencies 2021-04-26 10:30:07 +02:00
Adrian Kumpf
490037ecaa Update FE dependencies 2021-03-21 16:04:40 +01:00
Adrian Kumpf
ad959040d2 Bump dependencies 2021-03-10 20:59:15 +01:00
Adrian Kumpf
cc7c42dec7 Update dependencies 2021-02-21 10:55:39 +01:00
Adrian Kumpf
f05a5ada04 Update frontend dependencies 2021-01-31 18:53:24 +01:00
Adrian Kumpf
eb8f055978 Update js deps 2021-01-09 00:05:39 +01:00
Adrian Kumpf
d825fc1723 Allow to use the legacy authentication API 2020-12-29 15:05:38 +01:00
Adrian Kumpf
9d5ddeaed7 Bump FE dependencies 2020-12-19 21:54:36 +01:00
Adrian Kumpf
1c94355e8b Bump js dependencies 2020-12-01 17:58:30 +01:00
Adrian Kumpf
823771964b Bump js dependencies 2020-11-05 11:02:34 +01:00
Adrian Kumpf
c7a0875680 Bump js dependencies 2020-10-27 16:16:49 +01:00
Adrian Kumpf
1aa86332da Bump webpack to 5.0 2020-10-11 19:19:08 +02:00
Adrian Kumpf
bd4650ea3c Update lockfile 2020-10-03 11:35:27 +02:00
Adrian Kumpf
3b4fd0776c Bump dependencies 2020-10-03 10:00:29 +02:00
Adrian Kumpf
925141455a Bump js dependencies 2020-09-24 12:10:37 +02:00
Adrian Kumpf
519765dc6e Bump js dependencies 2020-09-05 01:01:01 +02:00
Adrian Kumpf
95bc0ae3f3 Bump dependencies 2020-08-21 13:37:00 +02:00
Adrian Kumpf
b2d2c2dbf2 Bump js dependencies 2020-08-05 12:10:59 +02:00
Adrian Kumpf
afdad879d6 Bump js dependencies 2020-07-26 13:10:15 +02:00
dependabot[bot]
0e28d8a35d Bump lodash from 4.17.15 to 4.17.19 in /assets
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-26 10:34:33 +00:00
Adrian Kumpf
23f03fcf33 Update frontend dependencies 2020-07-08 20:01:28 +02:00
Adrian Kumpf
e1beaf6eca Bump js dependencies 2020-06-09 15:58:57 +02:00
Adrian Kumpf
1bcc12b126 Bump js dependencies 2020-06-01 16:32:07 +02:00
Adrian Kumpf
c44b612b5d Update js dependencies 2020-05-19 19:12:59 +02:00
Adrian Kumpf
7389836c32 Update js dependencies 2020-05-02 13:42:37 +02:00