Skip to content

Commit

Permalink
chore: bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Feb 4, 2024
1 parent f0c742a commit 970ea6d
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 2 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/cli.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 3 additions & 1 deletion packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,15 @@ export namespace PackageJson {
// @ts-ignore
export interface Events<C extends Context = Context> extends cordis.Events<C> {}

// @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<T = any> extends cordis.Context<T> {
constructor(config: any) {
super(config)
this.plugin(Yakumo)
Expand Down
4 changes: 2 additions & 2 deletions packages/esbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion packages/mocha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions packages/tsc/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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"
}
}

0 comments on commit 970ea6d

Please sign in to comment.