From 9c8685df386128eefe65e6cec1f9721b20e396bf Mon Sep 17 00:00:00 2001 From: Martin Stievenart Date: Fri, 15 Mar 2024 11:41:43 +0100 Subject: [PATCH 1/4] fix: use cross-end for storybook build --- .github/workflows/chromatic.yml | 10 ++++------ .github/workflows/toolkit-ci.yml | 9 +++++---- package-lock.json | 28 ++++++++++++++++++++++++++++ package.json | 5 +++-- 4 files changed, 40 insertions(+), 12 deletions(-) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index a50c5c946..0cb690e15 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -5,21 +5,18 @@ on: branches: - master -env: - NODE_VERSION: 16.x - jobs: chromatic: if: github.repository_owner == 'AxaFrance' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 # 👈 Required to retrieve git history for Chromatic - name: Use Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: ${{ env.NODE_VERSION }} + node-version: '*' registry-url: 'https://registry.npmjs.org' cache: 'npm' - run: npm ci @@ -30,3 +27,4 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} projectToken: 2af88e64d1ab exitOnceUploaded: true + buildScriptName: 'storybook:build' diff --git a/.github/workflows/toolkit-ci.yml b/.github/workflows/toolkit-ci.yml index 5a35e93a0..1c4658ec1 100644 --- a/.github/workflows/toolkit-ci.yml +++ b/.github/workflows/toolkit-ci.yml @@ -10,21 +10,22 @@ jobs: if: github.repository_owner == 'AxaFrance' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 # 👈 Required to retrieve git history - name: Use Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: 16.x + node-version: '*' cache: 'npm' - run: npm ci - run: npm run build - run: npm run check - run: npm test -- --coverage - name: Publish to Chromatic - uses: chromaui/action@v1 + uses: chromaui/action@latest with: token: ${{ secrets.GITHUB_TOKEN }} projectToken: 2af88e64d1ab exitOnceUploaded: true + buildScriptName: 'storybook:build' diff --git a/package-lock.json b/package-lock.json index 1785ba239..e1a3b1272 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,6 +47,7 @@ "@typescript-eslint/parser": "4.6.1", "babel-loader": "8.1.0", "bootstrap": "4.3.1", + "cross-env": "7.0.3", "css-loader": "5.0.1", "eslint": "7.12.1", "eslint-config-airbnb-typescript": "12.0.0", @@ -15282,6 +15283,24 @@ "dev": true, "license": "MIT" }, + "node_modules/cross-env": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", + "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.1" + }, + "bin": { + "cross-env": "src/bin/cross-env.js", + "cross-env-shell": "src/bin/cross-env-shell.js" + }, + "engines": { + "node": ">=10.14", + "npm": ">=6", + "yarn": ">=1" + } + }, "node_modules/cross-spawn": { "version": "7.0.3", "dev": true, @@ -46396,6 +46415,15 @@ "version": "1.1.1", "dev": true }, + "cross-env": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", + "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.1" + } + }, "cross-spawn": { "version": "7.0.3", "dev": true, diff --git a/package.json b/package.json index 8e300c142..defb582b9 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,8 @@ "build": "lerna run build && npm run style", "postversion": "rimraf package-lock.json && npm i --force --ignore-scripts && git add package-lock.json && git commit --amend --no-edit", "style": "node ./scripts/style.js", - "storybook": "set NODE_OPTIONS=--openssl-legacy-provider && start-storybook -p 9009 -s storybook-public", - "storybook:build": "set NODE_OPTIONS=--openssl-legacy-provider && build-storybook -s storybook-public -c .storybook -o storybook-static && node ./scripts/inject-version.js", + "storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 9009 -s storybook-public", + "storybook:build": "cross-env NODE_OPTIONS=--openssl-legacy-provider build-storybook -s storybook-public -c .storybook -o storybook-static && node ./scripts/inject-version.js", "test": "jest", "cover": "jest --no-cache --config ./jest.config.ts --coverage", "check": "npm run check:formatting && npm run check:quality", @@ -61,6 +61,7 @@ "@typescript-eslint/parser": "4.6.1", "babel-loader": "8.1.0", "bootstrap": "4.3.1", + "cross-env": "7.0.3", "css-loader": "5.0.1", "eslint": "7.12.1", "eslint-config-airbnb-typescript": "12.0.0", From 9673d5d968685670d618e0ec2ea2780dc91012ca Mon Sep 17 00:00:00 2001 From: Martin Stievenart Date: Wed, 10 Apr 2024 14:08:07 +0200 Subject: [PATCH 2/4] ci: use latest version of chromaui/action --- .github/workflows/chromatic.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 0cb690e15..100f83509 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -22,7 +22,7 @@ jobs: - run: npm ci - run: npm run build - name: Publish to Chromatic - uses: chromaui/action@v1 + uses: chromaui/action@latest with: token: ${{ secrets.GITHUB_TOKEN }} projectToken: 2af88e64d1ab From 76882c1f8874ec5947e0c09dedcbdea34442b7a7 Mon Sep 17 00:00:00 2001 From: Martin Stievenart Date: Wed, 10 Apr 2024 14:48:19 +0200 Subject: [PATCH 3/4] fix: remove storybook-readme dependency --- .storybook/main.js | 1 - .storybook/preview.js | 3 +- package-lock.json | 1767 +---------------------------------------- package.json | 1 - 4 files changed, 4 insertions(+), 1768 deletions(-) diff --git a/.storybook/main.js b/.storybook/main.js index 291b1c310..195fa9efc 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -48,7 +48,6 @@ module.exports = { '@storybook/addon-essentials', '@storybook/addon-storysource', '@storybook/addon-a11y', - 'storybook-readme', ], webpackFinal: async (config) => { config.module.rules.push({ diff --git a/.storybook/preview.js b/.storybook/preview.js index dc580537c..4a2512e22 100644 --- a/.storybook/preview.js +++ b/.storybook/preview.js @@ -1,11 +1,10 @@ -import { addReadme } from 'storybook-readme'; import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport'; import '../packages/all/dist/style/af-toolkit-core.css'; import '../packages/core/dist/assets/fonts/icons/af-icons.css'; import './storybook.css'; -export const decorators = [addReadme]; +export const decorators = []; export const parameters = { actions: { argTypesRegex: '^on.*' }, diff --git a/package-lock.json b/package-lock.json index e1a3b1272..63bf96550 100644 --- a/package-lock.json +++ b/package-lock.json @@ -74,7 +74,6 @@ "rimraf": "3.0.2", "sass": "1.49.7", "sass-loader": "10.0.5", - "storybook-readme": "5.0.9", "ts-jest": "27.1.2", "ts-node": "10.8.1", "typescript": "4.3.5" @@ -2187,43 +2186,6 @@ "node": ">=0.10.0" } }, - "node_modules/@emotion/cache": { - "version": "10.0.29", - "dev": true, - "license": "MIT", - "dependencies": { - "@emotion/sheet": "0.9.4", - "@emotion/stylis": "0.8.5", - "@emotion/utils": "0.11.3", - "@emotion/weak-memoize": "0.2.5" - } - }, - "node_modules/@emotion/core": { - "version": "10.3.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.5.5", - "@emotion/cache": "^10.0.27", - "@emotion/css": "^10.0.27", - "@emotion/serialize": "^0.11.15", - "@emotion/sheet": "0.9.4", - "@emotion/utils": "0.11.3" - }, - "peerDependencies": { - "react": ">=16.3.0" - } - }, - "node_modules/@emotion/css": { - "version": "10.0.27", - "dev": true, - "license": "MIT", - "dependencies": { - "@emotion/serialize": "^0.11.15", - "@emotion/utils": "0.11.3", - "babel-plugin-emotion": "^10.0.27" - } - }, "node_modules/@emotion/css-prettifier": { "version": "1.1.3", "dev": true, @@ -2243,19 +2205,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@emotion/hash": { - "version": "0.8.0", - "dev": true, - "license": "MIT" - }, - "node_modules/@emotion/is-prop-valid": { - "version": "0.8.8", - "dev": true, - "license": "MIT", - "dependencies": { - "@emotion/memoize": "0.7.4" - } - }, "node_modules/@emotion/jest": { "version": "11.11.0", "dev": true, @@ -2349,11 +2298,6 @@ "node": ">=8" } }, - "node_modules/@emotion/memoize": { - "version": "0.7.4", - "dev": true, - "license": "MIT" - }, "node_modules/@emotion/react": { "version": "11.10.0", "license": "MIT", @@ -2425,76 +2369,6 @@ "version": "0.3.0", "license": "MIT" }, - "node_modules/@emotion/serialize": { - "version": "0.11.16", - "dev": true, - "license": "MIT", - "dependencies": { - "@emotion/hash": "0.8.0", - "@emotion/memoize": "0.7.4", - "@emotion/unitless": "0.7.5", - "@emotion/utils": "0.11.3", - "csstype": "^2.5.7" - } - }, - "node_modules/@emotion/serialize/node_modules/csstype": { - "version": "2.6.20", - "dev": true, - "license": "MIT" - }, - "node_modules/@emotion/sheet": { - "version": "0.9.4", - "dev": true, - "license": "MIT" - }, - "node_modules/@emotion/styled": { - "version": "10.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@emotion/styled-base": "^10.3.0", - "babel-plugin-emotion": "^10.0.27" - }, - "peerDependencies": { - "@emotion/core": "^10.0.27", - "react": ">=16.3.0" - } - }, - "node_modules/@emotion/styled-base": { - "version": "10.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.5.5", - "@emotion/is-prop-valid": "0.8.8", - "@emotion/serialize": "^0.11.15", - "@emotion/utils": "0.11.3" - }, - "peerDependencies": { - "@emotion/core": "^10.0.28", - "react": ">=16.3.0" - } - }, - "node_modules/@emotion/stylis": { - "version": "0.8.5", - "dev": true, - "license": "MIT" - }, - "node_modules/@emotion/unitless": { - "version": "0.7.5", - "dev": true, - "license": "MIT" - }, - "node_modules/@emotion/utils": { - "version": "0.11.3", - "dev": true, - "license": "MIT" - }, - "node_modules/@emotion/weak-memoize": { - "version": "0.2.5", - "dev": true, - "license": "MIT" - }, "node_modules/@eslint/eslintrc": { "version": "0.2.2", "dev": true, @@ -2710,19 +2584,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@hypnosphi/create-react-context": { - "version": "0.3.1", - "dev": true, - "license": "MIT", - "dependencies": { - "gud": "^1.0.0", - "warning": "^4.0.3" - }, - "peerDependencies": { - "prop-types": "^15.0.0", - "react": ">=0.14.0" - } - }, "node_modules/@istanbuljs/load-nyc-config": { "version": "1.1.0", "dev": true, @@ -11278,14 +11139,6 @@ "@types/react": "*" } }, - "node_modules/@types/react-textarea-autosize": { - "version": "4.3.6", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/react": "*" - } - }, "node_modules/@types/react-transition-group": { "version": "4.4.5", "license": "MIT", @@ -11592,16 +11445,6 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@vue/compiler-sfc": { - "version": "2.7.8", - "dev": true, - "peer": true, - "dependencies": { - "@babel/parser": "^7.18.4", - "postcss": "^8.4.14", - "source-map": "^0.6.1" - } - }, "node_modules/@webassemblyjs/ast": { "version": "1.9.0", "dev": true, @@ -12776,56 +12619,6 @@ "object.assign": "^4.1.0" } }, - "node_modules/babel-plugin-emotion": { - "version": "10.2.2", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-module-imports": "^7.0.0", - "@emotion/hash": "0.8.0", - "@emotion/memoize": "0.7.4", - "@emotion/serialize": "^0.11.16", - "babel-plugin-macros": "^2.0.0", - "babel-plugin-syntax-jsx": "^6.18.0", - "convert-source-map": "^1.5.0", - "escape-string-regexp": "^1.0.5", - "find-root": "^1.1.0", - "source-map": "^0.5.7" - } - }, - "node_modules/babel-plugin-emotion/node_modules/babel-plugin-macros": { - "version": "2.8.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.7.2", - "cosmiconfig": "^6.0.0", - "resolve": "^1.12.0" - } - }, - "node_modules/babel-plugin-emotion/node_modules/cosmiconfig": { - "version": "6.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.1.0", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.7.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-plugin-emotion/node_modules/source-map": { - "version": "0.5.7", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/babel-plugin-extract-import-names": { "version": "1.6.22", "dev": true, @@ -12967,11 +12760,6 @@ "react-docgen": "^5.0.0" } }, - "node_modules/babel-plugin-syntax-jsx": { - "version": "6.18.0", - "dev": true, - "license": "MIT" - }, "node_modules/babel-preset-current-node-syntax": { "version": "1.0.1", "dev": true, @@ -13737,11 +13525,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/can-use-dom": { - "version": "0.1.0", - "dev": true, - "license": "MIT" - }, "node_modules/caniuse-lite": { "version": "1.0.30001368", "funding": [ @@ -14113,17 +13896,6 @@ "dev": true, "license": "ISC" }, - "node_modules/clipboard": { - "version": "2.0.11", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "good-listener": "^1.2.2", - "select": "^1.1.2", - "tiny-emitter": "^2.0.0" - } - }, "node_modules/cliui": { "version": "7.0.4", "dev": true, @@ -15619,32 +15391,11 @@ "dev": true, "license": "MIT" }, - "node_modules/deep-equal": { - "version": "1.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "is-arguments": "^1.0.4", - "is-date-object": "^1.0.1", - "is-regex": "^1.0.4", - "object-is": "^1.0.1", - "object-keys": "^1.1.1", - "regexp.prototype.flags": "^1.2.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/deep-is": { "version": "0.1.4", "dev": true, "license": "MIT" }, - "node_modules/deep-object-diff": { - "version": "1.1.9", - "dev": true, - "license": "MIT" - }, "node_modules/deepmerge": { "version": "4.2.2", "dev": true, @@ -15946,12 +15697,6 @@ "node": ">=0.4.0" } }, - "node_modules/delegate": { - "version": "3.2.0", - "dev": true, - "license": "MIT", - "optional": true - }, "node_modules/delegates": { "version": "1.0.0", "dev": true, @@ -16016,11 +15761,6 @@ "node": ">=8" } }, - "node_modules/detect-node-es": { - "version": "1.1.0", - "dev": true, - "license": "MIT" - }, "node_modules/detect-package-manager": { "version": "2.0.1", "dev": true, @@ -16376,20 +16116,6 @@ "node": ">= 4" } }, - "node_modules/emotion-theming": { - "version": "10.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.5.5", - "@emotion/weak-memoize": "0.2.5", - "hoist-non-react-statics": "^3.3.0" - }, - "peerDependencies": { - "@emotion/core": "^10.0.27", - "react": ">=16.3.0" - } - }, "node_modules/encodeurl": { "version": "1.0.2", "dev": true, @@ -16664,15 +16390,6 @@ "dev": true, "license": "MIT" }, - "node_modules/es6-templates": { - "version": "0.2.3", - "dev": true, - "license": "Apache 2", - "dependencies": { - "recast": "~0.11.12", - "through": "~2.3.6" - } - }, "node_modules/escalade": { "version": "3.1.1", "license": "MIT", @@ -18165,11 +17882,6 @@ "dev": true, "license": "MIT" }, - "node_modules/fastparse": { - "version": "1.1.2", - "dev": true, - "license": "MIT" - }, "node_modules/fastq": { "version": "1.13.0", "dev": true, @@ -18524,17 +18236,6 @@ "safe-buffer": "~5.1.0" } }, - "node_modules/focus-lock": { - "version": "0.11.2", - "dev": true, - "license": "MIT", - "dependencies": { - "tslib": "^2.0.3" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/for-in": { "version": "1.0.2", "dev": true, @@ -19935,25 +19636,11 @@ "node": ">= 4" } }, - "node_modules/good-listener": { - "version": "1.2.2", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "delegate": "^3.1.2" - } - }, "node_modules/graceful-fs": { "version": "4.2.10", "dev": true, "license": "ISC" }, - "node_modules/gud": { - "version": "1.0.0", - "dev": true, - "license": "MIT" - }, "node_modules/handlebars": { "version": "4.7.7", "dev": true, @@ -20354,62 +20041,6 @@ "dev": true, "license": "MIT" }, - "node_modules/html-loader": { - "version": "0.5.5", - "dev": true, - "license": "MIT", - "dependencies": { - "es6-templates": "^0.2.3", - "fastparse": "^1.1.1", - "html-minifier": "^3.5.8", - "loader-utils": "^1.1.0", - "object-assign": "^4.1.1" - } - }, - "node_modules/html-loader/node_modules/json5": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } - }, - "node_modules/html-loader/node_modules/loader-utils": { - "version": "1.4.2", - "dev": true, - "license": "MIT", - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/html-minifier": { - "version": "3.5.21", - "dev": true, - "license": "MIT", - "dependencies": { - "camel-case": "3.0.x", - "clean-css": "4.2.x", - "commander": "2.17.x", - "he": "1.2.x", - "param-case": "2.1.x", - "relateurl": "0.2.x", - "uglify-js": "3.4.x" - }, - "bin": { - "html-minifier": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/html-minifier-terser": { "version": "5.1.1", "dev": true, @@ -20438,61 +20069,6 @@ "node": ">= 6" } }, - "node_modules/html-minifier/node_modules/camel-case": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "no-case": "^2.2.0", - "upper-case": "^1.1.1" - } - }, - "node_modules/html-minifier/node_modules/commander": { - "version": "2.17.1", - "dev": true, - "license": "MIT" - }, - "node_modules/html-minifier/node_modules/lower-case": { - "version": "1.1.4", - "dev": true, - "license": "MIT" - }, - "node_modules/html-minifier/node_modules/no-case": { - "version": "2.3.2", - "dev": true, - "license": "MIT", - "dependencies": { - "lower-case": "^1.1.1" - } - }, - "node_modules/html-minifier/node_modules/param-case": { - "version": "2.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "no-case": "^2.2.0" - } - }, - "node_modules/html-minifier/node_modules/uglify-js": { - "version": "3.4.10", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "commander": "~2.19.0", - "source-map": "~0.6.1" - }, - "bin": { - "uglifyjs": "bin/uglifyjs" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/html-minifier/node_modules/uglify-js/node_modules/commander": { - "version": "2.19.0", - "dev": true, - "license": "MIT" - }, "node_modules/html-tags": { "version": "3.2.0", "dev": true, @@ -25462,16 +25038,6 @@ "lodash._reinterpolate": "^3.0.0" } }, - "node_modules/lodash.throttle": { - "version": "4.1.1", - "dev": true, - "license": "MIT" - }, - "node_modules/lodash.toarray": { - "version": "4.4.0", - "dev": true, - "license": "MIT" - }, "node_modules/lodash.uniq": { "version": "4.5.0", "dev": true, @@ -25830,21 +25396,6 @@ "node": ">=4.0.0" } }, - "node_modules/markdown-to-jsx": { - "version": "6.11.4", - "dev": true, - "license": "MIT", - "dependencies": { - "prop-types": "^15.6.2", - "unquote": "^1.1.0" - }, - "engines": { - "node": ">= 4" - }, - "peerDependencies": { - "react": ">= 0.14.0" - } - }, "node_modules/marked": { "version": "0.7.0", "dev": true, @@ -26606,14 +26157,6 @@ "node": ">= 0.10.5" } }, - "node_modules/node-emoji": { - "version": "1.10.0", - "dev": true, - "license": "MIT", - "dependencies": { - "lodash.toarray": "^4.4.0" - } - }, "node_modules/node-fetch": { "version": "2.6.7", "dev": true, @@ -27092,21 +26635,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/object-is": { - "version": "1.1.5", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/object-keys": { "version": "1.1.1", "dev": true, @@ -27895,6 +27423,7 @@ "version": "1.16.1", "dev": true, "license": "MIT", + "peer": true, "funding": { "type": "opencollective", "url": "https://opencollective.com/popperjs" @@ -28158,11 +27687,6 @@ "node": ">= 0.8" } }, - "node_modules/prism-themes": { - "version": "1.9.0", - "dev": true, - "license": "MIT" - }, "node_modules/prismjs": { "version": "1.28.0", "dev": true, @@ -28171,14 +27695,6 @@ "node": ">=6" } }, - "node_modules/private": { - "version": "0.1.8", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/process": { "version": "0.11.10", "dev": true, @@ -28657,17 +28173,6 @@ "node": ">=0.10.0" } }, - "node_modules/react-clientside-effect": { - "version": "1.2.6", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.12.13" - }, - "peerDependencies": { - "react": "^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0" - } - }, "node_modules/react-docgen": { "version": "5.4.3", "dev": true, @@ -28757,44 +28262,6 @@ "version": "3.2.0", "license": "MIT" }, - "node_modules/react-focus-lock": { - "version": "2.9.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.0.0", - "focus-lock": "^0.11.2", - "prop-types": "^15.6.2", - "react-clientside-effect": "^1.2.6", - "use-callback-ref": "^1.3.0", - "use-sidecar": "^1.1.2" - }, - "peerDependencies": { - "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/react-helmet-async": { - "version": "1.3.0", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@babel/runtime": "^7.12.5", - "invariant": "^2.2.4", - "prop-types": "^15.7.2", - "react-fast-compare": "^3.2.0", - "shallowequal": "^1.1.0" - }, - "peerDependencies": { - "react": "^16.6.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.6.0 || ^17.0.0 || ^18.0.0" - } - }, "node_modules/react-inspector": { "version": "5.1.1", "dev": true, @@ -29174,48 +28641,6 @@ "node": ">=8.10.0" } }, - "node_modules/recast": { - "version": "0.11.23", - "dev": true, - "license": "MIT", - "dependencies": { - "ast-types": "0.9.6", - "esprima": "~3.1.0", - "private": "~0.1.5", - "source-map": "~0.5.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/recast/node_modules/ast-types": { - "version": "0.9.6", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/recast/node_modules/esprima": { - "version": "3.1.3", - "dev": true, - "license": "BSD-2-Clause", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/recast/node_modules/source-map": { - "version": "0.5.7", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/redent": { "version": "3.0.0", "dev": true, @@ -30475,12 +29900,6 @@ "url": "https://opencollective.com/webpack" } }, - "node_modules/select": { - "version": "1.1.2", - "dev": true, - "license": "MIT", - "optional": true - }, "node_modules/semver": { "version": "6.3.1", "license": "ISC", @@ -30701,19 +30120,6 @@ "dev": true, "license": "ISC" }, - "node_modules/simplebar": { - "version": "4.2.3", - "dev": true, - "license": "MIT", - "dependencies": { - "can-use-dom": "^0.1.0", - "core-js": "^3.0.1", - "lodash.debounce": "^4.0.8", - "lodash.memoize": "^4.1.2", - "lodash.throttle": "^4.1.1", - "resize-observer-polyfill": "^1.5.1" - } - }, "node_modules/sisteransi": { "version": "1.0.5", "dev": true, @@ -31330,338 +30736,6 @@ "dev": true, "license": "(MIT OR GPL-3.0)" }, - "node_modules/storybook-readme": { - "version": "5.0.9", - "dev": true, - "license": "MIT", - "dependencies": { - "@storybook/components": "^5.0.6", - "@storybook/core-events": "^5.0.6", - "html-loader": "^0.5.5", - "lodash": "^4.17.11", - "markdown-loader": "^5.0.0", - "marked": "^0.7.0", - "node-emoji": "1.10.0", - "prism-themes": "^1.1.0", - "prismjs": "^1.16.0", - "react-element-to-jsx-string": "^14.0.2", - "string-raw": "^1.0.1", - "vuex": "^3.1.0" - } - }, - "node_modules/storybook-readme/node_modules/@storybook/client-logger": { - "version": "5.3.22", - "dev": true, - "license": "MIT", - "dependencies": { - "core-js": "^3.0.1" - } - }, - "node_modules/storybook-readme/node_modules/@storybook/components": { - "version": "5.3.22", - "dev": true, - "license": "MIT", - "dependencies": { - "@storybook/client-logger": "5.3.22", - "@storybook/theming": "5.3.22", - "@types/react-syntax-highlighter": "11.0.4", - "@types/react-textarea-autosize": "^4.3.3", - "core-js": "^3.0.1", - "global": "^4.3.2", - "lodash": "^4.17.15", - "markdown-to-jsx": "^6.11.4", - "memoizerific": "^1.11.3", - "polished": "^3.3.1", - "popper.js": "^1.14.7", - "prop-types": "^15.7.2", - "react": "^16.8.3", - "react-dom": "^16.8.3", - "react-focus-lock": "^2.1.0", - "react-helmet-async": "^1.0.2", - "react-popper-tooltip": "^2.8.3", - "react-syntax-highlighter": "^11.0.2", - "react-textarea-autosize": "^7.1.0", - "simplebar-react": "^1.0.0-alpha.6", - "ts-dedent": "^1.1.0" - }, - "peerDependencies": { - "react": "*", - "react-dom": "*" - } - }, - "node_modules/storybook-readme/node_modules/@storybook/core-events": { - "version": "5.3.22", - "dev": true, - "license": "MIT", - "dependencies": { - "core-js": "^3.0.1" - } - }, - "node_modules/storybook-readme/node_modules/@storybook/theming": { - "version": "5.3.22", - "dev": true, - "license": "MIT", - "dependencies": { - "@emotion/core": "^10.0.20", - "@emotion/styled": "^10.0.17", - "@storybook/client-logger": "5.3.22", - "core-js": "^3.0.1", - "deep-object-diff": "^1.1.0", - "emotion-theming": "^10.0.19", - "global": "^4.3.2", - "memoizerific": "^1.11.3", - "polished": "^3.3.1", - "prop-types": "^15.7.2", - "resolve-from": "^5.0.0", - "ts-dedent": "^1.1.0" - }, - "peerDependencies": { - "react": "*", - "react-dom": "*" - } - }, - "node_modules/storybook-readme/node_modules/@types/react-syntax-highlighter": { - "version": "11.0.4", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/react": "*" - } - }, - "node_modules/storybook-readme/node_modules/hastscript": { - "version": "5.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "comma-separated-tokens": "^1.0.0", - "hast-util-parse-selector": "^2.0.0", - "property-information": "^5.0.0", - "space-separated-tokens": "^1.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/storybook-readme/node_modules/highlight.js": { - "version": "9.18.5", - "dev": true, - "hasInstallScript": true, - "license": "BSD-3-Clause", - "engines": { - "node": "*" - } - }, - "node_modules/storybook-readme/node_modules/json5": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } - }, - "node_modules/storybook-readme/node_modules/loader-utils": { - "version": "1.4.2", - "dev": true, - "license": "MIT", - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/storybook-readme/node_modules/lowlight": { - "version": "1.11.0", - "dev": true, - "license": "MIT", - "dependencies": { - "fault": "^1.0.2", - "highlight.js": "~9.13.0" - } - }, - "node_modules/storybook-readme/node_modules/lowlight/node_modules/highlight.js": { - "version": "9.13.1", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": "*" - } - }, - "node_modules/storybook-readme/node_modules/markdown-loader": { - "version": "5.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "loader-utils": "^1.2.3", - "marked": "^0.7.0" - } - }, - "node_modules/storybook-readme/node_modules/parse-entities": { - "version": "1.2.2", - "dev": true, - "license": "MIT", - "dependencies": { - "character-entities": "^1.0.0", - "character-entities-legacy": "^1.0.0", - "character-reference-invalid": "^1.0.0", - "is-alphanumerical": "^1.0.0", - "is-decimal": "^1.0.0", - "is-hexadecimal": "^1.0.0" - } - }, - "node_modules/storybook-readme/node_modules/polished": { - "version": "3.7.2", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.12.5" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/storybook-readme/node_modules/prismjs": { - "version": "1.17.1", - "dev": true, - "license": "MIT", - "optionalDependencies": { - "clipboard": "^2.0.0" - } - }, - "node_modules/storybook-readme/node_modules/react": { - "version": "16.14.0", - "dev": true, - "license": "MIT", - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/storybook-readme/node_modules/react-dom": { - "version": "16.14.0", - "dev": true, - "license": "MIT", - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2", - "scheduler": "^0.19.1" - }, - "peerDependencies": { - "react": "^16.14.0" - } - }, - "node_modules/storybook-readme/node_modules/react-popper": { - "version": "1.3.11", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.1.2", - "@hypnosphi/create-react-context": "^0.3.1", - "deep-equal": "^1.1.1", - "popper.js": "^1.14.4", - "prop-types": "^15.6.1", - "typed-styles": "^0.0.7", - "warning": "^4.0.2" - }, - "peerDependencies": { - "react": "0.14.x || ^15.0.0 || ^16.0.0 || ^17.0.0" - } - }, - "node_modules/storybook-readme/node_modules/react-popper-tooltip": { - "version": "2.11.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.9.2", - "react-popper": "^1.3.7" - }, - "peerDependencies": { - "react": "^16.6.0", - "react-dom": "^16.6.0" - } - }, - "node_modules/storybook-readme/node_modules/react-syntax-highlighter": { - "version": "11.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.3.1", - "highlight.js": "~9.18.2", - "lowlight": "~1.11.0", - "prismjs": "^1.8.4", - "refractor": "^2.4.1" - }, - "peerDependencies": { - "react": ">= 0.14.0" - } - }, - "node_modules/storybook-readme/node_modules/react-textarea-autosize": { - "version": "7.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.1.2", - "prop-types": "^15.6.0" - }, - "peerDependencies": { - "react": ">=0.14.0 <17.0.0" - } - }, - "node_modules/storybook-readme/node_modules/refractor": { - "version": "2.10.1", - "dev": true, - "license": "MIT", - "dependencies": { - "hastscript": "^5.0.0", - "parse-entities": "^1.1.2", - "prismjs": "~1.17.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/storybook-readme/node_modules/scheduler": { - "version": "0.19.1", - "dev": true, - "license": "MIT", - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" - } - }, - "node_modules/storybook-readme/node_modules/simplebar-react": { - "version": "1.2.3", - "dev": true, - "license": "MIT", - "dependencies": { - "prop-types": "^15.6.1", - "simplebar": "^4.2.3" - }, - "peerDependencies": { - "react": "^0.14.9 || ^15.3.0 || ^16.0.0-rc || ^16.0", - "react-dom": "^0.14.9 || ^15.3.0 || ^16.0.0-rc || ^16.0" - } - }, - "node_modules/storybook-readme/node_modules/ts-dedent": { - "version": "1.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.10" - } - }, "node_modules/stream-browserify": { "version": "2.0.2", "dev": true, @@ -31801,11 +30875,6 @@ "dev": true, "license": "MIT" }, - "node_modules/string-raw": { - "version": "1.0.1", - "dev": true, - "license": "MIT" - }, "node_modules/string-width": { "version": "4.2.3", "dev": true, @@ -32742,12 +31811,6 @@ "node": ">=0.6.0" } }, - "node_modules/tiny-emitter": { - "version": "2.1.0", - "dev": true, - "license": "MIT", - "optional": true - }, "node_modules/tmp": { "version": "0.0.33", "dev": true, @@ -33281,11 +32344,6 @@ "node": ">= 0.6" } }, - "node_modules/typed-styles": { - "version": "0.0.7", - "dev": true, - "license": "MIT" - }, "node_modules/typedarray": { "version": "0.0.6", "dev": true, @@ -33590,11 +32648,6 @@ "node": ">= 0.8" } }, - "node_modules/unquote": { - "version": "1.1.1", - "dev": true, - "license": "MIT" - }, "node_modules/unset-value": { "version": "1.0.0", "dev": true, @@ -33684,11 +32737,6 @@ "browserslist": ">= 4.21.0" } }, - "node_modules/upper-case": { - "version": "1.1.3", - "dev": true, - "license": "MIT" - }, "node_modules/uri-js": { "version": "4.4.1", "dev": true, @@ -33750,47 +32798,6 @@ "node": ">=0.10.0" } }, - "node_modules/use-callback-ref": { - "version": "1.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "tslib": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/use-sidecar": { - "version": "1.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "detect-node-es": "^1.1.0", - "tslib": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "@types/react": "^16.9.0 || ^17.0.0 || ^18.0.0", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, "node_modules/util": { "version": "0.11.1", "dev": true, @@ -33963,24 +32970,6 @@ "dev": true, "license": "MIT" }, - "node_modules/vue": { - "version": "2.7.8", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "@vue/compiler-sfc": "2.7.8", - "csstype": "^3.1.0" - } - }, - "node_modules/vuex": { - "version": "3.6.2", - "dev": true, - "license": "MIT", - "peerDependencies": { - "vue": "^2.0.0" - } - }, "node_modules/w3c-hr-time": { "version": "1.0.2", "dev": true, @@ -37332,37 +36321,6 @@ } } }, - "@emotion/cache": { - "version": "10.0.29", - "dev": true, - "requires": { - "@emotion/sheet": "0.9.4", - "@emotion/stylis": "0.8.5", - "@emotion/utils": "0.11.3", - "@emotion/weak-memoize": "0.2.5" - } - }, - "@emotion/core": { - "version": "10.3.1", - "dev": true, - "requires": { - "@babel/runtime": "^7.5.5", - "@emotion/cache": "^10.0.27", - "@emotion/css": "^10.0.27", - "@emotion/serialize": "^0.11.15", - "@emotion/sheet": "0.9.4", - "@emotion/utils": "0.11.3" - } - }, - "@emotion/css": { - "version": "10.0.27", - "dev": true, - "requires": { - "@emotion/serialize": "^0.11.15", - "@emotion/utils": "0.11.3", - "babel-plugin-emotion": "^10.0.27" - } - }, "@emotion/css-prettifier": { "version": "1.1.3", "dev": true, @@ -37381,17 +36339,6 @@ } } }, - "@emotion/hash": { - "version": "0.8.0", - "dev": true - }, - "@emotion/is-prop-valid": { - "version": "0.8.8", - "dev": true, - "requires": { - "@emotion/memoize": "0.7.4" - } - }, "@emotion/jest": { "version": "11.11.0", "dev": true, @@ -37446,10 +36393,6 @@ } } }, - "@emotion/memoize": { - "version": "0.7.4", - "dev": true - }, "@emotion/react": { "version": "11.10.0", "requires": { @@ -37502,61 +36445,6 @@ } } }, - "@emotion/serialize": { - "version": "0.11.16", - "dev": true, - "requires": { - "@emotion/hash": "0.8.0", - "@emotion/memoize": "0.7.4", - "@emotion/unitless": "0.7.5", - "@emotion/utils": "0.11.3", - "csstype": "^2.5.7" - }, - "dependencies": { - "csstype": { - "version": "2.6.20", - "dev": true - } - } - }, - "@emotion/sheet": { - "version": "0.9.4", - "dev": true - }, - "@emotion/styled": { - "version": "10.3.0", - "dev": true, - "requires": { - "@emotion/styled-base": "^10.3.0", - "babel-plugin-emotion": "^10.0.27" - } - }, - "@emotion/styled-base": { - "version": "10.3.0", - "dev": true, - "requires": { - "@babel/runtime": "^7.5.5", - "@emotion/is-prop-valid": "0.8.8", - "@emotion/serialize": "^0.11.15", - "@emotion/utils": "0.11.3" - } - }, - "@emotion/stylis": { - "version": "0.8.5", - "dev": true - }, - "@emotion/unitless": { - "version": "0.7.5", - "dev": true - }, - "@emotion/utils": { - "version": "0.11.3", - "dev": true - }, - "@emotion/weak-memoize": { - "version": "0.2.5", - "dev": true - }, "@eslint/eslintrc": { "version": "0.2.2", "dev": true, @@ -37717,14 +36605,6 @@ "version": "1.1.3", "dev": true }, - "@hypnosphi/create-react-context": { - "version": "0.3.1", - "dev": true, - "requires": { - "gud": "^1.0.0", - "warning": "^4.0.3" - } - }, "@istanbuljs/load-nyc-config": { "version": "1.1.0", "dev": true, @@ -43685,13 +42565,6 @@ "@types/react": "*" } }, - "@types/react-textarea-autosize": { - "version": "4.3.6", - "dev": true, - "requires": { - "@types/react": "*" - } - }, "@types/react-transition-group": { "version": "4.4.5", "requires": { @@ -43882,16 +42755,6 @@ "eslint-visitor-keys": "^2.0.0" } }, - "@vue/compiler-sfc": { - "version": "2.7.8", - "dev": true, - "peer": true, - "requires": { - "@babel/parser": "^7.18.4", - "postcss": "^8.4.14", - "source-map": "^0.6.1" - } - }, "@webassemblyjs/ast": { "version": "1.9.0", "dev": true, @@ -44705,48 +43568,6 @@ "object.assign": "^4.1.0" } }, - "babel-plugin-emotion": { - "version": "10.2.2", - "dev": true, - "requires": { - "@babel/helper-module-imports": "^7.0.0", - "@emotion/hash": "0.8.0", - "@emotion/memoize": "0.7.4", - "@emotion/serialize": "^0.11.16", - "babel-plugin-macros": "^2.0.0", - "babel-plugin-syntax-jsx": "^6.18.0", - "convert-source-map": "^1.5.0", - "escape-string-regexp": "^1.0.5", - "find-root": "^1.1.0", - "source-map": "^0.5.7" - }, - "dependencies": { - "babel-plugin-macros": { - "version": "2.8.0", - "dev": true, - "requires": { - "@babel/runtime": "^7.7.2", - "cosmiconfig": "^6.0.0", - "resolve": "^1.12.0" - } - }, - "cosmiconfig": { - "version": "6.0.0", - "dev": true, - "requires": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.1.0", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.7.2" - } - }, - "source-map": { - "version": "0.5.7", - "dev": true - } - } - }, "babel-plugin-extract-import-names": { "version": "1.6.22", "dev": true, @@ -44854,10 +43675,6 @@ "react-docgen": "^5.0.0" } }, - "babel-plugin-syntax-jsx": { - "version": "6.18.0", - "dev": true - }, "babel-preset-current-node-syntax": { "version": "1.0.1", "dev": true, @@ -45375,10 +44192,6 @@ "quick-lru": "^4.0.1" } }, - "can-use-dom": { - "version": "0.1.0", - "dev": true - }, "caniuse-lite": { "version": "1.0.30001368" }, @@ -45601,16 +44414,6 @@ "version": "2.2.1", "dev": true }, - "clipboard": { - "version": "2.0.11", - "dev": true, - "optional": true, - "requires": { - "good-listener": "^1.2.2", - "select": "^1.1.2", - "tiny-emitter": "^2.0.0" - } - }, "cliui": { "version": "7.0.4", "dev": true, @@ -46629,26 +45432,10 @@ "version": "0.7.0", "dev": true }, - "deep-equal": { - "version": "1.1.1", - "dev": true, - "requires": { - "is-arguments": "^1.0.4", - "is-date-object": "^1.0.1", - "is-regex": "^1.0.4", - "object-is": "^1.0.1", - "object-keys": "^1.1.1", - "regexp.prototype.flags": "^1.2.0" - } - }, "deep-is": { "version": "0.1.4", "dev": true }, - "deep-object-diff": { - "version": "1.1.9", - "dev": true - }, "deepmerge": { "version": "4.2.2", "dev": true @@ -46846,11 +45633,6 @@ "version": "1.0.0", "dev": true }, - "delegate": { - "version": "3.2.0", - "dev": true, - "optional": true - }, "delegates": { "version": "1.0.0", "dev": true @@ -46890,10 +45672,6 @@ "version": "3.1.0", "dev": true }, - "detect-node-es": { - "version": "1.1.0", - "dev": true - }, "detect-package-manager": { "version": "2.0.1", "dev": true, @@ -47154,15 +45932,6 @@ "version": "3.0.0", "dev": true }, - "emotion-theming": { - "version": "10.3.0", - "dev": true, - "requires": { - "@babel/runtime": "^7.5.5", - "@emotion/weak-memoize": "0.2.5", - "hoist-non-react-statics": "^3.3.0" - } - }, "encodeurl": { "version": "1.0.2", "dev": true @@ -47369,14 +46138,6 @@ "version": "0.35.6", "dev": true }, - "es6-templates": { - "version": "0.2.3", - "dev": true, - "requires": { - "recast": "~0.11.12", - "through": "~2.3.6" - } - }, "escalade": { "version": "3.1.1" }, @@ -48334,10 +47095,6 @@ "version": "2.0.6", "dev": true }, - "fastparse": { - "version": "1.1.2", - "dev": true - }, "fastq": { "version": "1.13.0", "dev": true, @@ -48590,13 +47347,6 @@ } } }, - "focus-lock": { - "version": "0.11.2", - "dev": true, - "requires": { - "tslib": "^2.0.3" - } - }, "for-in": { "version": "1.0.2", "dev": true @@ -49523,22 +48273,10 @@ } } }, - "good-listener": { - "version": "1.2.2", - "dev": true, - "optional": true, - "requires": { - "delegate": "^3.1.2" - } - }, "graceful-fs": { "version": "4.2.10", "dev": true }, - "gud": { - "version": "1.0.0", - "dev": true - }, "handlebars": { "version": "4.7.7", "dev": true, @@ -49800,94 +48538,6 @@ "version": "2.0.2", "dev": true }, - "html-loader": { - "version": "0.5.5", - "dev": true, - "requires": { - "es6-templates": "^0.2.3", - "fastparse": "^1.1.1", - "html-minifier": "^3.5.8", - "loader-utils": "^1.1.0", - "object-assign": "^4.1.1" - }, - "dependencies": { - "json5": { - "version": "1.0.2", - "dev": true, - "requires": { - "minimist": "^1.2.0" - } - }, - "loader-utils": { - "version": "1.4.2", - "dev": true, - "requires": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - } - } - } - }, - "html-minifier": { - "version": "3.5.21", - "dev": true, - "requires": { - "camel-case": "3.0.x", - "clean-css": "4.2.x", - "commander": "2.17.x", - "he": "1.2.x", - "param-case": "2.1.x", - "relateurl": "0.2.x", - "uglify-js": "3.4.x" - }, - "dependencies": { - "camel-case": { - "version": "3.0.0", - "dev": true, - "requires": { - "no-case": "^2.2.0", - "upper-case": "^1.1.1" - } - }, - "commander": { - "version": "2.17.1", - "dev": true - }, - "lower-case": { - "version": "1.1.4", - "dev": true - }, - "no-case": { - "version": "2.3.2", - "dev": true, - "requires": { - "lower-case": "^1.1.1" - } - }, - "param-case": { - "version": "2.1.1", - "dev": true, - "requires": { - "no-case": "^2.2.0" - } - }, - "uglify-js": { - "version": "3.4.10", - "dev": true, - "requires": { - "commander": "~2.19.0", - "source-map": "~0.6.1" - }, - "dependencies": { - "commander": { - "version": "2.19.0", - "dev": true - } - } - } - } - }, "html-minifier-terser": { "version": "5.1.1", "dev": true, @@ -53140,14 +51790,6 @@ "lodash._reinterpolate": "^3.0.0" } }, - "lodash.throttle": { - "version": "4.1.1", - "dev": true - }, - "lodash.toarray": { - "version": "4.4.0", - "dev": true - }, "lodash.uniq": { "version": "4.5.0", "dev": true @@ -53390,14 +52032,6 @@ } } }, - "markdown-to-jsx": { - "version": "6.11.4", - "dev": true, - "requires": { - "prop-types": "^15.6.2", - "unquote": "^1.1.0" - } - }, "marked": { "version": "0.7.0", "dev": true @@ -53938,13 +52572,6 @@ "minimatch": "^3.0.2" } }, - "node-emoji": { - "version": "1.10.0", - "dev": true, - "requires": { - "lodash.toarray": "^4.4.0" - } - }, "node-fetch": { "version": "2.6.7", "dev": true, @@ -54295,14 +52922,6 @@ "version": "1.12.2", "dev": true }, - "object-is": { - "version": "1.1.5", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - } - }, "object-keys": { "version": "1.1.1", "dev": true @@ -54823,7 +53442,8 @@ }, "popper.js": { "version": "1.16.1", - "dev": true + "dev": true, + "peer": true }, "posix-character-classes": { "version": "0.1.1", @@ -54970,18 +53590,10 @@ "version": "1.0.3", "dev": true }, - "prism-themes": { - "version": "1.9.0", - "dev": true - }, "prismjs": { "version": "1.28.0", "dev": true }, - "private": { - "version": "0.1.8", - "dev": true - }, "process": { "version": "0.11.10", "dev": true @@ -55298,13 +53910,6 @@ "object-assign": "^4.1.1" } }, - "react-clientside-effect": { - "version": "1.2.6", - "dev": true, - "requires": { - "@babel/runtime": "^7.12.13" - } - }, "react-docgen": { "version": "5.4.3", "dev": true, @@ -55366,29 +53971,6 @@ "react-fast-compare": { "version": "3.2.0" }, - "react-focus-lock": { - "version": "2.9.1", - "dev": true, - "requires": { - "@babel/runtime": "^7.0.0", - "focus-lock": "^0.11.2", - "prop-types": "^15.6.2", - "react-clientside-effect": "^1.2.6", - "use-callback-ref": "^1.3.0", - "use-sidecar": "^1.1.2" - } - }, - "react-helmet-async": { - "version": "1.3.0", - "dev": true, - "requires": { - "@babel/runtime": "^7.12.5", - "invariant": "^2.2.4", - "prop-types": "^15.7.2", - "react-fast-compare": "^3.2.0", - "shallowequal": "^1.1.0" - } - }, "react-inspector": { "version": "5.1.1", "dev": true, @@ -55654,30 +54236,6 @@ "picomatch": "^2.2.1" } }, - "recast": { - "version": "0.11.23", - "dev": true, - "requires": { - "ast-types": "0.9.6", - "esprima": "~3.1.0", - "private": "~0.1.5", - "source-map": "~0.5.0" - }, - "dependencies": { - "ast-types": { - "version": "0.9.6", - "dev": true - }, - "esprima": { - "version": "3.1.3", - "dev": true - }, - "source-map": { - "version": "0.5.7", - "dev": true - } - } - }, "redent": { "version": "3.0.0", "dev": true, @@ -56515,11 +55073,6 @@ "ajv-keywords": "^3.5.2" } }, - "select": { - "version": "1.1.2", - "dev": true, - "optional": true - }, "semver": { "version": "6.3.1" }, @@ -56684,18 +55237,6 @@ "version": "3.0.7", "dev": true }, - "simplebar": { - "version": "4.2.3", - "dev": true, - "requires": { - "can-use-dom": "^0.1.0", - "core-js": "^3.0.1", - "lodash.debounce": "^4.0.8", - "lodash.memoize": "^4.1.2", - "lodash.throttle": "^4.1.1", - "resize-observer-polyfill": "^1.5.1" - } - }, "sisteransi": { "version": "1.0.5", "dev": true @@ -57123,258 +55664,6 @@ "version": "2.14.2", "dev": true }, - "storybook-readme": { - "version": "5.0.9", - "dev": true, - "requires": { - "@storybook/components": "^5.0.6", - "@storybook/core-events": "^5.0.6", - "html-loader": "^0.5.5", - "lodash": "^4.17.11", - "markdown-loader": "^5.0.0", - "marked": "^0.7.0", - "node-emoji": "1.10.0", - "prism-themes": "^1.1.0", - "prismjs": "^1.16.0", - "react-element-to-jsx-string": "^14.0.2", - "string-raw": "^1.0.1", - "vuex": "^3.1.0" - }, - "dependencies": { - "@storybook/client-logger": { - "version": "5.3.22", - "dev": true, - "requires": { - "core-js": "^3.0.1" - } - }, - "@storybook/components": { - "version": "5.3.22", - "dev": true, - "requires": { - "@storybook/client-logger": "5.3.22", - "@storybook/theming": "5.3.22", - "@types/react-syntax-highlighter": "11.0.4", - "@types/react-textarea-autosize": "^4.3.3", - "core-js": "^3.0.1", - "global": "^4.3.2", - "lodash": "^4.17.15", - "markdown-to-jsx": "^6.11.4", - "memoizerific": "^1.11.3", - "polished": "^3.3.1", - "popper.js": "^1.14.7", - "prop-types": "^15.7.2", - "react": "^16.8.3", - "react-dom": "^16.8.3", - "react-focus-lock": "^2.1.0", - "react-helmet-async": "^1.0.2", - "react-popper-tooltip": "^2.8.3", - "react-syntax-highlighter": "^11.0.2", - "react-textarea-autosize": "^7.1.0", - "simplebar-react": "^1.0.0-alpha.6", - "ts-dedent": "^1.1.0" - } - }, - "@storybook/core-events": { - "version": "5.3.22", - "dev": true, - "requires": { - "core-js": "^3.0.1" - } - }, - "@storybook/theming": { - "version": "5.3.22", - "dev": true, - "requires": { - "@emotion/core": "^10.0.20", - "@emotion/styled": "^10.0.17", - "@storybook/client-logger": "5.3.22", - "core-js": "^3.0.1", - "deep-object-diff": "^1.1.0", - "emotion-theming": "^10.0.19", - "global": "^4.3.2", - "memoizerific": "^1.11.3", - "polished": "^3.3.1", - "prop-types": "^15.7.2", - "resolve-from": "^5.0.0", - "ts-dedent": "^1.1.0" - } - }, - "@types/react-syntax-highlighter": { - "version": "11.0.4", - "dev": true, - "requires": { - "@types/react": "*" - } - }, - "hastscript": { - "version": "5.1.2", - "dev": true, - "requires": { - "comma-separated-tokens": "^1.0.0", - "hast-util-parse-selector": "^2.0.0", - "property-information": "^5.0.0", - "space-separated-tokens": "^1.0.0" - } - }, - "highlight.js": { - "version": "9.18.5", - "dev": true - }, - "json5": { - "version": "1.0.2", - "dev": true, - "requires": { - "minimist": "^1.2.0" - } - }, - "loader-utils": { - "version": "1.4.2", - "dev": true, - "requires": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - } - }, - "lowlight": { - "version": "1.11.0", - "dev": true, - "requires": { - "fault": "^1.0.2", - "highlight.js": "~9.13.0" - }, - "dependencies": { - "highlight.js": { - "version": "9.13.1", - "dev": true - } - } - }, - "markdown-loader": { - "version": "5.1.0", - "dev": true, - "requires": { - "loader-utils": "^1.2.3", - "marked": "^0.7.0" - } - }, - "parse-entities": { - "version": "1.2.2", - "dev": true, - "requires": { - "character-entities": "^1.0.0", - "character-entities-legacy": "^1.0.0", - "character-reference-invalid": "^1.0.0", - "is-alphanumerical": "^1.0.0", - "is-decimal": "^1.0.0", - "is-hexadecimal": "^1.0.0" - } - }, - "polished": { - "version": "3.7.2", - "dev": true, - "requires": { - "@babel/runtime": "^7.12.5" - } - }, - "prismjs": { - "version": "1.17.1", - "dev": true, - "requires": { - "clipboard": "^2.0.0" - } - }, - "react": { - "version": "16.14.0", - "dev": true, - "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2" - } - }, - "react-dom": { - "version": "16.14.0", - "dev": true, - "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2", - "scheduler": "^0.19.1" - } - }, - "react-popper": { - "version": "1.3.11", - "dev": true, - "requires": { - "@babel/runtime": "^7.1.2", - "@hypnosphi/create-react-context": "^0.3.1", - "deep-equal": "^1.1.1", - "popper.js": "^1.14.4", - "prop-types": "^15.6.1", - "typed-styles": "^0.0.7", - "warning": "^4.0.2" - } - }, - "react-popper-tooltip": { - "version": "2.11.1", - "dev": true, - "requires": { - "@babel/runtime": "^7.9.2", - "react-popper": "^1.3.7" - } - }, - "react-syntax-highlighter": { - "version": "11.0.3", - "dev": true, - "requires": { - "@babel/runtime": "^7.3.1", - "highlight.js": "~9.18.2", - "lowlight": "~1.11.0", - "prismjs": "^1.8.4", - "refractor": "^2.4.1" - } - }, - "react-textarea-autosize": { - "version": "7.1.2", - "dev": true, - "requires": { - "@babel/runtime": "^7.1.2", - "prop-types": "^15.6.0" - } - }, - "refractor": { - "version": "2.10.1", - "dev": true, - "requires": { - "hastscript": "^5.0.0", - "parse-entities": "^1.1.2", - "prismjs": "~1.17.0" - } - }, - "scheduler": { - "version": "0.19.1", - "dev": true, - "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" - } - }, - "simplebar-react": { - "version": "1.2.3", - "dev": true, - "requires": { - "prop-types": "^15.6.1", - "simplebar": "^4.2.3" - } - }, - "ts-dedent": { - "version": "1.2.0", - "dev": true - } - } - }, "stream-browserify": { "version": "2.0.2", "dev": true, @@ -57483,10 +55772,6 @@ "version": "3.0.1", "dev": true }, - "string-raw": { - "version": "1.0.1", - "dev": true - }, "string-width": { "version": "4.2.3", "dev": true, @@ -58082,11 +56367,6 @@ "setimmediate": "^1.0.4" } }, - "tiny-emitter": { - "version": "2.1.0", - "dev": true, - "optional": true - }, "tmp": { "version": "0.0.33", "dev": true, @@ -58406,10 +56686,6 @@ "mime-types": "~2.1.24" } }, - "typed-styles": { - "version": "0.0.7", - "dev": true - }, "typedarray": { "version": "0.0.6", "dev": true @@ -58597,10 +56873,6 @@ "version": "1.0.0", "dev": true }, - "unquote": { - "version": "1.1.1", - "dev": true - }, "unset-value": { "version": "1.0.0", "dev": true, @@ -58652,10 +56924,6 @@ "picocolors": "^1.0.0" } }, - "upper-case": { - "version": "1.1.3", - "dev": true - }, "uri-js": { "version": "4.4.1", "dev": true, @@ -58694,21 +56962,6 @@ "version": "3.1.1", "dev": true }, - "use-callback-ref": { - "version": "1.3.0", - "dev": true, - "requires": { - "tslib": "^2.0.0" - } - }, - "use-sidecar": { - "version": "1.1.2", - "dev": true, - "requires": { - "detect-node-es": "^1.1.0", - "tslib": "^2.0.0" - } - }, "util": { "version": "0.11.1", "dev": true, @@ -58834,20 +57087,6 @@ "version": "1.1.2", "dev": true }, - "vue": { - "version": "2.7.8", - "dev": true, - "peer": true, - "requires": { - "@vue/compiler-sfc": "2.7.8", - "csstype": "^3.1.0" - } - }, - "vuex": { - "version": "3.6.2", - "dev": true, - "requires": {} - }, "w3c-hr-time": { "version": "1.0.2", "dev": true, diff --git a/package.json b/package.json index defb582b9..7155aac24 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,6 @@ "rimraf": "3.0.2", "sass": "1.49.7", "sass-loader": "10.0.5", - "storybook-readme": "5.0.9", "ts-jest": "27.1.2", "ts-node": "10.8.1", "typescript": "4.3.5" From fcdd6fe8a0cb4f36fb974aa3e0722fb328b3f827 Mon Sep 17 00:00:00 2001 From: Martin Stievenart Date: Wed, 10 Apr 2024 14:55:44 +0200 Subject: [PATCH 4/4] ci: build storybook first then pass storybook-static folder to chromatic --- .github/workflows/chromatic.yml | 3 ++- .github/workflows/toolkit-ci.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 100f83509..5b721d2fe 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -21,10 +21,11 @@ jobs: cache: 'npm' - run: npm ci - run: npm run build + - run: npm run storybook:build - name: Publish to Chromatic uses: chromaui/action@latest with: token: ${{ secrets.GITHUB_TOKEN }} projectToken: 2af88e64d1ab exitOnceUploaded: true - buildScriptName: 'storybook:build' + storybookBuildDir: storybook-static diff --git a/.github/workflows/toolkit-ci.yml b/.github/workflows/toolkit-ci.yml index 1c4658ec1..dc02d5fe0 100644 --- a/.github/workflows/toolkit-ci.yml +++ b/.github/workflows/toolkit-ci.yml @@ -22,10 +22,11 @@ jobs: - run: npm run build - run: npm run check - run: npm test -- --coverage + - run: npm run storybook:build - name: Publish to Chromatic uses: chromaui/action@latest with: token: ${{ secrets.GITHUB_TOKEN }} projectToken: 2af88e64d1ab exitOnceUploaded: true - buildScriptName: 'storybook:build' + storybookBuildDir: storybook-static