Commit Graph

515 Commits

Author SHA1 Message Date
Renovate Bot
e0f9c70a99 chore(deps): update storybook monorepo to v6.4.7 2021-12-04 02:47:03 +00:00
Oliver Eyton-Williams
f613a1e5fd fix: index.css/js to styles/script (#44356)
* fix: replace index with script/styles as needed

* fix: remove redundant fileKey

It's overwritten by createPoly, so the parser does not need to create it

* fix: curriculum test suite

* Update client/src/templates/Challenges/classic/MultifileEditor.js

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-12-03 12:32:29 -08:00
Oliver Eyton-Williams
0cbb499e9c chore: remove contributor tools (#44368)
They're being stored in freeCodeCamp/tools now
2021-12-03 20:40:03 +05:30
Renovate Bot
e262301ac8 chore(deps): update storybook monorepo to v6.4.5 2021-12-03 11:37:04 +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
46b5f02e80 fix: storybook workspace issues 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams
bb0e7317c8 fix: only use parts of gfm parser 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams
01b354f0d1 refactor: mollify TypeScript 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams
7d0760c98f chore: remove unused @types from ui-components 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams
6e4dddd9ee chore: update ui-components to use root types 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams
03309bea9e chore: remove old package-locks 2021-12-02 19:57:47 +05:30
Renovate Bot
406263e5ff chore(deps): update storybook monorepo to v6.4.4 2021-12-02 08:24:54 +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
76bbbc32e8 chore(deps): update storybook monorepo to v6.4.3 2021-12-01 12:12:50 +00:00
Renovate Bot
29b795c0b6 chore(deps): update dependency rollup to v2.60.2 2021-12-01 01:18:05 +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
1edb879988 chore(deps): update storybook monorepo to v6.4.1 2021-11-30 08:20:07 +00:00
Renovate Bot
e8be711b6f chore(deps): update dependency postcss to v8.4.4 2021-11-27 16:58:25 +00:00
Maciek Sitkowski
58701d511b feat(tools): add Alert component (#43835)
* feat(alert): initialize component

* feat(alert): add children prop

* feat(alert): add className prop

* feat(alert): add variant prop

* feat(alert): add close button and handle onDismiss click

* feat(alert): place all alert related css in alert.css

* feat: define state color variables and use them instead of bootstrap ones

* chore: remove unused classes

* feat: replace base alert styles with tailwind classes

* feat: extract close button to separate component

* chore: remove unused css

* test: add close button tests

* refactor: use more tailwind-like approach for adding colors to theme

* refactor: use more expressive prop name for close button label

* refactor: use semantic color names

* feat: add stories with/without close button

* chore: add missing variants
2021-11-27 12:28:40 +03:00
Renovate Bot
32dbf3d57c chore(deps): update dependency postcss to v8.4.3 2021-11-26 22:52:51 +00:00
Renovate Bot
a3f3243fad chore(deps): update storybook monorepo to v6.4.0 2021-11-26 20:24:21 +00:00
Renovate Bot
e93172b366 chore(deps): update dependency prettier to v2.5.0 2021-11-25 17:51:10 +00:00
Maciek Sitkowski
63f6d9d3f2 feat(storybook): add theme toggle (#44234) 2021-11-25 16:32:52 +03: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
de0ef96a27 chore(deps): update dependency postcss to v8.4.1 2021-11-25 01:18:59 +00:00
Renovate Bot
e8dc7a754b chore(deps): update dependency postcss to v8.4.0 2021-11-24 21:56:37 +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
9827283b7b chore(deps): update dependency rollup-plugin-postcss to v4.0.2 2021-11-22 20:35:15 +00:00
Renovate Bot
891a385c56 chore(deps): update dependency rollup to v2.60.1 2021-11-22 11:15:44 +00: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]
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]
947f7d0e18 chore(deps): update dependency inquirer to v8.2.0 (#44223)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-21 13:07:15 +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
renovate[bot]
db4bdf4478 fix(deps): update dependency @types/react to v17.0.35 (#44168)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-19 23:53:58 +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]
8c94a26fbe chore(deps): pin dependencies (#44191)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 19:32:50 +05:30
renovate[bot]
6d21f143c3 fix(deps): update dependency @types/node to v16.11.7 (#44167)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-15 20:18:53 +05:30
renovate[bot]
9dc35e4397 chore(deps): pin dependency @types/node to 16.11.7 (#44173)
* chore(deps): pin dependency @types/node to 16.11.7

* chore: install @types/node in tools

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-11-15 15:26:55 +05:30
renovate[bot]
355341908b chore(deps): update dependency rollup to v2.60.0 (#44165)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-12 13:17:38 +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]
f64537599e chore(deps): update dependency webpack to v5.63.0 (#44131)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 10:28:52 +05:30
Ahmad Abdolsaheb
7f769cdaf8 Add Patreon client key validation (#44155) 2021-11-10 08:21:50 -08:00
renovate[bot]
6feeaa289b fix(deps): update dependency @types/react-dom to v17.0.11 (#44107)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 20:17:39 +05:30