update pkg

This commit is contained in:
Zitao Xiong
2025-01-16 16:17:04 +08:00
parent 56afe0ef31
commit 963357f98c
6 changed files with 125 additions and 1971 deletions

52
.editorconfig Normal file
View File

@@ -0,0 +1,52 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Default settings for all files
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# TypeScript and JavaScript files
[*.{ts,tsx,js,jsx}]
indent_style = space
indent_size = 2
max_line_length = 80
quote_type = single
# JSON files
[*.json]
indent_style = space
indent_size = 2
# YAML files
[*.{yml,yaml}]
indent_style = space
indent_size = 2
# Markdown files
[*.md]
trim_trailing_whitespace = false
max_line_length = off
# Environment and config files
[*.{env,env.*}]
insert_final_newline = true
# Biome configuration files
[*.{json,jsonc}]
indent_style = space
indent_size = 2
# SQL files
[*.sql]
indent_style = space
indent_size = 2
# Cursor rules
.cursorrules
indent_style = space
indent_size = 2

View File

@@ -1,3 +0,0 @@
pulumi 3.104.2
pnpm 8.15.1
nodejs 20.9.0

70
deploy/biome.jsonc Normal file
View File

@@ -0,0 +1,70 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false,
"ignore": [
"data/**/*",
".cursorrules",
"**/dist/**",
"**/node_modules/**"
]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 80
},
"organizeImports": {
"enabled": true
},
"json": {
"parser": {
"allowComments": true
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noBannedTypes": "off",
"noForEach": "off",
"noStaticOnlyClass": "error",
"noUselessConstructor": "error"
},
"suspicious": {
"noExplicitAny": "error",
"noArrayIndexKey": "error"
},
"correctness": {
"noUnusedVariables": "error",
"noUnusedImports": "error",
"useExhaustiveDependencies": "error"
},
"style": {
"noNonNullAssertion": "off",
"useImportType": "error",
"useShorthandArrayType": "error",
"useTemplate": "off",
"noParameterAssign": "error"
},
"performance": {
"noDelete": "error"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingCommas": "all",
"semicolons": "always"
}
}
}

BIN
deploy/bun.lockb Executable file

Binary file not shown.

1968
deploy/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

3
mise.toml Normal file
View File

@@ -0,0 +1,3 @@
[tools]
bun = "latest"
pulumi = "3.146.0"