From aef7bea45cf8a59dd569c9f8f52897345c2c9520 Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Wed, 8 May 2024 09:27:39 +0800 Subject: [PATCH 1/3] feat: use @eggjs/utils@3 --- package.json | 2 +- src/cmd/dev.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 39dd343..4e0aadf 100644 --- a/package.json +++ b/package.json @@ -17,10 +17,10 @@ "@artus-cli/artus-cli": "^0.2.9", "@artus-cli/plugin-autocomplete": "^0.1.1", "@artus-cli/plugin-version": "^1.0.1", + "@eggjs/utils": "^3.0.1", "c8": "^9.0.0", "detect-port": "^1.3.0", "egg-ts-helper": "^2.1.0", - "egg-utils": "^2.4.1", "globby": "^11.1.0", "jest-changed-files": "^29.4.2", "mocha": "^10.2.0", diff --git a/src/cmd/dev.ts b/src/cmd/dev.ts index 5a72baa..aa21b8b 100644 --- a/src/cmd/dev.ts +++ b/src/cmd/dev.ts @@ -1,7 +1,7 @@ import { debuglog } from 'node:util'; import path from 'node:path'; import { DefineCommand, Option } from '@artus-cli/artus-cli'; -import utils from 'egg-utils'; +import utils from '@eggjs/utils'; import detect from 'detect-port'; import { BaseCommand } from './base'; From b9c3b91ef137b890954965e710cebf4e637aaf2d Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Wed, 8 May 2024 09:28:47 +0800 Subject: [PATCH 2/3] f --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index ad35cba..145afdc 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -13,4 +13,4 @@ jobs: uses: node-modules/github-actions/.github/workflows/node-test.yml@master with: os: 'ubuntu-latest, macos-latest, windows-latest' - version: '16, 18, 20' + version: '16, 18, 20, 22' From d5879aa72f6c0b1570cbee8b6eb9b3ac4bb0049d Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Wed, 8 May 2024 09:48:59 +0800 Subject: [PATCH 3/3] f --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 145afdc..ad35cba 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -13,4 +13,4 @@ jobs: uses: node-modules/github-actions/.github/workflows/node-test.yml@master with: os: 'ubuntu-latest, macos-latest, windows-latest' - version: '16, 18, 20, 22' + version: '16, 18, 20'