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
2 changes: 1 addition & 1 deletion .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
"*": "prettier --write --ignore-unknown",
"*.js,*.ts": "eslint --fix"
"*.{js,ts,mjs,mts,cjs,cts}": "oxlint --fix"
};
19 changes: 19 additions & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
"plugins": ["typescript"],
"env": {
"es2022": true,
"node": true
},
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-explicit-any": "error"
},
"ignorePatterns": [
"dist/",
"node_modules/",
"docs/.vitepress/cache/",
"pnpm-lock.yaml"
]
}
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dist
.knowledge/docsets
.claude
3 changes: 3 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default {
extends: ["@commitlint/config-conventional"]
};
57 changes: 30 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"engines": {
"node": ">=22",
"pnpm": ">=9.0.0"
"pnpm": ">=10.0.0"
},
"type": "module",
"bin": {
Expand All @@ -27,54 +27,57 @@
},
"scripts": {
"build": "turbo run build",
"build:clean": "turbo run clean:build",
"clean": "turbo run clean:build",
"dev": "turbo run dev",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"test": "turbo run --parallel test",
"test:watch": "turbo run --parallel test:watch",
"test": "vitest --run",
"test:watch": "vitest",
"lint:all": "turbo run --parallel lint",
"lint:fix:all": "turbo run --parallel lint:fix",
"format:check:all": "turbo run --parallel format",
"format:all": "turbo run --parallel format:fix",
"typecheck:all": "turbo run --parallel typecheck",
"lint": "eslint",
"lint:fix": "eslint --fix",
"lint": "oxlint .",
"lint:fix": "oxlint --fix .",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"knip": "knip",
"changeset": "changeset",
"version": "changeset version",
"release": "pnpm build && changeset publish",
"prepare": "husky"
},
"devDependencies": {
"@braintree/sanitize-url": "7.1.1",
"@eslint/js": "9.18.0",
"@swc/core": "^1.10.9",
"@tsconfig/node22": "22.0.0",
"@tsconfig/strictest": "2.0.5",
"@types/eslint-config-prettier": "6.11.3",
"@types/node": "^22.10.7",
"@typescript-eslint/eslint-plugin": "^8.21.0",
"@typescript-eslint/parser": "^8.21.0",
"@vitest/coverage-v8": "^3.0.3",
"@changesets/cli": "^2.30.0",
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@tsconfig/node22": "catalog:",
"@turbo/gen": "^2.8.17",
"@types/node": "catalog:",
"@vitest/coverage-v8": "catalog:",
"cytoscape": "3.31.0",
"cytoscape-cose-bilkent": "4.1.0",
"dayjs": "1.11.13",
"debug": "4.4.0",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"husky": "^9.1.7",
"lint-staged": "^15.4.1",
"nodemon": "^3.1.9",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"turbo": "^2.3.3",
"typescript": "^5.7.3",
"typescript-eslint": "8.21.0",
"knip": "^5.86.0",
"lint-staged": "^16.0.0",
"oxlint": "catalog:",
"prettier": "catalog:",
"turbo": "^2.8.17",
"typescript": "catalog:",
"vitepress": "1.6.2",
"vitepress-plugin-mermaid": "2.0.17",
"vitest": "^3.0.3"
"vitest": "catalog:"
},
"packageManager": "pnpm@10.32.1",
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
]
},
"packageManager": "pnpm@9.14.2",
"dependencies": {
"yaml": "^2.8.2"
}
Expand Down
40 changes: 0 additions & 40 deletions packages/cli/eslint.config.mjs

This file was deleted.

7 changes: 0 additions & 7 deletions packages/cli/nodemon.json

This file was deleted.

26 changes: 14 additions & 12 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,23 @@
"bin": {
"ade": "dist/index.js"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"build": "tsup",
"clean:build": "rimraf ./dist",
"dev": "nodemon",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"dev": "tsup --watch",
"lint": "oxlint .",
"lint:fix": "oxlint --fix .",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"test": "vitest --run",
"test:watch": "vitest",
"typecheck": "tsc"
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@codemcp/ade-core": "workspace:*",
Expand All @@ -28,13 +31,12 @@
},
"devDependencies": {
"@codemcp/knowledge": "2.1.0",
"@typescript-eslint/eslint-plugin": "^8.21.0",
"@typescript-eslint/parser": "^8.21.0",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"typescript": "^5.7.3"
"oxlint": "catalog:",
"prettier": "catalog:",
"rimraf": "catalog:",
"tsup": "catalog:",
"typescript": "catalog:",
"vitest": "catalog:"
},
"version": "0.2.0"
}
10 changes: 10 additions & 0 deletions packages/cli/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { defineConfig } from "tsup";

export default defineConfig({
entry: ["src/index.ts"],
format: ["esm"],
dts: true,
tsconfig: "tsconfig.build.json",
target: "node22",
clean: true
});
40 changes: 0 additions & 40 deletions packages/core/eslint.config.mjs

This file was deleted.

7 changes: 0 additions & 7 deletions packages/core/nodemon.json

This file was deleted.

34 changes: 21 additions & 13 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,40 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"clean:build": "rimraf ./dist",
"dev": "nodemon",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"dev": "tsx watch src/index.ts",
"lint": "oxlint .",
"lint:fix": "oxlint --fix .",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"test": "vitest --run",
"test:watch": "vitest",
"typecheck": "tsc"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^8.21.0",
"@typescript-eslint/parser": "^8.21.0",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"typescript": "^5.7.3"
"typecheck": "tsc --noEmit"
},
"dependencies": {
"yaml": "^2.8.2"
},
"devDependencies": {
"oxlint": "catalog:",
"prettier": "catalog:",
"rimraf": "catalog:",
"tsx": "catalog:",
"typescript": "catalog:",
"vitest": "catalog:"
},
"version": "0.2.0"
}
40 changes: 0 additions & 40 deletions packages/harnesses/eslint.config.mjs

This file was deleted.

Loading