mirror of
https://github.com/uppinote20/obsidian-auto-note-importer.git
synced 2026-07-22 05:48:42 +00:00
chore: address community scorecard warnings (manifest, build, css)
- manifest.json: authorUrl을 repo URL → author profile URL로 변경 (커뮤니티 가이드라인은 개인/조직 프로필을 기대함) - esbuild.config.mjs + package.json: 외부 의존성 builtin-modules 제거, Node 내장 module.builtinModules로 대체 - styles.css: text-decoration / text-decoration-color 분리 선언을 border-bottom으로 대체 (Obsidian 1.4.5 부분 지원 회피) - styles.css: .ani-field-error의 !important를 selector specificity bump (.setting-item-description.ani-field-error)로 대체
This commit is contained in:
parent
0e7f15aedb
commit
e363253371
5 changed files with 12 additions and 24 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import esbuild from "esbuild";
|
||||
import process from "process";
|
||||
import builtins from "builtin-modules";
|
||||
import { builtinModules } from "module";
|
||||
|
||||
const banner =
|
||||
`/*
|
||||
|
|
@ -31,7 +31,7 @@ const context = await esbuild.context({
|
|||
"@lezer/common",
|
||||
"@lezer/highlight",
|
||||
"@lezer/lr",
|
||||
...builtins],
|
||||
...builtinModules],
|
||||
format: "cjs",
|
||||
target: "es2018",
|
||||
logLevel: "info",
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
"minAppVersion": "0.15.0",
|
||||
"description": "Sync notes bidirectionally between your vault and Airtable, SeaTable, or Supabase databases.",
|
||||
"author": "uppinote",
|
||||
"authorUrl": "https://github.com/uppinote20/obsidian-auto-note-importer",
|
||||
"authorUrl": "https://github.com/uppinote20",
|
||||
"fundingUrl": {
|
||||
"Buy Me a Coffee": "https://www.buymeacoffee.com/uppinote",
|
||||
"ko-fi": "https://ko-fi.com/uppinote"
|
||||
|
|
|
|||
14
package-lock.json
generated
14
package-lock.json
generated
|
|
@ -13,7 +13,6 @@
|
|||
"@typescript-eslint/eslint-plugin": "^5.29.0",
|
||||
"@typescript-eslint/parser": "^5.29.0",
|
||||
"@vitest/coverage-v8": "^0.34.6",
|
||||
"builtin-modules": "3.3.0",
|
||||
"esbuild": "^0.25.9",
|
||||
"eslint": "^8.57.1",
|
||||
"obsidian": "latest",
|
||||
|
|
@ -1614,19 +1613,6 @@
|
|||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/builtin-modules": {
|
||||
"version": "3.3.0",
|
||||
"resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz",
|
||||
"integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/cac": {
|
||||
"version": "6.7.14",
|
||||
"resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz",
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@
|
|||
"@typescript-eslint/eslint-plugin": "^5.29.0",
|
||||
"@typescript-eslint/parser": "^5.29.0",
|
||||
"@vitest/coverage-v8": "^0.34.6",
|
||||
"builtin-modules": "3.3.0",
|
||||
"esbuild": "^0.25.9",
|
||||
"eslint": "^8.57.1",
|
||||
"obsidian": "latest",
|
||||
|
|
|
|||
15
styles.css
15
styles.css
|
|
@ -63,13 +63,12 @@
|
|||
.ani-credentials-table .ani-cred-key-set {
|
||||
color: var(--text-accent);
|
||||
cursor: pointer;
|
||||
text-decoration: underline;
|
||||
text-decoration-color: transparent;
|
||||
transition: text-decoration-color 150ms;
|
||||
border-bottom: 1px solid transparent;
|
||||
transition: border-bottom-color 150ms;
|
||||
}
|
||||
|
||||
.ani-credentials-table .ani-cred-key-set:hover {
|
||||
text-decoration-color: var(--text-accent);
|
||||
border-bottom-color: var(--text-accent);
|
||||
}
|
||||
|
||||
.ani-credentials-table .ani-cred-actions {
|
||||
|
|
@ -259,8 +258,12 @@
|
|||
|
||||
/* ─── Inline Field Errors ─────────────────────────────────────────── */
|
||||
|
||||
.ani-field-error {
|
||||
color: var(--text-error) !important;
|
||||
/* Specificity bump (.setting-item-description.ani-field-error = 0,2,0) beats
|
||||
Obsidian's default `.setting-item-description { color: var(--text-muted) }`
|
||||
(0,1,0) without resorting to !important. The class is only ever applied
|
||||
to a Setting's descEl, which always carries `.setting-item-description`. */
|
||||
.setting-item-description.ani-field-error {
|
||||
color: var(--text-error);
|
||||
}
|
||||
|
||||
/* ─── Delete Config ───────────────────────────────────────────────── */
|
||||
|
|
|
|||
Loading…
Reference in a new issue