-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* perf: replace enum endpoints with consts * refactor: replace params enums with types * refactor: replace enums with types * fix: simplify types * feat: add random client * fix: remove banner from build output * style: update biome config * perf: remove type boilerplate * feat: add random to jikan client * perf: remove unnecesary type assertion * feat: add some missing anime and manga endpoints * perf: remove boilerplate * perf: rename identifiers to pathParams * test: update tests * docs: update README.md * feat: add getTopCharacters to topClient * fix: character model * chore: add bun.lockb to npmignore * chore: bump to v2.0.0
- Loading branch information
Showing
77 changed files
with
1,643 additions
and
3,718 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -18,3 +18,4 @@ biome.json | |
.githooks | ||
tsup.config.ts | ||
vitest.config.ts | ||
bun.lockb |
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
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
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,28 +1,30 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.0.0/schema.json", | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true | ||
}, | ||
"ignore": ["lib"] | ||
}, | ||
"formatter": { | ||
"enabled": true, | ||
"formatWithErrors": true, | ||
"indentStyle": "space", | ||
"indentWidth": 2, | ||
"lineWidth": 80, | ||
"lineEnding": "crlf" | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"quoteStyle": "single", | ||
"bracketSameLine": true, | ||
"bracketSpacing": true | ||
} | ||
} | ||
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json", | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true | ||
}, | ||
"ignore": ["lib"] | ||
}, | ||
"formatter": { | ||
"enabled": true, | ||
"formatWithErrors": true, | ||
"indentStyle": "tab", | ||
"indentWidth": 2, | ||
"lineWidth": 80, | ||
"lineEnding": "crlf" | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"quoteStyle": "single", | ||
"semicolons": "asNeeded", | ||
"bracketSpacing": true, | ||
"trailingComma": "none", | ||
"arrowParentheses": "asNeeded" | ||
} | ||
} | ||
} |
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,60 +1,55 @@ | ||
{ | ||
"name": "@tutkli/jikan-ts", | ||
"version": "1.2.2", | ||
"description": "Node.js wrapper for the Jikan API with built-in typings.", | ||
"source": "src/index.ts", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"type": "module", | ||
"scripts": { | ||
"prepare": "git config core.hookspath .githooks", | ||
"build": "tsup --config tsup.config.ts", | ||
"prepublishOnly": "yarn run build", | ||
"test:ci": "vitest --silent --run", | ||
"test:coverage": "vitest run --coverage", | ||
"test:dev": "vitest", | ||
"test:ui": "vitest --ui --coverage", | ||
"version": "auto-changelog -p -l false && git add CHANGELOG.md", | ||
"format": "biome format ./src", | ||
"format:fix": "biome format --write ./src", | ||
"lint": "biome check src", | ||
"lint:ci": "biome ci src", | ||
"lint:fix": "biome check --apply-unsafe ./src" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/tutkli/jikan-ts.git" | ||
}, | ||
"keywords": [ | ||
"jikan", | ||
"jikan-api", | ||
"jikanAPI", | ||
"MyAnimeList" | ||
], | ||
"author": { | ||
"name": "Clara Castillo", | ||
"url": "https://github.com/tutkli" | ||
}, | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/tutkli/jikan-ts/issues" | ||
}, | ||
"homepage": "https://github.com/tutkli/jikan-ts#readme", | ||
"peerDependencies": { | ||
"axios": "^1.6.7", | ||
"axios-cache-interceptor": "^1.5.1" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "1.5.3", | ||
"@types/node": "20.11.16", | ||
"@vitest/coverage-v8": "^1.2.2", | ||
"@vitest/ui": "^1.2.2", | ||
"auto-changelog": "^2.4.0", | ||
"axios": "^1.6.7", | ||
"axios-cache-interceptor": "^1.5.1", | ||
"lint-staged": "^15.2.2", | ||
"tsup": "^8.0.1", | ||
"typescript": "5.3.3", | ||
"vitest": "^1.2.2" | ||
} | ||
"name": "@tutkli/jikan-ts", | ||
"version": "2.0.0", | ||
"description": "Node.js wrapper for the Jikan API with built-in typings.", | ||
"source": "src/index.ts", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"type": "module", | ||
"scripts": { | ||
"prepare": "git config core.hookspath .githooks", | ||
"build": "tsup --config tsup.config.ts", | ||
"prepublishOnly": "yarn run build", | ||
"test:ci": "vitest --silent --run", | ||
"test:coverage": "vitest run --coverage", | ||
"test:dev": "vitest", | ||
"test:ui": "vitest --ui --coverage", | ||
"version": "auto-changelog -p -l false && git add CHANGELOG.md", | ||
"format": "biome format ./src", | ||
"format:fix": "biome format --write ./src", | ||
"lint": "biome check src", | ||
"lint:ci": "biome ci src", | ||
"lint:fix": "biome check --apply-unsafe ./src" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/tutkli/jikan-ts.git" | ||
}, | ||
"keywords": ["jikan", "jikan-api", "jikanAPI", "MyAnimeList"], | ||
"author": { | ||
"name": "Clara Castillo", | ||
"url": "https://github.com/tutkli" | ||
}, | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/tutkli/jikan-ts/issues" | ||
}, | ||
"homepage": "https://github.com/tutkli/jikan-ts#readme", | ||
"peerDependencies": { | ||
"axios": "^1.6.8", | ||
"axios-cache-interceptor": "^1.5.2" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "1.7.3", | ||
"@types/node": "20.12.10", | ||
"@vitest/coverage-v8": "^1.6.0", | ||
"@vitest/ui": "^1.6.0", | ||
"auto-changelog": "^2.4.0", | ||
"axios": "^1.6.8", | ||
"axios-cache-interceptor": "^1.5.2", | ||
"lint-staged": "^15.2.2", | ||
"tsup": "^8.0.2", | ||
"typescript": "5.4.5", | ||
"vitest": "^1.6.0" | ||
} | ||
} |
Oops, something went wrong.