Skip to content

Commit 09f0956

Browse files
committed
chore: remove unrun
1 parent 70ed523 commit 09f0956

32 files changed

Lines changed: 97 additions & 104 deletions

.vscode/settings.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"editor.formatOnSave": true,
3-
"exportall.config.folderListener": ["/src/configs"],
4-
"exportall.config.semis": false
3+
"autoBarrel.files.keepExtensionOnExport": true
54
}

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"scripts": {
3333
"dev": "eslint-config-inspector --config eslint-inspector.config.ts",
3434
"build": "pnpm run build:typegen && tsdown",
35-
"build:typegen": "unrun scripts/typegen.ts",
35+
"build:typegen": "node scripts/typegen.ts",
3636
"build:inspector": "eslint-config-inspector build --config eslint-inspector.config.ts",
3737
"test": "echo Skip",
3838
"lint": "eslint --max-warnings=0",
@@ -97,8 +97,7 @@
9797
"rolldown-plugin-require-cjs": "catalog:dev",
9898
"tsdown": "catalog:dev",
9999
"tsdown-preset-sxzz": "catalog:",
100-
"typescript": "catalog:dev",
101-
"unrun": "catalog:dev"
100+
"typescript": "catalog:dev"
102101
},
103102
"resolutions": {
104103
"@types/eslint": "-"

pnpm-lock.yaml

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

pnpm-workspace.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ catalogs:
2121
rolldown-plugin-require-cjs: ^0.4.0
2222
tsdown: ^0.21.10
2323
typescript: ^6.0.3
24-
unrun: ^0.2.37
2524
parsers:
2625
jsonc-eslint-parser: ^3.1.0
2726
vue-eslint-parser: ^10.4.0

scripts/typegen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { writeFile } from 'node:fs/promises'
22
import { styleText } from 'node:util'
33
import { flatConfigsToRulesDTS } from 'eslint-typegen/core'
44
import { builtinRules } from 'eslint/use-at-your-own-risk'
5-
import { presetAll } from '../src/presets'
5+
import { presetAll } from '../src/presets.ts'
66

77
const configs = [
88
...(await presetAll()),

src/configs/astro.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { importWithError } from '../utils'
2-
import type { Config } from '../types'
1+
import { importWithError } from '../utils.ts'
2+
import type { Config } from '../types.ts'
33

44
export const astro = async (): Promise<Config[]> => {
55
const pluginAstro = await importWithError<

src/configs/baseline.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import baselineJs from 'eslint-plugin-baseline-js'
2-
import type { Config } from '../types'
2+
import type { Config } from '../types.ts'
33

44
export interface BaselineOptions {
55
baseline?: 'widely' | 'newly' | number

src/configs/command.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { configCommand } from '../plugins'
2-
import type { Config } from '../types'
1+
import { configCommand } from '../plugins.ts'
2+
import type { Config } from '../types.ts'
33

44
export const command = (): Config[] => [
55
{

src/configs/comments.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { configComments } from '../plugins'
2-
import type { Config } from '../types'
1+
import { configComments } from '../plugins.ts'
2+
import type { Config } from '../types.ts'
33

44
export const comments = (): Config[] => [
55
{

src/configs/de-morgan.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { pluginDeMorgan } from '../plugins'
2-
import type { Config } from '../types'
1+
import { pluginDeMorgan } from '../plugins.ts'
2+
import type { Config } from '../types.ts'
33

44
export const deMorgan = (): Config[] => [
55
{

0 commit comments

Comments
 (0)