Commit Graph

352 Commits

Author SHA1 Message Date
renovate[bot]
ebc54d8d56 chore(deps): update dependency tailwindcss to v3.3.2 2023-04-29 17:47:19 +00:00
renovate[bot]
6c6ca6c20c chore(deps): update babel monorepo 2023-04-29 09:50:23 +00:00
Moshe
21e5470220 feat(ui-tools): add dropDown component (#47043)
* Create a drop down menu

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: moshe vilner <shootermv@gmail.com>

hopefully sort the tests

hopefully sort the test this time

this time? I hope

test compound component

I give up

This reverts commit d88c6783cccf811c3c5dced0ab980adff0172669.

headless doesn't pass onclick to its buttons children

add the logical statment back

revert the removing the ability to click

sort the tests

fix a typo

* sort the tests

* rename to menu item

* let dropdown trigger accept children

* include dropdown and menu items in the exports

* polish the logic around setting the dropup style

* add tests

* fix: typo DropDown to Dropdown

* sort the styles

* sort the type and add bsStyle to dropdownToggle

* fix: types in button and menu items

* align text to center

* remove the bsstyle and block logic from dropdown

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>

* add w-full to sort default button not taking all width

* move the styling dependecy away from dev

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>

* stop the mutation

Co-authored-by: sembauke <semboot699@gmail.com>

* remove the extra story

---------

Co-authored-by: Sboonny <muhammedelruby@gmail.com>
Co-authored-by: Sboonny <muhammed@freecodecamp.org>
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: sembauke <semboot699@gmail.com>
2023-04-24 10:05:25 +02:00
renovate[bot]
0e2e46a14b chore(deps): update dependency postcss to v8.4.23 2023-04-23 03:48:13 +00:00
renovate[bot]
b1ac1d2baa chore(deps): update dependency @types/jest to v29.5.1 2023-04-22 16:14:16 +00:00
Ahmad Abdolsaheb
94141eae56 feat(tools): adjust @freecodecamp/ui config for linking/publishing (#50098) 2023-04-20 18:35:07 +03:00
renovate[bot]
54cc79ac4b chore(deps): update dependency postcss to v8.4.22 2023-04-16 18:35:39 +00:00
renovate[bot]
2a868ddc67 chore(deps): update dependency @types/react to v16.14.40 2023-04-15 09:14:09 +00:00
renovate[bot]
762f35c385 chore(deps): update dependency tailwindcss to v3.3.1 (#49921)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 18:58:21 +02:00
renovate[bot]
88b923e553 chore(deps): update dependency @types/react to v16.14.38 (#49919)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 16:02:14 +05:30
renovate[bot]
314c978524 chore(deps): update babel monorepo to v7.21.4 2023-04-04 07:21:28 +00:00
Mrugesh Mohapatra
e5590e56d7 chore: use pnpm v8 for deps (#49892)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-29 20:18:49 +05:30
renovate[bot]
7ecf6a44bc chore(deps): update jest monorepo to v29 (major) (#49775)
* chore(deps): update jest monorepo to v29

* chore: install jest-environment-jsdom

* chore: update snapshots

* fix: update config to transform nanoid+uuid

* chore: update babel's node target

This does not seem strictly necessary, but is probably for the best.

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-03-21 12:37:23 +00:00
renovate[bot]
c94962a825 chore(deps): update babel monorepo 2023-03-18 21:49:50 +00:00
Oliver Eyton-Williams
d65c36e4c3 feat: replace rimraf with rm -rf (#49711)
* feat: replace rimraf with rm -rf

rimraf may not be available, but rm will be

* chore(deps): remove rimraf
2023-03-16 12:34:31 +05:30
Oliver Eyton-Williams
c498c06259 fix(deps): add missing dependencies + fix knip (#49691)
* refactor: use pnpm dlx over npx

* fix: create config before running knip

* chore: fix challenge-parser dependencies

* chore: add missing client + plugin dependencies

* chore: pin deps
2023-03-13 19:38:19 +05:30
renovate[bot]
caed609114 chore(deps): update dependency autoprefixer to v10.4.14 2023-03-11 17:09:13 +00:00
Oliver Eyton-Williams
d7848ae01a feat: migrate to pnpm for better workspace DX (#49293)
* feat: npm -> pnpm 

This resolves the issues with the gatsby client (gatsby-plugin-pnpm
deals with the fact that gatsby is relying on its own dependencies
being de-duped)
and challenge-editor (which doesn't seem to want to automatically install
codemirror and needed its own eslint config)

* fix: correct mocha path for curriculum tests

* fix: use select workspace with -F not -w

* fix: reorganise packages and restrict hoisting

pnpm works best if the workspaces keep their own dependencies, since
dependencies are not flattened and then what node resolves from a
require is predictable.

@types seem to be a special case and more care is required to prevent
them getting smushed together in the root (hence the .npmrc)

* fix: add types for tools + root

* fix: decouple challenge-auditor from client

* fix: add ui-components types

* fix(client): use the latest types for react 16

* fix: prettify

* fix: prettierignore pnpm-lock

* fix: relax hoisting

Turns out pnpm works just fine with types. I don't know what was going
wrong before, but there are no-longer any type conflicts.

* fix: add @redux-saga/core to fix eslint issue

It seems to only be redux-saga that import/named can't cope with, so it
is probably okay to work around this one.

* chore: add chai to tools/scripts/build

* fix: add store to root for cypress

* fix: allow cypress to download binaries

If we want to keep preventing cypress from downloading binaries, we can
figure out a workaround, but I'm allowing it to ease the transition to
pnpm.

My guess about why this is happening is that npm triggers Cypress's
postinstall script, but pnpm does not (because pnpm install only
installs if necessary, perferring to link)

* chore: re-enable pre/post scripts

* fix: update build scripts for client

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

* chore: update engines to use pnpm


* fix: enable choice of (super)block for tests

Only 'nix machines for now.

* chore: pin pnpm to version 7

* chore: remove last npms

Except web + curriculum-server. I'll update them when I start work on
them again.

* fix: lockfile check to catch any package-locks

* fix(action): install pnpm for upcoming tests

* chore: add nodemon to new api

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-02 18:17:44 +00:00
renovate[bot]
140694a447 chore(deps): update dependency tailwindcss to v3.2.7 (#49428)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 12:05:39 -08:00
renovate[bot]
3065d7cab7 chore(deps): update dependency tailwindcss to v3.2.6 (#49342)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-11 10:47:01 +00:00
renovate[bot]
e536ba5224 fix(deps): update dependency typescript to v4.9.5 2023-02-04 19:39:26 +00:00
renovate[bot]
1ec4d740eb chore(deps): update storybook monorepo to v6.5.16 2023-01-29 22:47:17 +00:00
renovate[bot]
cc0514ea35 chore(deps): update dependency postcss to v8.4.21 2023-01-07 15:06:15 +00:00
renovate[bot]
0b6efdbe40 chore(deps): update babel monorepo to v7.20.12 2023-01-07 08:31:49 +00:00
renovate[bot]
1c73c1c6d5 chore(deps): update storybook monorepo to v6.5.15 2022-12-24 13:26:18 +00:00
renovate[bot]
3dde77a637 chore(deps): update babel monorepo 2022-12-24 04:48:39 +00:00
renovate[bot]
9bb1d9a390 chore(deps): update dependency postcss to v8.4.20 2022-12-12 00:51:46 +00:00
renovate[bot]
a606203ae4 fix(deps): update dependency typescript to v4.9.4 2022-12-11 05:27:18 +00:00
renovate[bot]
2e77f8b4a1 chore(deps): update storybook monorepo to v6.5.14 2022-12-03 16:33:25 +00:00
renovate[bot]
426fe482c9 chore(deps): update babel monorepo 2022-12-03 07:57:55 +00:00
renovate[bot]
5504a8cbb7 fix(deps): update dependency typescript to v4.9.3 2022-11-20 22:30:54 +00:00
renovate[bot]
57b192c547 chore(deps): update dependency tailwindcss to v3.2.4 2022-11-12 10:30:00 +00:00
renovate[bot]
ce617a4920 chore(deps): update dependency postcss to v8.4.19 2022-11-12 07:10:29 +00:00
renovate[bot]
a0357591eb chore(deps): update babel monorepo 2022-11-06 00:17:31 +00:00
renovate[bot]
8c78540bcd chore(deps): update dependency tailwindcss to v3.2.2 2022-11-05 11:33:27 +00:00
renovate[bot]
13d2cf6085 chore(deps): update storybook monorepo to v6.5.13 2022-10-30 01:05:55 +00:00
renovate[bot]
510f348ab3 chore(deps): update dependency autoprefixer to v10.4.13 2022-10-29 20:14:27 +00:00
renovate[bot]
a2803e208e chore(deps): update dependency tailwindcss to v3.2.1 2022-10-24 04:27:08 +00:00
renovate[bot]
9dfbe98197 chore(deps): update babel monorepo to v7.19.6 2022-10-22 23:38:44 +00:00
renovate[bot]
a0ec380193 chore(deps): update dependency postcss to v8.4.18 2022-10-16 11:04:51 +00:00
renovate[bot]
e56646e63e chore(deps): update babel monorepo 2022-10-15 15:29:02 +00:00
renovate[bot]
12001a8eb1 fix(deps): update dependency typescript to v4.8.4 2022-10-03 04:26:03 +00:00
renovate[bot]
5af84be1cd chore(deps): update dependency postcss to v8.4.17 2022-10-02 18:00:50 +00:00
renovate[bot]
10108b1d9a chore(deps): update babel monorepo to v7.19.3 2022-10-01 23:46:34 +00:00
renovate[bot]
64828096c3 chore(deps): update dependency rollup to v2.79.1 2022-09-24 20:17:34 +00:00
renovate[bot]
54dac7bae4 chore(deps): update dependency autoprefixer to v10.4.12 2022-09-24 14:01:10 +00:00
renovate[bot]
e412e2e84d chore(deps): update storybook monorepo to v6.5.12 2022-09-18 05:52:28 +00:00
renovate[bot]
61a72ae2ca chore(deps): update dependency autoprefixer to v10.4.11 2022-09-18 02:32:01 +00:00
renovate[bot]
6a0c0149e7 chore(deps): update babel monorepo 2022-09-17 11:32:25 +00:00
renovate[bot]
1a6f67aa2c chore(deps): update dependency @rollup/plugin-typescript to v8.5.0 2022-09-11 15:34:23 +00:00