From c3ea2a6800fc78449f80c2a92b38d1b9792bd9cf Mon Sep 17 00:00:00 2001 From: kahboom Date: Sun, 11 Jan 2026 23:11:09 +0000 Subject: [PATCH] chore: remove unused Sass dependencies from package.json - Deleted the Sass script and its related dependencies from package.json to streamline the project and reduce unnecessary bloat. --- .github/workflows/playwright.yml | 36 ++++++++++++++++++ package-lock.json | 64 ++++++++++++++++++++++++++++++++ package.json | 3 -- public/sitemap-0.xml | 58 ++++++++++++++--------------- 4 files changed, 129 insertions(+), 32 deletions(-) create mode 100644 .github/workflows/playwright.yml diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml new file mode 100644 index 0000000..3ca7448 --- /dev/null +++ b/.github/workflows/playwright.yml @@ -0,0 +1,36 @@ +name: Playwright Tests + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + timeout-minutes: 60 + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'npm' + + - name: Install dependencies + run: npm ci + + - name: Install Playwright Browsers + run: npx playwright install --with-deps chromium + + - name: Run Playwright tests + run: npm run test:e2e + + - uses: actions/upload-artifact@v4 + if: ${{ !cancelled() }} + with: + name: playwright-report + path: playwright-report/ + retention-days: 30 diff --git a/package-lock.json b/package-lock.json index 731981d..d6b0e95 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41,6 +41,7 @@ "wowjs": "^1.1.3" }, "devDependencies": { + "@playwright/test": "^1.57.0", "@types/node": "^20.7.0", "@types/react": "18.2.23", "@typescript-eslint/eslint-plugin": "^5.62.0", @@ -1106,6 +1107,22 @@ "url": "https://opencollective.com/pkgr" } }, + "node_modules/@playwright/test": { + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.57.0.tgz", + "integrity": "sha512-6TyEnHgd6SArQO8UO2OMTxshln3QMWBtPGrOCgs3wVEmQmwyuNtB10IZMfmYDE0riwNR1cu4q+pPcxMVtaG3TA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "playwright": "1.57.0" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/@popperjs/core": { "version": "2.11.8", "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", @@ -4573,6 +4590,21 @@ "dev": true, "license": "ISC" }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -7395,6 +7427,38 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/playwright": { + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.57.0.tgz", + "integrity": "sha512-ilYQj1s8sr2ppEJ2YVadYBN0Mb3mdo9J0wQ+UuDhzYqURwSoW4n1Xs5vs7ORwgDGmyEh33tRMeS8KhdkMoLXQw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "playwright-core": "1.57.0" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "fsevents": "2.3.2" + } + }, + "node_modules/playwright-core": { + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.57.0.tgz", + "integrity": "sha512-agTcKlMw/mjBWOnD6kFZttAAGHgi/Nw0CZ2o6JqWSbMlI219lAFLZZCyqByTsvVAJq5XA5H8cA6PrvBRpBWEuQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "playwright-core": "cli.js" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/possible-typed-array-names": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz", diff --git a/package.json b/package.json index e5a59b0..0154fb1 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,6 @@ "lint-staged": "npm run lint:fix && npm run format:fix", "postbuild": "next-sitemap", "start": "next start", - "sass": "sass -w public/assets/sass/main.scss:public/assets/css/main.css", "typecheck": "tsc", "test:e2e": "playwright test", "test:e2e:ui": "playwright test --ui" @@ -63,8 +62,6 @@ "eslint-plugin-prettier": "^5.0.0", "gray-matter": "^4.0.3", "prettier": "^3.0.3", - "sass": "^1.68.0", - "sass-loader": "^13.3.2", "typescript": "^5.2.2", "webpack": "^5.89.0" } diff --git a/public/sitemap-0.xml b/public/sitemap-0.xml index a73cab1..b208d6a 100644 --- a/public/sitemap-0.xml +++ b/public/sitemap-0.xml @@ -1,32 +1,32 @@ -https://www.thetextilecode.com2026-01-11T21:41:59.127Zdaily0.7 -https://www.thetextilecode.com/about2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/blog2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/contact2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/credits2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/get-involved2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/resources2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/category/business2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/category/news2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/category/supply-chain2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/category/technology2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/tag/ai2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/tag/automation2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/tag/blockchain2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/tag/business-intelligence2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/tag/critical-path2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/tag/ecommerce2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/tag/erp2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/tag/iot2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/tag/materials2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/tag/open source2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/tag/plm2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/tag/retail2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/tag/scm2026-01-11T21:41:59.129Zdaily0.7 -https://www.thetextilecode.com/tag/supply-chain2026-01-11T21:41:59.131Zdaily0.7 -https://www.thetextilecode.com/tag/transparency2026-01-11T21:41:59.131Zdaily0.7 -https://www.thetextilecode.com/benefits-of-open-source2026-01-11T21:41:59.131Zdaily0.7 -https://www.thetextilecode.com/nice-to-meet-you2026-01-11T21:41:59.131Zdaily0.7 -https://www.thetextilecode.com/open-source-fashion2026-01-11T21:41:59.131Zdaily0.7 +https://www.thetextilecode.com2026-01-11T23:00:01.628Zdaily0.7 +https://www.thetextilecode.com/about2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/blog2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/contact2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/credits2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/get-involved2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/resources2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/category/business2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/category/news2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/category/supply-chain2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/category/technology2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/tag/ai2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/tag/automation2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/tag/blockchain2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/tag/business-intelligence2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/tag/critical-path2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/tag/ecommerce2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/tag/erp2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/tag/iot2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/tag/materials2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/tag/open source2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/tag/plm2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/tag/retail2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/tag/scm2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/tag/supply-chain2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/tag/transparency2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/benefits-of-open-source2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/nice-to-meet-you2026-01-11T23:00:01.629Zdaily0.7 +https://www.thetextilecode.com/open-source-fashion2026-01-11T23:00:01.629Zdaily0.7 \ No newline at end of file