Compare commits
2 commits
dc614268df
...
9b8f184ff1
Author | SHA1 | Date | |
---|---|---|---|
9b8f184ff1 | |||
f5813826e4 |
3 changed files with 5 additions and 8 deletions
|
@ -1,7 +1,4 @@
|
||||||
import config from "eslint-config-standard";
|
import config from "eslint-config-standard";
|
||||||
|
|
||||||
|
|
||||||
/** @type {import('eslint').Linter.Config[]} */
|
/** @type {import('eslint').Linter.Config[]} */
|
||||||
export default [
|
export default [...[].concat(config)];
|
||||||
...[].concat(config),
|
|
||||||
];
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"docs": "typedoc --options typedoc.json",
|
"docs": "typedoc --options typedoc.json",
|
||||||
"format": "prettier --write '**/*.{ts,json,md}'"
|
"format": "bun prettier --write '**/*.{ts,json,md}'"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@getmeli/cli": "1.2.0",
|
"@getmeli/cli": "1.2.0",
|
||||||
|
|
|
@ -9,7 +9,7 @@ export class UrlProvider {
|
||||||
* Creates a new UrlProvider instance.
|
* Creates a new UrlProvider instance.
|
||||||
* @param hash - A hash string used for identifying or verifying the resource.
|
* @param hash - A hash string used for identifying or verifying the resource.
|
||||||
* @param hashFormat - The format of the provided hash.
|
* @param hashFormat - The format of the provided hash.
|
||||||
* @param url - A Resource instance representing the URL.
|
* @param url - A Resource instance representing the URL where the file can be downloaded from.
|
||||||
*/
|
*/
|
||||||
constructor(
|
constructor(
|
||||||
public hash: string,
|
public hash: string,
|
||||||
|
@ -27,7 +27,7 @@ export class ModrinthProvider extends UrlProvider {
|
||||||
* Creates a new ModrinthProvider instance.
|
* Creates a new ModrinthProvider instance.
|
||||||
* @param hash - A hash string used for identification or verification.
|
* @param hash - A hash string used for identification or verification.
|
||||||
* @param hashFormat - The format of the provided hash.
|
* @param hashFormat - The format of the provided hash.
|
||||||
* @param url - A Resource instance representing the URL.
|
* @param url - A Resource instance representing the URL where the file can be downloaded from.
|
||||||
* @param modId - The identifier for the Modrinth mod.
|
* @param modId - The identifier for the Modrinth mod.
|
||||||
* @param versionId - The version identifier for the mod.
|
* @param versionId - The version identifier for the mod.
|
||||||
*/
|
*/
|
||||||
|
@ -51,7 +51,7 @@ export class GitHubProvider extends UrlProvider {
|
||||||
* Creates a new GitHubProvider instance.
|
* Creates a new GitHubProvider instance.
|
||||||
* @param hash - A hash string used for identification or verification.
|
* @param hash - A hash string used for identification or verification.
|
||||||
* @param hashFormat - The format of the hash.
|
* @param hashFormat - The format of the hash.
|
||||||
* @param url - A Resource instance representing the URL.
|
* @param url - A Resource instance representing the URL where the file can be downloaded from.
|
||||||
* @param branch - The branch name within the GitHub repository.
|
* @param branch - The branch name within the GitHub repository.
|
||||||
* @param regex - A regular expression for matching specific patterns in the GitHub URL.
|
* @param regex - A regular expression for matching specific patterns in the GitHub URL.
|
||||||
* @param slug - A URL slug used for identifying the repository.
|
* @param slug - A URL slug used for identifying the repository.
|
||||||
|
|
Loading…
Add table
Reference in a new issue