Skip to content

Commit b13a7af

Browse files
committed
fix: update eslint-plugin-yaml
1 parent 4a8efd7 commit b13a7af

File tree

6 files changed

+23
-10
lines changed

6 files changed

+23
-10
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"lint": "eslint ./ --ignore dist --fix",
2323
"prepare": "pnpm run build",
2424
"prepublishOnly": "pnpm run clean && pnpm run build",
25-
"test": "tsx ./spec/test.mts",
25+
"test": "tsx --tsconfig ./spec/tsconfig.json ./spec/test.mts",
2626
"test.format": "prettier . --check",
2727
"test.lint": "eslint . --ignore-pattern spec/fixtures/**"
2828
},
@@ -45,7 +45,7 @@
4545
"eslint-plugin-optimize-regex": "github:aminya/eslint-plugin-optimize-regex#16f9506ed2",
4646
"eslint-plugin-react": "^7.37.4",
4747
"eslint-plugin-solid": "^0.14.5",
48-
"eslint-plugin-yaml": "^1.0.3",
48+
"eslint-plugin-yaml": "^1.1.1",
4949
"globals": "^16.0.0",
5050
"globify-gitignore": "^1.0.3",
5151
"make-synchronous": "^0.1.1",

pnpm-lock.yaml

Lines changed: 15 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec/gitly.cts

Lines changed: 0 additions & 1 deletion
This file was deleted.

spec/gitly.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { download, extract } from "gitly"
2+
3+
export { download, extract }

spec/test.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { command } from "execa"
22
import { resolve, dirname, join } from "path"
33
import packageJson from "../package.json" with { type: "json" }
4-
import { download, extract } from "./gitly.cjs"
4+
import * as gitly from "./gitly.js"
5+
const { download, extract } = gitly
56
import fs from "fs-extra"
67
const { pathExists, ensureDir, remove } = fs
78
import { fileURLToPath } from "url"

spec/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"extends": "../tsconfig.json",
3-
"include": ["./*.mts", "./*.d.ts"]
3+
"include": ["./*.cts", "./*.ts"]
44
}

0 commit comments

Comments
 (0)