Commit Graph

408 Commits (4ed23a945ce2ebfd9915c7b239e835d0a65d99cc)

Author SHA1 Message Date
renovate[bot] 4ed23a945c
build(deps): update dependency @types/react to v17.0.28 (#2495)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 20:15:08 +11:00
renovate[bot] f02190d89c
build(deps): update dependency vite-tsconfig-paths to v3.3.17 (#2492)
* build(deps): update dependency vite-tsconfig-paths to v3.3.17

* fix(web): remove vite resolve alias workaround

The resolve alias issue with Vite has been resolved in the `vite-tsconfig-paths` plugin.

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-10-12 14:04:30 +11:00
renovate[bot] 2853a8e56a
build(deps): update typescript-eslint monorepo to v5 (#2491)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 10:19:43 +11:00
renovate[bot] 09d2b0c84f
build(deps): update dependency vite to v2.6.7 (#2490)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 10:00:16 +11:00
Amir Zarrinkafsh 9445878ca2
refactor(web): use transformindexhtml vite hook (#2488) 2021-10-11 20:30:02 +11:00
James Elliott aa18fd0256
release: v4.32.2 (#2487) 2021-10-10 22:12:12 +11:00
renovate[bot] fff0e31d0d
build(deps): update dependency vite-tsconfig-paths to v3.3.15 (#2484) 2021-10-10 09:13:55 +11:00
renovate[bot] 75e2167c19
build(deps): update dependency vite-react to v0.0.41 (#2483)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-09 23:16:44 +11:00
renovate[bot] d800642966
build(deps): update dependency @commitlint/cli to v13.2.1 (#2480)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-09 12:25:37 +02:00
Amir Zarrinkafsh 99b8f772a6
release: v4.32.1 (#2478)
This release updates `authelia/crossbuild` to be based on Debian Stretch so compiled Authelia binaries use glibc <2.28 which provides support for LTS Linux OSes.

Fixes: #2475.
2021-10-09 11:28:19 +11:00
renovate[bot] 80bebb8f15
build(deps): update dependency jest to v27.2.5 (#2477)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-09 09:31:59 +11:00
Amir Zarrinkafsh 6c37ea3837
release: v4.32.0 (#2474) 2021-10-08 15:40:54 +11:00
renovate[bot] f3dd24e716
build(deps): update dependency vite to v2.6.5 (#2472)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-08 15:17:47 +11:00
Amir Zarrinkafsh a3e84769b5
feat(web): replace cra with vite (#2457)
* feat(web): replace cra with vite

* fix: add istanbul
* fix: add jest
* fix: inject env vars
* fix: replicate cra output directories
* fix: post-frontend build for go templating
* fix: dynamic publicpath

* fix(web): import resolution with aliases for .module.css files

* refactor(server): baseurl var

* refactor(web): drop babel-jest for esbuild-jest

* refactor(web): add inline sourcemap for coverage bundle

* build(deps): update web deps

* build(deps): downgrade vite-plugin-istanbul to 2.2.0

98bf77dbaa is a breaking change that means production mode builds can no longer be instrumented.

* refactor(web): match frontend name and version

* refactor(web): drop cra readme
2021-10-08 15:00:06 +11:00
renovate[bot] e070a499e1
build(deps): update dependency @types/react-router-dom to v5.3.1 (#2461)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-07 10:35:04 +11:00
renovate[bot] 8251b7a785
build(deps): update dependency @types/react to v17.0.27 (#2442)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-04 10:21:48 +11:00
renovate[bot] 0e120b187d
build(deps): update dependency @testing-library/react to v12.1.2 (#2441)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-04 09:48:02 +11:00
Amir Zarrinkafsh a32d030144
ci(buildkite): remove automatic retries for lint step (#2435)
* ci(buildkite): remove automatic retries for lint step

* refactor(web): refactor commitlint hook for windows
2021-10-02 15:56:46 +10:00
renovate[bot] 0351546cf0
build(deps): update dependency axios to v0.22.0 (#2433)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-01 21:42:36 +10:00
renovate[bot] 19aff56748
build(deps): update dependency @types/react to v17.0.26 (#2429)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-01 10:49:09 +10:00
renovate[bot] cbe1aad7fe
build(deps): update dependency @types/react to v17.0.25 (#2426) 2021-09-30 08:38:58 +10:00
Amir Zarrinkafsh 3d312cf3b9
refactor: replace yarn with pnpm (#2424)
* Check for pnpm in authelia-scripts
* Improve husky hooks to check for required apps
* Use pnpm in coverage dockerfile
* Use pnpm in dev workflow
* Stop buildx log truncation
* Ignore pnpm lockfile in yamllint
* Update versions required for docker and docker-compose in contributing docs
2021-09-29 17:24:21 +10:00
renovate[bot] 2f3f0818c3
build(deps): update commitlint monorepo to v13.2.0 (#2421)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:16:56 +10:00
renovate[bot] a80b8d4933
build(deps): update dependency @testing-library/react to v12.1.1 (#2419)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 10:04:45 +10:00
Amir Zarrinkafsh c9f5b3de88
feat(web): replace babel-loader and terser with esbuild (#2422) 2021-09-28 16:27:06 +10:00
renovate[bot] bbd85bd558
build(deps): update dependency @types/react-router-dom to v5.3.0 (#2408)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-22 14:11:07 +10:00
renovate[bot] 958829f2f5
build(deps): update dependency @types/react to v17.0.24 (#2407)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-09-22 13:58:04 +10:00
renovate[bot] fac597cb2f
build(deps): update dependency @types/react to v17.0.22 (#2399)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-20 20:18:08 +10:00
renovate[bot] e1ca24344a
build(deps): update dependency prettier to v2.4.1 (#2382)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-16 19:59:26 +10:00
renovate[bot] 69f37d4161
build(deps): update dependency @types/react to v17.0.21 (#2379)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-15 12:01:25 +10:00
renovate[bot] 8e155328b4
build(deps): update dependency @types/react-router-dom to v5.1.9 (#2377)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-15 11:24:41 +10:00
renovate[bot] dd8199d127
build(deps): update dependency eslint-import-resolver-typescript to v2.5.0 (#2370)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-14 08:35:53 +10:00
renovate[bot] 763938a0b7
build(deps): update dependency @testing-library/react to v12.1.0 (#2368) 2021-09-11 22:47:28 +10:00
renovate[bot] a091b341da
build(deps): update dependency @craco/craco to v6.3.0 (#2366)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-11 16:00:13 +10:00
renovate[bot] 9cff1bb133
build(deps): update dependency typescript to v4.4.3 (#2364) 2021-09-11 11:46:23 +10:00
renovate[bot] b770939983
build(deps): update dependency prettier to v2.4.0 (#2357)
* build(deps): update dependency prettier to v2.4.0

* fix(web): jsxbracketsameline -> bracketsameline

Prettier 2.4 has renamed the jsxBracketSameLine option to bracketSameLine.

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-09-10 08:27:50 +10:00
renovate[bot] dca3ba0cfb
build(deps): pin dependency husky to 7.0.2 (#2356)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-09 13:44:43 +10:00
renovate[bot] dedd44ea0d
build(deps): pin dependencies (#2355)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-09 13:30:00 +10:00
Amir Zarrinkafsh cc765115b2
ci: add husky with pre-commit and commit-msg hooks (#2352)
* ci: add husky with pre-commit and commit-msg hooks

This change includes two new hooks as part of our GitHub workflow with husky:

* `pre-commit`: Performs linting with golangci-lint and eslint/prettier
* `commit-msg`: Ensures that the commit messages conform to our guidelines and will error and provide context to a user when they do not.

The `prepare` command which has been included is executed each time a `yarn install` is executed.

* ci: extend @commitlint/config-conventional configuration

* fix: lint all dot js files
2021-09-09 12:22:11 +10:00
renovate[bot] b6cc98b5cb
build(deps): update dependency axios to v0.21.4 (#2347)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-07 10:44:49 +10:00
renovate[bot] 612f6d5674
build(deps): update dependency @types/react to v17.0.20 (#2344)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-05 20:17:18 +10:00
renovate[bot] 05e549941b
build(deps): update dependency axios to v0.21.3 (#2343)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-05 09:17:26 +10:00
renovate[bot] 1960a24124
build(deps): update dependency axios to v0.21.2 (#2342)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-05 00:13:34 +10:00
renovate[bot] 5f2edf3d42
build(deps): update dependency typescript to v4.4.2 (#2321)
* build(deps): update dependency typescript to v4.4.2

* fix(web): cast try catch err type to error

Typescript 4.x changes the default behaviour of try catch and its err type from `any` to [`unknown`](https://github.com/microsoft/TypeScript/pull/41013).

This change ensures that where we rely on said variable it is cast accordingly as an `Error`.

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-09-04 23:27:11 +10:00
renovate[bot] 622f25cab1
build(deps): update dependency react-router-dom to v5.3.0 (#2339)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-04 13:47:03 +10:00
renovate[bot] 8f38fa97a5
build(deps): update dependency eslint-plugin-prettier to v4 (#2332)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-31 10:23:06 +10:00
renovate[bot] 0e7170dd02
build(deps): update dependency react-router-dom to v5.2.1 (#2328) 2021-08-28 11:50:18 +10:00
Amir Zarrinkafsh 0c5c85cbe4
refactor(web): eslint glob pattern (#2309)
The current eslint glob pattern is not Windows friendly, this change works for both Linux and Windows.
2021-08-22 21:16:19 +10:00
renovate[bot] af9274a9c6
build(deps): update dependency eslint-plugin-prettier to v3.4.1 (#2307)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-21 11:20:18 +10:00
renovate[bot] 7d105c6597
build(deps): update dependency @types/react to v17.0.19 (#2300) 2021-08-19 21:49:36 +10:00