Files
AFFiNE-Mirror/tools/cli/package.json
T
DarkSky 0c7b20dc18 chore: migrate oxlint & oxfmt (#15464)
#### PR Dependency Tree


* **PR #15464** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
* Replaced the project’s formatting and linting workflow with Oxfmt and
Oxlint.
* Added shared formatting and linting configuration, editor integration,
and updated automated checks.
* Updated generated files, scripts, and lint guidance to use the new
tooling.

* **Style**
* Reformatted templates, source code, examples, and configuration files
for consistent readability.
  * No user-facing functionality or rendering behavior changed.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-08-10 23:51:28 +08:00

53 lines
1.3 KiB
JSON

{
"name": "@affine-tools/cli",
"version": "0.27.0",
"type": "module",
"private": true,
"bin": {
"affine": "./bin/cli.js",
"r": "./bin/runner.js"
},
"exports": {
"./loader": "./loader.js",
"./bundle": "./src/bundle.ts"
},
"scripts": {
"affine": "r ./src/affine.ts"
},
"dependencies": {
"@affine-tools/utils": "workspace:*",
"@affine/s3-compat": "workspace:*",
"@napi-rs/simple-git": "^1.0.0",
"@rspack/core": "^2.0.8",
"@rspack/dev-server": "^2.1.0",
"@sentry/webpack-plugin": "^5.3.0",
"@swc/core": "^1.10.1",
"@tailwindcss/postcss": "^4.3.0",
"@vanilla-extract/webpack-plugin": "^2.3.15",
"autoprefixer": "^10.4.20",
"clipanion": "^3.2.1",
"css-loader": "^7.1.4",
"cssnano": "^7.0.6",
"inquirer": "^12.3.0",
"jsonc-parser": "^3.3.1",
"lodash-es": "^4.17.23",
"mime-types": "^3.0.0",
"oxfmt": "0.63.0",
"postcss": "^8.5.18",
"postcss-loader": "^8.2.1",
"postcss-selector-parser": "^7.1.0",
"source-map-loader": "^5.0.0",
"style-loader": "^4.0.0",
"swc-loader": "^0.2.6",
"tailwindcss": "^4.1.17",
"tsx": "^4.21.0",
"typanion": "^3.14.0",
"typescript": "^5.9.3"
},
"devDependencies": {
"@types/lodash-es": "^4.17.12",
"@types/mime-types": "^3.0.0",
"@types/node": "^22.0.0"
}
}