Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:

- run: pnpm i

- name: Lint
run: pnpm lint

- name: Typecheck
run: pnpm typecheck

Expand Down
4 changes: 0 additions & 4 deletions .oxfmtrc.json

This file was deleted.

6 changes: 0 additions & 6 deletions .oxlintrc.json

This file was deleted.

8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@

### 💅 Refactors

- ⚠️ Replace registry factories with classes ([#59](https://github.com/agntn/registries/pull/59))
- ⚠️ Replace registry factories with classes ([#59](https://github.com/agntn/registries/pull/59))

### 🏡 Chore

- ⚠️ Rebrand as @agntn/registries ([#60](https://github.com/agntn/registries/pull/60))
- ⚠️ Rebrand as @agntn/registries ([#60](https://github.com/agntn/registries/pull/60))
- Update packagerManager version ([8719073](https://github.com/agntn/registries/commit/8719073))
- Update version ([43b02af](https://github.com/agntn/registries/commit/43b02af))

Expand All @@ -30,8 +30,8 @@

#### ⚠️ Breaking Changes

- ⚠️ Replace registry factories with classes ([#59](https://github.com/agntn/registries/pull/59))
- ⚠️ Rebrand as @agntn/registries ([#60](https://github.com/agntn/registries/pull/60))
- ⚠️ Replace registry factories with classes ([#59](https://github.com/agntn/registries/pull/59))
- ⚠️ Rebrand as @agntn/registries ([#60](https://github.com/agntn/registries/pull/60))

### ❤️ Contributors

Expand Down
7 changes: 7 additions & 0 deletions oxfmt.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import oxfmt from "@agntn/ox/oxfmt";
import { defineConfig } from "oxfmt";

export default defineConfig({
...oxfmt,
ignorePatterns: ["dist"],
});
49 changes: 49 additions & 0 deletions oxlint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import oxlint from "@agntn/ox/oxlint";
import { defineConfig } from "oxlint";

export default defineConfig({
...oxlint,
rules: {
...oxlint.rules,
"typescript/prefer-readonly-parameter-types": [
"error",
{
allow: [
{ from: "file", name: "ToolResult" },
{
from: "package",
name: "ExtensionAPI",
package: "@earendil-works/pi-coding-agent",
},
{
from: "package",
name: ["ExtensionAPI", "ToolDefinition"],
package: "@oh-my-pi/pi-coding-agent",
},
{ from: "lib", name: ["AbortSignal", "ErrorOptions"] },
{ from: "file", name: "Client", path: "./src/core/client.ts" },
{
from: "file",
name: [
"ClientOptions",
"CreateCachedOptions",
"Dependency",
"Lockfile",
"LockfileEntry",
"Maintainer",
"Package",
"ParsedPURL",
"RateLimiter",
"Registry",
"URLBuilder",
"Version",
],
},
{ from: "package", name: "Storage", package: "unstorage" },
],
ignoreInferredTypes: true,
},
],
},
ignorePatterns: ["dist"],
});
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"dev:prepare": "obuild --stub",
"fmt": "oxlint . --fix && oxfmt .",
"lint": "oxlint . && oxfmt --check .",
"typecheck": "tsc --noEmit",
"typecheck": "tsc --noEmit && tsc -p test/tsconfig.json --noEmit",
"test": "vitest",
"test:run": "vitest run",
"prepack": "pnpm run build",
Expand All @@ -75,12 +75,14 @@
"unstorage": "^1.17.4"
},
"devDependencies": {
"@agntn/ox": "^0.1.0",
"@types/node": "^25.3.0",
"ai": "^6.0.116",
"changelogen": "^0.6.2",
"obuild": "^0.4.31",
"oxfmt": "^0.36.0",
"oxlint": "^1.51.0",
"oxfmt": "^0.65.0",
"oxlint": "^1.80.0",
"oxlint-tsgolint": "^7.0.2001",
"typescript": "^5.8.3",
"vitest": "^4.0.0",
"zod": "^4.3.6"
Expand Down
Loading
Loading