build: update all deps and migrate to biome
This commit is contained in:
@@ -1,3 +1 @@
|
||||
dist
|
||||
data
|
||||
auto_update
|
||||
@@ -1,27 +0,0 @@
|
||||
import { tsConfig } from '@aklive2d/eslint-config'
|
||||
import tseslint from 'typescript-eslint'
|
||||
import globals from 'globals'
|
||||
|
||||
/** @type {import('eslint').Config} */
|
||||
export default tseslint.config(
|
||||
...tsConfig,
|
||||
{
|
||||
ignores: ['dist', 'data'],
|
||||
},
|
||||
{
|
||||
files: ['**/*.js', '**/*.ts'],
|
||||
languageOptions: {
|
||||
ecmaVersion: 2022,
|
||||
globals: {
|
||||
...globals.node,
|
||||
},
|
||||
},
|
||||
rules: {
|
||||
'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
|
||||
'@typescript-eslint/no-unused-vars': [
|
||||
'error',
|
||||
{ argsIgnorePattern: '^_' },
|
||||
],
|
||||
},
|
||||
}
|
||||
)
|
||||
@@ -1,12 +1,12 @@
|
||||
import path from 'node:path'
|
||||
import { file } from '@aklive2d/libs'
|
||||
import config from '@aklive2d/config'
|
||||
import { file } from '@aklive2d/libs'
|
||||
import type {
|
||||
OfficialDataResp,
|
||||
OfficialInfoV2,
|
||||
OfficialDataOperatorObj,
|
||||
OfficialDataResp,
|
||||
OfficialInfoMapping,
|
||||
OfficialInfoOperatorConfigV2,
|
||||
OfficialInfoV2,
|
||||
} from './types'
|
||||
|
||||
const AUTO_UPDATE_FOLDER = path.resolve(
|
||||
|
||||
@@ -6,17 +6,14 @@
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@aklive2d/config": "workspace:*",
|
||||
"@aklive2d/eslint-config": "workspace:*",
|
||||
"@aklive2d/libs": "workspace:*",
|
||||
"@aklive2d/prettier-config": "workspace:*"
|
||||
"@aklive2d/libs": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"globals": ">=16.0.0",
|
||||
"typescript-eslint": ">=8.31.1",
|
||||
"typescript": ">=5.8.2"
|
||||
"typescript": ">=5.9.3"
|
||||
},
|
||||
"scripts": {
|
||||
"update": "mode=update bun runner.ts",
|
||||
"lint": "eslint && prettier --check ."
|
||||
"lint": "biome lint --write .",
|
||||
"lint:fix": "biome check --write ."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
import baseConfig from '@aklive2d/prettier-config'
|
||||
|
||||
/**
|
||||
* @type {import("prettier").Config}
|
||||
*/
|
||||
const config = {
|
||||
...baseConfig,
|
||||
semi: false,
|
||||
}
|
||||
|
||||
export default config
|
||||
Reference in New Issue
Block a user