From ccf0573201d48658b06a04e905f1cf6050c462a9 Mon Sep 17 00:00:00 2001 From: ismay Date: Mon, 27 May 2024 10:13:20 +0200 Subject: [PATCH] chore: upgrade cli-style --- .stylelintrc.js | 1 + package.json | 3 ++- src/components/App/App.js | 3 +-- yarn.lock | 8 ++++---- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.stylelintrc.js b/.stylelintrc.js index 247d35e02..2f2ce14e1 100644 --- a/.stylelintrc.js +++ b/.stylelintrc.js @@ -1,3 +1,4 @@ +/* eslint-disable import/no-unused-modules */ const { config } = require('@dhis2/cli-style') module.exports = { diff --git a/package.json b/package.json index a6d3475c6..8c48f81d6 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "cronstrue": "^1.114.0", "history": "^4.9.0", "moment": "^2.29.1", + "postcss": "^8.4.38", "prop-types": "^15.8.1", "react": "^16.13.1", "react-dom": "^16.13.1", @@ -31,7 +32,7 @@ "@badeball/cypress-cucumber-preprocessor": "^20.0.3", "@cypress/webpack-preprocessor": "^6.0.1", "@dhis2/cli-app-scripts": "^10.3.9", - "@dhis2/cli-style": "^10.7.0", + "@dhis2/cli-style": "^10.7.2", "@testing-library/cypress": "^10.0.1", "@testing-library/react-hooks": "^8.0.1", "cypress": "^13.7.2", diff --git a/src/components/App/App.js b/src/components/App/App.js index 6297fc3d7..2f6536709 100644 --- a/src/components/App/App.js +++ b/src/components/App/App.js @@ -6,9 +6,8 @@ import { Store } from '../Store' import { PageWrapper } from '../PageWrapper' import './App.css' -// eslint-disable-next-line import/no-unassigned-import +/* eslint-disable-next-line import/no-unresolved, import/no-unassigned-import -- Necessary for translations to work */ import '../../locales' -// The above is necessary for translations to work const App = () => ( diff --git a/yarn.lock b/yarn.lock index 67ff8d2f9..1437bd86a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2410,10 +2410,10 @@ update-notifier "^3.0.0" yargs "^13.1.0" -"@dhis2/cli-style@^10.7.0": - version "10.7.0" - resolved "https://registry.yarnpkg.com/@dhis2/cli-style/-/cli-style-10.7.0.tgz#c7be8a9a3cf376835aeb6639452ee19e808b339f" - integrity sha512-GgpJy0r1xEjlqlGkPhm7BXDn7gdBxpyNQFQF7VxwHNBXKmJNIwZQIUCj21QMwX+DOhScuI8mjtiWetdQn2ZKUw== +"@dhis2/cli-style@^10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@dhis2/cli-style/-/cli-style-10.7.2.tgz#5ec0d82ab6435f47c3ef98b38f98b6b3113c8135" + integrity sha512-J8Q3ynGK0eyIZqx1cwCfMYvW8i9Q7+dpkocteEc0dvEzeRhN+cvSGiP17BPVdeLSl4JnhkO+LCXMwNSHMGmC5g== dependencies: "@commitlint/cli" "^12.1.4" "@commitlint/config-conventional" "^13.1.0"