0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-28 08:48:04 +01:00
Commit Graph

16 Commits

Author SHA1 Message Date
Albina
14f3d4607f
Add content metrics board (#12058) 2024-07-11 14:58:19 +01:00
LB Johnston
d8e63954d8 Update tsconfig to allow json imports 2024-04-17 19:58:08 +10:00
LB (Ben Johnston)
6a9add00a8
Turn on skipLibCheck for TypeScript (#11336)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-12-18 09:56:42 +00:00
Thibaud Colas
b7d2618d93
Remove Safari 14 support in Wagtail admin – update browserslist and TypeScript (#11258)
Co-authored-by: Sage Abdullah <sage.abdullah@torchbox.com>
2023-12-12 10:54:41 +00:00
Thibaud Colas
d4544ec9ee Re-enable strictPropertyInitialization in tsconfig
- Use declare for existing Stimulus controllers
- First enabled in #9761 & then disabled in #9818
2023-01-27 11:33:49 +10:00
Thibaud Colas
46d92d8711 Allow ES2021 standard library methods 2023-01-19 16:57:24 +00:00
LB Johnston
701cddd193 Disable strictPropertyInitialization
This is not easily compatible with code that initialises properties outside of the constructor (used in Stimulus)
2023-01-11 08:42:34 +10:00
Lovelyfin00
8e2e66bef0 Update tsconfig to align with latest browser usage
- Added the target : es2021 option because least browser support is safari 14.
- Added the dom.iterable option in order for the spread operator to work on DOM elements.
- Added the "strictPropertyInitialization": true option. This ensures that any class constructor property that is declared must be initialized or set.
- Added the "forceConsistentCasingInFileNames": true option to ensure that different filesystem renaming issues will be flagged early
- Re-order the config to be alphabetical
2022-12-11 15:32:47 +10:00
Matt Westcott
b884026d08 Move inline panel JS into inline_panel.html 2022-04-06 14:40:39 +01:00
Matt Westcott
6bb26c774e Move template paths from edit_handlers to panels 2022-03-25 10:44:25 -04:00
Thibaud Colas
d149a27392 Upgrade Storybook setup, with latest release, less boilerplate 2022-02-24 21:22:45 +10:00
Thibaud Colas
3aae7d0583 Add base pattern library setup with Storybook 2022-02-24 21:22:45 +10:00
Thibaud Colas
af942a27e4
Reformat codebase with Prettier (#7912)
- Automated reformatting
- Manually change code where Prettier reformatting causes issues
- Revert "Disable Prettier formatting in CI for now"
2022-02-04 11:57:55 +00:00
Karl Hobley
bbbc31ff60 Merge Wagtail Comment Frontend (#6953)
* Copy code from wagtail-comment-frontend

Exact copy of the src directory from:
4486c2fc32

* Integrate commenting code

* Linting
2021-04-20 18:25:30 +01:00
Thibaud Colas
d316677b89 Switch from Babel to TypeScript 2020-10-21 12:48:40 +01:00
Karl Hobley
3e158ca2aa
Enable TypeScript (#6472)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-10-21 00:51:09 +01:00