Skip to content

Commit

Permalink
use ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Jul 1, 2024
1 parent 97a2aba commit 315ca21
Show file tree
Hide file tree
Showing 7 changed files with 92 additions and 105 deletions.
9 changes: 2 additions & 7 deletions .c8rc
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"exclude": [
"build/test"
],
"reporter": [
"html",
"text"
]
"exclude": ["build/test"],
"reporter": ["html", "text"]
}
10 changes: 5 additions & 5 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"check-leaks": true,
"timeout": 2000,
"throw-deprecation": true,
"enable-source-maps": true,
"exit": true
"check-leaks": true,
"timeout": 2000,
"throw-deprecation": true,
"enable-source-maps": true,
"exit": true
}
4 changes: 2 additions & 2 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"assets": "build/binaries/*",
"branches": ["main"]
"assets": "build/binaries/*",
"branches": ["main"]
}
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"files": {
"include": ["src/**/*.ts", "samples/*.js", "test/**/*.ts"]
"ignore": ["./build", "./test/fixtures", "./node_modules", "./coverage"]
},
"organizeImports": {
"enabled": true
Expand Down
138 changes: 68 additions & 70 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,72 +1,70 @@
{
"name": "linkinator",
"description": "Find broken links, missing images, etc in your HTML. Scurry around your site and find all those broken links.",
"version": "0.0.0",
"license": "MIT",
"repository": "JustinBeckwith/linkinator",
"author": "Justin Beckwith",
"exports": "./build/src/index.js",
"types": "./build/src/index.d.ts",
"type": "module",
"bin": {
"linkinator": "./build/src/cli.js"
},
"scripts": {
"pretest": "npm run compile",
"prepare": "npm run compile",
"coverage": "c8 report --reporter=json",
"compile": "tsc -p .",
"test": "c8 mocha build/test",
"fix": "biome check --write .",
"lint": "biome check .",
"build-binaries": "pkg . --out-path build/binaries",
"docs-test": "node build/src/cli.js ./README.md"
},
"dependencies": {
"chalk": "^5.0.0",
"escape-html": "^1.0.3",
"gaxios": "^6.0.0",
"glob": "^10.3.10",
"htmlparser2": "^9.0.0",
"marked": "^13.0.0",
"meow": "^13.0.0",
"mime": "^4.0.0",
"server-destroy": "^1.0.1",
"srcset": "^5.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@types/escape-html": "^1.0.1",
"@types/mocha": "^10.0.0",
"@types/node": "^20.0.0",
"@types/server-destroy": "^1.0.1",
"@types/sinon": "^17.0.0",
"c8": "^10.0.0",
"execa": "^9.0.0",
"mocha": "^10.0.0",
"nock": "^13.2.1",
"pkg": "^5.4.1",
"semantic-release": "^24.0.0",
"sinon": "^18.0.0",
"strip-ansi": "^7.0.1",
"typescript": "^5.5.2"
},
"engines": {
"node": ">=18"
},
"files": [
"build/src"
],
"keywords": [
"404",
"html",
"hyperlink",
"links",
"seo",
"url",
"broken link checker",
"broken",
"link",
"checker"
]
"name": "linkinator",
"description": "Find broken links, missing images, etc in your HTML. Scurry around your site and find all those broken links.",
"version": "0.0.0",
"license": "MIT",
"repository": "JustinBeckwith/linkinator",
"author": "Justin Beckwith",
"exports": "./build/src/index.js",
"types": "./build/src/index.d.ts",
"type": "module",
"bin": {
"linkinator": "./build/src/cli.js"
},
"scripts": {
"pretest": "npm run compile",
"prepare": "npm run compile",
"coverage": "c8 report --reporter=json",
"compile": "tsc -p .",
"test": "c8 mocha build/test",
"fix": "biome check --write .",
"lint": "biome check .",
"build-binaries": "pkg . --out-path build/binaries",
"docs-test": "node build/src/cli.js ./README.md"
},
"dependencies": {
"chalk": "^5.0.0",
"escape-html": "^1.0.3",
"gaxios": "^6.0.0",
"glob": "^10.3.10",
"htmlparser2": "^9.0.0",
"marked": "^13.0.0",
"meow": "^13.0.0",
"mime": "^4.0.0",
"server-destroy": "^1.0.1",
"srcset": "^5.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@types/escape-html": "^1.0.1",
"@types/mocha": "^10.0.0",
"@types/node": "^20.0.0",
"@types/server-destroy": "^1.0.1",
"@types/sinon": "^17.0.0",
"c8": "^10.0.0",
"execa": "^9.0.0",
"mocha": "^10.0.0",
"nock": "^13.2.1",
"pkg": "^5.4.1",
"semantic-release": "^24.0.0",
"sinon": "^18.0.0",
"strip-ansi": "^7.0.1",
"typescript": "^5.5.2"
},
"engines": {
"node": ">=18"
},
"files": ["build/src"],
"keywords": [
"404",
"html",
"hyperlink",
"links",
"seo",
"url",
"broken link checker",
"broken",
"link",
"checker"
]
}
9 changes: 3 additions & 6 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"extends": [
"config:base",
":disableDependencyDashboard"
],
"pinVersions": false,
"rebaseStalePrs": true
"extends": ["config:base", ":disableDependencyDashboard"],
"pinVersions": false,
"rebaseStalePrs": true
}
25 changes: 11 additions & 14 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
{
"compilerOptions": {
"strict": true,
"target": "ES2022",
"declaration": true,
"rootDir": ".",
"outDir": "build",
"module": "Node16",
"moduleResolution": "Node16",
"allowSyntheticDefaultImports": true
},
"include": [
"src/*.ts",
"test/*.ts"
]
"compilerOptions": {
"strict": true,
"target": "ES2022",
"declaration": true,
"rootDir": ".",
"outDir": "build",
"module": "Node16",
"moduleResolution": "Node16",
"allowSyntheticDefaultImports": true
},
"include": ["src/*.ts", "test/*.ts"]
}

0 comments on commit 315ca21

Please sign in to comment.