diff --git a/.oxfmtrc.json b/.oxfmtrc.json new file mode 100644 index 0000000..4e37b3d --- /dev/null +++ b/.oxfmtrc.json @@ -0,0 +1,21 @@ +{ + "$schema": "./node_modules/oxfmt/configuration_schema.json", + "semi": false, + "quoteProps": "consistent", + "singleQuote": false, + "printWidth": 120, + "sortPackageJson": true, + "sortImports": { + "newlinesBetween": false, + "groups": [ + "type-import", + ["value-builtin", "value-external"], + "type-internal", + "value-internal", + ["type-parent", "type-sibling", "type-index"], + ["value-parent", "value-sibling", "value-index"], + "unknown" + ] + }, + "ignorePatterns": ["package-lock.json", "pnpm-lock.yaml", "yarn.lock", "empty-sandbox.js"] +} diff --git a/.prettierignore b/.prettierignore deleted file mode 100644 index e08185c..0000000 --- a/.prettierignore +++ /dev/null @@ -1,5 +0,0 @@ -# Lock files -package-lock.json -pnpm-lock.yaml -yarn.lock -empty-sandbox.js diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 4964fe5..0000000 --- a/.prettierrc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "plugins": ["prettier-plugin-organize-imports"], - "semi": false, - "quoteProps": "consistent", - "singleQuote": false, - "printWidth": 120, - "organizeImportsSkipDestructiveCodeActions": true -} diff --git a/documentation/package.json b/documentation/package.json index 2e446cc..2d6c5e2 100644 --- a/documentation/package.json +++ b/documentation/package.json @@ -1,6 +1,5 @@ { "name": "documentation", - "type": "module", "version": "0.0.1", "contributors": [ { @@ -12,6 +11,7 @@ "url": "https://github.com/binjospookie" } ], + "type": "module", "scripts": { "dev": "astro dev", "start": "astro dev", @@ -31,9 +31,9 @@ "sharp": "0.34.5", "starlight-llms-txt": "0.7.0" }, - "packageManager": "pnpm@10.24.0+sha512.01ff8ae71b4419903b65c60fb2dc9d34cf8bb6e06d03bde112ef38f7a34d6904c424ba66bea5cdcf12890230bf39f9580473140ed9c946fef328b6e5238a345a", "devDependencies": { "@types/react": "19.2.14", "@types/react-dom": "19.2.3" - } + }, + "packageManager": "pnpm@10.24.0+sha512.01ff8ae71b4419903b65c60fb2dc9d34cf8bb6e06d03bde112ef38f7a34d6904c424ba66bea5cdcf12890230bf39f9580473140ed9c946fef328b6e5238a345a" } diff --git a/documentation/src/components/sandbox/index.astro b/documentation/src/components/sandbox/index.astro index 51b1b76..73f80ca 100644 --- a/documentation/src/components/sandbox/index.astro +++ b/documentation/src/components/sandbox/index.astro @@ -3,7 +3,7 @@ import SandpackEditor from './index.tsx'; import { Code } from "@astrojs/starlight/components" const { code: rawCode, template, options, files } = Astro.props; -const sourceCode = rawCode.replace(/^[ \t]*\/\/\s*prettier-ignore[ \t]*\r?\n?/gm, ''); +const sourceCode = rawCode.replace(/^[ \t]*\/\/\s*oxfmt-ignore[ \t]*\r?\n?/gm, ''); --- diff --git a/documentation/src/components/sandbox/index.tsx b/documentation/src/components/sandbox/index.tsx index a2f7b27..ceabdd3 100644 --- a/documentation/src/components/sandbox/index.tsx +++ b/documentation/src/components/sandbox/index.tsx @@ -7,18 +7,15 @@ import { } from "@codesandbox/sandpack-react" import { APP_COMPOSE_JS } from "virtual:app-compose-js" import { Editor } from "./editor/index" +import { Output } from "./output" import { sandboxStyle } from "./sandboxStyle" import { useTheme } from "./useTheme" -import { Output } from "./output" type Props = { code: string template?: SandpackPredefinedTemplate files?: Record - options?: Pick< - SandpackOptions, - "showConsole" | "editorHeight" | "editorWidthPercentage" | "showConsoleButton" - > & { + options?: Pick & { layout?: SandpackOptions["layout"] | "tests" hideOutput: boolean storageKey?: string @@ -30,16 +27,15 @@ const SandpackEditor = ({ code: __code, template = "react", options, files = {} const theme = useTheme() const isTests = options?.layout === "tests" - const fileName = - isTests - ? "index.test.ts" - : template === "react" - ? "App.js" - : template === "react-ts" - ? "App.tsx" - : template === "vanilla-ts" - ? "index.ts" - : "index.js" + const fileName = isTests + ? "index.test.ts" + : template === "react" + ? "App.js" + : template === "react-ts" + ? "App.tsx" + : template === "vanilla-ts" + ? "index.ts" + : "index.js" const lines = code.replace(/\r\n/g, "\n").split("\n").length const fullEditorHeight = options?.editorHeight ?? lines * 18 diff --git a/documentation/src/components/sandbox/output.tsx b/documentation/src/components/sandbox/output.tsx index b0a7e55..7e4b760 100644 --- a/documentation/src/components/sandbox/output.tsx +++ b/documentation/src/components/sandbox/output.tsx @@ -1,4 +1,10 @@ -import { SandpackConsole, SandpackPreview, SandpackStack, SandpackTests, type SandpackOptions } from "@codesandbox/sandpack-react" +import { + SandpackConsole, + SandpackPreview, + SandpackStack, + SandpackTests, + type SandpackOptions, +} from "@codesandbox/sandpack-react" type Props = Pick & { layout?: SandpackOptions["layout"] | "tests" diff --git a/documentation/src/content/docs/guides/mapping-values/index.mdx b/documentation/src/content/docs/guides/mapping-values/index.mdx index b844dbb..0b6c85c 100644 --- a/documentation/src/content/docs/guides/mapping-values/index.mdx +++ b/documentation/src/content/docs/guides/mapping-values/index.mdx @@ -13,7 +13,8 @@ When you need only part of a task result or want to change its shape, `map` lets If the source value is missing — because an upstream task failed or was skipped — `map` will not call your callback and the downstream task will be silently skipped.
- To handle a missing value explicitly, wrap the source with `optional` — in that case the callback receives `undefined` instead. + To handle a missing value explicitly, wrap the source with `optional` — in that case the callback receives `undefined` + instead.
diff --git a/documentation/src/content/docs/home/graph.ts b/documentation/src/content/docs/home/graph.ts index 37d9ba0..a443467 100644 --- a/documentation/src/content/docs/home/graph.ts +++ b/documentation/src/content/docs/home/graph.ts @@ -1,6 +1,6 @@ -// prettier-ignore +// oxfmt-ignore import { -bind,compose,createTag,createTask,optional +bind, compose, createTag, createTask, optional } from "@grlt-hub/app-compose" const tag = createTag({ name: "title" }) diff --git a/documentation/src/content/docs/home/isolation.ts b/documentation/src/content/docs/home/isolation.ts index 3bb37ad..c02fa6c 100644 --- a/documentation/src/content/docs/home/isolation.ts +++ b/documentation/src/content/docs/home/isolation.ts @@ -1,6 +1,6 @@ -// prettier-ignore +// oxfmt-ignore import { -bind,compose,createTag,createTask +bind, compose, createTag, createTask } from "@grlt-hub/app-compose" const user = createTask({ diff --git a/documentation/src/content/docs/home/reuse.ts b/documentation/src/content/docs/home/reuse.ts index fab15ab..af56705 100644 --- a/documentation/src/content/docs/home/reuse.ts +++ b/documentation/src/content/docs/home/reuse.ts @@ -1,6 +1,6 @@ -// prettier-ignore +// oxfmt-ignore import { -bind,compose,createTag,createTask,literal +bind, compose, createTag, createTask, literal } from "@grlt-hub/app-compose"; const label = createTag({ name: "label" }) diff --git a/documentation/src/content/docs/learn/linting.mdx b/documentation/src/content/docs/learn/linting.mdx index b46d7f0..4397064 100644 --- a/documentation/src/content/docs/learn/linting.mdx +++ b/documentation/src/content/docs/learn/linting.mdx @@ -47,13 +47,12 @@ Use your preferred package manager. Import the plugin and add it to your config. Use the recommended preset for a quick start. -{/* prettier-ignore */} +{/* oxfmt-ignore */} + ```js import appCompose from "@grlt-hub/eslint-plugin-app-compose" -export default tseslint.config( - appCompose.configs.recommended -) +export default tseslint.config(appCompose.configs.recommended) ``` You can also configure it manually. diff --git a/documentation/src/content/docs/learn/quick-start/index.mdx b/documentation/src/content/docs/learn/quick-start/index.mdx index f9f6a46..e330bce 100644 --- a/documentation/src/content/docs/learn/quick-start/index.mdx +++ b/documentation/src/content/docs/learn/quick-start/index.mdx @@ -126,7 +126,8 @@ This tells App-Compose that the value is data, not a reference to another Task o /> ## How to disable a Task diff --git a/documentation/src/content/docs/learn/typescript/index.mdx b/documentation/src/content/docs/learn/typescript/index.mdx index df1cd64..7194563 100644 --- a/documentation/src/content/docs/learn/typescript/index.mdx +++ b/documentation/src/content/docs/learn/typescript/index.mdx @@ -40,9 +40,10 @@ Extracts the return type of a given Task. Represents the possible execution outcomes of a Task. -{/* prettier-ignore */} +{/* oxfmt-ignore */} + ```ts -type TaskStatus = 'done' | 'fail' | 'skip' +type TaskStatus = "done" | "fail" | "skip" ``` ### Task<T> diff --git a/documentation/src/content/docs/sandbox.ts b/documentation/src/content/docs/sandbox.ts index fd50d01..bb7e72a 100644 --- a/documentation/src/content/docs/sandbox.ts +++ b/documentation/src/content/docs/sandbox.ts @@ -1,6 +1,6 @@ -// prettier-ignore +// oxfmt-ignore import { -bind,compose,createTag,createTask,literal,optional +bind, compose, createTag, createTask, literal, optional } from "@grlt-hub/app-compose" const task = createTask({ diff --git a/documentation/src/styles/custom.css b/documentation/src/styles/custom.css index 9c85ee0..1970f75 100644 --- a/documentation/src/styles/custom.css +++ b/documentation/src/styles/custom.css @@ -11,7 +11,7 @@ h2.section-title { :root { --sl-content-width: 60rem; - --sl-color-text-accent: #58DC58; + --sl-color-text-accent: #58dc58; } .hero { diff --git a/documentation/src/virtual.d.ts b/documentation/src/virtual.d.ts index eae51a4..939fd65 100644 --- a/documentation/src/virtual.d.ts +++ b/documentation/src/virtual.d.ts @@ -5,4 +5,3 @@ declare module "virtual:app-compose-dts" { declare module "virtual:app-compose-js" { export const APP_COMPOSE_JS: string } - diff --git a/package.json b/package.json index 363acfa..9295f7d 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,8 @@ { "name": "@grlt-hub/app-compose-dev", - "private": true, "version": "3.0.0", + "private": true, "homepage": "https://app-compose.dev", - "repository": { - "type": "git", - "url": "git+https://github.com/grlt-hub/app-compose.git" - }, "license": "MIT", "contributors": [ { @@ -18,6 +14,10 @@ "url": "https://github.com/binjospookie" } ], + "repository": { + "type": "git", + "url": "git+https://github.com/grlt-hub/app-compose.git" + }, "type": "module", "scripts": { "doc:dev": "pnpm --filter ./packages/app-compose build && pnpm --dir ./documentation run dev", @@ -31,9 +31,8 @@ "@types/node": "25.5.0", "@vitest/coverage-v8": "4.1.2", "knip": "6.1.0", + "oxfmt": "0.42.0", "oxlint": "1.57.0", - "prettier": "3.8.1", - "prettier-plugin-organize-imports": "4.3.0", "tsdown": "0.21.7", "typescript": "6.0.2", "vitest": "4.1.2" diff --git a/packages/app-compose/knip.json b/packages/app-compose/knip.json index ad5c0e1..703ebec 100644 --- a/packages/app-compose/knip.json +++ b/packages/app-compose/knip.json @@ -2,6 +2,6 @@ "$schema": "https://unpkg.com/knip@5/schema.json", "ignore": ["**/__tests__/**", "*.config.ts"], "entry": ["./src/index.ts!"], - "ignoreBinaries": ["tsdown", "knip", "oxlint", "vitest"], + "ignoreBinaries": ["tsdown", "knip", "oxlint", "vitest", "oxfmt"], "vitest": { "config": "vitest.config.ts", "entry": "src/**/*.{test,test-d,bench}.ts" } } diff --git a/packages/app-compose/package.json b/packages/app-compose/package.json index 1926fa1..3dff08a 100644 --- a/packages/app-compose/package.json +++ b/packages/app-compose/package.json @@ -2,26 +2,19 @@ "name": "@grlt-hub/app-compose", "version": "3.0.0-beta.0", "private": false, - "publishConfig": { - "access": "public" - }, "description": "App-Compose is a TypeScript library that structures your frontend app around isolated tasks, explicit context, and predictable startup — by design.", "keywords": [ - "grlt", - "grlt-hub", "app-compose", "dependency-injection", "di", + "grlt", + "grlt-hub", "inversion-of-control", "ioc", "modular", "typescript" ], "homepage": "https://app-compose.dev", - "repository": { - "type": "git", - "url": "git+https://github.com/grlt-hub/app-compose.git" - }, "license": "MIT", "contributors": [ { @@ -33,7 +26,17 @@ "url": "https://github.com/binjospookie" } ], + "repository": { + "type": "git", + "url": "git+https://github.com/grlt-hub/app-compose.git" + }, + "files": [ + "dist" + ], "type": "module", + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts", "exports": { ".": { "import": { @@ -47,12 +50,9 @@ }, "./package.json": "./package.json" }, - "main": "./dist/index.cjs", - "module": "./dist/index.js", - "types": "./dist/index.d.ts", - "files": [ - "dist" - ], + "publishConfig": { + "access": "public" + }, "scripts": { "build": "tsdown", "dev": "tsdown --watch", diff --git a/packages/app-compose/src/compose/__tests__/observer.test.ts b/packages/app-compose/src/compose/__tests__/observer.test.ts index 6e62fba..c23b207 100644 --- a/packages/app-compose/src/compose/__tests__/observer.test.ts +++ b/packages/app-compose/src/compose/__tests__/observer.test.ts @@ -1,8 +1,8 @@ import { literal, shape } from "@computable" import { createTask, createWire, tag } from "@runnable" import { describe, expect, it, vi } from "vitest" -import { compose } from "../compose" import type { ComposeHookMap } from "../observer" +import { compose } from "../compose" describe("observer", () => { describe("onTaskFail", () => { diff --git a/packages/app-compose/src/compose/graph.ts b/packages/app-compose/src/compose/graph.ts index a905855..cf82a48 100644 --- a/packages/app-compose/src/compose/graph.ts +++ b/packages/app-compose/src/compose/graph.ts @@ -1,6 +1,6 @@ import type { RunnableInternal } from "@runnable" -import { createAnalyzer } from "./analyze" import type { ComposableKind, ComposeNode } from "./definition" +import { createAnalyzer } from "./analyze" type EntryID = number diff --git a/packages/app-compose/src/compose/guard.ts b/packages/app-compose/src/compose/guard.ts index a4030e1..893f887 100644 --- a/packages/app-compose/src/compose/guard.ts +++ b/packages/app-compose/src/compose/guard.ts @@ -1,6 +1,6 @@ import type { RunnableInternal } from "@runnable" -import { createAnalyzer } from "./analyze" import type { ComposableKind, ComposeMeta, ComposeNode } from "./definition" +import { createAnalyzer } from "./analyze" type NotifyEntry = { index?: number; node: ComposeNode } diff --git a/packages/app-compose/src/computable/shape.ts b/packages/app-compose/src/computable/shape.ts index f81afd9..6f63216 100644 --- a/packages/app-compose/src/computable/shape.ts +++ b/packages/app-compose/src/computable/shape.ts @@ -1,5 +1,5 @@ -import { build } from "./build" import type { ContextToSpot } from "./context" +import { build } from "./build" import { Compute$, Missing$, type ComputeStep, type Spot } from "./definition" const wrap = diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index a36a6eb..26caa30 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -1,24 +1,17 @@ { "name": "@grlt-hub/eslint-plugin-app-compose", "version": "3.0.0-alpha.2", - "description": "Enforcing best practices for @grlt-hub/app-compose", "private": false, - "publishConfig": { - "access": "public" - }, + "description": "Enforcing best practices for @grlt-hub/app-compose", "keywords": [ + "app-compose", "eslint", - "eslintplugin", "eslint-plugin", + "eslintplugin", "grlt", - "grlt-hub", - "app-compose" + "grlt-hub" ], "homepage": "https://app-compose.dev", - "repository": { - "type": "git", - "url": "git+https://github.com/grlt-hub/app-compose.git" - }, "license": "MIT", "contributors": [ { @@ -30,7 +23,17 @@ "url": "https://github.com/binjospookie" } ], + "repository": { + "type": "git", + "url": "git+https://github.com/grlt-hub/app-compose.git" + }, + "files": [ + "dist" + ], "type": "module", + "main": "dist/index.cjs", + "module": "./dist/index.mjs", + "types": "./dist/index.d.cts", "exports": { ".": { "import": { @@ -44,12 +47,9 @@ }, "./package.json": "./package.json" }, - "main": "dist/index.cjs", - "module": "./dist/index.mjs", - "types": "./dist/index.d.cts", - "files": [ - "dist" - ], + "publishConfig": { + "access": "public" + }, "scripts": { "build": "tsdown", "prepack": "pnpm build", diff --git a/packages/eslint-plugin/src/index.ts b/packages/eslint-plugin/src/index.ts index 6074a66..34f7e19 100644 --- a/packages/eslint-plugin/src/index.ts +++ b/packages/eslint-plugin/src/index.ts @@ -1,7 +1,5 @@ import type { TSESLint } from "@typescript-eslint/utils" - import { name, version } from "../package.json" - import taskOptionsOrder from "./rules/task-options-order/task-options-order" import { ruleset } from "./ruleset" diff --git a/packages/eslint-plugin/src/rules/task-options-order/task-options-order.test.ts b/packages/eslint-plugin/src/rules/task-options-order/task-options-order.test.ts index a544bc9..d4a38fc 100644 --- a/packages/eslint-plugin/src/rules/task-options-order/task-options-order.test.ts +++ b/packages/eslint-plugin/src/rules/task-options-order/task-options-order.test.ts @@ -1,5 +1,5 @@ -import { ts } from "@/shared/tag" import { RuleTester } from "@typescript-eslint/rule-tester" +import { ts } from "@/shared/tag" import rule from "./task-options-order" const ruleTester = new RuleTester() diff --git a/packages/eslint-plugin/src/rules/task-options-order/task-options-order.ts b/packages/eslint-plugin/src/rules/task-options-order/task-options-order.ts index c55d767..637d3bd 100644 --- a/packages/eslint-plugin/src/rules/task-options-order/task-options-order.ts +++ b/packages/eslint-plugin/src/rules/task-options-order/task-options-order.ts @@ -1,6 +1,6 @@ +import { type TSESTree as Node, AST_NODE_TYPES as NodeType, type TSESLint } from "@typescript-eslint/utils" import { PACKAGE_NAME, UNITS } from "@/shared/constants" import { createRule } from "@/shared/create" -import { type TSESTree as Node, AST_NODE_TYPES as NodeType, type TSESLint } from "@typescript-eslint/utils" const GROUPS = [ { key: "name" }, @@ -46,7 +46,7 @@ export default createRule({ const [config] = node.arguments const hasWeirdProperty = config.properties.some( - (prop) => prop.type === NodeType.SpreadElement || prop.key.type !== NodeType.Identifier + (prop) => prop.type === NodeType.SpreadElement || prop.key.type !== NodeType.Identifier, ) if (hasWeirdProperty) return diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b9ca790..779d4ea 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -25,15 +25,12 @@ importers: knip: specifier: 6.1.0 version: 6.1.0(@emnapi/core@1.8.1)(@emnapi/runtime@1.8.1) + oxfmt: + specifier: 0.42.0 + version: 0.42.0 oxlint: specifier: 1.57.0 version: 1.57.0 - prettier: - specifier: 3.8.1 - version: 3.8.1 - prettier-plugin-organize-imports: - specifier: 4.3.0 - version: 4.3.0(prettier@3.8.1)(typescript@6.0.2) tsdown: specifier: 0.21.7 version: 0.21.7(@arethetypeswrong/core@0.18.2)(@emnapi/core@1.8.1)(@emnapi/runtime@1.8.1)(oxc-resolver@11.19.1(@emnapi/core@1.8.1)(@emnapi/runtime@1.8.1))(publint@0.3.15)(typescript@6.0.2) @@ -1107,6 +1104,128 @@ packages: cpu: [x64] os: [win32] + '@oxfmt/binding-android-arm-eabi@0.42.0': + resolution: {integrity: sha512-dsqPTYsozeokRjlrt/b4E7Pj0z3eS3Eg74TWQuuKbjY4VttBmA88rB7d50Xrd+TZ986qdXCNeZRPEzZHAe+jow==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm] + os: [android] + + '@oxfmt/binding-android-arm64@0.42.0': + resolution: {integrity: sha512-t+aAjHxcr5eOBphFHdg1ouQU9qmZZoRxnX7UOJSaTwSoKsb6TYezNKO0YbWytGXCECObRqNcUxPoPr0KaraAIg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [android] + + '@oxfmt/binding-darwin-arm64@0.42.0': + resolution: {integrity: sha512-ulpSEYMKg61C5bRMZinFHrKJYRoKGVbvMEXA5zM1puX3O9T6Q4XXDbft20yrDijpYWeuG59z3Nabt+npeTsM1A==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [darwin] + + '@oxfmt/binding-darwin-x64@0.42.0': + resolution: {integrity: sha512-ttxLKhQYPdFiM8I/Ri37cvqChE4Xa562nNOsZFcv1CKTVLeEozXjKuYClNvxkXmNlcF55nzM80P+CQkdFBu+uQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [darwin] + + '@oxfmt/binding-freebsd-x64@0.42.0': + resolution: {integrity: sha512-Og7QS3yI3tdIKYZ58SXik0rADxIk2jmd+/YvuHRyKULWpG4V2fR5V4hvKm624Mc0cQET35waPXiCQWvjQEjwYQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [freebsd] + + '@oxfmt/binding-linux-arm-gnueabihf@0.42.0': + resolution: {integrity: sha512-jwLOw/3CW4H6Vxcry4/buQHk7zm9Ne2YsidzTL1kpiMe4qqrRCwev3dkyWe2YkFmP+iZCQ7zku4KwjcLRoh8ew==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm] + os: [linux] + + '@oxfmt/binding-linux-arm-musleabihf@0.42.0': + resolution: {integrity: sha512-XwXu2vkMtiq2h7tfvN+WA/9/5/1IoGAVCFPiiQUvcAuG3efR97KNcRGM8BetmbYouFotQ2bDal3yyjUx6IPsTg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm] + os: [linux] + + '@oxfmt/binding-linux-arm64-gnu@0.42.0': + resolution: {integrity: sha512-ea7s/XUJoT7ENAtUQDudFe3nkSM3e3Qpz4nJFRdzO2wbgXEcjnchKLEsV3+t4ev3r8nWxIYr9NRjPWtnyIFJVA==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@oxfmt/binding-linux-arm64-musl@0.42.0': + resolution: {integrity: sha512-+JA0YMlSdDqmacygGi2REp57c3fN+tzARD8nwsukx9pkCHK+6DkbAA9ojS4lNKsiBjIW8WWa0pBrBWhdZEqfuw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@oxfmt/binding-linux-ppc64-gnu@0.42.0': + resolution: {integrity: sha512-VfnET0j4Y5mdfCzh5gBt0NK28lgn5DKx+8WgSMLYYeSooHhohdbzwAStLki9pNuGy51y4I7IoW8bqwAaCMiJQg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [ppc64] + os: [linux] + libc: [glibc] + + '@oxfmt/binding-linux-riscv64-gnu@0.42.0': + resolution: {integrity: sha512-gVlCbmBkB0fxBWbhBj9rcxezPydsQHf4MFKeHoTSPicOQ+8oGeTQgQ8EeesSybWeiFPVRx3bgdt4IJnH6nOjAA==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [riscv64] + os: [linux] + libc: [glibc] + + '@oxfmt/binding-linux-riscv64-musl@0.42.0': + resolution: {integrity: sha512-zN5OfstL0avgt/IgvRu0zjQzVh/EPkcLzs33E9LMAzpqlLWiPWeMDZyMGFlSRGOdDjuNmlZBCgj0pFnK5u32TQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [riscv64] + os: [linux] + libc: [musl] + + '@oxfmt/binding-linux-s390x-gnu@0.42.0': + resolution: {integrity: sha512-9X6+H2L0qMc2sCAgO9HS03bkGLMKvOFjmEdchaFlany3vNZOjnVui//D8k/xZAtQv2vaCs1reD5KAgPoIU4msA==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [s390x] + os: [linux] + libc: [glibc] + + '@oxfmt/binding-linux-x64-gnu@0.42.0': + resolution: {integrity: sha512-BajxJ6KQvMMdpXGPWhBGyjb2Jvx4uec0w+wi6TJZ6Tv7+MzPwe0pO8g5h1U0jyFgoaF7mDl6yKPW3ykWcbUJRw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@oxfmt/binding-linux-x64-musl@0.42.0': + resolution: {integrity: sha512-0wV284I6vc5f0AqAhgAbHU2935B4bVpncPoe5n/WzVZY/KnHgqxC8iSFGeSyLWEgstFboIcWkOPck7tqbdHkzA==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [linux] + libc: [musl] + + '@oxfmt/binding-openharmony-arm64@0.42.0': + resolution: {integrity: sha512-p4BG6HpGnhfgHk1rzZfyR6zcWkE7iLrWxyehHfXUy4Qa5j3e0roglFOdP/Nj5cJJ58MA3isQ5dlfkW2nNEpolw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [openharmony] + + '@oxfmt/binding-win32-arm64-msvc@0.42.0': + resolution: {integrity: sha512-mn//WV60A+IetORDxYieYGAoQso4KnVRRjORDewMcod4irlRe0OSC7YPhhwaexYNPQz/GCFk+v9iUcZ2W22yxQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [win32] + + '@oxfmt/binding-win32-ia32-msvc@0.42.0': + resolution: {integrity: sha512-3gWltUrvuz4LPJXWivoAxZ28Of2O4N7OGuM5/X3ubPXCEV8hmgECLZzjz7UYvSDUS3grfdccQwmjynm+51EFpw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [ia32] + os: [win32] + + '@oxfmt/binding-win32-x64-msvc@0.42.0': + resolution: {integrity: sha512-Wg4TMAfQRL9J9AZevJ/ZNy3uyyDztDYQtGr4P8UyyzIhLhFrdSmz1J/9JT+rv0fiCDLaFOBQnj3f3K3+a5PzDQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [win32] + '@oxlint/binding-android-arm-eabi@1.57.0': resolution: {integrity: sha512-C7EiyfAJG4B70496eV543nKiq5cH0o/xIh/ufbjQz3SIvHhlDDsyn+mRFh+aW8KskTyUpyH2LGWL8p2oN6bl1A==} engines: {node: ^20.19.0 || >=22.12.0} @@ -2971,6 +3090,11 @@ packages: oxc-resolver@11.19.1: resolution: {integrity: sha512-qE/CIg/spwrTBFt5aKmwe3ifeDdLfA2NESN30E42X/lII5ClF8V7Wt6WIJhcGZjp0/Q+nQ+9vgxGk//xZNX2hg==} + oxfmt@0.42.0: + resolution: {integrity: sha512-QhejGErLSMReNuZ6vxgFHDyGoPbjTRNi6uGHjy0cvIjOQFqD6xmr/T+3L41ixR3NIgzcNiJ6ylQKpvShTgDfqg==} + engines: {node: ^20.19.0 || >=22.12.0} + hasBin: true + oxlint@1.57.0: resolution: {integrity: sha512-DGFsuBX5MFZX9yiDdtKjTrYPq45CZ8Fft6qCltJITYZxfwYjVdGf/6wycGYTACloauwIPxUnYhBVeZbHvleGhw==} engines: {node: ^20.19.0 || >=22.12.0} @@ -3095,26 +3219,11 @@ packages: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} engines: {node: '>= 0.8.0'} - prettier-plugin-organize-imports@4.3.0: - resolution: {integrity: sha512-FxFz0qFhyBsGdIsb697f/EkvHzi5SZOhWAjxcx2dLt+Q532bAlhswcXGYB1yzjZ69kW8UoadFBw7TyNwlq96Iw==} - peerDependencies: - prettier: '>=2.0' - typescript: '>=2.9' - vue-tsc: ^2.1.0 || 3 - peerDependenciesMeta: - vue-tsc: - optional: true - prettier@2.8.8: resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} engines: {node: '>=10.13.0'} hasBin: true - prettier@3.8.1: - resolution: {integrity: sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==} - engines: {node: '>=14'} - hasBin: true - prismjs@1.30.0: resolution: {integrity: sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==} engines: {node: '>=6'} @@ -3467,6 +3576,10 @@ packages: resolution: {integrity: sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==} engines: {node: '>=12.0.0'} + tinypool@2.1.0: + resolution: {integrity: sha512-Pugqs6M0m7Lv1I7FtxN4aoyToKg1C4tu+/381vH35y8oENM/Ai7f7C4StcoK4/+BSw9ebcS8jRiVrORFKCALLw==} + engines: {node: ^20.0.0 || >=22.0.0} + tinyrainbow@3.1.0: resolution: {integrity: sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==} engines: {node: '>=14.0.0'} @@ -5018,6 +5131,63 @@ snapshots: '@oxc-resolver/binding-win32-x64-msvc@11.19.1': optional: true + '@oxfmt/binding-android-arm-eabi@0.42.0': + optional: true + + '@oxfmt/binding-android-arm64@0.42.0': + optional: true + + '@oxfmt/binding-darwin-arm64@0.42.0': + optional: true + + '@oxfmt/binding-darwin-x64@0.42.0': + optional: true + + '@oxfmt/binding-freebsd-x64@0.42.0': + optional: true + + '@oxfmt/binding-linux-arm-gnueabihf@0.42.0': + optional: true + + '@oxfmt/binding-linux-arm-musleabihf@0.42.0': + optional: true + + '@oxfmt/binding-linux-arm64-gnu@0.42.0': + optional: true + + '@oxfmt/binding-linux-arm64-musl@0.42.0': + optional: true + + '@oxfmt/binding-linux-ppc64-gnu@0.42.0': + optional: true + + '@oxfmt/binding-linux-riscv64-gnu@0.42.0': + optional: true + + '@oxfmt/binding-linux-riscv64-musl@0.42.0': + optional: true + + '@oxfmt/binding-linux-s390x-gnu@0.42.0': + optional: true + + '@oxfmt/binding-linux-x64-gnu@0.42.0': + optional: true + + '@oxfmt/binding-linux-x64-musl@0.42.0': + optional: true + + '@oxfmt/binding-openharmony-arm64@0.42.0': + optional: true + + '@oxfmt/binding-win32-arm64-msvc@0.42.0': + optional: true + + '@oxfmt/binding-win32-ia32-msvc@0.42.0': + optional: true + + '@oxfmt/binding-win32-x64-msvc@0.42.0': + optional: true + '@oxlint/binding-android-arm-eabi@1.57.0': optional: true @@ -7310,6 +7480,30 @@ snapshots: - '@emnapi/core' - '@emnapi/runtime' + oxfmt@0.42.0: + dependencies: + tinypool: 2.1.0 + optionalDependencies: + '@oxfmt/binding-android-arm-eabi': 0.42.0 + '@oxfmt/binding-android-arm64': 0.42.0 + '@oxfmt/binding-darwin-arm64': 0.42.0 + '@oxfmt/binding-darwin-x64': 0.42.0 + '@oxfmt/binding-freebsd-x64': 0.42.0 + '@oxfmt/binding-linux-arm-gnueabihf': 0.42.0 + '@oxfmt/binding-linux-arm-musleabihf': 0.42.0 + '@oxfmt/binding-linux-arm64-gnu': 0.42.0 + '@oxfmt/binding-linux-arm64-musl': 0.42.0 + '@oxfmt/binding-linux-ppc64-gnu': 0.42.0 + '@oxfmt/binding-linux-riscv64-gnu': 0.42.0 + '@oxfmt/binding-linux-riscv64-musl': 0.42.0 + '@oxfmt/binding-linux-s390x-gnu': 0.42.0 + '@oxfmt/binding-linux-x64-gnu': 0.42.0 + '@oxfmt/binding-linux-x64-musl': 0.42.0 + '@oxfmt/binding-openharmony-arm64': 0.42.0 + '@oxfmt/binding-win32-arm64-msvc': 0.42.0 + '@oxfmt/binding-win32-ia32-msvc': 0.42.0 + '@oxfmt/binding-win32-x64-msvc': 0.42.0 + oxlint@1.57.0: optionalDependencies: '@oxlint/binding-android-arm-eabi': 1.57.0 @@ -7445,15 +7639,8 @@ snapshots: prelude-ls@1.2.1: {} - prettier-plugin-organize-imports@4.3.0(prettier@3.8.1)(typescript@6.0.2): - dependencies: - prettier: 3.8.1 - typescript: 6.0.2 - prettier@2.8.8: {} - prettier@3.8.1: {} - prismjs@1.30.0: {} property-information@7.1.0: {} @@ -7955,6 +8142,8 @@ snapshots: fdir: 6.5.0(picomatch@4.0.4) picomatch: 4.0.4 + tinypool@2.1.0: {} + tinyrainbow@3.1.0: {} to-regex-range@5.0.1: