Rename PostCSS files to .pcss
(#22769)
* Rename PostCSS files to `.pcss` * Make Stylelint happy * Make Stylelint happy v2 * Update CompatibilityView.tsx * Update res/css/structures/ErrorView.pcss Co-authored-by: Michael Weimann <mail@michael-weimann.eu> * Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/pcss Conflicts: package.json res/css/_components.scss res/css/structures/_NotificationPanel.pcss res/css/views/dialogs/_SpotlightDialog.pcss res/css/views/rooms/_EventTile.pcss res/css/views/rooms/_ReadReceiptGroup.pcss yarn.lock * Only use CI_PACKAGE mode on develop, it skips minification which can find some errors * Keep name to not break existing PRs Co-authored-by: Michael Weimann <mail@michael-weimann.eu>
This commit is contained in:
parent
ecda0a1073
commit
64ed6ebdad
12 changed files with 144 additions and 440 deletions
10
package.json
10
package.json
|
@ -49,7 +49,7 @@
|
|||
"lint:js": "eslint --max-warnings 0 src module_system",
|
||||
"lint:js-fix": "eslint --fix src module_system",
|
||||
"lint:types": "tsc --noEmit --jsx react && tsc --noEmit --project ./tsconfig.module_system.json",
|
||||
"lint:style": "stylelint \"res/css/**/*.scss\"",
|
||||
"lint:style": "stylelint \"res/css/**/*.pcss\"",
|
||||
"test": "jest",
|
||||
"coverage": "yarn test --coverage",
|
||||
"analyse:unused-exports": "node ./scripts/analyse_unused_exports.js"
|
||||
|
@ -152,9 +152,9 @@
|
|||
"simple-proxy-agent": "^1.1.0",
|
||||
"string-replace-loader": "2",
|
||||
"style-loader": "2",
|
||||
"stylelint": "^13.9.0",
|
||||
"stylelint-config-standard": "^20.0.0",
|
||||
"stylelint-scss": "^3.18.0",
|
||||
"stylelint": "^14.9.1",
|
||||
"stylelint-config-standard": "^26.0.0",
|
||||
"stylelint-scss": "^4.2.0",
|
||||
"terser-webpack-plugin": "^2.3.8",
|
||||
"ts-prune": "^0.10.3",
|
||||
"typescript": "^4.7.4",
|
||||
|
@ -177,7 +177,7 @@
|
|||
"<rootDir>/node_modules/matrix-react-sdk/test/setupTests.js"
|
||||
],
|
||||
"moduleNameMapper": {
|
||||
"\\.(css|scss)$": "<rootDir>/__mocks__/cssMock.js",
|
||||
"\\.(css|scss|pcss)$": "<rootDir>/__mocks__/cssMock.js",
|
||||
"\\.(gif|png|ttf|woff2)$": "<rootDir>/node_modules/matrix-react-sdk/__mocks__/imageMock.js",
|
||||
"\\.svg$": "<rootDir>/node_modules/matrix-react-sdk/__mocks__/svg.js",
|
||||
"\\$webapp/i18n/languages.json": "<rootDir>/node_modules/matrix-react-sdk/__mocks__/languages.json",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue