-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
1,400 additions
and
760 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import type { Linter } from 'eslint' | ||
|
||
import eslintConfig from '@azat-io/eslint-config' | ||
|
||
export default eslintConfig({ | ||
perfectionist: true, | ||
typescript: true, | ||
svelte: true, | ||
node: true, | ||
}) satisfies Promise<Linter.Config[]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
{ | ||
"name": "todoctor", | ||
"description": "CLI tool to analyze and report TODO comments in JavaScript and TypeScript Git repositories", | ||
"type": "module", | ||
"version": "1.3.1", | ||
"repository": "azat-io/todoctor", | ||
"author": "Azat S. <[email protected]>", | ||
"license": "MIT", | ||
"description": "CLI tool to analyze and report TODO comments in JavaScript and TypeScript Git repositories", | ||
"keywords": [ | ||
"analysis", | ||
"fixme", | ||
|
@@ -16,63 +12,48 @@ | |
"todo", | ||
"visualization" | ||
], | ||
"repository": "azat-io/todoctor", | ||
"license": "MIT", | ||
"author": "Azat S. <[email protected]>", | ||
"type": "module", | ||
"bin": { | ||
"todoctor": "./bin/todoctor.js" | ||
}, | ||
"files": [ | ||
"./bin", | ||
"./build", | ||
"./dist" | ||
], | ||
"scripts": { | ||
"start": "pnpm run /^start:/", | ||
"start:preview": "vite", | ||
"build": "pnpm run /^build:/", | ||
"build:lib": "cargo build --release && node \"./scripts/create-packages.js\" && node \"./scripts/build.js\"", | ||
"build:preview": "vite build", | ||
"ci:changelog": "changelogithub", | ||
"ci:clear": "clear-package-json package.json --output package.json", | ||
"docs:build": "DOCS=true vite build", | ||
"release": "pnpm release:check && pnpm release:version && pnpm release:git", | ||
"release:check": "pnpm test && pnpm run build", | ||
"release:git": "pnpm release:git:add && pnpm release:git:commit && pnpm release:git:tag && pnpm release:git:push", | ||
"release:git:add": "git add .", | ||
"release:git:commit": "git commit -m \"build: publish v$(node -p \"require('./package.json').version\")\"", | ||
"release:git:tag": "git tag v$(node -p \"require('./package.json').version\")", | ||
"release:git:push": "git push --follow-tags && git push origin v$(node -p \"require('./package.json').version\")", | ||
"release:git:tag": "git tag v$(node -p \"require('./package.json').version\")", | ||
"release:version": "changelogen --output changelog.md --release --no-commit --no-tag", | ||
"ci:changelog": "changelogithub", | ||
"ci:clear": "clear-package-json package.json --output package.json", | ||
"start": "pnpm run /^start:/", | ||
"start:preview": "vite", | ||
"test": "pnpm run /^test:/", | ||
"test:css": "stylelint **/*.{svelte,css}", | ||
"test:format": "pnpm run /^test:format:/", | ||
"test:format:js": "prettier --check \"**/*.{svelte,js,ts,css,json,md,yml}\"", | ||
"test:format:rust": "cargo fmt -- --check", | ||
"test:css": "stylelint **/*.{svelte,css}", | ||
"test:js": "eslint \"**/*.{svelte,js,ts}\"", | ||
"test:js": "eslint --flag unstable_ts_config .", | ||
"test:spelling": "cspell \"**/*\"", | ||
"test:svelte": "svelte-check", | ||
"test:types": "tsc --noEmit --pretty", | ||
"test:unit": "cargo test" | ||
}, | ||
"os": [ | ||
"darwin", | ||
"linux", | ||
"win32" | ||
], | ||
"cpu": [ | ||
"x64", | ||
"arm64" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"files": [ | ||
"./bin", | ||
"./build", | ||
"./dist" | ||
], | ||
"optionalDependencies": { | ||
"@todoctor/darwin-arm64": "workspace:^", | ||
"@todoctor/darwin-x64": "workspace:^", | ||
"@todoctor/linux-arm64": "workspace:^", | ||
"@todoctor/linux-x64": "workspace:^", | ||
"@todoctor/win32-x64": "workspace:^" | ||
}, | ||
"devDependencies": { | ||
"@azat-io/eslint-config-typescript": "^1.10.0", | ||
"@azat-io/eslint-config": "^2.2.0", | ||
"@azat-io/stylelint-config": "^0.1.1", | ||
"@commitlint/cli": "^19.5.0", | ||
"@commitlint/config-conventional": "^19.5.0", | ||
|
@@ -84,27 +65,14 @@ | |
"@tanstack/table-core": "9.0.0-alpha.10", | ||
"@types/html-minifier-terser": "^7.0.2", | ||
"@types/node": "^22.8.7", | ||
"@typescript-eslint/eslint-plugin": "^8.13.0", | ||
"@typescript-eslint/parser": "^8.13.0", | ||
"browserslist": "^4.24.2", | ||
"changelogen": "^0.5.7", | ||
"changelogithub": "^0.13.11", | ||
"chart.js": "^4.4.6", | ||
"clean-publish": "^5.1.0", | ||
"cspell": "^8.15.7", | ||
"date-fns": "^4.1.0", | ||
"eslint": "^9.14.0", | ||
"eslint-plugin-import": "^2.31.0", | ||
"eslint-plugin-n": "^17.12.0", | ||
"eslint-plugin-node-import": "^1.0.4", | ||
"eslint-plugin-perfectionist": "^3.9.1", | ||
"eslint-plugin-prefer-arrow": "^1.2.3", | ||
"eslint-plugin-prefer-let": "^4.0.0", | ||
"eslint-plugin-promise": "^7.1.0", | ||
"eslint-plugin-sonarjs": "^2.0.4", | ||
"eslint-plugin-svelte": "^2.46.0", | ||
"eslint-plugin-unicorn": "^56.0.0", | ||
"eslint-plugin-vitest": "^0.5.4", | ||
"eslint": "^9.15.0", | ||
"html-minifier-terser": "^7.2.0", | ||
"lightningcss": "^1.28.1", | ||
"postcss-html": "^1.7.0", | ||
|
@@ -119,11 +87,29 @@ | |
"svelte": "5.1.9", | ||
"svelte-chartjs": "^3.1.5", | ||
"svelte-check": "^4.0.5", | ||
"svelte-eslint-parser": "^0.43.0", | ||
"svelte-preprocess": "^6.0.3", | ||
"typescript": "^5.6.3", | ||
"vite": "^5.4.10", | ||
"vite-plugin-mock-dev-server": "^1.8.0", | ||
"vite-plugin-singlefile": "^2.0.3" | ||
}, | ||
"optionalDependencies": { | ||
"@todoctor/darwin-arm64": "workspace:^", | ||
"@todoctor/darwin-x64": "workspace:^", | ||
"@todoctor/linux-arm64": "workspace:^", | ||
"@todoctor/linux-x64": "workspace:^", | ||
"@todoctor/win32-x64": "workspace:^" | ||
}, | ||
"os": [ | ||
"darwin", | ||
"linux", | ||
"win32" | ||
], | ||
"cpu": [ | ||
"x64", | ||
"arm64" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
Oops, something went wrong.