Commit Graph

133 Commits

Author SHA1 Message Date
Nathan Vasse
b25aa8f078 🔖(release) version packages
Bump @openfun/cunningham-react to 2.3.0
2023-11-27 14:14:24 +01:00
Nathan Vasse
66e55e9647 ⬇️(deps) downgrade Typescript to 5.2.2
This new Typescript version introduced a crash when executing ts-node
in order to run cunningham.ts file. We need to wait for ts-node
to update their package too. Please see the related issue:
https://github.com/microsoft/TypeScript/issues/56492
2023-11-27 12:34:30 +01:00
renovate[bot]
516cb4e8cb ⬆️(dependencies) update js dependencies 2023-11-27 12:34:30 +01:00
Nathan Vasse
6b6c0ea942 🔖(release) version packages
Bump @openfun/cunningham-react to 2.2.0
2023-11-24 11:15:55 +01:00
Nathan Vasse
b2866c1d2b 📌(deps) pin node to version 18
We force node to version 18 otherwise renovate will keep updating it
to version 20.
2023-11-21 17:00:07 +01:00
renovate[bot]
35d0821287 ⬆️(dependencies) update js dependencies 2023-11-21 17:00:07 +01:00
Nathan Vasse
b340272207 🔖(release) version packages
Bump @openfun/cunningham-react to 2.1.0
Bump cunningham-demo to 1.0.1
2023-11-03 11:19:31 +01:00
renovate[bot]
611eebf0a4 ⬆️(dependencies) update js dependencies 2023-10-18 15:19:12 +02:00
Nathan Vasse
c8c8a04832 🔖(release) version packages
Bump @openfun/cunningham-tokens to 2.0.0
Bump @openfun/cunningham-react to 2.0.0
Bump cunningham-demo to 1.0.0
2023-10-06 15:23:47 +02:00
Nathan Vasse
7db5bb798c 🔖(release) version packages
Bump @openfun/cunningham-react to 1.3.1
2023-10-04 14:21:25 +02:00
Nathan Vasse
c370970ec4 📌(deps) pin remark-gfm to 3.0.1
The MDX package is still broken as it does not support the new major
version of remark-gfm.
2023-10-03 11:52:23 +02:00
renovate[bot]
6c3259a4ac ⬆️(dependencies) update js dependencies 2023-10-03 11:52:23 +02:00
Nathan Vasse
3e2d5994f3 ⬇️(deps) downgrade @types/react to 18.2.21
It was causing compilation issue when using React.StrictMode, see this
https://github.com/DefinitelyTyped/DefinitelyTyped/issues/66841
2023-09-28 11:05:51 +02:00
Nathan Vasse
9c8331be5b ⬇️(react) downgrade remark-gfm to 3.0.1
It was causing crashes because the other MDX deps are not already
up-to-date to support remark-gfm 4.0.0 for now. See
https://github.com/remarkjs/remark-gfm/issues/57
2023-09-28 11:05:51 +02:00
renovate[bot]
f82aeee9ac ⬆️(dependencies) update js dependencies 2023-09-28 11:05:51 +02:00
Nathan Vasse
e2738495dc 🔖(release) version packages
Bump @openfun/cunningham-react to 1.3.0
2023-09-25 16:24:56 +02:00
Nathan Vasse
a07b461621 🔖(release) version packages
Bump @openfun/cunningham-react to 1.2.0
2023-09-19 09:57:36 +02:00
renovate[bot]
be5559d9fe ⬆️(dependencies) update js dependencies 2023-09-12 15:28:58 +02:00
Nathan Vasse
5bf2bc7e6f 🔖(release) version packages
Bump @openfun/cunningham-react to 1.1.0
Bump @openfun/cunningham-tokens to 1.0.1
2023-09-11 16:43:27 +02:00
Anthony Le Courric
e251bbb438 🚨(eslint-config-custom) prob order with windows
With Windows the order of the imports was not the same as with Linux,
this was causing the linter to fail with CI.
We force the import starting with ":" to the internal group to fix this
issue.
2023-09-11 16:15:13 +02:00
Nathan Vasse
37de4b3d70 🔖(release) version packages
Bump @openfun/cunningham-react to 1.0.2
2023-09-07 09:59:52 +02:00
Nathan Vasse
0683047763 🔖(release) version packages
Bump @openfun/cunningham-react to 1.0.1
2023-08-29 16:49:06 +02:00
jbpenrath
90faa82245 🔖(react) major bump to v1.0.0
Major Changes

