diff --git a/.github/workflows/pull-request-build-check.yml b/.github/workflows/pull-request-build-check.yml index eb07ab27..539d1805 100644 --- a/.github/workflows/pull-request-build-check.yml +++ b/.github/workflows/pull-request-build-check.yml @@ -23,6 +23,9 @@ jobs: - name: Node-Sass run: npm i node-sass + - name: sass + run: npm i sass + - name: Install dependencies run: cd pwa && npm i diff --git a/pwa/package-lock.json b/pwa/package-lock.json index 019643b3..8f139979 100644 --- a/pwa/package-lock.json +++ b/pwa/package-lock.json @@ -73,6 +73,7 @@ "react-paginate": "^8.2.0", "react-query": "^3.39.3", "react-select": "^5.8.0", + "sass": "^1.70.0", "showdown": "^2.1.0" }, "devDependencies": { @@ -17829,6 +17830,22 @@ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, + "node_modules/sass": { + "version": "1.70.0", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.70.0.tgz", + "integrity": "sha512-uUxNQ3zAHeAx5nRFskBnrWzDUJrrvpCPD5FNAoRvTi0WwremlheES3tg+56PaVtCs5QDRX5CBLxxKMDJMEa1WQ==", + "dependencies": { + "chokidar": ">=3.0.0 <4.0.0", + "immutable": "^4.0.0", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, "node_modules/sass-graph": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-4.0.1.tgz", @@ -17892,6 +17909,11 @@ "node": ">=12" } }, + "node_modules/sass/node_modules/immutable": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.5.tgz", + "integrity": "sha512-8eabxkth9gZatlwl5TBuJnCsoTADlL6ftEr7A4qgdaTsPyreilDSnUk57SO+jfKcNtxPa22U5KK6DSeAYhpBJw==" + }, "node_modules/scheduler": { "version": "0.23.0", "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", diff --git a/pwa/package.json b/pwa/package.json index b86e6046..41aae39f 100644 --- a/pwa/package.json +++ b/pwa/package.json @@ -23,7 +23,6 @@ "prepare": "cd .. && husky install" }, "dependencies": { - "node-sass": "^9.0.0", "@conduction/components": "2.2.45", "@conduction/theme": "1.1.15", "@fortawesome/fontawesome-svg-core": "^6.5.1", @@ -75,6 +74,7 @@ "i18next": "^23.7.19", "jwt-decode": "^4.0.0", "lodash": "^4.17.21", + "node-sass": "^9.0.0", "qs": "^6.11.2", "react": "^18.2.0", "react-collapsible": "^2.10.0", @@ -88,6 +88,7 @@ "react-paginate": "^8.2.0", "react-query": "^3.39.3", "react-select": "^5.8.0", + "sass": "^1.70.0", "showdown": "^2.1.0" }, "devDependencies": {