From 970ea6d136ade9f2ab09c469e7900db77140065c Mon Sep 17 00:00:00 2001 From: Shigma Date: Mon, 5 Feb 2024 02:58:01 +0800 Subject: [PATCH] chore: bump versions --- .github/workflows/build.yml | 3 ++- packages/core/package.json | 5 ++--- packages/core/src/cli.ts | 2 +- packages/core/src/index.ts | 4 +++- packages/esbuild/package.json | 4 ++-- packages/mocha/package.json | 2 +- packages/tsc/package.json | 8 ++++---- 7 files changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 66750d7..822053f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,7 +51,8 @@ jobs: - name: Unit Test run: yarn test:json - name: Report Coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage/coverage-final.json name: codecov diff --git a/packages/core/package.json b/packages/core/package.json index e09bace..439c834 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "yakumo", "description": "Manage complex workspaces with ease", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.6", "type": "module", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -36,8 +36,7 @@ "@types/yargs-parser": "^21.0.3" }, "dependencies": { - "@cordisjs/cli": "^0.3.0", - "cordis": "^3.6.1", + "cordis": "^3.8.0", "cosmokit": "^1.5.2", "detect-indent": "^6.1.0", "execa": "^5.1.1", diff --git a/packages/core/src/cli.ts b/packages/core/src/cli.ts index 5511017..94dbb04 100644 --- a/packages/core/src/cli.ts +++ b/packages/core/src/cli.ts @@ -1,6 +1,6 @@ #!/usr/bin/env node -import { start } from '@cordisjs/cli' +import { start } from 'cordis/cli' for (let i = 2; i < process.argv.length; i++) { if (!process.argv[i].startsWith('--import')) break diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 85ef28b..474cf1c 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -68,13 +68,15 @@ export namespace PackageJson { // @ts-ignore export interface Events extends cordis.Events {} +// @ts-ignore export interface Context { [Context.events]: Events yakumo: Yakumo register(name: string, callback: () => void, options?: Options): void } -export class Context extends cordis.Context { +// @ts-ignore +export class Context extends cordis.Context { constructor(config: any) { super(config) this.plugin(Yakumo) diff --git a/packages/esbuild/package.json b/packages/esbuild/package.json index e329457..357a68e 100644 --- a/packages/esbuild/package.json +++ b/packages/esbuild/package.json @@ -29,10 +29,10 @@ ], "peerDependencies": { "esbuild": "*", - "yakumo": "^1.0.0-beta.2" + "yakumo": "^1.0.0-beta.6" }, "dependencies": { - "tsconfig-utils": "^4.0.4", + "tsconfig-utils": "^4.0.5", "yaml": "^2.3.4" } } diff --git a/packages/mocha/package.json b/packages/mocha/package.json index 3bd9c86..4ca5ed5 100644 --- a/packages/mocha/package.json +++ b/packages/mocha/package.json @@ -29,7 +29,7 @@ ], "peerDependencies": { "mocha": "^9", - "yakumo": "^1.0.0-beta.2" + "yakumo": "^1.0.0-beta.6" }, "devDependencies": { "@types/mocha": "^9.1.1" diff --git a/packages/tsc/package.json b/packages/tsc/package.json index 69f8ef2..140fe93 100644 --- a/packages/tsc/package.json +++ b/packages/tsc/package.json @@ -1,7 +1,7 @@ { "name": "yakumo-tsc", "description": "Compile TypeScript for Yakumo", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.3", "type": "module", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -30,11 +30,11 @@ ], "peerDependencies": { "typescript": "*", - "yakumo": "^1.0.0-beta.2" + "yakumo": "^1.0.0-beta.6" }, "dependencies": { "atsc": "^2.0.1", - "dtsc": "^3.0.1", - "tsconfig-utils": "^4.0.3" + "dtsc": "^3.0.2", + "tsconfig-utils": "^4.0.5" } }