From 409b4b66c4d767107b0818bf2b107a184c72b456 Mon Sep 17 00:00:00 2001 From: Edward Irby Date: Thu, 5 Oct 2023 16:42:46 -0700 Subject: [PATCH 1/2] fix(client): kills error messagea about css nesting when running > console@0.0.0 build > tsc && vite build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit vite v4.4.9 building for production... transforming... ✓ 1088 modules transformed. rendering chunks... computing gzip size... dist/index.html 0.65 kB │ gzip: 0.41 kB dist/assets/favicon-2732bf7e.ico 15.41 kB dist/assets/index-fcf667b1.css 47.47 kB │ gzip: 8.86 kB dist/assets/index-1adfe574.js 2,314.44 kB │ gzip: 868.90 kB ✓ built in 3.92s --- console/client/.postcssrc | 1 + console/client/package-lock.json | 49 ++++++++++++++++++++++++++++++++ console/client/package.json | 3 +- 3 files changed, 52 insertions(+), 1 deletion(-) diff --git a/console/client/.postcssrc b/console/client/.postcssrc index d42c370fb9..6cc82a4c7c 100644 --- a/console/client/.postcssrc +++ b/console/client/.postcssrc @@ -1,5 +1,6 @@ { "plugins": { + "tailwindcss/nesting": "postcss-nesting", "tailwindcss": {} } } \ No newline at end of file diff --git a/console/client/package-lock.json b/console/client/package-lock.json index 2ba3871b7b..01ac52d42c 100644 --- a/console/client/package-lock.json +++ b/console/client/package-lock.json @@ -58,6 +58,7 @@ "lint-staged": "14.0.0", "npm-run-all": "4.1.5", "postcss": "8.4.31", + "postcss-nesting": "12.0.1", "prettier": "3.0.2", "process": "^0.11.10", "start-server-and-test": "2.0.0", @@ -896,6 +897,28 @@ "node": ">=4.2.0" } }, + "node_modules/@csstools/selector-specificity": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.0.0.tgz", + "integrity": "sha512-hBI9tfBtuPIi885ZsZ32IMEU/5nlZH/KOVYJCOh7gyMxaVLGmLedYqFN6Ui1LXkI8JlC8IsuC0rF0btcRZKd5g==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "engines": { + "node": "^14 || ^16 || >=18" + }, + "peerDependencies": { + "postcss-selector-parser": "^6.0.13" + } + }, "node_modules/@esbuild/android-arm": { "version": "0.18.20", "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz", @@ -9314,6 +9337,32 @@ "postcss": "^8.2.14" } }, + "node_modules/postcss-nesting": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/postcss-nesting/-/postcss-nesting-12.0.1.tgz", + "integrity": "sha512-6LCqCWP9pqwXw/njMvNK0hGY44Fxc4B2EsGbn6xDcxbNRzP8GYoxT7yabVVMLrX3quqOJ9hg2jYMsnkedOf8pA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "dependencies": { + "@csstools/selector-specificity": "^3.0.0", + "postcss-selector-parser": "^6.0.13" + }, + "engines": { + "node": "^14 || ^16 || >=18" + }, + "peerDependencies": { + "postcss": "^8.4" + } + }, "node_modules/postcss-selector-parser": { "version": "6.0.13", "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", diff --git a/console/client/package.json b/console/client/package.json index 135c3c35f3..7db33a716d 100644 --- a/console/client/package.json +++ b/console/client/package.json @@ -76,10 +76,11 @@ "lint-staged": "14.0.0", "npm-run-all": "4.1.5", "postcss": "8.4.31", + "postcss-nesting": "12.0.1", "prettier": "3.0.2", "process": "^0.11.10", "start-server-and-test": "2.0.0", "typed-css-modules": "0.7.2", "typescript": "5.1.6" } -} +} \ No newline at end of file From db07ab7ce0a57bb4d59d56b50f6ca5efae5a50b0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 5 Oct 2023 23:45:13 +0000 Subject: [PATCH 2/2] chore(autofmt): Automated formatting --- console/client/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/client/package.json b/console/client/package.json index 7db33a716d..c04537a666 100644 --- a/console/client/package.json +++ b/console/client/package.json @@ -83,4 +83,4 @@ "typed-css-modules": "0.7.2", "typescript": "5.1.6" } -} \ No newline at end of file +}