aboutsummaryrefslogtreecommitdiffstats
path: root/yarn.lock
Commit message (Collapse)AuthorAgeFilesLines
* test: add MSW to intercept GraphQL requestsArmand Philippot2023-11-271-9/+261
|
* fix: remove rehype-sanitize to avoid broken layoutsArmand Philippot2023-11-201-17/+0
| | | | | | | The `rehype-sanitize` plugin was removing some tags inside the post contents coming from WordPress so the layout was broken. This plugin is useful to avoid DOM clobbering but I trust rehype-slug and myself so it is safe to remove it.
* fix: generate an id for each headings in the page main contentsArmand Philippot2023-11-181-2/+179
| | | | | | | | | | | | | | | | | | | | Since #be4d907 the ids was no longer addded to headings in useHeadingsTree hook. It was a bad practice to manipulate the DOM that way. However, I did not move the implementation elsewhere... To fix this, I now use rehype-slug on both markdown contents and html string coming from WordPress. I'm not sure the dynamic imports are really useful here since the table of contents is on almost all pages but Jest was failing with regular import because of ESM. It is the only thing that makes the tests functional again so... However if we want to test the `updateContentTree` function, Jest fails for the same reason. So I decided to not test this function. I've already spend too much time on this issue. Another problem: the ToC on projects page. Currently we use the ref on the body but the page contents are imported dynamically so the hook is executed before the contents are loaded. It makes the ToC empty... We should refactor the pages so we can use the ref directly on the imported contents.
* build(deps): bump dependenciesArmand Philippot2023-11-151-2909/+2807
|
* feat: replace next-themes with a custom ThemeProviderArmand Philippot2023-11-111-5/+0
| | | | | | | To be honest, next-themes was working fine. However since I use a theme provider for Prism code blocks, some code is duplicated between this app and the library. So I prefer to use a custom Provider without the options I don't need.
* build(eslint): improve ESlint rulesArmand Philippot2023-10-241-13/+53
| | | | | | In my opinion, next/core-web-vitals rules are too loose so I added a custom config to improve code consistency and to enforce best practices.
* build(deps): bump @babel/traverse from 7.22.20 to 7.23.2dependabot[bot]2023-10-211-7/+39
| | | | | | | | | | | | | | Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.20 to 7.23.2. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse) --- updated-dependencies: - dependency-name: "@babel/traverse" dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps-dev): bump postcss from 8.4.30 to 8.4.31dependabot[bot]2023-10-211-4/+4
| | | | | | | | | | | | | | Bumps [postcss](https://github.com/postcss/postcss) from 8.4.30 to 8.4.31. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.4.30...8.4.31) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): remove storybook onboarding addonArmand Philippot2023-09-211-21/+1
| | | | This plugin was installed bumping Storybook, it is not necessary.
* build(deps): add cSpell to lint and fix spelling errorsArmand Philippot2023-09-211-10/+608
|
* build(deps): bump all dependenciesArmand Philippot2023-09-191-7444/+5864
| | | | | * MDX type has changed so some components props had to be updated * Since Storybook now supports TS, I renamed the main/preview files
* build(deps): bump @adobe/css-tools from 4.0.2 to 4.3.1dependabot[bot]2023-08-301-3/+3
| | | | | | | | | | | | | Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.0.2 to 4.3.1. - [Changelog](https://github.com/adobe/css-tools/blob/main/History.md) - [Commits](https://github.com/adobe/css-tools/commits) --- updated-dependencies: - dependency-name: "@adobe/css-tools" dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump word-wrap from 1.2.3 to 1.2.4dependabot[bot]2023-07-191-3/+3
| | | | | | | | | | | | | Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/jonschlinkert/word-wrap/releases) - [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4) --- updated-dependencies: - dependency-name: word-wrap dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump semver from 5.7.1 to 5.7.2dependabot[bot]2023-07-111-7/+14
| | | | | | | | | | | | | | Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md) - [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2) --- updated-dependencies: - dependency-name: semver dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps-dev): bump stylelint from 14.16.1 to 15.10.1dependabot[bot]2023-07-101-83/+195
| | | | | | | | | | | | | | Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.16.1 to 15.10.1. - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](https://github.com/stylelint/stylelint/compare/14.16.1...15.10.1) --- updated-dependencies: - dependency-name: stylelint dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps-dev): bump webpack from 5.75.0 to 5.76.0dependabot[bot]2023-03-151-4/+4
| | | | | | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump dependenciesArmand Philippot2023-01-231-2480/+2761
|
* build(deps): bump json5 from 1.0.1 to 1.0.2dependabot[bot]2023-01-081-9/+4
| | | | | | | | | | | | | | Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/json5/json5/releases) - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md) - [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: json5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump decode-uri-component from 0.2.0 to 0.2.2dependabot[bot]2022-12-111-3/+3
| | | | | | | | | | | | | Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. - [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases) - [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2) --- updated-dependencies: - dependency-name: decode-uri-component dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump loader-utils from 1.4.1 to 1.4.2dependabot[bot]2022-11-161-3/+3
| | | | | | | | | | | | | | Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2. - [Release notes](https://github.com/webpack/loader-utils/releases) - [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md) - [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2) --- updated-dependencies: - dependency-name: loader-utils dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump loader-utils from 1.4.0 to 1.4.1dependabot[bot]2022-11-081-4/+9
| | | | | | | | | | | | | | Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1. - [Release notes](https://github.com/webpack/loader-utils/releases) - [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md) - [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1) --- updated-dependencies: - dependency-name: loader-utils dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump all dependenciesArmand Philippot2022-09-211-1529/+1555
|
* build(deps): bump FormatJS to 5.0.9Armand Philippot2022-08-221-15/+15
| | | | The v5.0.8 was missing the bin folders in node_modules.
* build(deps): bump FormatJS, next-sitemap and StylelintArmand Philippot2022-08-211-102/+209
|
* build(deps): upgrade all dependenciesArmand Philippot2022-08-201-1002/+948
|
* build(deps): upgrade dependencies (Next v12.2.3)Armand Philippot2022-07-221-1750/+1735
| | | | | The Next config has also been updated: the experimental config `outputStandalone` is no longer experimental.
* build(deps): bump terser from 4.8.0 to 4.8.1dependabot[bot]2022-07-211-3/+3
| | | | | | | | | | | | | | Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/commits) --- updated-dependencies: - dependency-name: terser dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump dependenciesArmand Philippot2022-06-221-718/+709
|
* build(deps): bump dependenciesArmand Philippot2022-06-091-513/+466
|
* build(deps): bump dependenciesArmand Philippot2022-06-071-946/+947
|
* test: install and configure cypressArmand Philippot2022-06-021-19/+550
| | | | I also configure Jest to avoid conflicts between Cypress and Jest.
* build(deps): bump dependenciesArmand Philippot2022-06-011-737/+777
|
* build(deps): bump dependenciesArmand Philippot2022-05-271-139/+148
|
* build(deps): bump all dependenciesArmand Philippot2022-05-251-3022/+2372
| | | | | | | I moved the website picture from useSettings to the layout component since it is only used here. This reduce the number of Jest errors. However, there's still some issues with some images import...
* chore(storybook): use custom themes and add dark mode supportArmand Philippot2022-05-221-3/+11
|
* build(deps): upgrade Storybook to v6.5.3Armand Philippot2022-05-211-785/+968
|
* refactor: rewrite API fetching method and GraphQL queriesArmand Philippot2022-05-021-22/+1
|
* build(deps): bump react-intl to v5.25.0Armand Philippot2022-04-191-26/+17
| | | | It fixes the types issue in Storybook.
* chore: merge branch 'main' into refactor/use-storybook-and-atomic-designArmand Philippot2022-04-161-394/+635
|\
| * build(deps): bump dependencies (next, react, mdx...)Armand Philippot2022-04-161-584/+604
| |
* | build(deps): bump Storybook to v6.4.22Armand Philippot2022-04-151-305/+414
| |
* | build(deps): add storybookArmand Philippot2022-03-311-400/+6992
|/
* build(deps): bump next, next-sitemap, mdx, graphql-request and sharpArmand Philippot2022-03-251-410/+413
|
* build: configure jestArmand Philippot2022-03-241-24/+166
| | | | | | Since Next.js v12, Jest is already configured with the next/jest package. I also added a package to mock next/router.
* build(deps): remove unused depsArmand Philippot2022-03-241-51/+9
|
* refactor: replace babel with swcArmand Philippot2022-03-241-1/+12
|\ | | | | | | The build time will be faster with SWC.
| * refactor: use formatjs swc pluginArmand Philippot2022-03-231-1/+12
| | | | | | | | | | I'm not able to configure SWC plugins in Next.js so to make it works, all translation must have an id.
* | build(deps): bump minimist from 1.2.5 to 1.2.6dependabot[bot]2022-03-231-3/+3
|/ | | | | | | | | | | | | Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump dependenciesArmand Philippot2022-03-101-122/+122
|
* build(deps): bump dependencies to latest versionArmand Philippot2022-03-021-140/+140
|