- The first bunch of components and features are ready,
  the first milestone has been reached

Minor Changes

- 9edb976: Position Datepicker popover on top or bottom depending space
available

Patch Changes

- fd7ad8a: Do not apply font-family to all elements with `*` selector
2023-08-21 17:58:14 +02:00
renovate[bot]
25b8f696ed ⬆️(dependencies) update js dependencies 2023-08-21 15:33:50 +02:00
Anthony Le Courric
c880222c12 🔧(react) adapt script and config to use the watch mode of vite
If we work from an app perspective, it is nice to have a watch mode
on our packages to see the changes in real time. Better to use the
watch mode of vite (rollup) compare to nodemon because it is faster,
we re-transpile only the files that have changed.
Possility to use the wath mode by polling as well, on a remote machine
the HMR does not work well, the polling mode helps to solve this issue.
2023-08-21 12:32:14 +02:00
Anthony Le Courric
4f4f1682a6 🔧(packages) make scripts cross platform friendly
Some scripts had errors when running on windows.
We now use some cross platform cli tools to be
able to run the scripts on every platform.
2023-08-21 12:32:14 +02:00
jbpenrath
fed31ddbb9 🔖(react) fix release 0.11.1
Patch Changes
- 7de28bc: Fix bug on sass token generation
2023-08-11 09:16:26 +02:00
Romain Le Cellier
53bccd111b 🔖(release) version packages
Bump @openfun/cunningham-react to 0.11.0
2023-08-07 17:35:47 +02:00
Romain Le Cellier
bdc08cf043 (dependencies) add yup
Our form elements needs to be usable with react-hook-form
This lib is needed to create examples stories
2023-08-07 16:25:00 +02:00
Romain Le Cellier
1953d52cdb (dependencies) add @hookform/resolvers
Our form elements needs to be usable with react-hook-form
This lib is needed to create examples stories
2023-08-07 16:25:00 +02:00
Romain Le Cellier
314462a3c8 (dependencies) add react-hook-form
Our form elements needs to be usable with react-hook-form
This lib is needed to create examples stories
2023-08-07 16:25:00 +02:00
renovate[bot]
5f63c2a606 ⬆️(dependencies) update js dependencies 2023-07-18 16:59:39 +02:00
Nathan Vasse
d4e98d17e9 🔖(release) version packages
Bump @openfun/cunningham-react to 0.10.0
2023-07-17 11:29:01 +02:00
Nathan Vasse
b9f5227332 ⬇️(deps) downgrade vite-plugins-ts to 2.3.0
Since the upgrade we had an error during the types rollups, please see
https://github.com/qmhc/vite-plugin-dts/issues/242.
2023-07-13 15:38:23 +02:00
renovate[bot]
6ffb537cd0 ⬆️(dependencies) update js dependencies 2023-07-12 15:47:35 +02:00
Nathan Vasse
0378b3fa0c 🔖(release) version packages
Bump cunningham-demo to 0.1.0
Bump @openfun/cunningham-react to 0.9.0
Bump @openfun/cunningham-tokens to 0.6.0
2023-07-07 15:28:01 +02:00
jbpenrath
6aca0a3d85 💚(ci) fix performance issue of test job
Currently the test job seems to hit the maximum CPU resource available.
In order to prevent that we try to run tests on several workers.
2023-07-04 17:08:11 +02:00
renovate[bot]
93bfaae502 ⬆️(dependencies) update js dependencies 2023-06-27 17:15:59 +02:00
Nathan Vasse
16463c6c83 🔖(release) version packages
Bump @openfun/cunningham-react to 0.8.2
Bump @openfun/cunningham-tokens to 0.5.0
2023-06-23 14:52:12 +02:00
Nathan Vasse
d618a1805e 🔖(release) version packages
Bump @openfun/cunningham-react to 0.8.1
2023-06-19 17:59:05 +02:00
Nathan Vasse
760ffb48e9 🔖(release) version packages
Bump @openfun/cunningham-react to 0.8.0
2023-06-19 15:20:49 +02:00
Lebaud Antoine
60ff04c2d9 📦️(react) add react-aria dependecies
Working on the date picker, we looked for an headless
UI components library. React-aria was chosen to support
the new form's component development. They developped a suite of
headless UI components that seemed quite easy to style.
2023-06-12 18:57:20 +02:00
Nathan Vasse
cfdac8dba9 💄(react) migrate to Roboto Flex
Previously we were using standard Roboto Font but we were struggling to
get the same boldness as the ones from the Figma sketches. It appears
that Figma uses Roboto Flex, so by installing it we can now nearly
perfectly align our visuals with the ones form the sketches. I had to
do some custom tweaks with the weights of the font because if we
use exactly the same font-weight as in Figma the render is still different.
2023-05-26 16:39:02 +02:00
renovate[bot]
1eda301637 ⬆️(dependencies) update js dependencies 2023-05-26 16:39:02 +02:00
Nathan Vasse
22ad673374 🔖(release) version packages
Bump @openfun/cunningham-react to 0.7.0
2023-05-24 17:10:23 +02:00
Nathan Vasse
b5fcfdfeab (react) add support for CJS
At first we wanted to only support ESM. But as we want to share types
and export design tokens from the react package to the outside world
in order to allow local cunningham.ts files to import them, we are
forced to also build the library for CJS too. Why? Because local
cunningham.ts files are loaded as CJS, so they can only import CJS
module. Why loading cunningham.ts as CJS? Because the tokens package's
binary is built for CJS, then it's seamless to make it load CJS, where
making it load ESM was buggy. And why not migrate the tokens package to
ESM so? Because it implies to rewrite every imports with .js extensions,
makes us loose the possibility to use __dirname kind of variables. And
also Jest use for testing is not compliant at all when it comes to execute
ESM code. Well, the ecosystem is not ready for that at the moment, sadly.
2023-05-24 11:10:13 +02:00
Nathan Vasse
f264c29a4a 🔖(release) version packages
Bump @openfun/cunningham-react to 0.6.2
2023-05-15 17:28:18 +02:00
Nathan Vasse
dd89157654 🐛(react) fix storybook deploy
The static storybook deployment to github pages was throwing 404 errors
for a file beginning with a underscore, adding a .nojekyll disables
conflicts due to the default behavio of github pages.
2023-05-15 15:07:49 +02:00
Nathan Vasse
424fa05cca 🔧(react) migrate storybook deployment to version 7
The package @storybook/storybook-deployer that seems to not directly work
with Storybook 7 was expecting that command named "build-storybook" to
exist. With the bin updates of Storybook 7 this bin does not longer exist,
so I created a specfic script inside package.json that is named
"build-storybook" too in order to make everything work. Also now that
Storybook uses directly the local vite config, the fact that our config
generates types was causing issues when building Storybook, that why
we filter plugins in main.ts in order to remove "vite:dts".
2023-05-15 11:04:06 +02:00
Nathan Vasse
77721c3b6d ♻️(react) migrate to Storybook 7
This new release comes with breaking changes for stories and mdx docs.
2023-05-15 11:04:06 +02:00