Skip to content

Commit 48e49ca

Browse files
Brooooooklyngithub-actions[bot]fengmk2
authored
feat(deps): upgrade upstream dependencies (#1375)
Automated daily upgrade of upstream dependencies: - rolldown (latest tag) - vite (latest tag) - vitest (latest npm version) - tsdown (latest npm version) Build status: success <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Mostly dependency bumps and snapshot updates, but upgrading `oxlint`/`oxfmt` can subtly change CLI behavior and output (including lint exit conditions), which may affect CI or user workflows. > > **Overview** > Upgrades upstream tooling versions (notably `oxfmt` `0.45.0`, `oxlint` `1.60.0`, and `tsdown` `0.21.8`, plus related lockfile updates) and aligns `packages/core` peer/bundled versions accordingly. > > Updates CLI snapshot tests to match new outputs/help text (including the new `--no-error-on-unmatched-pattern` option and updated lint/no-files messaging) and applies small lint-suppression comments for generic JSON/YAML/package helpers to satisfy stricter rules. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 8249925. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: MK <fengmk2@gmail.com>
1 parent 681c39d commit 48e49ca

File tree

21 files changed

+311
-285
lines changed

21 files changed

+311
-285
lines changed

packages/cli/snap-tests-global/migration-prettier-eslint-combo/snap.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ peerDependencyRules:
4646
> test ! -f eslint.config.mjs # check eslint config is removed
4747
> test ! -f .prettierrc.json # check prettier config is removed
4848
> cat vite.config.ts # check oxlint and oxfmt config merged into vite.config.ts
49-
import { defineConfig } from 'vite-plus';
49+
import { defineConfig } from "vite-plus";
5050

5151
export default defineConfig({
5252
staged: {

packages/cli/snap-tests-global/migration-prettier-pkg-json/snap.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ peerDependencyRules:
4040
vitest: '*'
4141

4242
> cat vite.config.ts # check oxfmt config merged into vite.config.ts with semi/singleQuote settings
43-
import { defineConfig } from 'vite-plus';
43+
import { defineConfig } from "vite-plus";
4444

4545
export default defineConfig({
4646
staged: {

packages/cli/snap-tests-global/migration-prettier-rerun/snap.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Prettier config migrated to .oxfmtrc.json
2626

2727
> test ! -f .prettierrc.json # check prettier config is removed
2828
> cat vite.config.ts # check oxfmt config merged into vite.config.ts
29-
import { defineConfig } from 'vite-plus';
29+
import { defineConfig } from "vite-plus";
3030

3131
export default defineConfig({
3232
fmt: {

packages/cli/snap-tests-global/migration-prettier/snap.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ peerDependencyRules:
4343

4444
> test ! -f .prettierrc.json # check prettier config is removed
4545
> cat vite.config.ts # check oxfmt config merged into vite.config.ts
46-
import { defineConfig } from 'vite-plus';
46+
import { defineConfig } from "vite-plus";
4747

4848
export default defineConfig({
4949
staged: {

packages/cli/snap-tests-global/runtime-with-incompatible-env-node/steps.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"serial": true,
23
"ignoredPlatforms": ["win32"],
34
"commands": ["vp env use 20.0.0", "vp exec node --version"],
45
"after": ["vp env use --unset"]

packages/cli/snap-tests-global/runtime-with-incompatible-global-node/steps.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"serial": true,
23
"env": {},
34
"commands": ["vp env default 20.0.0", "vp migrate --yes"],
45
"after": ["vp env default lts"]

packages/cli/snap-tests/bin-oxlint-wrapper/snap.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ Output
8282

8383
Miscellaneous
8484
--silent Do not display any diagnostics
85+
--no-error-on-unmatched-pattern Do not exit with an error when no files are selected for
86+
linting (for example, after applying ignore patterns)
8587
--threads=INT Number of threads to use. Set to 1 for using only 1 CPU core.
8688
--print-config This option outputs the configuration to be used. When present, no
8789
linting is performed and only config-related options are valid.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export function hello(): string {
2+
return 'hello';
3+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES2022",
4+
"module": "ESNext",
5+
"moduleResolution": "bundler",
6+
"strict": true,
7+
"skipLibCheck": true
8+
},
9+
"include": ["src"]
10+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export default {
2+
lint: {
3+
options: {
4+
typeAware: true,
5+
typeCheck: true,
6+
},
7+
},
8+
};

0 commit comments

Comments
 (0)