From 23b0d0418d014d87c0408305330b35a4b322b198 Mon Sep 17 00:00:00 2001 From: Anders Nilsson Date: Thu, 13 Feb 2020 12:39:51 +0100 Subject: [PATCH] chore: format commits (#304) --- .codesandbox/mekko/src/index.js | 8 +- .codesandbox/mekko/src/styles.css | 3 +- .commitlintrc.js | 2 +- .github/CONTRIBUTING.md | 43 +++++----- .github/ISSUE_TEMPLATE/bug.md | 8 +- .github/ISSUE_TEMPLATE/feature.md | 2 +- .prettierignore | 1 + README.md | 12 +-- apis/nucleus/spec/spec.json | 6 +- apis/supernova/spec/spec.json | 14 +--- apis/theme/src/themes/base.json | 82 ++++++++++++------- commands/build/README.md | 1 - commands/cli/README.md | 2 +- commands/create/templates/common/README.md | 2 +- .../create/templates/common/_eslintrc.json | 10 +-- commands/serve/README.md | 1 + commands/serve/web/eDev.html | 2 +- docs/README.md | 2 +- examples/mashup/connect.js | 24 ++++-- examples/mashup/docker-compose.yml | 4 +- examples/mashup/index.js | 18 ++-- .../sn-hello-react/src/components/style.css | 2 +- package.json | 3 + renovate.json | 16 ++-- website/pages/en/index.js | 12 +-- yarn.lock | 67 ++++++++++++++- 26 files changed, 218 insertions(+), 129 deletions(-) create mode 100644 .prettierignore diff --git a/.codesandbox/mekko/src/index.js b/.codesandbox/mekko/src/index.js index b7d59abfd..a60c78053 100755 --- a/.codesandbox/mekko/src/index.js +++ b/.codesandbox/mekko/src/index.js @@ -1,8 +1,8 @@ -import "./styles.css"; +import './styles.css'; -import init from "./init"; +import init from './init'; init({ - appId: "doc/01775889-c700-413f-9b0e-6ba1837c52b0", - fields: ["Country", "Product Category", "=count(Customer)"] + appId: 'doc/01775889-c700-413f-9b0e-6ba1837c52b0', + fields: ['Country', 'Product Category', '=count(Customer)'], }); diff --git a/.codesandbox/mekko/src/styles.css b/.codesandbox/mekko/src/styles.css index 7572477f7..7b029c27c 100755 --- a/.codesandbox/mekko/src/styles.css +++ b/.codesandbox/mekko/src/styles.css @@ -5,7 +5,8 @@ body { margin: 12px; } -#selections, #object { +#selections, +#object { background: #fff; border-radius: 2px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); diff --git a/.commitlintrc.js b/.commitlintrc.js index 98ee7dfc2..84dcb122a 100644 --- a/.commitlintrc.js +++ b/.commitlintrc.js @@ -1,3 +1,3 @@ module.exports = { extends: ['@commitlint/config-conventional'], -} +}; diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 0f4f425a9..a178eb864 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -51,9 +51,10 @@ This is a multi-package repository which uses [lerna](https://github.com/lerna/l - `yarn run lint` checks code style - `yarn run test` runs all tests -### Cutting a release +### Cutting a release **Prerelase** + ```sh npx lerna version --no-git-tag-version --no-push --no-conventional-commits --preid alpha --exact ``` @@ -65,40 +66,40 @@ Generally, development should be done directly towards the `master` branch. ### Branching 1. Fork and clone the repository - ```sh - git clone git@github.com:YOUR-USERNAME/nebula.js.git - ``` + + ```sh + git clone git@github.com:YOUR-USERNAME/nebula.js.git + ``` 1. Create a branch in the fork - - The branch should be based on the `master` branch in the master repository. - ```sh - git checkout -b my-feature-or-bugfix master - ``` + The branch should be based on the `master` branch in the master repository. + + ```sh + git checkout -b my-feature-or-bugfix master + ``` 1. Commit changes on your branch - Commit changes to your branch, following the commit message format. + Commit changes to your branch, following the commit message format. - ```sh - git commit -m "fix: properly formatted SET statements." - ``` + ```sh + git commit -m "fix: properly formatted SET statements." + ``` 1. Push the changes to your fork - ```sh - git push -u myfork my-feature-or-bugfix - ``` + ```sh + git push -u myfork my-feature-or-bugfix + ``` 1. Create a Pull Request - > Before creating a Pull Request, make sure to sign the [CLA](#cla) + > Before creating a Pull Request, make sure to sign the [CLA](#cla) - In the Github UI of your fork, create a Pull Request to the `master` branch of the master repository. - - If the branch has merge conflicts or has been outdated, please do a rebase against the `master` branch. + In the Github UI of your fork, create a Pull Request to the `master` branch of the master repository. + If the branch has merge conflicts or has been outdated, please do a rebase against the `master` branch. ### Commit message guidelines @@ -126,4 +127,4 @@ The `` of the commit is optional and can be omitted. When used though, it ## Signing the CLA -We need you to sign our Contributor License Agreement (CLA) before we can accept your Pull Request. Visit this link for more information: https://github.com/qlik-oss/open-source/blob/master/sign-cla.md. \ No newline at end of file +We need you to sign our Contributor License Agreement (CLA) before we can accept your Pull Request. Visit this link for more information: https://github.com/qlik-oss/open-source/blob/master/sign-cla.md. diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md index 3bc0793a8..db68f9b42 100644 --- a/.github/ISSUE_TEMPLATE/bug.md +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -23,10 +23,10 @@ about: Something isn't working as expected. 😕 ### Versions -* nebula.js: (x.y.z) -* Platform: ? -* Browser: ? +- nebula.js: (x.y.z) +- Platform: ? +- Browser: ? ### Additional context -(Add any other context, link to demo or screenshots about the issue.) \ No newline at end of file +(Add any other context, link to demo or screenshots about the issue.) diff --git a/.github/ISSUE_TEMPLATE/feature.md b/.github/ISSUE_TEMPLATE/feature.md index 5218e4133..385fd0cbd 100644 --- a/.github/ISSUE_TEMPLATE/feature.md +++ b/.github/ISSUE_TEMPLATE/feature.md @@ -13,4 +13,4 @@ about: Suggest an idea for this project ### Additional context -(Add any other context or screenshots about the feature request.) \ No newline at end of file +(Add any other context or screenshots about the feature request.) diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 000000000..849ddff3b --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +dist/ diff --git a/README.md b/README.md index d3b100a01..5cd19dd53 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ It consists of three parts: Since nebula.js is still in an early stage we are very much open to input and suggestions. If you think something is missing, an API is weird or have general opinions about anything, let us know. -*Your opinions, requirements and involvement is key to the success of this project.* Click on the linked issues below ([or create you own](https://github.com/qlik-oss/nebula.js/issues/new/choose)), voice your opinion and vote if you would like to see it get implemented. +_Your opinions, requirements and involvement is key to the success of this project._ Click on the linked issues below ([or create you own](https://github.com/qlik-oss/nebula.js/issues/new/choose)), voice your opinion and vote if you would like to see it get implemented. This is a draft of the roadmap ahead: @@ -28,6 +28,7 @@ This is a draft of the roadmap ahead: This is the primary task right now as there is currently barely any documentation at all 😬. **Integration APIs** + - nucleus - theming ([#24](https://github.com/qlik-oss/nebula.js/issues/24)) - translations, localization ([#25](https://github.com/qlik-oss/nebula.js/issues/25)) @@ -46,6 +47,7 @@ This is the primary task right now as there is currently barely any documentatio - type definitions ([#40](https://github.com/qlik-oss/nebula.js/issues/40)) **CLI** + - create - more templates ([#31](https://github.com/qlik-oss/nebula.js/issues/31)) - build @@ -76,6 +78,7 @@ This is the primary task right now as there is currently barely any documentatio ### Creating a new project The easiest way to get started is to create a new project using the nebula CLI through `npx`: + ```sh npx @nebula.js/cli@next create hello-sunshine ``` @@ -125,12 +128,11 @@ The `package.json` contains a few built-in npm commands: Please follow the instructions in our [contributing guide](./.github/CONTRIBUTING.md). - ## Resources -| name | status | description | -|---|---|---| -| [sn-mekko-chart] | [![mekko-status]][mekko-npm] | Mekko chart | +| name | status | description | +| ---------------- | ---------------------------- | ----------- | +| [sn-mekko-chart] | [![mekko-status]][mekko-npm] | Mekko chart | [sn-mekko-chart]: https://github.com/qlik-oss/sn-mekko-chart [mekko-status]: https://img.shields.io/npm/v/@nebula.js/sn-mekko-chart.svg diff --git a/apis/nucleus/spec/spec.json b/apis/nucleus/spec/spec.json index 07434a8bc..7756e6d64 100644 --- a/apis/nucleus/spec/spec.json +++ b/apis/nucleus/spec/spec.json @@ -25,9 +25,7 @@ "returns": { "type": "#/definitions/Nebbie" }, - "examples": [ - "import nucleus from '@nebula.js/nucleus'\nconst nebbie = nucleus(app);" - ], + "examples": ["import nucleus from '@nebula.js/nucleus'\nconst nebbie = nucleus(app);"], "entries": { "configured": { "description": "Creates a new `nucleus` instance using the specified configuration.\n\nThe configuration is merged with all previous instances.", @@ -285,4 +283,4 @@ } } } -} \ No newline at end of file +} diff --git a/apis/supernova/spec/spec.json b/apis/supernova/spec/spec.json index e6eddccc5..b411354d5 100644 --- a/apis/supernova/spec/spec.json +++ b/apis/supernova/spec/spec.json @@ -761,9 +761,7 @@ "returns": { "type": "string" }, - "examples": [ - "theme.getColorPickerColor({ index: 1 });\ntheme.getColorPickerColor({ color: 'red' });" - ] + "examples": ["theme.getColorPickerColor({ index: 1 });\ntheme.getColorPickerColor({ color: 'red' });"] }, "getContrastingColorTo": { "description": "Get the best contrasting color against the specified `color`.\nThis is typically used to find a suitable text color for a label placed on an arbitrarily colored background.\n\nThe returned colors are derived from the theme.", @@ -777,9 +775,7 @@ "returns": { "type": "string" }, - "examples": [ - "theme.getContrastingColorTo('#400');" - ] + "examples": ["theme.getContrastingColorTo('#400');"] }, "getDataColorPalettes": { "kind": "function", @@ -842,9 +838,7 @@ "description": "The style value", "type": "string" }, - "examples": [ - "theme.getStyle('object', 'title.main', 'fontSize'));\ntheme.getStyle('', '', 'fontSize'));" - ] + "examples": ["theme.getStyle('object', 'title.main', 'fontSize'));\ntheme.getStyle('', '', 'fontSize'));"] } } }, @@ -903,4 +897,4 @@ } } } -} \ No newline at end of file +} diff --git a/apis/theme/src/themes/base.json b/apis/theme/src/themes/base.json index 7d237060d..e955ac034 100644 --- a/apis/theme/src/themes/base.json +++ b/apis/theme/src/themes/base.json @@ -14,42 +14,28 @@ "translation": "properties.colorScheme.sequential", "type": "gradient", "propertyValue": "sg", - "scale": [ - "#26a0a7", - "#c7ea8b" - ] + "scale": ["#26a0a7", "#c7ea8b"] }, { "name": "Sequential Classes", "translation": "properties.colorScheme.sequentialC", "propertyValue": "sc", "type": "class", - "scale": [ - "#26a0a7", - "#c7ea8b" - ] + "scale": ["#26a0a7", "#c7ea8b"] }, { "name": "Diverging gradient", "translation": "properties.colorScheme.diverging", "propertyValue": "dg", "type": "gradient", - "scale": [ - "#26a0a7", - "#c3ea8c", - "#ec983d" - ] + "scale": ["#26a0a7", "#c3ea8c", "#ec983d"] }, { "name": "Diverging Classes", "translation": "properties.colorScheme.divergingC", "propertyValue": "dc", "type": "class", - "scale": [ - "#26a0a7", - "#c3ea8c", - "#ec983d" - ] + "scale": ["#26a0a7", "#c3ea8c", "#ec983d"] } ], "palettes": { @@ -60,18 +46,54 @@ "propertyValue": "12", "type": "pyramid", "scale": [ - [ "#26A0A7" ], - [ "#26A0A7", "#EC983D" ], - [ "#26A0A7", "#CBE989", "#EC983D" ], - [ "#26A0A7", "#79D69F", "#F9EC86", "#EC983D" ], - [ "#26A0A7", "#79D69F", "#CBE989", "#F9EC86", "#EC983D" ], - [ "#26A0A7", "#65D3DA", "#79D69F", "#CBE989", "#F9EC86", "#EC983D" ], - [ "#26A0A7", "#65D3DA", "#79D69F", "#CBE989", "#F9EC86", "#EC983D", "#D76C6C" ], - [ "#26A0A7", "#65D3DA", "#79D69F", "#CBE989", "#F9EC86", "#FAD144", "#EC983D", "#D76C6C" ], - [ "#138185", "#26A0A7", "#65D3DA", "#79D69F", "#CBE989", "#F9EC86", "#FAD144", "#EC983D", "#D76C6C" ], - [ "#138185", "#26A0A7", "#65D3DA", "#79D69F", "#CBE989", "#EBF898", "#F9EC86", "#FAD144", "#EC983D", "#D76C6C" ], - [ "#138185", "#26A0A7", "#65D3DA", "#79D69F", "#CBE989", "#EBF898", "#F9EC86", "#FAD144", "#EC983D", "#D76C6C", "#A54343" ], - [ "#138185", "#26A0A7", "#65D3DA", "#79D69F", "#70BA6E", "#CBE989", "#EBF898", "#F9EC86", "#FAD144", "#EC983D", "#D76C6C", "#A54343" ] + ["#26A0A7"], + ["#26A0A7", "#EC983D"], + ["#26A0A7", "#CBE989", "#EC983D"], + ["#26A0A7", "#79D69F", "#F9EC86", "#EC983D"], + ["#26A0A7", "#79D69F", "#CBE989", "#F9EC86", "#EC983D"], + ["#26A0A7", "#65D3DA", "#79D69F", "#CBE989", "#F9EC86", "#EC983D"], + ["#26A0A7", "#65D3DA", "#79D69F", "#CBE989", "#F9EC86", "#EC983D", "#D76C6C"], + ["#26A0A7", "#65D3DA", "#79D69F", "#CBE989", "#F9EC86", "#FAD144", "#EC983D", "#D76C6C"], + ["#138185", "#26A0A7", "#65D3DA", "#79D69F", "#CBE989", "#F9EC86", "#FAD144", "#EC983D", "#D76C6C"], + [ + "#138185", + "#26A0A7", + "#65D3DA", + "#79D69F", + "#CBE989", + "#EBF898", + "#F9EC86", + "#FAD144", + "#EC983D", + "#D76C6C" + ], + [ + "#138185", + "#26A0A7", + "#65D3DA", + "#79D69F", + "#CBE989", + "#EBF898", + "#F9EC86", + "#FAD144", + "#EC983D", + "#D76C6C", + "#A54343" + ], + [ + "#138185", + "#26A0A7", + "#65D3DA", + "#79D69F", + "#70BA6E", + "#CBE989", + "#EBF898", + "#F9EC86", + "#FAD144", + "#EC983D", + "#D76C6C", + "#A54343" + ] ] } ], diff --git a/commands/build/README.md b/commands/build/README.md index bf167c0a3..c4079b2fe 100644 --- a/commands/build/README.md +++ b/commands/build/README.md @@ -18,4 +18,3 @@ Options: --watch, -w [boolean] [default: false] -h, --help Show help [boolean] ``` - diff --git a/commands/cli/README.md b/commands/cli/README.md index 42fe4777b..637505bdb 100644 --- a/commands/cli/README.md +++ b/commands/cli/README.md @@ -19,4 +19,4 @@ Commands: Options: --version Show version number [boolean] -h, --help Show help [boolean] -``` \ No newline at end of file +``` diff --git a/commands/create/templates/common/README.md b/commands/create/templates/common/README.md index 4049f4e98..948d8311e 100644 --- a/commands/create/templates/common/README.md +++ b/commands/create/templates/common/README.md @@ -4,4 +4,4 @@ ```js npm install <%= name %> -``` \ No newline at end of file +``` diff --git a/commands/create/templates/common/_eslintrc.json b/commands/create/templates/common/_eslintrc.json index 4c5852d2e..ac8994e10 100644 --- a/commands/create/templates/common/_eslintrc.json +++ b/commands/create/templates/common/_eslintrc.json @@ -6,13 +6,11 @@ "parserOptions": { "sourceType": "module" }, - "extends": [ - "airbnb-base" - ], + "extends": ["airbnb-base"], "rules": { "max-len": 0, "no-plusplus": 0, - "no-bitwise" : 0, + "no-bitwise": 0, "no-unused-expressions": 0, "import/no-extraneous-dependencies": [2, { "devDependencies": true }] }, @@ -31,9 +29,7 @@ "aw": false, "page": false }, - "plugins": [ - "mocha" - ], + "plugins": ["mocha"], "rules": { "mocha/no-exclusive-tests": "error" } diff --git a/commands/serve/README.md b/commands/serve/README.md index 89fe72542..bb3f7e8bf 100644 --- a/commands/serve/README.md +++ b/commands/serve/README.md @@ -33,6 +33,7 @@ Options: #### Example Start the server and connect to enigma on port `9077` + ```sh nebula serve --enigma.port 9077 ``` diff --git a/commands/serve/web/eDev.html b/commands/serve/web/eDev.html index 5315f2f25..459b95d2f 100644 --- a/commands/serve/web/eDev.html +++ b/commands/serve/web/eDev.html @@ -21,7 +21,7 @@ body { background: #ddd; -webkit-font-smoothing: antialiased; - font: normal 14px/16px "Source Sans Pro", Arial, sans-serif; + font: normal 14px/16px 'Source Sans Pro', Arial, sans-serif; } #app, #app > div { diff --git a/docs/README.md b/docs/README.md index 7b7a942fd..ab6e8362c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -11,4 +11,4 @@ It consists of three parts: - `nucleus`: A product and framework agnostic JavaScript library for building mashups. - `supernova`: A JavaScript API for consuming and visualizing QIX data. -- `cli`: Tools to help you create, develop and build a `supernova`. \ No newline at end of file +- `cli`: Tools to help you create, develop and build a `supernova`. diff --git a/examples/mashup/connect.js b/examples/mashup/connect.js index 274a78148..ca6a60f50 100644 --- a/examples/mashup/connect.js +++ b/examples/mashup/connect.js @@ -1,12 +1,21 @@ window.connect = function connect() { const loadSchema = () => fetch('https://unpkg.com/enigma.js/schemas/3.2.json').then(response => response.json()); - const createConnection = () => loadSchema().then(schema => window.enigma.create({ - schema, - url: `ws://${window.location.hostname || 'localhost'}:9076/app/${Date.now()}`, - }).open().then(qix => qix.createSessionApp())); + const createConnection = () => + loadSchema().then(schema => + window.enigma + .create({ + schema, + url: `ws://${window.location.hostname || 'localhost'}:9076/app/${Date.now()}`, + }) + .open() + .then(qix => qix.createSessionApp()) + ); - return createConnection().then(app => app.setScript(` + return createConnection().then(app => + app + .setScript( + ` Characters: Load Chr(RecNo()+Ord('A')-1) as Alpha, RecNo() as Num autogenerate 26; @@ -17,5 +26,8 @@ Load RecNo() as AsciiNum autogenerate 85 Where (RecNo()>=65 and RecNo()<=126) or RecNo()>=160; -`).then(() => app.doReload().then(() => app))); +` + ) + .then(() => app.doReload().then(() => app)) + ); }; diff --git a/examples/mashup/docker-compose.yml b/examples/mashup/docker-compose.yml index f3a9c642a..ccf21c90e 100644 --- a/examples/mashup/docker-compose.yml +++ b/examples/mashup/docker-compose.yml @@ -1,4 +1,4 @@ -version: "3.1" +version: '3.1' services: engine: @@ -6,4 +6,4 @@ services: restart: always command: -S AcceptEULA="${ACCEPT_EULA:-no}" ports: - - "9076:9076" + - '9076:9076' diff --git a/examples/mashup/index.js b/examples/mashup/index.js index 664982a91..2c5043757 100644 --- a/examples/mashup/index.js +++ b/examples/mashup/index.js @@ -1,4 +1,5 @@ -connect().then((app) => { +/* eslint-disable */ +connect().then(app => { const sn = { component: { mounted(element) { @@ -13,13 +14,16 @@ connect().then((app) => { nebbie.selections().mount(document.querySelector('.toolbar')); - document.querySelectorAll('.object').forEach((el) => { + document.querySelectorAll('.object').forEach(el => { const type = el.getAttribute('data-type'); - nebbie.create({ - type, - }, { - element: el, - }); + nebbie.create( + { + type, + }, + { + element: el, + } + ); }); }); diff --git a/examples/sn-hello-react/src/components/style.css b/examples/sn-hello-react/src/components/style.css index 71fcc6e48..ea41caff1 100644 --- a/examples/sn-hello-react/src/components/style.css +++ b/examples/sn-hello-react/src/components/style.css @@ -1,5 +1,5 @@ .my-unique-class { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: 24px; - color: #91298C; + color: #91298c; } diff --git a/package.json b/package.json index 7c0f47f19..3d3bdd921 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "build": "cross-env NODE_ENV=production FORCE_COLOR=1 lerna run build --stream", "build:codesandbox": "cross-env NODE_ENV=production CODESANDBOX=1 FORCE_COLOR=1 lerna run build --stream --scope \"@nebula.js/{nucleus,supernova,theme,locale}\"", "build:watch": "FORCE_COLOR=1 lerna run build:watch --stream --concurrency 99 --no-sort", + "format": "prettier --write '**/**/*'", "locale:verify": "node tools/verify-translations.js", "lint": "eslint packages apis commands --ext .js,.jsx", "lint:check": "eslint --print-config ./aw.config.js | eslint-config-prettier-check", @@ -23,6 +24,7 @@ }, "husky": { "hooks": { + "pre-commit": "pretty-quick --staged", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS && lint-staged" } }, @@ -70,6 +72,7 @@ "picasso-plugin-q": "0.29.2", "picasso.js": "0.29.2", "prettier": "1.19.1", + "pretty-quick": "^2.0.1", "qix-faker": "0.3.0", "rollup": "1.30.0", "rollup-plugin-babel": "4.3.3", diff --git a/renovate.json b/renovate.json index 624c1c8fc..119e71f5a 100644 --- a/renovate.json +++ b/renovate.json @@ -1,16 +1,14 @@ { - "extends": [ - "qlik-oss" - ], + "extends": ["qlik-oss"], "circleci": { "ignoreDeps": ["circleci/node"] }, "semanticCommits": true, "rangeStrategy": "bump", - "packageRules": [{ - "depTypeList": [ - "engines" - ], - "enabled": false - }] + "packageRules": [ + { + "depTypeList": ["engines"], + "enabled": false + } + ] } diff --git a/website/pages/en/index.js b/website/pages/en/index.js index eb1ba7972..4cf8980a0 100644 --- a/website/pages/en/index.js +++ b/website/pages/en/index.js @@ -14,16 +14,8 @@ class Index extends React.Component { // const { baseUrl } = siteConfig; const Block = props => ( - - + + ); diff --git a/yarn.lock b/yarn.lock index 57d1ff294..587893f55 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4926,7 +4926,7 @@ "@types/istanbul-lib-coverage" "*" "@types/istanbul-lib-report" "*" -"@types/minimatch@*": +"@types/minimatch@*", "@types/minimatch@^3.0.3": version "3.0.3" resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d" @@ -5536,6 +5536,11 @@ array-differ@^2.0.3: resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-2.1.0.tgz#4b9c1c3f14b906757082925769e8ab904f4801b1" integrity sha512-KbUpJgx909ZscOc/7CLATBFam7P1Z1QRQInvgT0UztM9Q72aGKCunKASAl7WNW0tnPmPyEMeMhdsfWhfmW037w== +array-differ@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-3.0.0.tgz#3cbb3d0f316810eafcc47624734237d6aee4ae6b" + integrity sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg== + array-find-index@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/array-find-index/-/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1" @@ -5617,6 +5622,11 @@ arrify@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" +arrify@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" + integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== + asap@^2.0.0, asap@~2.0.3: version "2.0.6" resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" @@ -8952,6 +8962,21 @@ execa@^1.0.0: signal-exit "^3.0.0" strip-eof "^1.0.0" +execa@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/execa/-/execa-2.1.0.tgz#e5d3ecd837d2a60ec50f3da78fd39767747bbe99" + integrity sha512-Y/URAVapfbYy2Xp/gb6A0E7iR8xeqOCXsuuaoMn7A5PzrXUK84E1gyiEfq0wQd/GHA6GsoHWwhNq8anb0mleIw== + dependencies: + cross-spawn "^7.0.0" + get-stream "^5.0.0" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^3.0.0" + onetime "^5.1.0" + p-finally "^2.0.0" + signal-exit "^3.0.2" + strip-final-newline "^2.0.0" + execa@^3.4.0: version "3.4.0" resolved "https://registry.yarnpkg.com/execa/-/execa-3.4.0.tgz#c08ed4550ef65d858fac269ffc8572446f37eb89" @@ -10557,6 +10582,11 @@ ignore@^5.1.1: resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.2.tgz#e28e584d43ad7e92f96995019cc43b9e1ac49558" integrity sha512-vdqWBp7MyzdmHkkRWV5nY+PfGRbYbahfuvsBCh277tq+w9zyNi7h5CYJCK0kmzti9kU+O/cB7sE8HvKv6aXAKQ== +ignore@^5.1.4: + version "5.1.4" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.4.tgz#84b7b3dbe64552b6ef0eca99f6743dbec6d97adf" + integrity sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A== + immer@1.10.0: version "1.10.0" resolved "https://registry.yarnpkg.com/immer/-/immer-1.10.0.tgz#bad67605ba9c810275d91e1c2a47d4582e98286d" @@ -12928,6 +12958,11 @@ move-concurrently@^1.0.1: rimraf "^2.5.4" run-queue "^1.0.3" +mri@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/mri/-/mri-1.1.4.tgz#7cb1dd1b9b40905f1fac053abe25b6720f44744a" + integrity sha512-6y7IjGPm8AzlvoUrwAaw1tLnUBudaS3752vcd8JtrpGGQn+rXIe63LFVHm/YMwtqAuh+LJPCFdlLYPWM1nYn6w== + ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -12957,6 +12992,17 @@ multimatch@^3.0.0: arrify "^1.0.1" minimatch "^3.0.4" +multimatch@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/multimatch/-/multimatch-4.0.0.tgz#8c3c0f6e3e8449ada0af3dd29efb491a375191b3" + integrity sha512-lDmx79y1z6i7RNx0ZGCPq1bzJ6ZoDDKbvh7jxr9SJcWLkShMzXrHbYVpTdnhNM5MXpDUxCQ4DgqVttVXlBgiBQ== + dependencies: + "@types/minimatch" "^3.0.3" + array-differ "^3.0.0" + array-union "^2.1.0" + arrify "^2.0.1" + minimatch "^3.0.4" + mute-stream@0.0.7: version "0.0.7" resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" @@ -13327,6 +13373,13 @@ npm-run-path@^2.0.0: dependencies: path-key "^2.0.0" +npm-run-path@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-3.1.0.tgz#7f91be317f6a466efed3c9f2980ad8a4ee8b0fa5" + integrity sha512-Dbl4A/VfiVGLgQv29URL9xshU8XDY1GeLy+fsaZ1AA8JDSfjvr5P5+pzRbWqRSBxk6/DW7MIh8lTM/PaGnP2kg== + dependencies: + path-key "^3.0.0" + npm-run-path@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" @@ -14632,6 +14685,18 @@ pretty-hrtime@^1.0.3: resolved "https://registry.yarnpkg.com/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz#b7e3ea42435a4c9b2759d99e0f201eb195802ee1" integrity sha1-t+PqQkNaTJsnWdmeDyAesZWALuE= +pretty-quick@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/pretty-quick/-/pretty-quick-2.0.1.tgz#417ee605ade98ecc686e72f63b5d28a2c35b43e9" + integrity sha512-y7bJt77XadjUr+P1uKqZxFWLddvj3SKY6EU4BuQtMxmmEFSMpbN132pUWdSG1g1mtUfO0noBvn7wBf0BVeomHg== + dependencies: + chalk "^2.4.2" + execa "^2.1.0" + find-up "^4.1.0" + ignore "^5.1.4" + mri "^1.1.4" + multimatch "^4.0.0" + prismjs@^1.8.4, prismjs@~1.17.0: version "1.17.1" resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.17.1.tgz#e669fcbd4cdd873c35102881c33b14d0d68519be"