Skip to content
This repository was archived by the owner on Sep 2, 2026. It is now read-only.

Commit e83d051

Browse files
committed
chore(dep): updates
1 parent d0a9e69 commit e83d051

15 files changed

Lines changed: 167 additions & 100 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ node_modules/
1212

1313
.DS_Store
1414

15-
target/
15+
target/

bun.lock

Lines changed: 117 additions & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bunfig.toml

Lines changed: 0 additions & 8 deletions
This file was deleted.

justfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ export PRETTIER_EXPERIMENTAL_CLI := "1"
33
monobundle := "bunx --bun ./nodedevpkg/monobundle/src/bin/index.ts"
44
bunx := "bunx --bun"
55
turbo := "bunx --bun turbo"
6+
vitest := "bunx --bun vitest"
67

78
serve:
89
go run ./cmd/webappserve serve --help
@@ -31,7 +32,7 @@ fmt:
3132
{{ turbo }} run fmt
3233

3334
test:
34-
bun test
35+
{{ vitest }} --run
3536

3637
build:
3738
{{ turbo }} run build --filter="!@innoai-tech/monobundle" --force --concurrency=1

nodedevpkg/monobundle/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@innoai-tech/monobundle",
3-
"version": "0.17.0",
3+
"version": "0.17.1",
44
"monobundle": {
55
"exports": {
66
".": "./src/index.ts",
@@ -14,17 +14,17 @@
1414
"@innoai-tech/purebundle": "workspace:^",
1515
"@innoai-tech/vuecomponentcompleter": "workspace:^",
1616
"chalk": "^5.6.2",
17-
"es-toolkit": "^1.41.0",
18-
"globby": "^15.0.0",
19-
"js-yaml": "^4.1.0",
17+
"es-toolkit": "^1.42.0",
18+
"globby": "^16.0.0",
19+
"js-yaml": "^4.1.1",
2020
"minimatch": "^10.1.1",
21-
"rolldown": "^1.0.0-beta.49",
21+
"rolldown": "^1.0.0-beta.51",
2222
"yargs": "^18.0.0"
2323
},
2424
"peerDependencies": {},
2525
"devDependencies": {
2626
"@types/js-yaml": "^4.0.9",
27-
"@types/yargs": "^17.0.34"
27+
"@types/yargs": "^17.0.35"
2828
},
2929
"bin": {
3030
"monobundle": "./dist/monobundle.mjs"

nodedevpkg/monobundle/src/pm.ts

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,53 +23,52 @@ const projectManagers: { [name: string]: ProjectManager } = {
2323
bin: {
2424
main: "bun",
2525
run: "bun run",
26-
exec: "bunx",
26+
exec: "bunx"
2727
},
2828
isProjectRoot: (p: string) => {
2929
return (
30-
existsSync(join(p, "./bunfig.toml")) ||
31-
existsSync(join(p, "./bun.lockb"))
30+
existsSync(join(p, "./bun.lock")) || existsSync(join(p, "./bunfig.toml"))
3231
);
3332
},
3433
workspaces: async (root: string) => {
3534
const packageJSON = JSON.parse(
36-
String(await readFile(join(root, "./package.json"))),
35+
String(await readFile(join(root, "./package.json")))
3736
) as { workspaces?: string[] };
3837

3938
return packageJSON.workspaces ?? [];
4039
},
4140
defaults: () => {
4241
return {
4342
scripts: {
44-
build: "bunx --bun @innoai-tech/monobundle",
45-
},
43+
build: "bunx --bun @innoai-tech/monobundle"
44+
}
4645
};
47-
},
46+
}
4847
},
4948
pnpm: {
5049
bin: {
5150
main: "pnpm",
5251
run: "pnpm run",
53-
exec: "pnpm exec",
52+
exec: "pnpm exec"
5453
},
5554
isProjectRoot: (p: string) => {
5655
return existsSync(join(p, "./pnpm-workspace.yaml"));
5756
},
5857
workspaces: async (root: string) => {
5958
const workspaceConfig = loadYAML(
60-
String(await readFile(join(root, "./pnpm-workspace.yaml"))),
59+
String(await readFile(join(root, "./pnpm-workspace.yaml")))
6160
) as { packages?: string[] };
6261

6362
return workspaceConfig.packages ?? [];
6463
},
6564
defaults: () => {
6665
return {
6766
scripts: {
68-
build: "monobundle",
69-
},
67+
build: "monobundle"
68+
}
7069
};
71-
},
72-
},
70+
}
71+
}
7372
};
7473

7574
export interface Project {
@@ -83,7 +82,7 @@ export const resolveProjectRoot = (p: string): Project | null => {
8382
if (pm.isProjectRoot(p)) {
8483
return {
8584
root: p,
86-
pm: pm,
85+
pm: pm
8786
};
8887
}
8988
}

nodedevpkg/purebundle/__tests__/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { describe, expect, it } from "bun:test";
1+
import { describe, expect, it } from "vitest";
22
import { transform as swcTransform } from "@swc/core";
33
import { transform, usePlugin } from "..";
44

nodepkg/config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}
1010
},
1111
"dependencies": {
12-
"es-toolkit": "^1.41.0"
12+
"es-toolkit": "^1.42.0"
1313
},
1414
"peerDependencies": {
1515
"rolldown": "*"

nodepkg/config/src/__tests__/configvalue.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { describe, expect, it } from "bun:test";
1+
import { describe, expect, it } from "vitest";
22
import { parse, stringify } from "../configvalue";
33

44
describe("parse", () => {

nodepkg/config/src/loader/__tests__/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { describe, expect, it } from "bun:test";
1+
import { describe, expect, it } from "vitest";
22
import { dirname, join } from "path";
33
import { fileURLToPath } from "url";
44
import { loadConfig } from "../index";

0 commit comments

Comments
 (0)