mirror of
https://github.com/panatgithub/AnkiHeadingSync.git
synced 2026-07-22 06:51:43 +00:00
chore(release): prepare 1.0.4 scorecard fixes
- replace builtin-modules with Node builtinModules in the build config - avoid column-gap warnings in release CSS
This commit is contained in:
parent
0dc2d7cb5d
commit
71e36c25c4
6 changed files with 11 additions and 24 deletions
|
|
@ -1,12 +1,13 @@
|
|||
import esbuild from "esbuild";
|
||||
import process from "node:process";
|
||||
import builtins from "builtin-modules";
|
||||
import { builtinModules } from "node:module";
|
||||
import { copyFile } from "node:fs/promises";
|
||||
|
||||
const banner = `/*\nTHIS IS A GENERATED/BUNDLED FILE BY ESBUILD\n*/`;
|
||||
|
||||
const production = process.argv[2] === "production";
|
||||
const outfile = "dist/plugin/main.js";
|
||||
const builtins = [...new Set(builtinModules.flatMap((name) => [name, `node:${name}`]))];
|
||||
|
||||
const context = await esbuild.context({
|
||||
banner: { js: banner },
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "anki-heading-sync",
|
||||
"name": "Anki Heading Sync",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"minAppVersion": "1.8.7",
|
||||
"description": "Focused heading-based Markdown to Anki sync plugin.",
|
||||
"author": "Dusk",
|
||||
|
|
|
|||
16
package-lock.json
generated
16
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "obsidian-anki-heading-sync",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "obsidian-anki-heading-sync",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"markdown-it": "^14.1.0"
|
||||
|
|
@ -17,7 +17,6 @@
|
|||
"@types/node": "^22.15.3",
|
||||
"@typescript-eslint/eslint-plugin": "^8.46.1",
|
||||
"@typescript-eslint/parser": "^8.46.1",
|
||||
"builtin-modules": "^4.0.0",
|
||||
"esbuild": "^0.25.3",
|
||||
"eslint": "^9.39.1",
|
||||
"eslint-plugin-obsidianmd": "^0.2.9",
|
||||
|
|
@ -1052,17 +1051,6 @@
|
|||
"node": "18 || 20 || >=22"
|
||||
}
|
||||
},
|
||||
"node_modules/builtin-modules": {
|
||||
"version": "4.0.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=18.20"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/cac": {
|
||||
"version": "6.7.14",
|
||||
"dev": true,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "obsidian-anki-heading-sync",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"description": "Focused heading-based Markdown to Anki sync plugin.",
|
||||
"author": "Dusk",
|
||||
"main": "dist/plugin/main.js",
|
||||
|
|
@ -26,7 +26,6 @@
|
|||
"@types/node": "^22.15.3",
|
||||
"@typescript-eslint/eslint-plugin": "^8.46.1",
|
||||
"@typescript-eslint/parser": "^8.46.1",
|
||||
"builtin-modules": "^4.0.0",
|
||||
"esbuild": "^0.25.3",
|
||||
"eslint": "^9.39.1",
|
||||
"eslint-plugin-obsidianmd": "^0.2.9",
|
||||
|
|
|
|||
|
|
@ -118,8 +118,7 @@
|
|||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.75fr) minmax(220px, 0.95fr);
|
||||
align-items: center;
|
||||
column-gap: 16px;
|
||||
row-gap: 8px;
|
||||
gap: 8px 16px;
|
||||
overflow: visible;
|
||||
width: 100%;
|
||||
}
|
||||
|
|
@ -129,8 +128,7 @@
|
|||
grid-column: 1 / -1;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) max-content;
|
||||
align-items: center;
|
||||
column-gap: 16px;
|
||||
row-gap: 8px;
|
||||
gap: 8px 16px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
|
@ -202,7 +200,7 @@
|
|||
display: grid;
|
||||
grid-template-columns: 24px 24px minmax(0, 1fr);
|
||||
align-items: center;
|
||||
column-gap: 0;
|
||||
gap: 0;
|
||||
width: 100%;
|
||||
min-height: 28px;
|
||||
box-sizing: border-box;
|
||||
|
|
|
|||
|
|
@ -2,5 +2,6 @@
|
|||
"1.0.0": "1.8.7",
|
||||
"1.0.1": "1.8.7",
|
||||
"1.0.2": "1.8.7",
|
||||
"1.0.3": "1.8.7"
|
||||
"1.0.3": "1.8.7",
|
||||
"1.0.4": "1.8.7"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue