From ea0f373bf69cf1b050e7dcd69076c7800c97316c Mon Sep 17 00:00:00 2001 From: Chunpeng Huo Date: Thu, 19 Dec 2024 11:50:17 +1000 Subject: [PATCH 1/3] chore: remove del --- dumber/gulpfile.js | 3 +-- dumber/package.json | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dumber/gulpfile.js b/dumber/gulpfile.js index a026c8e..662e100 100644 --- a/dumber/gulpfile.js +++ b/dumber/gulpfile.js @@ -12,7 +12,6 @@ const plumber = require('gulp-plumber'); const merge2 = require('merge2'); const terser = require('gulp-terser'); const gulpif = require('gulp-if'); -const del = require('del'); const devServer = require('./dev-server'); // @if css-module const cssModule = require('gulp-dumber-css-module'); @@ -189,7 +188,7 @@ function build() { } function clean() { - return del(dist); + return fs.promises.rm(dist, { recursive: true, force: true }); } function clearCache() { diff --git a/dumber/package.json b/dumber/package.json index 9ca2e97..6e34126 100644 --- a/dumber/package.json +++ b/dumber/package.json @@ -13,7 +13,6 @@ "merge2": "^1.4.1", "gulp-terser": "^2.1.0", "gulp-if": "^3.0.0", - "del": "^6.1.1", "connect": "^3.7.0", "connect-history-api-fallback": "^2.0.0", From 7791e9e769711b92dd51251ecdb344daabb5f84c Mon Sep 17 00:00:00 2001 From: Chunpeng Huo Date: Thu, 19 Dec 2024 12:03:28 +1000 Subject: [PATCH 2/3] chore: upgrade deps --- babel/package.json | 10 +++++----- common/package.json | 8 ++++---- dumber/package.json | 4 ++-- jest/package.json | 2 +- parcel/package.json | 8 ++++---- playwright/package.json | 2 +- typescript/package.json | 8 ++++---- vite/package.json | 10 +++++----- webpack/package.json | 12 ++++++------ 9 files changed, 32 insertions(+), 32 deletions(-) diff --git a/babel/package.json b/babel/package.json index fbe7c40..dcc7637 100644 --- a/babel/package.json +++ b/babel/package.json @@ -1,14 +1,14 @@ { "devDependencies": { - "@babel/plugin-proposal-decorators": "^7.25.7", + "@babel/plugin-proposal-decorators": "^7.25.9", "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/core": "^7.25.7", + "@babel/core": "^7.26.0", // @if !parcel - "@babel/preset-env": "^7.25.7", + "@babel/preset-env": "^7.26.0", // @endif // @if parcel - "@parcel/babel-preset-env": "^2.12.0", + "@parcel/babel-preset-env": "^2.13.3", // @endif - "@babel/eslint-parser": "^7.25.7" + "@babel/eslint-parser": "^7.25.9" } } diff --git a/common/package.json b/common/package.json index f6a38c8..b4eb6a5 100644 --- a/common/package.json +++ b/common/package.json @@ -26,15 +26,15 @@ // @endif }, "devDependencies": { - "eslint": "^9.12.0", - "globals": "^15.10.0", + "eslint": "^9.17.0", + "globals": "^15.14.0", "@aurelia/testing": /* @if latest */"latest"/* @endif *//* @if dev */"dev"/* @endif */, - "stylelint": "^16.9.0", + "stylelint": "^16.12.0", // @if css "stylelint-config-standard": "^36.0.1", // @endif // @if sass - "stylelint-config-standard-scss": "^13.1.0", + "stylelint-config-standard-scss": "^14.0.0", // @endif // @if css-module "stylelint-config-css-modules": "^4.4.0", diff --git a/dumber/package.json b/dumber/package.json index 6e34126..e0896d1 100644 --- a/dumber/package.json +++ b/dumber/package.json @@ -18,7 +18,7 @@ "connect-history-api-fallback": "^2.0.0", "connect-injector": "^0.4.4", "serve-static": "^1.16.2", - "socket.io": "^4.8.0", + "socket.io": "^4.8.1", "open": "^8.4.2", "cross-env": "^7.0.3", @@ -30,7 +30,7 @@ "node-sass-package-importer": "^5.3.3", // @endif "gulp-postcss": "^10.0.0", - "postcss": "^8.4.47", + "postcss": "^8.4.49", "autoprefixer": "^10.4.20", "postcss-url": "^10.1.3", }, diff --git a/jest/package.json b/jest/package.json index 5df4e02..8a4b861 100644 --- a/jest/package.json +++ b/jest/package.json @@ -7,7 +7,7 @@ "@aurelia/babel-jest": /* @if latest */"latest"/* @endif *//* @if dev */"dev"/* @endif */, // @endif // @if typescript - "@types/jest": "^29.5.13", + "@types/jest": "^29.5.14", "@aurelia/ts-jest": /* @if latest */"latest"/* @endif *//* @if dev */"dev"/* @endif */, // @endif }, diff --git a/parcel/package.json b/parcel/package.json index 969c27f..87ad1a6 100644 --- a/parcel/package.json +++ b/parcel/package.json @@ -3,13 +3,13 @@ "devDependencies": { "@aurelia/parcel-transformer": /* @if !dev */"latest"/* @endif *//* @if dev */"dev"/* @endif */, // @if typescript - "@parcel/transformer-typescript-tsc": "^2.12.0", + "@parcel/transformer-typescript-tsc": "^2.13.3", // @endif // @if sass - "@parcel/transformer-sass": "^2.12.0", + "@parcel/transformer-sass": "^2.13.3", // @endif - "@parcel/transformer-inline-string": "^2.12.0", - "parcel": "^2.12.0" + "@parcel/transformer-inline-string": "^2.13.3", + "parcel": "^2.13.3" }, "scripts": { "start": "parcel -p 9000", diff --git a/playwright/package.json b/playwright/package.json index 4ade461..be38382 100644 --- a/playwright/package.json +++ b/playwright/package.json @@ -1,6 +1,6 @@ { "devDependencies": { - "@playwright/test": "^1.48.0", + "@playwright/test": "^1.49.1", }, "scripts": { "test:e2e": "playwright test" diff --git a/typescript/package.json b/typescript/package.json index 747c6ef..8ec8584 100644 --- a/typescript/package.json +++ b/typescript/package.json @@ -1,8 +1,8 @@ { "devDependencies": { - "@types/node": "^22.7.5", - "typescript": "^5.6.3", - "tslib": "^2.7.0", - "typescript-eslint": "^8.8.1", + "@types/node": "^22.10.2", + "typescript": "^5.7.2", + "tslib": "^2.8.1", + "typescript-eslint": "^8.18.1", } } diff --git a/vite/package.json b/vite/package.json index f789464..8f4d509 100644 --- a/vite/package.json +++ b/vite/package.json @@ -2,20 +2,20 @@ "type": "module", "devDependencies": { "@aurelia/vite-plugin": /* @if latest */"latest"/* @endif *//* @if dev */"dev"/* @endif */, - "vite": "^5.4.8", + "vite": "^6.0.3", "vite-plugin-node-polyfills": "^0.22.0", // @if babel - "vite-plugin-babel": "^1.2.0", + "vite-plugin-babel": "^1.3.0", // @endif // @if typescript && plugin - "vite-plugin-dts": "^4.2.3", + "vite-plugin-dts": "^4.4.0", // @endif // @if vitest - "vitest": "^2.1.2", + "vitest": "^2.1.8", "jsdom": "^25.0.1", // @endif // @if sass - "sass": "^1.79.4", + "sass": "^1.83.0", // @endif }, "scripts": { diff --git a/webpack/package.json b/webpack/package.json index de9741b..5662ec0 100644 --- a/webpack/package.json +++ b/webpack/package.json @@ -1,9 +1,9 @@ { "devDependencies": { - "webpack": "^5.95.0", + "webpack": "^5.97.1", "webpack-cli": "^5.1.4", - "webpack-dev-server": "^5.1.0", - "html-webpack-plugin": "^5.6.0", + "webpack-dev-server": "^5.2.0", + "html-webpack-plugin": "^5.6.3", "webpack-bundle-analyzer": "^4.10.2", "style-loader": "^4.0.0", "css-loader": "^7.1.2", @@ -16,11 +16,11 @@ "ts-loader": "^9.5.1", // @endif // @if sass - "sass-loader": "^16.0.2", - "sass": "^1.79.4", + "sass-loader": "^16.0.4", + "sass": "^1.83.0", // @endif "postcss-loader": "^8.1.1", - "postcss": "^8.4.47", + "postcss": "^8.4.49", "autoprefixer": "^10.4.20", // @if plugin "webpack-node-externals": "^3.0.0", From e3c16656bcaa24fa48257c11a6836645940d7490 Mon Sep 17 00:00:00 2001 From: Chunpeng Huo Date: Thu, 19 Dec 2024 12:33:25 +1000 Subject: [PATCH 3/3] chore: vite plugin patch --- vite/package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vite/package.json b/vite/package.json index 8f4d509..ebc2da7 100644 --- a/vite/package.json +++ b/vite/package.json @@ -24,5 +24,10 @@ // @if vitest "test": "vitest", // @endif + }, + "overrides": { + "vite-plugin-node-polyfills": { + "vite": "^6.0.0" + } } }