Commit Graph

1043 Commits (319dda294a4f4b5c706fdc8d94339fb2869b8680)

Author SHA1 Message Date
Renovate Bot 7a33fece19 chore(deps): update dependency @types/sanitize-html to v2.6.0 2021-12-04 15:57:02 +00:00
Renovate Bot a9dcce08d1 chore(deps): update dependency @testing-library/jest-dom to v5.16.0 2021-12-04 05:03:50 +00:00
renovate[bot] 47aef5155b
chore(deps): pin dependencies (#44358)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 20:48:15 +05:30
Oliver Eyton-Williams a79fa9aa6b chore: remove last vestiges of lerna 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams 98195a7823 chore: stop building contributor tools
They should really be in a separate repo, but for now I'm preventing
them from being built.
2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams a3e05ab45e chore: use workspaces, fix deps
react-monaco-editor needed rolling back due to an incompatibility with
react 16
monaco-editor then needed rolling back and the editor config, too.

Some @types needed to be added, some lint deps needed updating.
2021-12-02 19:57:47 +05:30
Renovate Bot 9c1dc28cd7 chore(deps): pin dependency eslint-plugin-react-hooks to 4.3.0 2021-12-02 01:48:57 +00:00
Oliver Eyton-Williams efba2e777d
chore: simplify eslint configuration (#44347)
* chore: extend import/recommended

* chore: use recommended lint rules

* refactor: apply lint rules

* chore: drop used config
2021-12-02 00:01:12 +00:00
Renovate Bot 4a4aa1f2f9 chore(deps): update dependency jest to v27.4.3 2021-12-01 21:16:06 +00:00
Renovate Bot 5b560ed821 chore(deps): pin dependencies 2021-12-01 08:39:35 +00:00
Lucas acc4e25cba
chore(client): ts migrate frame runner (#43798)
* Preserve history commit

* feat: Typescript migration frame-runner

* fix: types for expected/actual

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-01 10:31:39 +05:30
Renovate Bot 659cc1276b chore(deps): update dependency jest to v27.4.2 2021-11-30 23:36:41 +00:00
Vinay 5b61c8a56f
refactor(client): ts-migration of i18n/validate-keys.js (#44292)
* refactor - file extenstion change to .ts

* fix - imports syntax

* fix - migration complete

* fix - lint:prettier warn

* refactor - validate-keys in tools/scripts/lint/

* refactor - validate-keys.ts moved to tools/scripts/lint and added in tsconfig.json

* refactor - tsconfig.json file for tools

* fix - lint:ts script update and validate-keys.js added to .eslintignore

* fix - lint:prettier and ts compilation

* fix - ts compilation

* refactor - changes in .gitignore and validate-keys script
2021-11-30 08:37:00 -08:00
renovate[bot] 5ad279d5f7
fix(deps): update dependency @types/node to v16.11.11 (#44322)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-30 18:13:56 +05:30
Renovate Bot c0ec604035 chore(deps): update dependency jest to v27.4.1 2021-11-30 11:05:00 +00:00
renovate[bot] 37d3dbd5c1
chore(deps): update dependency jest to v27.4.0 (#44318)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-30 10:02:15 +05:30
Renovate Bot e93172b366 chore(deps): update dependency prettier to v2.5.0 2021-11-25 17:51:10 +00:00
Shaun Hamilton 98fc7fba0e
fix(config): build all-langs.js before server (#44274)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-11-25 11:01:50 +00:00
Renovate Bot e4f48d1363 fix(deps): update dependency @types/react to v17.0.37 2021-11-25 03:48:52 +00:00
Renovate Bot 340f423c36 fix(deps): update dependency @types/node to v16.11.10 2021-11-24 08:56:56 +00:00
Renovate Bot ec831779b0 chore(deps): update dependency @testing-library/jest-dom to v5.15.1 2021-11-23 16:01:10 +00:00
renovate[bot] 8cab69a433
chore(deps): update dependency lint-staged to v12 (#44237)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-22 22:25:08 +05:30
Renovate Bot 7a3ee5fc7d chore(deps): pin dependencies 2021-11-22 15:44:26 +00:00
Ahmad Abdolsaheb b4326f0ad6
feat: add email to A/B function (#44187)
* feat: add email to A/B function

* fix: declare types for sha-1

* Update client/src/utils/A-B-tester.ts

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* feat: add custom dimesions for donation events

* feat: re-order if statemetns

* Apply suggestions from code review

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* fix: assuage TypeScript

* update rename

* rename vars

* update naming

* re add types

* Update client/src/redux/ga-saga.js

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-11-22 16:43:28 +03:00
renovate[bot] 248945b3bf
fix(deps): update dependency @types/react to v17.0.36 (#44235)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-22 13:43:22 +05:30
renovate[bot] 4ad22acac8
chore(deps): update dependency lerna to v4 (#44233)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-21 18:00:36 +05:30
renovate[bot] 7e3f4aff81
chore(deps): update dependency @types/jest to v27.0.3 (#44225)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-21 14:11:51 +05:30
renovate[bot] 837b5e3d17
chore(deps): update dependency eslint-plugin-react to v7.27.1 (#44216)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-21 12:08:34 +05:30
renovate[bot] 5f35cc8685
fix(deps): update dependency @types/node to v16.11.9 (#44207)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-20 23:03:32 +05:30
renovate[bot] 2381c6a569
chore(deps): pin dependency @types/jest to v27.0.2 (#44215)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-20 16:05:07 +05:30
renovate[bot] 933cf6684f
chore(deps): pin dependencies (#44224)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-20 00:52:38 +05:30
Shaun Hamilton d75e43a1e7
chore: use constants for superblocks (#43886)
* chore: use constants for superblocks

* add prettier ts dec to challenge-helper-scripts

* config/ to ts. broken

* typescripterise tools/ and config/

* create global tsconfig, remove alternate configs

* delete temp ts->js, add to gitignore

* fix gitignore

* re-import SuperBlocks in super-block-intro.tsx

* remove renamed files added again

* fix config

* remove accidental files

* remove snap

* delete built files

* adjust eslintrc for enums

* add node types to root

* ignore build files in lint and prettier

* fix tools/ in tsconfig

* ignore annoying ts warnings

* prettierise Map/index.tsx

* fix enum to match lint rule

* rejig Map to render RWD superblock

* 'pretty minor' - implicitly tsc within root

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* fix client/package.json for Gitpod

* broken: migrate @types to root

* fix: use typeRoots to prevent duplication

* fix show.tsx, try typeroots in root

* silly fix for duplicate node_modules types

* remove typeRoots from root

* fix: tsconfig or not tsconfig, that is the...

* fix: ...question: Whether 'tis nobler in the mind

to suffer the slings and arrows of outrageous configs...

* fix: Or to take Arms against a Sea of lint errors
And by opposing end them

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-11-19 19:49:40 +05:30
renovate[bot] d944fa0c8e
fix(deps): update dependency typescript to v4.5.2 (#44197)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-19 09:57:03 +05:30
renovate[bot] 54cea8af21
chore(deps): update babel monorepo to v7.16.4 (#44190)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 10:44:13 +05:30
renovate[bot] c5a7d8aea1
chore(deps): update dependency eslint-plugin-jsx-a11y to v6.5.1 (#44156)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-12 00:06:55 +05:30
renovate[bot] b54747afae
chore(deps): update dependency eslint-plugin-react to v7.27.0 (#44151)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 17:04:25 +05:30
renovate[bot] fb6995cefc
chore(deps): update dependency @testing-library/dom to v8.11.1 (#44116)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 12:10:31 +05:30
renovate[bot] c5b1cd2994
chore(deps): update dependency eslint-plugin-import to v2.25.3 (#44150)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 10:29:59 +05:30
renovate[bot] ba8efbba8b
chore(deps): update babel monorepo to v7.16.3 (#44147)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 22:03:07 +05:30
renovate[bot] 6c5bd13612
chore(deps): update dependency mock-fs to v5.1.2 (#44142)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 21:59:01 +05:30
Mrugesh Mohapatra b9296b515a
fix(deps): downgrade lerna to v3 (#44129) 2021-11-05 11:13:00 -07:00
Mrugesh Mohapatra 6fef483946 chore: update all packages to node v16 & npm v8 2021-11-03 15:06:19 +05:30
Renovate Bot ade47bfc2b chore(deps): update dependency @testing-library/jest-dom to v5.15.0 2021-11-02 15:04:43 +00:00
Renovate Bot 9419bdfed4 chore(deps): update babel monorepo to v7.16.0 2021-10-30 05:41:50 +00:00
Renovate Bot 9905175929 chore(deps): update dependency lint-staged to v11.2.6 2021-10-27 01:11:42 +00:00
Renovate Bot 389f2ff672 chore(deps): update dependency lint-staged to v11.2.5 2021-10-26 18:14:17 +00:00
Renovate Bot 6088002f7b chore(deps): update dependency lint-staged to v11.2.4 2021-10-23 22:04:16 +00:00
Renovate Bot 7a6e3fd5f9 chore(deps): update dependency husky to v7.0.4 2021-10-21 07:54:20 +00:00
Renovate Bot 5ef2091a74 chore(deps): update dependency @testing-library/user-event to v13.5.0 2021-10-20 01:55:48 +00:00
Renovate Bot 187ef03ed3 chore(deps): update dependency @testing-library/dom to v8.10.1 2021-10-19 13:23:24 +00:00
Renovate Bot 9b040e6452 chore(deps): update dependency jest to v27.3.1 2021-10-19 12:01:12 +00:00
Renovate Bot 91717384fd chore(deps): update dependency @testing-library/dom to v8.10.0 2021-10-18 11:33:46 +00:00
Renovate Bot b54b77873b chore(deps): update dependency jest to v27.3.0 2021-10-17 20:13:04 +00:00
Renovate Bot 1ba3dc1d70 chore(deps): update dependency @testing-library/user-event to v13.4.1 2021-10-16 00:37:48 +00:00
Renovate Bot fec14c6f8c chore(deps): update dependency @testing-library/dom to v8.9.1 2021-10-15 03:32:17 +00:00
Renovate Bot 1da90ebffb chore(deps): update dependency @testing-library/dom to v8.9.0 2021-10-13 15:23:41 +00:00
renovate[bot] d268d7f7cd
chore(deps): update dependency eslint-plugin-import to v2.25.2 (#43833)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 13:00:49 +05:30
Renovate Bot 588493b705 fix(deps): update dependency typescript to v4.4.4 2021-10-13 00:10:30 +00:00
Renovate Bot 871ebf53e0 chore(deps): update dependency webpack-bundle-analyzer to v4.5.0 2021-10-12 15:17:46 +00:00
Renovate Bot 98539cc4b1 chore(deps): update dependency eslint-plugin-import to v2.25.1 2021-10-12 14:00:00 +00:00
Renovate Bot 8db6fa6b32 chore(deps): update dependency lint-staged to v11.2.3 2021-10-10 22:42:40 +00:00
Renovate Bot d551967970 chore(deps): update dependency @testing-library/user-event to v13.3.0 2021-10-10 10:58:37 +00:00
Renovate Bot 986345e43f chore(deps): update dependency lint-staged to v11.2.2 2021-10-09 22:47:31 +00:00
Renovate Bot 0e2f5f0074 chore(deps): update dependency lint-staged to v11.2.1 2021-10-09 07:09:21 +00:00
Renovate Bot 31f1eaabc5 chore(deps): update dependency jest to v27.2.5 2021-10-08 16:56:47 +00:00
Nicholas Carrigan (he/him) 571b4c0354
fix: remove lint translations (#43762) 2021-10-07 21:38:25 +05:30
Renovate Bot 536eef3be9 chore(deps): update babel monorepo to v7.15.8 2021-10-06 23:33:34 +00:00
Oliver Eyton-Williams c8d7f0a782
feat(tools): remove eslint-plugin-prettier for prettier (#42438)
* feat: remove eslint-plugin-prettier for prettier

This removes the annoying lint warnings when all that needs to change is
formatting

* fix: use .js lint-staged config to ignore properly

* fix: lint everything if a lot of files are changed

It's faster than making lots of individual linter calls

* chore: apply prettier

* fix: ignore code in curriculum-file-structure
2021-10-06 21:02:21 +05:30
Renovate Bot ded5c5cc3d chore(deps): update typescript-eslint monorepo to v4.33.0 2021-10-05 05:27:07 +00:00
Renovate Bot 8ea801844a chore(deps): update dependency lint-staged to v11.2.0 2021-10-04 18:51:57 +00:00
renovate[bot] ffe5ef2b22
chore(deps): update dependency @testing-library/dom to v8.7.2 (#43714)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-04 22:19:38 +05:30
Renovate Bot ababb4bc0b chore(deps): update dependency eslint-plugin-react to v7.26.1 2021-09-30 14:04:14 +00:00
Renovate Bot dadc5614cc chore(deps): update dependency @testing-library/dom to v8.7.1 2021-09-30 12:56:06 +00:00
Renovate Bot d180104983 chore(deps): update dependency jest to v27.2.4 2021-09-29 17:46:14 +00:00
Renovate Bot cf6cc7fc84 chore(deps): update dependency @testing-library/dom to v8.7.0 2021-09-29 13:21:44 +00:00
Renovate Bot cf824faf8e chore(deps): update dependency jest to v27.2.3 2021-09-28 13:17:08 +00:00
Hamza Waleed ebec6705a3
feat(typescript): Add typescript support for UI components library (#43541)
* Add TS configs and improve dir structure

* Add TS configs and improve dir structure

* Fix components exports from index

* chore: prettier

* Add tsconfig and then fix the linter warnings

* Add @babel/preset-typescript

* Fix eslint rule and update btn component to fix storybook

* Fix TS and Jest configs

Converted all remaining files to TS as well

* Remove TS ignored rules and fixed some TS & jest stuff

* Revert to old directory structure

* Use absolute versions in package.json

* enable ts strict to infer types

Co-authored-by: Hamza Waleed <hamza.waleed@arbisoft.com>
2021-09-28 14:06:21 +03:00
Renovate Bot 07927fbcc4 chore(deps): update typescript-eslint monorepo to v4.32.0 2021-09-28 09:48:00 +00:00
renovate[bot] 8beb26e84e
chore(deps): update dependency typescript to v4.4.3 (#43316)
* chore(deps): update dependency typescript to v4.4.3

* fix: use UserType correctly

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-09-28 10:56:46 +02:00
Renovate Bot d55b58ffd1 chore(deps): update dependency jest to v27.2.2 2021-09-25 16:59:41 +00:00
Renovate Bot f364ba6c7d chore(deps): update dependency mock-fs to v5.1.1 2021-09-24 00:25:12 +00:00
Renovate Bot 7f1fc2d14a chore(deps): update dependency eslint-plugin-testing-library to v4.12.4 2021-09-23 21:57:22 +00:00
Renovate Bot bf7f9f6bea chore(deps): update dependency @testing-library/dom to v8.6.0 2021-09-23 00:26:21 +00:00
Renovate Bot 58b947cb82 chore(deps): update dependency eslint-plugin-react to v7.26.0 2021-09-21 06:52:50 +00:00
Renovate Bot 1556f52f6e chore(deps): update typescript-eslint monorepo to v4.31.2 2021-09-20 22:09:07 +00:00
Renovate Bot ea0802ad88 chore(deps): update dependency jest to v27.2.1 2021-09-20 18:25:57 +00:00
Renovate Bot 3a4889942b chore(deps): update dependency eslint-plugin-testing-library to v4.12.3 2021-09-20 00:07:21 +00:00
Renovate Bot 19fb0ebda9 chore(deps): update dependency eslint-plugin-react to v7.25.3 2021-09-19 22:23:32 +00:00
Renovate Bot c184f23d27 chore(deps): update babel monorepo to v7.15.7 2021-09-18 02:07:35 +00:00
Renovate Bot c7968d53b7 chore(deps): update dependency mock-fs to v5.1.0 2021-09-17 23:54:51 +00:00
Renovate Bot 6033992edc chore(deps): update dependency prismjs to v1.25.0 2021-09-16 17:56:51 +00:00
Renovate Bot cdbbd168fd chore(deps): update dependency prettier to v2.4.1 2021-09-16 10:19:33 +00:00
Renovate Bot 179e8f0e32 chore(deps): update typescript-eslint monorepo to v4.31.1 2021-09-13 20:11:49 +00:00
Renovate Bot 8d33ff21f4 chore(deps): update dependency jest to v27.2.0 2021-09-13 11:01:14 +00:00
Renovate Bot bd2573f081 chore(deps): update dependency eslint-plugin-jest-dom to v3.9.2 2021-09-12 11:42:06 +00:00
Renovate Bot 969e4ac9e2 chore(deps): update dependency @testing-library/dom to v8.5.0 2021-09-11 11:04:10 +00:00
renovate[bot] f46d183d95
chore(deps): update babel monorepo to v7.15.6 (#43424)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-10 15:27:27 +05:30
Renovate Bot 5bdf6159f5 chore(deps): update dependency prettier to v2.4.0 2021-09-09 13:38:43 +00:00
Renovate Bot 58ee4a77c5 chore(deps): update dependency eslint-plugin-testing-library to v4.12.2 2021-09-09 10:48:41 +00:00
renovate[bot] 483946e788
chore(deps): update dependency @testing-library/dom to v8.3.0 (#43399)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-08 22:28:20 +05:30